@everymatrix/casino-lobby 0.0.271 → 0.0.272

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(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(e){"use strict";(kn=e)&&"object"==typeof kn&&0 in kn;function Z(){}const g=e=>e;function u(e){return e()}function h(){return Object.create(null)}function X(e){e.forEach(u)}function f(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let n;function J(e,t){return n=n||document.createElement("a"),n.href=t,e===n.href}function p(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ee(e,t,n){e.$$.on_destroy.push(p(t,n))}function l(e){return e&&f(e.destroy)?e.destroy:Z}var r="undefined"!=typeof window;let y=r?()=>window.performance.now():()=>Date.now(),v=r?e=>requestAnimationFrame(e):Z;const w=new Set;function b(t){w.forEach(e=>{e.c(t)||(w.delete(e),e.f())}),0!==w.size&&v(b)}function K(e,t){e.appendChild(t)}function x(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function q(e,t,n){e.insertBefore(t,n||null)}function Q(e){e.parentNode.removeChild(e)}function m(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function ee(e){return document.createElement(e)}function C(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function te(e){return document.createTextNode(e)}function ne(){return te(" ")}function c(){return te("")}function re(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function ie(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:ie(e,t,n)}function ae(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function M(e,t){e.value=null==t?"":t}function k(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}let a;function F(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=ee("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const r=function(){if(void 0===a){a=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){a=!0}}return a}();let i;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=re(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=re(n.contentWindow,"resize",t)}),K(e,n),()=>{(r||i&&n.contentWindow)&&i(),Q(n)}}function $(e,t,n){e.classList[n?"add":"remove"](t)}class _{constructor(){this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.e=ee(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)q(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(Q)}}function i(e){const t={};for(const n of e)t[n.name]=n.value;return t}const E=new Set;let T,L=0;function I(e,t,n,r,i,a,o,s=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*a(e);c+=100*e+`%{${o(r,1-r)}}
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs"),require("@everymatrix/casino-integrated-game-page")):"function"==typeof define&&define.amd?define(["fs","@everymatrix/casino-integrated-game-page"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(e){"use strict";(kn=e)&&"object"==typeof kn&&0 in kn;function Z(){}const g=e=>e;function u(e){return e()}function h(){return Object.create(null)}function X(e){e.forEach(u)}function f(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let n;function J(e,t){return n=n||document.createElement("a"),n.href=t,e===n.href}function p(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ee(e,t,n){e.$$.on_destroy.push(p(t,n))}function l(e){return e&&f(e.destroy)?e.destroy:Z}var r="undefined"!=typeof window;let y=r?()=>window.performance.now():()=>Date.now(),v=r?e=>requestAnimationFrame(e):Z;const w=new Set;function b(t){w.forEach(e=>{e.c(t)||(w.delete(e),e.f())}),0!==w.size&&v(b)}function K(e,t){e.appendChild(t)}function x(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function q(e,t,n){e.insertBefore(t,n||null)}function Q(e){e.parentNode.removeChild(e)}function m(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function ee(e){return document.createElement(e)}function C(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function te(e){return document.createTextNode(e)}function ne(){return te(" ")}function c(){return te("")}function re(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function ie(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:ie(e,t,n)}function ae(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function M(e,t){e.value=null==t?"":t}function k(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}let a;function F(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=ee("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const r=function(){if(void 0===a){a=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){a=!0}}return a}();let i;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=re(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=re(n.contentWindow,"resize",t)}),K(e,n),()=>{(r||i&&n.contentWindow)&&i(),Q(n)}}function $(e,t,n){e.classList[n?"add":"remove"](t)}class _{constructor(){this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.e=ee(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)q(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(Q)}}function i(e){const t={};for(const n of e)t[n.name]=n.value;return t}const E=new Set;let T,L=0;function I(e,t,n,r,i,a,o,s=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*a(e);c+=100*e+`%{${o(r,1-r)}}
2
2
  `}const d=c+`100% {${o(n,1-n)}}
3
3
  }`,u=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_`+s,h=x(e);E.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=(s=e,g=ee("style"),K((s=x(s)).head||s,g),g.sheet)),m=h.__svelte_rules||(h.__svelte_rules={});m[u]||(m[u]=!0,p.insertRule(`@keyframes ${u} `+d,p.cssRules.length));var g=e.style.animation||"";return e.style.animation=(g?g+", ":"")+u+` ${r}ms linear ${i}ms 1 both`,L+=1,u}function G(e){T=e}function Te(e){!function(){if(!T)throw new Error("Function called outside component initialization");return T}().$$.on_mount.push(e)}const P=[],Le=[],o=[],s=[],d=Promise.resolve();let R=!1;function A(){R||(R=!0,d.then(U))}function ye(){return A(),d}function D(e){o.push(e)}const O=new Set;let N,B=0;function U(){const e=T;do{for(;B<P.length;){const e=P[B];B++,G(e),function(e){{var t;null!==e.fragment&&(e.update(),X(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(D))}}(e.$$)}for(G(null),P.length=0,B=0;Le.length;)Le.pop()();for(let e=0;e<o.length;e+=1){const t=o[e];O.has(t)||(O.add(t),t())}}while(o.length=0,P.length);for(;s.length;)s.pop()();R=!1,O.clear(),G(e)}function H(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}((t?"intro":"outro")+n))}const z=new Set;let Y;function j(){Y={r:0,c:[],p:Y}}function W(){Y.r||X(Y.c),Y=Y.p}function V(e,t){e&&e.i&&(z.delete(e),e.i(t))}function oe(e,t,n,r){e&&e.o&&(z.has(e)||(z.add(e),Y.c.push(()=>{z.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const se={duration:0};function le(s,e,t,n){let l=e(s,t),c=n?0:1,d=null,u=null,h=null;function p(){h&&function(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),i=n.length-r.length;i&&(e.style.animation=r.join(", "),L-=i,L||v(()=>{L||(E.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),E.clear())}))}(s,h)}function m(e,t){var n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:r=g,tick:i=Z,css:a}=l||se,o={start:y()+t,b:e};e||(o.group=Y,Y.r+=1),d||u?u=o:(a&&(p(),h=I(s,c,e,n,t,r,a)),e&&i(0,1),d=m(o,n),D(()=>H(s,e,"start")),function(t){let n;0===w.size&&v(b),new Promise(e=>{w.add(n={c:t,f:e})})}(e=>{if(u&&e>u.start&&(d=m(u,n),u=null,H(s,d.b,"start"),a&&(p(),h=I(s,c,d.b,d.duration,0,r,l.css))),d)if(e>=d.end)i(c=d.b,1-c),H(s,d.b,"end"),u||(d.b?p():--d.group.r||X(d.group.c)),d=null;else if(e>=d.start){const s=e-d.start;c=d.a+d.d*r(s/d.duration),i(c,1-c)}return!(!d&&!u)}))}return{run(e){f(l)?(N||(N=Promise.resolve(),N.then(()=>{N=null})),N.then(()=>{l=l(),r(e)})):r(e)},end(){p(),d=u=null}}}function ce(e,t){e.d(1),t.delete(e.key)}function de(r,e,t,n,i,a,o,s=[-1]){var l=T;G(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:h(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d&&(n=e,-1===(e=r).$$.dirty[0]&&(P.push(e),A(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),d=!0,X(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const r=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(r),r.forEach(Q)}else c.fragment&&c.fragment.c();e.intro&&V(r.$$.fragment),function(t,e,n,r){const{fragment:i,on_mount:a,on_destroy:o,after_update:s}=t.$$;i&&i.m(e,n),r||D(()=>{var e=a.map(u).filter(f);o?o.push(...e):X(e),t.$$.on_mount=[]}),s.forEach(D)}(r,e.target,e.anchor,e.customElement),U()}G(l)}let ue;"function"==typeof HTMLElement&&(ue=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(u).filter(f);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){X(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(X(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var he,pe,me="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==me&&me,ge="URLSearchParams"in me,fe="Symbol"in me&&"iterator"in Symbol,ve="FileReader"in me&&"Blob"in me&&function(){try{return new Blob,!0}catch(e){return!1}}(),we="FormData"in me,be="ArrayBuffer"in me;function xe(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 Ce(e){return e="string"!=typeof e?String(e):e}function Se(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return fe&&(e[Symbol.iterator]=function(){return e}),e}function Fe(t){this.map={},t instanceof Fe?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Me(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function _e(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function ke(e){var t=new FileReader,n=_e(t);return t.readAsArrayBuffer(e),n}function $e(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Ie(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ve&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:we&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ge&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():be&&ve&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=$e(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):be&&(ArrayBuffer.prototype.isPrototypeOf(e)||pe(e))?this._bodyArrayBuffer=$e(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ge&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ve&&(this.blob=function(){var e=Me(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(){return this._bodyArrayBuffer?Me(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(ke)}),this.text=function(){var e,t,n=Me(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=_e(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},we&&(this.formData=function(){return this.text().then(Re)}),this.json=function(){return this.text().then(JSON.parse)},this}be&&(he=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],pe=ArrayBuffer.isView||function(e){return e&&-1<he.indexOf(Object.prototype.toString.call(e))}),Fe.prototype.append=function(e,t){e=xe(e),t=Ce(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},Fe.prototype.delete=function(e){delete this.map[xe(e)]},Fe.prototype.get=function(e){return e=xe(e),this.has(e)?this.map[e]:null},Fe.prototype.has=function(e){return this.map.hasOwnProperty(xe(e))},Fe.prototype.set=function(e,t){this.map[xe(e)]=Ce(t)},Fe.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},Fe.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Se(n)},Fe.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Se(t)},Fe.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Se(n)},fe&&(Fe.prototype[Symbol.iterator]=Fe.prototype.entries);var Ge=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Pe(e,t){if(!(this instanceof Pe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof Pe){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Fe(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=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 Fe(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<Ge.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Re(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function Ae(e,t){if(!(this instanceof Ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Fe(t.headers),this.url=t.url||"",this._initBody(e)}Pe.prototype.clone=function(){return new Pe(this,{body:this._bodyInit})},Ie.call(Pe.prototype),Ie.call(Ae.prototype),Ae.prototype.clone=function(){return new Ae(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Fe(this.headers),url:this.url})},Ae.error=function(){var e=new Ae(null,{status:0,statusText:""});return e.type="error",e};var De=[301,302,303,307,308];Ae.redirect=function(e,t){if(-1===De.indexOf(t))throw new RangeError("Invalid status code");return new Ae(null,{status:t,headers:{location:e}})};var Oe=me.DOMException;try{new Oe}catch(e){(Oe=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Oe.prototype.constructor=Oe}function Ne(r,o){return new Promise(function(i,e){var t=new Pe(r,o);if(t.signal&&t.signal.aborted)return e(new Oe("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new Fe,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 t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;setTimeout(function(){i(new Ae(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new Oe("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&me.location.href?me.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(ve?a.responseType="blob":be&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof Fe?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,Ce(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function Ln(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ne.polyfill=!0,me.fetch||(me.fetch=Ne,me.Headers=Fe,me.Request=Pe,me.Response=Ae);var Be=self.fetch.bind(self),Ue=function(e,t){return(Ue=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])})(e,t)};function He(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}Ue(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ze(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{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ye(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||0<t--)&&!(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 je(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function We(e){return"function"==typeof e}function Ve(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ze=Ve(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Xe(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var Je=(qe.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=ze(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);a=this.initialTeardown;if(We(a))try{a()}catch(e){i=e instanceof Ze?e.errors:[e]}a=this._teardowns;if(a){this._teardowns=null;try{for(var l=ze(a),c=l.next();!c.done;c=l.next()){var d=c.value;try{et(d)}catch(e){i=null!=i?i:[],e instanceof Ze?i=je(je([],Ye(i)),Ye(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new Ze(i)}},qe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)et(e);else{if(e instanceof qe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},qe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},qe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},qe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Xe(t,e)},qe.prototype.remove=function(e){var t=this._teardowns;t&&Xe(t,e),e instanceof qe&&e._removeParent(this)},qe.EMPTY=((Fn=new qe).closed=!0,Fn),qe),Ke=Je.EMPTY;function qe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Qe(e){return e instanceof Je||e&&"closed"in e&&We(e.remove)&&We(e.add)&&We(e.unsubscribe)}function et(e){We(e)?e():e.unsubscribe()}var tt=void 0,nt=!1,rt=!1,it={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=it.delegate;return((null==n?void 0:n.setTimeout)||setTimeout).apply(void 0,je([],Ye(e)))},clearTimeout:function(e){var t=it.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function at(){}var ot=null;function st(e){if(nt){var t=!ot;if(t&&(ot={errorThrown:!1,error:null}),e(),t){var n=ot,t=n.errorThrown,n=n.error;if(ot=null,t)throw n}}else e()}var lt,ct,dt=(He(pt,ct=Je),pt.create=function(e,t,n){return new ut(e,t,n)},pt.prototype.next=function(e){this.isStopped||this._next(e)},pt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},pt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},pt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ct.prototype.unsubscribe.call(this),this.destination=null)},pt.prototype._next=function(e){this.destination.next(e)},pt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},pt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},pt),ut=(He(ht,lt=dt),ht);function ht(e,t,n){var r,i,a=lt.call(this)||this;return We(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,a&&rt?(r=Object.create(e)).unsubscribe=function(){return a.unsubscribe()}:r=e,i=null==i?void 0:i.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),a.destination={next:i?mt(i):at,error:mt(null!=t?t:gt),complete:n?mt(n):at},a}function pt(e){var t=ct.call(this)||this;return t.isStopped=!1,e?Qe(t.destination=e)&&e.add(t):t.destination=ft,t}function mt(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,je([],Ye(e)))}catch(e){t=e,it.setTimeout(function(){throw t})}}}function gt(e){throw e}var ft={closed:!0,next:at,error:gt,complete:at},yt="function"==typeof Symbol&&Symbol.observable||"@@observable";function vt(e){return e}var wt=(bt.prototype.lift=function(e){var t=new bt;return t.source=this,t.operator=e,t},bt.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof dt||r&&We(r.next)&&We(r.error)&&We(r.complete)&&Qe(r)?e:new ut(e,t,n);return st(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},bt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},bt.prototype.forEach=function(r,e){var i=this;return new(e=xt(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},bt.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},bt.prototype[yt]=function(){return this},bt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?vt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},bt.prototype.toPromise=function(e){var r=this;return new(e=xt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},bt.create=function(e){return new bt(e)},bt);function bt(e){e&&(this._subscribe=e)}function xt(e){return null!==(e=null!=e?e:tt)&&void 0!==e?e:Promise}var Ct,St,Ft,Mt=Ve(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),_t=(He(It,Ft=wt),It.prototype.lift=function(e){var t=new kt(this,this);return t.operator=e,t},It.prototype._throwIfClosed=function(){if(this.closed)throw new Mt},It.prototype.next=function(a){var o=this;st(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){var n=o.observers.slice();try{for(var r=ze(n),i=r.next();!i.done;i=r.next())i.value.next(a)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},It.prototype.error=function(t){var n=this;st(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},It.prototype.complete=function(){var t=this;st(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},It.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(It.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),It.prototype._trySubscribe=function(e){return this._throwIfClosed(),Ft.prototype._trySubscribe.call(this,e)},It.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},It.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?Ke:(r.push(e),new Je(function(){return Xe(r,e)}))},It.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},It.prototype.asObservable=function(){var e=new wt;return e.source=this,e},It.create=function(e,t){return new kt(e,t)},It),kt=(He(Lt,St=_t),Lt.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)},Lt.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)},Lt.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)},Lt.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Ke},Lt),$t={now:function(){return($t.delegate||Date).now()},delegate:void 0},Et=(He(Tt,Ct=_t),Tt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(a.now()+t)),this._trimBuffer(),Ct.prototype.next.call(this,e)},Tt.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},Tt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},Tt);function Tt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=$t);var r=Ct.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function Lt(e,t){var n=St.call(this)||this;return n.destination=e,n.source=t,n}function It(){var e=Ft.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Gt=[],Pt={};const Rt=[];function At(r,i=Z){let a;const o=new Set;function s(e){if(t(r,e)&&(r=e,a)){const e=!Rt.length;for(const e of o)e[1](),Rt.push(e,r);if(e){for(let e=0;e<Rt.length;e+=2)Rt[e][0](Rt[e+1]);Rt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.add(n),1===o.size&&(a=i(s)||Z),e(r),()=>{o.delete(n),0===o.size&&(a(),a=null)}}}}function Dt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:At(t,t=>{let n=!1;const r=[];let i=0,a=Z;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),d?t(e):a=f(e)?e:Z)},e=c.map((e,t)=>p(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){X(e),a()}}).subscribe}}function Ot(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Nt));var t}var Nt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Bt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?jt(Array.isArray(e)?[]:{},e,t):e}function Ut(e,t,n){return e.concat(t).map(function(e){return Bt(e,n)})}function Ht(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function zt(e,t){try{return t in e}catch(e){return!1}}function Yt(r,i,a){var o={};return a.isMergeableObject(r)&&Ht(r).forEach(function(e){o[e]=Bt(r[e],a)}),Ht(i).forEach(function(t){var e,n;(!zt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(zt(r,t)&&a.isMergeableObject(i[t])?o[t]=function(e){if(!e.customMerge)return jt;e=e.customMerge(t);return"function"==typeof e?e:jt}(a)(r[t],i[t],a):o[t]=Bt(i[t],a))}),o}function jt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Ut,n.isMergeableObject=n.isMergeableObject||Ot,n.cloneUnlessOtherwiseSpecified=Bt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Yt(e,t,n):Bt(t,n)}jt.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return jt(e,t,n)},{})};var Wt=jt,Vt=function(e,t){return(Vt=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])})(e,t)};function Zt(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}Vt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Xt,Jt,Kt,qt=function(){return(qt=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}).apply(this,arguments)};function Qt(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function en(e){return e.type===Jt.literal}function tn(e){return e.type===Jt.number}function nn(e){return e.type===Jt.date}function rn(e){return e.type===Jt.time}function an(e){return e.type===Jt.select}function on(e){return e.type===Jt.plural}function sn(e){return e.type===Jt.tag}function ln(e){return e&&"object"==typeof e&&e.type===Kt.number}function cn(e){return e&&"object"==typeof e&&e.type===Kt.dateTime}(Mn=Xt=Xt||{})[Mn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Mn[Mn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Mn[Mn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Mn[Mn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Mn[Mn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Mn[Mn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Mn[Mn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Mn[Mn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Mn[Mn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Mn[Mn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Mn[Mn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Mn[Mn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Mn[Mn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Mn[Mn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Mn[Mn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Mn[Mn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Mn[Mn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Mn[Mn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Mn[Mn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Mn[Mn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Mn[Mn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Mn[Mn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Mn[Mn.INVALID_TAG=23]="INVALID_TAG",Mn[Mn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Mn[Mn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Mn[Mn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(_n=Jt=Jt||{})[_n.literal=0]="literal",_n[_n.argument=1]="argument",_n[_n.number=2]="number",_n[_n.date=3]="date",_n[_n.time=4]="time",_n[_n.select=5]="select",_n[_n.plural=6]="plural",_n[_n.pound=7]="pound",_n[_n.tag=8]="tag",(kn=Kt=Kt||{})[kn.number=0]="number",kn[kn.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,dn=/(?:[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;var un,hn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,pn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,mn=/^(@+)?(\+|#+)?$/g,gn=/(\*)(0+)|(#+)(0+)|(0+)/g,fn=/^(0+)$/;function yn(e){var r={};return e.replace(mn,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function vn(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 wn(e){return vn(e)||{}}function bn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=qt(qt(qt({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return qt(qt({},e),wn(t))},{}));continue;case"engineering":o=qt(qt(qt({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return qt(qt({},e),wn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(gn,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(fn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(pn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(pn,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""}),i.options.length&&(o=qt(qt({},o),yn(i.options[0])))}else mn.test(i.stem)?o=qt(qt({},o),yn(i.stem)):((r=vn(i.stem))&&(o=qt(qt({},o),r)),(r=function(e){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)),!fn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=qt(qt({},o),r)))}return o}var xn=new RegExp("^"+r.source+"*"),Cn=new RegExp(r.source+"*$");function Sn(e,t){return{start:e,end:t}}var Fn=!!String.prototype.startsWith,yt=!!String.fromCodePoint,_t=!!Object.fromEntries,Mn=!!String.prototype.codePointAt,_n=!!String.prototype.trimStart,kn=!!String.prototype.trimEnd,$n=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},r=!0;try{r="a"===(null===(un=On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===un?void 0:un[0])}catch(e){r=!1}var En,Tn,In=Fn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Gn=yt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))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},Pn=_t?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},Rn=Mn?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},An=_n?function(e){return e.trimStart()}:function(e){return e.replace(xn,"")},Dn=kn?function(e){return e.trimEnd()}:function(e){return e.replace(Cn,"")};function On(e,t){return new RegExp(e,t)}Tn=r?(En=On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return En.lastIndex=t,null!==(e=En.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=Rn(e,t);if(void 0===i||Hn(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return Gn.apply(void 0,r)};var Nn=(Bn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Bn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Xt.UNMATCHED_CLOSING_TAG,Sn(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Un(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:Jt.pound,location:Sn(a,this.clonePosition())})}}}return{val:r,err:null}},Bn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Jt.literal,value:"<"+r+"/>",location:Sn(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Un(this.char()))return this.error(Xt.INVALID_TAG,Sn(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(Xt.UNMATCHED_CLOSING_TAG,Sn(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Jt.tag,value:r,children:e,location:Sn(n,this.clonePosition())},err:null}:this.error(Xt.INVALID_TAG,Sn(t,this.clonePosition())))}return this.error(Xt.UNCLOSED_TAG,Sn(n,this.clonePosition()))}return this.error(Xt.INVALID_TAG,Sn(n,this.clonePosition()))},Bn.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},Bn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=Sn(n,this.clonePosition());return{val:{type:Jt.literal,value:r,location:n},err:null}},Bn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Un(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Bn.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Gn.apply(void 0,t)},Bn.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&&0<e?null:(this.bump(),Gn(n))},Bn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Xt.EXPECT_ARGUMENT_CLOSING_BRACE,Sn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Xt.EMPTY_ARGUMENT,Sn(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Xt.MALFORMED_ARGUMENT,Sn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Xt.EXPECT_ARGUMENT_CLOSING_BRACE,Sn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Jt.argument,value:r,location:Sn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Xt.EXPECT_ARGUMENT_CLOSING_BRACE,Sn(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Xt.MALFORMED_ARGUMENT,Sn(n,this.clonePosition()))}},Bn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Tn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Sn(e,this.clonePosition())}},Bn.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(Xt.EXPECT_ARGUMENT_TYPE,Sn(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(u=Dn(h.val)).length)return this.error(Xt.EXPECT_ARGUMENT_STYLE,Sn(this.clonePosition(),this.clonePosition()));l={style:u,styleLocation:Sn(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(r)).err)return p;var d=Sn(r,this.clonePosition());if(l&&In(null==l?void 0:l.style,"::",0)){c=An(l.style.slice(2));if("number"===o)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:Jt.number,value:n,location:d,style:h.val},err:null};if(0===c.length)return this.error(Xt.EXPECT_DATE_TIME_SKELETON,d);var u={type:Kt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(dn,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===o?Jt.date:Jt.time,value:n,location:d,style:u},err:null}}return{val:{type:"number"===o?Jt.number:"date"===o?Jt.date:Jt.time,value:n,location:d,style:null!==(d=null==l?void 0:l.style)&&void 0!==d?d:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Xt.EXPECT_SELECT_ARGUMENT_OPTIONS,Sn(l,qt({},l)));this.bumpSpace();var h,d=this.parseIdentifierIfPossible(),l=0;if("select"!==o&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(Xt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Sn(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Xt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Xt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),d=this.parseIdentifierIfPossible(),l=h.val}d=this.tryParsePluralOrSelectOptions(e,o,t,d);if(d.err)return d;if((p=this.tryParseArgumentClose(r)).err)return p;var p=Sn(r,this.clonePosition());return"select"===o?{val:{type:Jt.select,value:n,options:Pn(d.val),location:p},err:null}:{val:{type:Jt.plural,value:n,options:Pn(d.val),offset:l,pluralType:"plural"===o?"cardinal":"ordinal",location:p},err:null};default:return this.error(Xt.INVALID_ARGUMENT_TYPE,Sn(a,s))}},Bn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Xt.EXPECT_ARGUMENT_CLOSING_BRACE,Sn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Bn.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Xt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Sn(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},Bn.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(hn).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(Xt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Kt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?bn(n):{}},err:null}},Bn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(Xt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Xt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=Sn(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?Xt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Xt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();var u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Xt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Xt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Sn(this.clonePosition(),this.clonePosition()));d=this.parseMessage(e+1,t,n);if(d.err)return d;c=this.tryParseArgumentClose(u);if(c.err)return c;a.push([s,{value:d.val,location:Sn(u,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===a.length?this.error("select"===t?Xt.EXPECT_SELECT_ARGUMENT_SELECTOR:Xt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Sn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Xt.MISSING_OTHER_CLAUSE,Sn(this.clonePosition(),this.clonePosition())):{val:a,err:null}},Bn.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(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=Sn(r,this.clonePosition());return i?$n(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},Bn.prototype.offset=function(){return this.position.offset},Bn.prototype.isEOF=function(){return this.offset()===this.message.length},Bn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Bn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Rn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Bn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Bn.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},Bn.prototype.bumpIf=function(e){if(In(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Bn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},Bn.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Bn.prototype.bumpSpace=function(){for(;!this.isEOF()&&Hn(this.char());)this.bump()},Bn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},Bn);function Bn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Un(e){return 97<=e&&e<=122||65<=e&&e<=90}function Hn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function zn(e,t){t=qt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Nn(e,t).parse();if(n.err){e=SyntaxError(Xt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,an(e)||on(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else tn(e)&&ln(e.style)||(nn(e)||rn(e))&&cn(e.style)?delete e.style.location:sn(e)&&n(e.children)})}(n.val),n.val}function Yn(e,t){var n=t&&t.cache?t.cache:Kn,r=t&&t.serializer?t.serializer:Zn;return(t&&t.strategy?t.strategy:function(e,t){return Vn(e,this,1===e.length?jn:Wn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function jn(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function Wn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function Vn(e,t,n,r,i){return n.bind(t,e,r,i)}var Zn=function(){return JSON.stringify(arguments)};function Xn(){this.cache=Object.create(null)}Xn.prototype.has=function(e){return e in this.cache},Xn.prototype.get=function(e){return this.cache[e]},Xn.prototype.set=function(e,t){this.cache[e]=t};var Jn,Kn={create:function(){return new Xn}},qn={variadic:function(e,t){return Vn(e,this,Wn,t.cache.create(),t.serializer)},monadic:function(e,t){return Vn(e,this,jn,t.cache.create(),t.serializer)}};(r=Jn=Jn||{}).MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API";var Qn,er,tr,nr,rr,ir=(Zt(ur,rr=Error),ur.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},ur),ar=(Zt(dr,nr=ir),dr),or=(Zt(cr,tr=ir),cr),sr=(Zt(lr,er=ir),lr);function lr(e,t){return er.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Jn.MISSING_VALUE,t)||this}function cr(e,t,n){return tr.call(this,'Value for "'+e+'" must be of type '+t,Jn.INVALID_VALUE,n)||this}function dr(e,t,n,r){return nr.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',Jn.INVALID_VALUE,r)||this}function ur(e,t,n){e=rr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function hr(e,t,n,r,i,a,o){if(1===e.length&&en(e[0]))return[{type:Qn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(en(d))s.push({type:Qn.literal,value:d.value});else if(d.type===Jt.pound)"number"==typeof a&&s.push({type:Qn.literal,value:n.getNumberFormat(t).format(a)});else{var u=d.value;if(!(i&&u in i))throw new sr(u,o);var h=i[u];if(d.type===Jt.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Qn.literal:Qn.object,value:h});else if(nn(d)){var p="string"==typeof d.style?r.date[d.style]:cn(d.style)?d.style.parsedOptions:void 0;s.push({type:Qn.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(rn(d))p="string"==typeof d.style?r.time[d.style]:cn(d.style)?d.style.parsedOptions:void 0,s.push({type:Qn.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(tn(d))(p="string"==typeof d.style?r.number[d.style]:ln(d.style)?d.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:Qn.literal,value:n.getNumberFormat(t,p).format(h)});else{if(sn(d)){var m=d.children,g=d.value,u=i[g];if("function"!=typeof u)throw new or(g,"function",o);m=u(hr(m,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?Qn.literal:Qn.object,value:e}}))}if(an(d)){if(!(f=d.options[h]||d.options.other))throw new ar(d.value,h,Object.keys(d.options),o);s.push.apply(s,hr(f.value,t,n,r,i))}else if(on(d)){if(!(f=d.options["="+h])){if(!Intl.PluralRules)throw new ir('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Jn.MISSING_INTL_API,o);var m=n.getPluralRules(t,{type:d.pluralType}).select(h-(d.offset||0)),f=d.options[m]||d.options.other}if(!f)throw new ar(d.value,h,Object.keys(d.options),o);s.push.apply(s,hr(f.value,t,n,r,i,h-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Qn.literal&&t.type===Qn.literal?n.value+=t.value:e.push(t),e},[])}function pr(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(r=Qn=Qn||{})[r.literal=0]="literal",r[r.object=1]="object";var mr=(Object.defineProperty(gr,"defaultLocale",{get:function(){return gr.memoizedDefaultLocale=!gr.memoizedDefaultLocale?(new Intl.NumberFormat).resolvedOptions().locale:gr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),gr.memoizedDefaultLocale=null,gr.__parse=zn,gr.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"}}},gr);function gr(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=gr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===Qn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return hr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof e){if(this.message=e,!gr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=gr.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=gr.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?qt(qt(qt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=qt(qt({},n[t]),r[t]||{}),e},{})):n),e},qt({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:Yn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Qt([void 0],t)))},{cache:pr((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:qn.variadic}),getDateTimeFormat:Yn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Qt([void 0],t)))},{cache:pr(r.dateTime),strategy:qn.variadic}),getPluralRules:Yn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Qt([void 0],t)))},{cache:pr(r.pluralRules),strategy:qn.variadic})}}const fr={},yr=(e,t,n)=>n&&(t in fr||(fr[t]={}),e in fr[t]||(fr[t][e]=n),n),vr=(t,n)=>{if(null!=n){if(n in fr&&t in fr[n])return fr[n][t];var r,i=Pr(n);for(let e=0;e<i.length;e++){var a=(r=i[e],a=t,xr(r)?function(e,t){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(0<e){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}(function(e){return wr[e]||null}(r),a):null);if(a)return yr(t,n,a)}}};let wr;const br=At({});function xr(e){return e in wr}function Cr(t,...n){delete fr[t],br.update(e=>(e[t]=Wt.all([e[t]||{},...n]),e))}Dt([br],([e])=>Object.keys(e)),br.subscribe(e=>wr=e);const Sr={};function Fr(e){return Sr[e]}function Mr(e){return Pr(e).some(e=>{return null===(e=Fr(e))||void 0===e?void 0:e.size})}const _r={};function kr(e){if(!Mr(e))return e in _r?_r[e]:void 0;const t=Pr(e).map(e=>{var t=Fr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return _r[e]=Promise.all(t.map(([e,t])=>function(t,e){return Promise.all(e.map(e=>(function(e,t){Sr[e].delete(t),0===Sr[e].size&&delete Sr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Cr(t,...e))}(e,t))).then(()=>Mr(e)?kr(e):void delete _r[e]),_r[e]}function $r(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Er={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const Tr=At(!1);let Lr;const Ir=At(null);function Gr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Pr(e,t=Er.fallbackLocale){e=Gr(e);return t?[...new Set([...e,...Gr(t)])]:e}Ir.subscribe(e=>{Lr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Rr=Ir.set;Ir.set=t=>{if(function(e){if(null!=e){var t=Pr(e);for(let e=0;e<t.length;e++){var n=t[e];if(xr(n))return n}}}(t)&&Mr(t)){var n=Er["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Lr&&n?e=window.setTimeout(()=>Tr.set(!0),n):Tr.set(!0),kr(t).then(()=>{Rr(t)}).finally(()=>{clearTimeout(e),Tr.set(!1)})}return Rr(t)},Ir.update=e=>Rr(e(Lr));const Ar=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Dr=(e,t)=>{var n=Er["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Or=Ar(e=>{var{locale:t,format:n}=e,e=$r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Dr("number",n)),new Intl.NumberFormat(t,e)}),Nr=Ar(e=>{var{locale:t,format:n}=e,e=$r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Dr("date",n):0===Object.keys(e).length&&(e=Dr("date","short")),new Intl.DateTimeFormat(t,e)}),Br=Ar(e=>{var{locale:t,format:n}=e,e=$r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Dr("time",n):0===Object.keys(e).length&&(e=Dr("time","short")),new Intl.DateTimeFormat(t,e)}),Ur=Ar((e,t=Lr)=>new mr(e,t,Er.formats,{ignoreTag:Er.ignoreTag})),Hr=Dt([Ir,br],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=Lr,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let a=vr(e,r);if(a){if("string"!=typeof a)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof a}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),a}else console.warn(`[svelte-i18n] The message "${e}" was not found in "${Pr(r).join('", "')}".`+(Mr(Lr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":"")),a=i||e;if(!n)return a;let o=a;try{o=Ur(a,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return o});Dt([Ir],()=>(e,t)=>((e={})=>{var{locale:t=Lr}=e,e=$r(e,["locale"]);return Br(Object.assign({locale:t},e))})(t).format(e)),Dt([Ir],()=>(e,t)=>((e={})=>{var{locale:t=Lr}=e,e=$r(e,["locale"]);return Nr(Object.assign({locale:t},e))})(t).format(e)),Dt([Ir],()=>(e,t)=>((e={})=>{var{locale:t=Lr}=e,e=$r(e,["locale"]);return Or(Object.assign({locale:t},e))})(t).format(e)),Dt([Ir,br],()=>(e,t=Lr)=>vr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Gt.indexOf(e)&&(t=new Et(t),Pt[e]=t,Gt.push(e)),Pt[e]}};const zr=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)),Yr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function jr(e){var t=window.navigator.userAgent;return zr(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})}function Wr(r,i){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),Be(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Vr(e){Ir.set(e)}const Zr={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"},fallbackMainMenu:{sports:"Sports",casino:"Casino",liveCasino:"Live Casino",virtualSports:"Virtual Sports",tournaments:"Tournaments"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},fallbackMainMenu:{sports:"Spor Dalları",casino:"Kumarhane",liveCasino:"Canlı kumarhane",virtualSports:"Sanal Sporlar",tournaments:"Turnuvalar"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},fallbackMainMenu:{sports:"Sport",casino:"Cazino",liveCasino:"Cazinou live",virtualSports:"Sport virtual",tournaments:"Turnee"}}};function Xr(e,t,n){const r=e.slice();return r[33]=t[n],r[35]=n,r}function Jr(t){let r,i=[],n=new Map,a=t[0];const o=e=>e[33].id;for(let e=0;e<a.length;e+=1){var s=Xr(t,a,e),l=o(s);n.set(l,i[e]=Qr(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);q(t,r,n)},p(e,t){295&t[0]&&(a=e[0],i=function(t,n,r,i,a,o,s,l,e,c,d,u){let h=t.length,p=o.length,m=h;const g={};for(;m--;)g[t[m].key]=m;const f=[],y=new Map,v=new Map;for(m=p;m--;){const t=u(a,o,m),l=r(t);let e=s.get(l);e?i&&e.p(t,n):(e=c(l,t),e.c()),y.set(l,f[m]=e),l in g&&v.set(l,Math.abs(m-g[l]))}const w=new Set,b=new Set;function x(e){V(e,1),e.m(l,d),s.set(e.key,e),d=e.first,p--}for(;h&&p;){const n=f[p-1],r=t[h-1],i=n.key,a=r.key;n===r?(d=n.first,h--,p--):y.has(a)?!s.has(i)||w.has(i)?x(n):b.has(a)?h--:v.get(i)>v.get(a)?(b.add(i),x(n)):(w.add(a),h--):(e(r,s),h--)}for(;h--;){const n=t[h];y.has(n.key)||e(n,s)}for(;p;)x(f[p-1]);return f}(i,t,o,1,e,a,n,r.parentNode,ce,Qr,r,Xr))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&Q(r)}}}function Kr(e){let n,r,i,a=e[33].name+"",o="FAVORITES"===e[33].id?"("+e[1]+")":"";return{c(){n=te(a),r=ne(),i=te(o)},m(e,t){q(e,n,t),q(e,r,t),q(e,i,t)},p(e,t){1&t[0]&&a!==(a=e[33].name+"")&&ae(n,a),3&t[0]&&o!==(o="FAVORITES"===e[33].id?"("+e[1]+")":"")&&ae(i,o)},d(e){e&&Q(n),e&&Q(r),e&&Q(i)}}}function qr(e){let n,r,i=e[33].label+"";return{c(){n=ee("a"),r=te(i)},m(e,t){q(e,n,t),K(n,r)},p(e,t){1&t[0]&&i!==(i=e[33].label+"")&&ae(r,i)},d(e){e&&Q(n)}}}function Qr(e,n){let r,i,a,o;function s(e){return"headerMain"===e[2]?qr:Kr}let l=s(n),c=l(n);function d(...e){return n[21](n[33],n[35],...e)}return{key:e,first:null,c(){r=ee("li"),c.c(),i=ne(),ie(r,"class","CarouselItem"),ie(r,"part","CarouselItem"),$(r,"active",n[5]==n[35]),this.first=r},m(e,t){q(e,r,t),c.m(r,null),K(r,i),a||(o=re(r,"click",d),a=!0)},p(e,t){l===(l=s(n=e))&&c?c.p(n,t):(c.d(1),c=l(n),c&&(c.c(),c.m(r,i))),33&t[0]&&$(r,"active",n[5]==n[35])},d(e){e&&Q(r),c.d(),a=!1,o()}}}function ei(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y=0<n[0].length&&Jr(n);return{c(){r=ee("div"),i=ee("div"),a=ee("div"),a.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=ne(),s=ee("ul"),y&&y.c(),l=ne(),c=ee("div"),c.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',this.c=Z,ie(a,"class","CarouselLeftArrow"),ie(a,"part","CarouselLeftArrow"),ie(s,"class","CarouselItems"),ie(s,"part","CarouselItems"),ie(c,"class","CarouselRightArrow"),ie(c,"part","CarouselRightArrow"),ie(i,"class",d="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),ie(i,"part",u="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),ie(i,"style",h="headerMain"===n[2]?"max-width: auto":`max-width: ${n[3]}px`),ie(r,"class",p="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":"")),ie(r,"part",m="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),y&&y.m(s,null),n[22](s),K(i,l),K(i,c),n[24](r),g||(f=[re(a,"click",n[20]),re(c,"click",n[23])],g=!0)},p(e,t){0<e[0].length?y?y.p(e,t):(y=Jr(e),y.c(),y.m(s,null)):y&&(y.d(1),y=null),4&t[0]&&d!==(d="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&ie(i,"class",d),4&t[0]&&u!==(u="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&ie(i,"part",u),12&t[0]&&h!==(h="headerMain"===e[2]?"max-width: auto":`max-width: ${e[3]}px`)&&ie(i,"style",h),4&t[0]&&p!==(p="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&ie(r,"class",p),4&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&ie(r,"part",m)},i:Z,o:Z,d(e){e&&Q(r),y&&y.d(),n[22](null),n[24](null),g=!1,X(f)}}}function ti(t,e,n){let r;Ee(t,Hr,e=>n(25,r=e));let{sliderdata:i=[]}=e,{onclickeventname:a="defaultEvent"}=e,{actionevent:o="defaultEvent"}=e,{favoritesnumber:s="0"}=e,{location:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{containermaxwidth:h=""}=e,{isprimarymenu:p=!1}=e,{issecondarymenu:m=!1}=e,{lang:g=""}=e,{activeindex:f=""}=e;var y,v;({withLocale:y,translations:v}={withLocale:"en",translations:{}}),Ir.subscribe(e=>{null==e&&(br.set(v),Ir.set(y))}),Object.keys(Zr).forEach(e=>{Cr(e,Zr[e])});let w,b,x,C=window.navigator.userAgent,S="PC"!==Yr(C),F=[{id:0,label:r("fallbackMainMenu.sports"),path:"/sports"},{id:1,label:r("fallbackMainMenu.casino"),path:"/casino"},{id:2,label:r("fallbackMainMenu.liveCasino"),path:"/live-casino"},{id:3,label:r("fallbackMainMenu.virtualSports"),path:"/virtual-sports"},{id:4,label:r("fallbackMainMenu.tournaments"),path:"/tournaments"}],M=(e,t)=>{n(5,b=t),window.postMessage({type:o,itemId:e.id,index:t,item:e},window.location.href)},_=()=>{w.scrollBy({left:-250,behavior:"smooth"})},k=()=>{w.scrollBy({left:250,behavior:"smooth"})};const $=e=>{"SliderData"==e.data.type&&e.data.identity==u&&n(0,i=e.data.data)};return Te(()=>(p&&!i.length&&n(0,i=F),window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)})),t.$$set=e=>{"sliderdata"in e&&n(0,i=e.sliderdata),"onclickeventname"in e&&n(11,a=e.onclickeventname),"actionevent"in e&&n(12,o=e.actionevent),"favoritesnumber"in e&&n(1,s=e.favoritesnumber),"location"in e&&n(2,l=e.location),"clientstyling"in e&&n(13,c=e.clientstyling),"clientstylingurl"in e&&n(14,d=e.clientstylingurl),"identity"in e&&n(15,u=e.identity),"containermaxwidth"in e&&n(3,h=e.containermaxwidth),"isprimarymenu"in e&&n(16,p=e.isprimarymenu),"issecondarymenu"in e&&n(17,m=e.issecondarymenu),"lang"in e&&n(18,g=e.lang),"activeindex"in e&&n(19,f=e.activeindex)},t.$$.update=()=>{var e;524288&t.$$.dirty[0]&&(f||0==f)&&n(5,b=parseInt(f,10)),8192&t.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{x.appendChild(e)})})(),16384&t.$$.dirty[0]&&d&&(()=>{let t=document.createElement("style"),e=new URL(d);d&&fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{x.appendChild(t)},1)})})(),262144&t.$$.dirty[0]&&g&&(e=g,Ir.set(e))},[i,s,l,h,w,b,x,S,M,_,k,a,o,c,d,u,p,m,g,f,()=>_(),(e,t,n)=>M(e,t),function(e){Le[e?"unshift":"push"](()=>{w=e,n(4,w)})},()=>k(),function(e){Le[e?"unshift":"push"](()=>{x=e,n(6,x)})}]}function ni(n){let r,i,a,o;return{c(){r=ee("div"),i=ee("casino-slider"),S(i,"identity",oi),S(i,"favoritesnumber",n[8]),S(i,"clientstyling",n[0]),S(i,"clientstylingurl",n[1]),S(i,"containermaxwidth",n[2]),S(i,"activeindex",n[5]),S(i,"actionevent",n[3]),ie(r,"class","CasinoCategoriesContainer"),ie(r,"part","CasinoCategoriesContainer")},m(e,t){q(e,r,t),K(r,i),a||(o=l(n[10].call(null,i)),a=!0)},p(e,t){256&t[0]&&S(i,"favoritesnumber",e[8]),1&t[0]&&S(i,"clientstyling",e[0]),2&t[0]&&S(i,"clientstylingurl",e[1]),4&t[0]&&S(i,"containermaxwidth",e[2]),32&t[0]&&S(i,"activeindex",e[5]),8&t[0]&&S(i,"actionevent",e[3])},d(e){e&&Q(r),a=!1,o()}}}function ri(e){let n;return{c(){n=ee("p"),n.textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ii(e){let n;return{c(){n=ee("div"),ie(n,"class","CasinoCategoriesLoading"),ie(n,"part","CasinoCategoriesLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ai(n){let r;function i(e){return e[4]||e[9]?ii:e[6]?ri:ni}let a=i(n),o=a(n);return{c(){r=ee("div"),o.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),o.m(r,null),n[20](r)},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:Z,o:Z,d(e){e&&Q(r),o.d(),n[20](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:13px 19px;font-size:16px;text-align:center;line-height:26px;transition:all 150ms ease-in-out;white-space:nowrap}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-top:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ti,ei,t,{sliderdata:0,onclickeventname:11,actionevent:12,favoritesnumber:1,location:2,clientstyling:13,clientstylingurl:14,identity:15,containermaxwidth:3,isprimarymenu:16,issecondarymenu:17,lang:18,activeindex:19},null,[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["sliderdata","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex"]}get sliderdata(){return this.$$.ctx[0]}set sliderdata(e){this.$$set({sliderdata:e}),U()}get onclickeventname(){return this.$$.ctx[11]}set onclickeventname(e){this.$$set({onclickeventname:e}),U()}get actionevent(){return this.$$.ctx[12]}set actionevent(e){this.$$set({actionevent:e}),U()}get favoritesnumber(){return this.$$.ctx[1]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),U()}get location(){return this.$$.ctx[2]}set location(e){this.$$set({location:e}),U()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get identity(){return this.$$.ctx[15]}set identity(e){this.$$set({identity:e}),U()}get containermaxwidth(){return this.$$.ctx[3]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),U()}get isprimarymenu(){return this.$$.ctx[16]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),U()}get issecondarymenu(){return this.$$.ctx[17]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),U()}get lang(){return this.$$.ctx[18]}set lang(e){this.$$set({lang:e}),U()}get activeindex(){return this.$$.ctx[19]}set activeindex(e){this.$$set({activeindex:e}),U()}});let oi="CasinoSliderData";function si(e,t,n){let r,i,a,{endpoint:o=""}=t,{datasource:s=""}=t,{lang:l=""}=t,{userid:c=""}=t,{session:d=""}=t,{mostplayed:u=""}=t,{mostplayedrounds:h=""}=t,{favorites:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{containermaxwidth:f=""}=t,{activecategory:y=""}=t,{actionevent:v=""}=t,w=0,b=!0,x=[],C=!1,S=window.navigator.userAgent,F=!1,M=!1,_=!1;const k=e=>{if(e.data)switch(e.data.type){case"UpdateCategoryFavoriteGames":var t=jr(e.data.receivedFavoriteResults.items);n(8,a=t.length);break;case"ShowFavoriteSection":n(8,a=e.data.receivedFavoriteResults.count)}};return Te(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)})),e.$$set=e=>{"endpoint"in e&&n(11,o=e.endpoint),"datasource"in e&&n(12,s=e.datasource),"lang"in e&&n(13,l=e.lang),"userid"in e&&n(14,c=e.userid),"session"in e&&n(15,d=e.session),"mostplayed"in e&&n(16,u=e.mostplayed),"mostplayedrounds"in e&&n(17,h=e.mostplayedrounds),"favorites"in e&&n(18,p=e.favorites),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(1,g=e.clientstylingurl),"containermaxwidth"in e&&n(2,f=e.containermaxwidth),"activecategory"in e&&n(19,y=e.activecategory),"actionevent"in e&&n(3,v=e.actionevent)},e.$$.update=()=>{14336&e.$$.dirty[0]&&o&&s&&l&&(()=>{if(o||(r="Endpoint is missing! Please provide a valid endpointURL.",n(6,C=!0),n(4,b=!1),console.error(r)),s||(r="Datasource is missing! Please provide a valid datasource.",n(6,C=!0),n(4,b=!1),console.error(r)),l&&2==l.length||(r="Language is missing! Please provide a valid language (alpha2code)",n(6,C=!0),n(4,b=!1),console.error(r)),!C){let e=new URL(o+"/casino/groups/"+s);e.searchParams.append("datasource",s),e.searchParams.append("platform",Yr(S)),e.searchParams.append("language",l),fetch(e).then(e=>e.json()).then(e=>{e=e.items.filter(e=>0<e.games.total);x=x.concat(e),x.unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(4,b=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(6,C=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(6,C=!0),console.error("There was an error while fetching the categories",e)})}})(),524304&e.$$.dirty[0]&&!b&&y&&n(5,w=x.map(e=>e.id).indexOf(y)),34816&e.$$.dirty[0]&&d&&o&&Wr(o,d).then(e=>{},e=>{console.error("err on session",e)}),294912&e.$$.dirty[0]&&d&&p&&(0==F&&"true"==p&&x.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),F=!0),116736&e.$$.dirty[0]&&d&&o&&c&&u&&u&&(n(9,_=!0),(()=>{if(u){let e=new URL(`${o}/player/${c}/games/most-played`),t=Yr(S);return t?"PC"===t?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),e.searchParams.append("rounds",h),new Promise((t,n)=>{fetch(e.href).then(e=>e.json()).then(e=>{0==e.count&&t(!1),t(!0)}).catch(e=>{console.error("err",e),n(!1)})})}})().then(e=>{0==M&&"true"==u&&e&&x.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(9,_=!1),ye(),M=!0})),1&e.$$.dirty[0]&&m&&(()=>{let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)})(),2&e.$$.dirty[0]&&g&&(()=>{let t=document.createElement("style"),e=new URL(g);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},n(8,a=0),[m,g,f,v,b,w,C,i,a,_,e=>{window.postMessage({type:"SliderData",identity:oi,data:x},window.location.href)},o,s,l,c,d,u,h,p,y,function(e){Le[e?"unshift":"push"](()=>{i=e,n(7,i)})}]}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:black}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},si,ai,t,{endpoint:11,datasource:12,lang:13,userid:14,session:15,mostplayed:16,mostplayedrounds:17,favorites:18,clientstyling:0,clientstylingurl:1,containermaxwidth:2,activecategory:19,actionevent:3},null,[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","mostplayedrounds","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent"]}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),U()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),U()}get session(){return this.$$.ctx[15]}set session(e){this.$$set({session:e}),U()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(e){this.$$set({mostplayed:e}),U()}get mostplayedrounds(){return this.$$.ctx[17]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),U()}get favorites(){return this.$$.ctx[18]}set favorites(e){this.$$set({favorites:e}),U()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),U()}get activecategory(){return this.$$.ctx[19]}set activecategory(e){this.$$set({activecategory:e}),U()}get actionevent(){return this.$$.ctx[3]}set actionevent(e){this.$$set({actionevent:e}),U()}});const li={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Klar",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Chiaro",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur 500 - Erreur interne du serveur",search:"Rechercher des jeux ...",loading:"Chargement ...",searchMobile:"Rechercher",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Rechercher des jeux de casino",filters:"Filtres",clear:"Dégager",noGamesPlayed:"Vous n'avez joué à aucun jeu !"}},es:{casinoPage:{500:"500 Error - Error interno del servidor",search:"Buscar juegos ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Claro",noGamesPlayed:"¡No tienes partidas jugadas!"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Čisto",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Egyértelmű",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Jasny",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"500 Error - Internal Server Error",search:"Procurar",loading:"A carregar",searchMobile:"Procurar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Claro",noGamesPlayed:"Você não tem jogos jogados!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}}},ci={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again."}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{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:{gamesCategorySection:{showMore:"Montre plus",viewAll:"Voir tout",searchedItems:"Articles recherchés",recentSearchedItems:"Articles recherchés récemment",noRecentSearch:"Aucune recherche n'a encore commencé. Recherchez simplement un jeu.",noResults:"Désolé, aucun résultat trouvé. Veuillez réessayer"}},es:{gamesCategorySection:{showMore:"Mostrar más",viewAll:"Ver todo",searchedItems:"Artículos buscados",recentSearchedItems:"Elementos buscados recientemente",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",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"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",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"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{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:{gamesCategorySection:{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:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostrar tudo",searchedItems:"Procurar resultado",recentSearchedItems:"Pesquisado recentemente",noRecentSearch:"Nenhuma pesquisa iniciada. Pesquisar simplesmente um jogo.",noResults:"Desculpe, sem qualquer correspondência. Por favor, tente novamente."}},sl:{gamesCategorySection:{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:{gamesCategorySection:{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."}}};var di,ui,hi=(ui=di={path:void 0,exports:{},require:function(e,t){return Ln(null==t&&di.path)}},di.exports,ui.exports=function(){var e;function m(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function a(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=0;r<e.length;++r)n.push(t(e[r],r));return n}function d(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return Et(e,t,n,r,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var t=g(e),n=y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function f(e){var t=u(NaN);return null!=e?d(g(t),e):g(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},v=m.momentProperties=[],t=!1;function w(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),0<v.length)for(n=0;n<v.length;n++)a(i=t[r=v[n]])||(e[r]=i);return e}function b(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function x(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function C(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,a){var o=!0;return d(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,i),o){for(var e,t,n=[],r=0;r<arguments.length;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}C(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var S={};function F(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),S[e]||(C(t),S[e]=!0)}function M(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function _(e,t){var n,r=d({},e);for(n in t)p(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)p(e,n)&&!p(t,n)&&s(e[n])&&(r[n]=d({},r[n]));return r}function k(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var $=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function E(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var T=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},G={};function P(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(G[e]=i),t&&(G[t[0]]=function(){return E(i.apply(this,arguments),t[1],t[2])}),n&&(G[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=A(t,e.localeData()),I[t]=I[t]||function(r){for(var e,i=r.match(T),t=0,a=i.length;t<a;t++)G[i[t]]?i[t]=G[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=M(i[n])?i[n].call(e,r):i[n];return t}}(t),I[t](e)):e.localeData().invalidDate()}function A(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(L.lastIndex=0;0<=n&&L.test(e);)e=e.replace(L,r),L.lastIndex=0,--n;return e}var D={};function O(e,t){var n=e.toLowerCase();D[n]=D[n+"s"]=D[t]=e}function N(e){return"string"==typeof e?D[e]||D[e.toLowerCase()]:void 0}function B(e){var t,n,r={};for(n in e)p(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}var U={};function H(e,t){U[e]=t}function z(e){return e%4==0&&e%100!=0||e%400==0}function Y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function j(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?Y(t):e}function W(t,n){return function(e){return null!=e?(Z(this,t,e),m.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&z(e.year())&&1===e.month()&&29===e.date()?(n=j(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),$e(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X=/\d/,J=/\d\d/,K=/\d{3}/,q=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ie=/\d{1,4}/,ae=/[+-]?\d{1,6}/,oe=/\d+/,se=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ue(e,n,r){me[e]=M(n)?n:function(e,t){return e&&r?r:n}}function he(e,t){return p(me,e)?me[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},ge={};function fe(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),c(n)&&(r=function(e,t){t[n]=j(e)}),t=0;t<e.length;t++)ge[e[t]]=r}function ye(e,i){fe(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var ve,we=0,be=1,xe=2,Ce=3,Se=4,Fe=5,Me=6,_e=7,ke=8;function $e(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?z(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),P("MMMM",0,0,function(e){return this.localeData().months(this,e)}),O("month","M"),H("month",8),ue("M",ee),ue("MM",ee,J),ue("MMM",function(e,t){return t.monthsShortRegex(e)}),ue("MMMM",function(e,t){return t.monthsRegex(e)}),fe(["M","MM"],function(e,t){t[be]=j(e)-1}),fe(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[be]=r:g(n).invalidMonth=e});var Ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Te="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=de,Ge=de;function Pe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=j(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),$e(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Re(e){return null!=e?(Pe(this,e),m.updateOffset(this,!0),this):V(this,"Month")}function Ae(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=u([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=pe(n[a]),r[a]=pe(r[a]);for(a=0;a<24;a++)i[a]=pe(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function De(e){return z(e)?366:365}P("Y",0,0,function(){var e=this.year();return e<=9999?E(e,4):"+"+e}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),O("year","y"),H("year",1),ue("Y",se),ue("YY",ee,J),ue("YYYY",ie,q),ue("YYYYY",ae,Q),ue("YYYYYY",ae,Q),fe(["YYYYY","YYYYYY"],we),fe("YYYY",function(e,t){t[we]=2===e.length?m.parseTwoDigitYear(e):j(e)}),fe("YY",function(e,t){t[we]=m.parseTwoDigitYear(e)}),fe("Y",function(e,t){t[we]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return j(e)+(68<j(e)?1900:2e3)};var Oe=W("FullYear",!0);function Ne(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Be(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ue(e,t,n){n=7+t-n;return-(7+Be(e,0,n).getUTCDay()-t)%7+n-1}function He(e,t,n,r,i){var a,i=1+7*(t-1)+(7+n-r)%7+Ue(e,r,i),i=i<=0?De(a=e-1)+i:i>De(e)?(a=e+1,i-De(e)):(a=e,i);return{year:a,dayOfYear:i}}function ze(e,t,n){var r,i,a=Ue(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+Ye(i=e.year()-1,t,n):a>Ye(e.year(),t,n)?(r=a-Ye(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ye(e,t,n){var r=Ue(e,t,n),n=Ue(e+1,t,n);return(De(e)-r+n)/7}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),H("week",5),H("isoWeek",5),ue("w",ee),ue("ww",ee,J),ue("W",ee),ue("WW",ee,J),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=j(e)});function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}P("d",0,"do","day"),P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),ue("d",ee),ue("e",ee),ue("E",ee),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,r){t[r]=j(e)});var We="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=de,Je=de,Ke=de;function qe(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=u([2e3,1]).day(l),t=pe(this.weekdaysMin(r,"")),n=pe(this.weekdaysShort(r,"")),r=pe(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,Qe),P("k",["kk",2],0,function(){return this.hours()||24}),P("hmm",0,0,function(){return""+Qe.apply(this)+E(this.minutes(),2)}),P("hmmss",0,0,function(){return""+Qe.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+E(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)}),et("a",!0),et("A",!1),O("hour","h"),H("hour",13),ue("a",tt),ue("A",tt),ue("H",ee),ue("h",ee),ue("k",ee),ue("HH",ee,J),ue("hh",ee,J),ue("kk",ee,J),ue("hmm",te),ue("hmmss",ne),ue("Hmm",te),ue("Hmmss",ne),fe(["H","HH"],Ce),fe(["k","kk"],function(e,t,n){e=j(e);t[Ce]=24===e?0:e}),fe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),fe(["h","hh"],function(e,t,n){t[Ce]=j(e),g(n).bigHour=!0}),fe("hmm",function(e,t,n){var r=e.length-2;t[Ce]=j(e.substr(0,r)),t[Se]=j(e.substr(r)),g(n).bigHour=!0}),fe("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ce]=j(e.substr(0,r)),t[Se]=j(e.substr(r,2)),t[Fe]=j(e.substr(i)),g(n).bigHour=!0}),fe("Hmm",function(e,t,n){var r=e.length-2;t[Ce]=j(e.substr(0,r)),t[Se]=j(e.substr(r))}),fe("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ce]=j(e.substr(0,r)),t[Se]=j(e.substr(r,2)),t[Fe]=j(e.substr(i))});var nt=W("Hours",!0);var rt,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ee,monthsShort:Te,week:{dow:0,doy:6},weekdays:We,weekdaysMin:Ze,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},at={},ot={};function st(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=st(e[a]).split("-")).length,n=(n=st(e[a+1]))?n.split("-"):null;0<t;){if(r=ct(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return rt}function ct(t){var e;if(void 0===at[t]&&ui&&ui.exports)try{e=rt._abbr,Ln(),dt(e)}catch(e){at[t]=null}return at[t]}function dt(e,t){return e&&((t=a(t)?ht(e):ut(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function ut(e,t){if(null===t)return delete at[e],null;var n,r=it;if(t.abbr=e,null!=at[e])F("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])r=at[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;r=n._config}return at[e]=new k(_(r,t)),ot[e]&&ot[e].forEach(function(e){ut(e.name,e.config)}),dt(e),at[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!o(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function pt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[be]<0||11<t[be]?be:t[xe]<1||t[xe]>$e(t[we],t[be])?xe:t[Ce]<0||24<t[Ce]||24===t[Ce]&&(0!==t[Se]||0!==t[Fe]||0!==t[Me])?Ce:t[Se]<0||59<t[Se]?Se:t[Fe]<0||59<t[Fe]?Fe:t[Me]<0||999<t[Me]?Me:-1,g(e)._overflowDayOfYear&&(t<we||xe<t)&&(t=xe),g(e)._overflowWeeks&&-1===t&&(t=_e),g(e)._overflowWeekday&&-1===t&&(t=ke),g(e).overflow=t),e}var mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ct(e){var t,n,r,i,a,o,s=e._i,l=mt.exec(s)||gt.exec(s);if(l){for(g(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){i=yt[t][0],r=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=vt.length;t<n;t++)if(vt[t][1].exec(l[3])){a=(l[2]||" ")+vt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!ft.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),kt(e)}else e._isValid=!1}function St(e,t,n,r,i,a){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Te.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&i.push(parseInt(a,10)),i}function Ft(e){var t,n,r,i,a=bt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=St(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&Ve.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=a[8],t=a[9],a=a[10],i?xt[i]:t?0:((t=parseInt(a,10))-(a=t%100))/100*60+a),e._d=Be.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function _t(e){var t,n,r,i,a,o,s,l,c,d,u,h,p=[];if(!e._d){for(u=e,h=new Date(m.now()),n=u._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[xe]&&null==e._a[be]&&(null!=(u=(i=e)._w).GG||null!=u.W||null!=u.E?(l=1,c=4,a=Mt(u.GG,i._a[we],ze(Tt(),1,4).year),o=Mt(u.W,1),((s=Mt(u.E,1))<1||7<s)&&(d=!0)):(l=i._locale._week.dow,c=i._locale._week.doy,h=ze(Tt(),l,c),a=Mt(u.gg,i._a[we],h.year),o=Mt(u.w,h.week),null!=u.d?((s=u.d)<0||6<s)&&(d=!0):null!=u.e?(s=u.e+l,(u.e<0||6<u.e)&&(d=!0)):s=l),o<1||o>Ye(a,l,c)?g(i)._overflowWeeks=!0:null!=d?g(i)._overflowWeekday=!0:(c=He(a,o,s,l,c),i._a[we]=c.year,i._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(r=Mt(e._a[we],n[we]),(e._dayOfYear>De(r)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),r=Be(r,0,e._dayOfYear),e._a[be]=r.getUTCMonth(),e._a[xe]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ce]&&0===e._a[Se]&&0===e._a[Fe]&&0===e._a[Me]&&(e._nextDay=!0,e._a[Ce]=0),e._d=(e._useUTC?Be:Ne).apply(null,p),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ce]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,a=0,o=A(e._f,e._locale).match(T)||[],s=0;s<o.length;s++)n=o[s],(t=(r.match(he(n,e))||[])[0])&&(0<(u=r.substr(0,r.indexOf(t))).length&&g(e).unusedInput.push(u),r=r.slice(r.indexOf(t)+t.length),a+=t.length),G[n]?(t?g(e).empty=!1:g(e).unusedTokens.push(n),d=n,h=e,null!=(u=t)&&p(ge,d)&&ge[d](u,h._a,h,d)):e._strict&&!t&&g(e).unusedTokens.push(n);g(e).charsLeftOver=i-a,0<r.length&&g(e).unusedInput.push(r),e._a[Ce]<=12&&!0===g(e).bigHour&&0<e._a[Ce]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[Ce]=(l=e._locale,c=e._a[Ce],null==(i=e._meridiem)?c:null!=l.meridiemHour?l.meridiemHour(c,i):null!=l.isPM?((i=l.isPM(i))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(c=g(e).era)&&(e._a[we]=e._locale.erasConvertYear(c,e._a[we])),_t(e),pt(e)}else Ft(e);else Ct(e);var l,c,d,u,h}function $t(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new b(pt(t)):(i(t)?e._d=t:o(n)?function(e){var t,n,r,i,a,o,s=!1;if(0===e._f.length)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)a=0,o=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],kt(t),h(t)&&(o=!0),a+=g(t).charsLeftOver,a+=10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));d(e,n||t)}(e):n?kt(e):a(n=(t=e)._i)?t._d=new Date(m.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=wt.exec(e._i);null===t?(Ct(e),!1===e._isValid&&(delete e._isValid,Ft(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),_t(t)):s(n)?function(e){var t,n;e._d||(n=void 0===(t=B(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),_t(e))}(t):c(n)?t._d=new Date(n):m.createFromInputFallback(t),h(e)||(e._d=null),e))}function Et(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(a=new b(pt($t(a=a))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Tt(e,t,n,r){return Et(e,t,n,r,!1)}m.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};var Lt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()}),It=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:f()});function Gt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return Tt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rt(e){var t=B(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(p(e,t)&&(-1===ve.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Pt.length;++n)if(e[Pt[n]]){if(r)return!1;parseFloat(e[Pt[n]])!==j(e[Pt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=ht(),this._bubble()}function At(e){return e instanceof Rt}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ot(e,n){P(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+E(~~(e/60),2)+n+E(~~e%60,2)})}Ot("Z",":"),Ot("ZZ",""),ue("Z",ce),ue("ZZ",ce),fe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Bt(ce,e)});var Nt=/([\+\-]|\d\d)/gi;function Bt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Nt)||["-",0,0])[1]+j(e[2]))?0:"+"===e[0]?t:-t}function Ut(e,t){var n;return t._isUTC?(n=t.clone(),t=(x(e)||i(e)?e:Tt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),m.updateOffset(n,!1),n):Tt(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Yt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Wt(e,t){var n,r,i=e,a=null;return At(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Yt.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:j(a[xe])*n,h:j(a[Ce])*n,m:j(a[Se])*n,s:j(a[Fe])*n,ms:j(Dt(1e3*a[Me]))*n}):(a=jt.exec(e))?(n="-"===a[1]?-1:1,i={y:Vt(a[2],n),M:Vt(a[3],n),w:Vt(a[4],n),d:Vt(a[5],n),h:Vt(a[6],n),m:Vt(a[7],n),s:Vt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=Tt(i.from),n=Tt(i.to),r=a.isValid()&&n.isValid()?(n=Ut(n,a),a.isBefore(n)?r=Zt(a,n):((r=Zt(n,a)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Rt(i),At(e)&&p(e,"_locale")&&(i._locale=e._locale),At(e)&&p(e,"_isValid")&&(i._isValid=e._isValid),i}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Xt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(F(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Jt(this,Wt(e,t),r),this}}function Jt(e,t,n,r){var i=t._milliseconds,a=Dt(t._days),t=Dt(t._months);e.isValid()&&(r=null==r||r,t&&Pe(e,V(e,"Month")+t*n),a&&Z(e,"Date",V(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&m.updateOffset(e,a||t))}Wt.fn=Rt.prototype,Wt.invalid=function(){return Wt(NaN)};var Kt=Xt(1,"add"),de=Xt(-1,"subtract");function qt(e){return"string"==typeof e||e instanceof String}function Qt(e){return x(e)||i(e)||qt(e)||c(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!c(e)&&qt(t)}).length),n&&r)||function(e){var t,n,r=s(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<a.length;t+=1)n=a[t],i=i||p(e,n);return r&&i}(e)||null==e;var t,n,r}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var rn=126227808e5;function an(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(pe(i[a].name)),e.push(pe(i[a].abbr)),n.push(pe(i[a].narrow)),r.push(pe(i[a].name)),r.push(pe(i[a].abbr)),r.push(pe(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function dn(e,t){P(0,[e,e.length],0,t)}function un(e,t,n,r,i){var a;return null==e?ze(this,r,i).year:(t>(a=Ye(e,r,i))&&(t=a),function(e,t,n,r,i){i=He(e,t,n,r,i),i=Be(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,i))}P("N",0,0,"eraAbbr"),P("NN",0,0,"eraAbbr"),P("NNN",0,0,"eraAbbr"),P("NNNN",0,0,"eraName"),P("NNNNN",0,0,"eraNarrow"),P("y",["y",1],"yo","eraYear"),P("y",["yy",2],0,"eraYear"),P("y",["yyy",3],0,"eraYear"),P("y",["yyyy",4],0,"eraYear"),ue("N",ln),ue("NN",ln),ue("NNN",ln),ue("NNNN",function(e,t){return t.erasNameRegex(e)}),ue("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),fe(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),ue("y",oe),ue("yy",oe),ue("yyy",oe),ue("yyyy",oe),ue("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),fe(["y","yy","yyy","yyyy"],we),fe(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[we]=n._locale.eraYearOrdinalParse(e,i):t[we]=parseInt(e,10)}),P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),ue("G",se),ue("g",se),ue("GG",ee,J),ue("gg",ee,J),ue("GGGG",ie,q),ue("gggg",ie,q),ue("GGGGG",ae,Q),ue("ggggg",ae,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=j(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),P("Q",0,"Qo","quarter"),O("quarter","Q"),H("quarter",7),ue("Q",X),fe("Q",function(e,t){t[be]=3*(j(e)-1)}),P("D",["DD",2],"Do","date"),O("date","D"),H("date",9),ue("D",ee),ue("DD",ee,J),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),fe(["D","DD"],xe),fe("Do",function(e,t){t[xe]=j(e.match(ee)[0])});ne=W("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),H("dayOfYear",4),ue("DDD",re),ue("DDDD",K),fe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=j(e)}),P("m",["mm",2],0,"minute"),O("minute","m"),H("minute",14),ue("m",ee),ue("mm",ee,J),fe(["m","mm"],Se);Ee=W("Minutes",!1);P("s",["ss",2],0,"second"),O("second","s"),H("second",15),ue("s",ee),ue("ss",ee,J),fe(["s","ss"],Fe);var hn,We=W("Seconds",!1);for(P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,function(){return 10*this.millisecond()}),P(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),P(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),P(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),P(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),P(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),H("millisecond",16),ue("S",re,X),ue("SS",re,J),ue("SSS",re,K),hn="SSSS";hn.length<=9;hn+="S")ue(hn,oe);function pn(e,t){t[Me]=j(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")fe(hn,pn);Ze=W("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");ie=b.prototype;function mn(e){return e}ie.add=Kt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=s(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||p(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Tt(),e=Ut(n,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(M(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Tt(n)))},ie.clone=function(){return new b(this)},ie.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Ut(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=N(t)){case"year":a=en(this,r)/12;break;case"month":a=en(this,r);break;case"quarter":a=en(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:Y(a)},ie.endOf=function(e){var t,n;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-an(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-an(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=R(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Tt(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Tt(),e)},ie.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Tt(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Tt(),e)},ie.get=function(e){return M(this[e=N(e)])?this[e]():this},ie.invalidAt=function(){return g(this).overflow},ie.isAfter=function(e,t){return e=x(e)?e:Tt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=x(e)?e:Tt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,r){return e=x(e)?e:Tt(e),t=x(t)?t:Tt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},ie.isSame=function(e,t){var e=x(e)?e:Tt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return h(this)},ie.lang=te,ie.locale=tn,ie.localeData=nn,ie.max=It,ie.min=Lt,ie.parsingFlags=function(){return d({},g(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:U[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=B(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(M(this[e=N(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=an(t,6e4);break;case"second":t=this._d.valueOf(),t-=an(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.subtract=de,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?R(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(e,"Z")):R(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},ie.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},ie.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},ie.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-m(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Oe,ie.isLeapYear=function(){return z(this.year())},ie.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Re,ie.daysInMonth=function(){return $e(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return Ye(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return Ye(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return Ye(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return Ye(this.isoWeekYear(),1,4)},ie.date=ne,ie.day=ie.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},ie.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ie.hour=ie.hours=nt,ie.minute=ie.minutes=Ee,ie.second=ie.seconds=We,ie.millisecond=ie.milliseconds=Ze,ie.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Ht(this);if("string"==typeof e){if(null===(e=Bt(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ht(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Jt(this,Wt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Bt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=zt,ie.isUTC=zt,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=n("dates accessor is deprecated. Use date instead.",ne),ie.months=n("months accessor is deprecated. Use month instead",Re),ie.years=n("years accessor is deprecated. Use year instead",Oe),ie.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),ie.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=$t(t))._a?(e=(t._isUTC?u:Tt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&j(e[o])!==j(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});q=k.prototype;function gn(e,t,n,r){var i=ht(),t=u().set(r,t);return i[n](t,e)}function fn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return gn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=gn(e,i,n,"month");return r}function yn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),c(t)&&(n=t,t=void 0),t||"");var i,a=ht(),o=e?a._week.dow:0,s=[];if(null!=n)return gn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=gn(t,(i+o)%7,r,"day");return s}q.calendar=function(e,t,n){return M(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},q.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(T).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},q.invalidDate=function(){return this._invalidDate},q.ordinal=function(e){return this._ordinal.replace("%d",e)},q.preparse=mn,q.postformat=mn,q.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return M(i)?i(e,t,n,r):i.replace(/%d/i,e)},q.pastFuture=function(e,t){return M(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},q.set=function(e){var t,n;for(n in e)p(e,n)&&(M(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},q.eras=function(e,t){for(var n,r=this._eras||ht("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=m(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},q.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},q.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},q.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},q.erasNameRegex=function(e){return p(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},q.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},q.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},q.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Le.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},q.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=u([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))||-1!==(i=ve.call(this._longMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))||-1!==(i=ve.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},q.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Ge),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},q.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},q.week=function(e){return ze(e,this._week.dow,this._week.doy).week},q.firstDayOfYear=function(){return this._week.doy},q.firstDayOfWeek=function(){return this._week.dow},q.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?je(t,this._week.dow):e?t[e.day()]:t},q.weekdaysMin=function(e){return!0===e?je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},q.weekdaysShort=function(e){return!0===e?je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},q.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},q.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},q.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Je),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},q.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ke),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},q.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},q.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},dt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===j(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=n("moment.lang is deprecated. Use moment.locale instead.",dt),m.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var vn=Math.abs;function wn(e,t,n,r){n=Wt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function bn(e){return e<0?Math.floor(e):Math.ceil(e)}function xn(e){return 4800*e/146097}function Cn(e){return 146097*e/4800}function Sn(e){return function(){return this.as(e)}}ae=Sn("ms"),Q=Sn("s"),X=Sn("m"),J=Sn("h"),re=Sn("d"),K=Sn("w"),Kt=Sn("M"),It=Sn("Q"),Lt=Sn("y");function Fn(e){return function(){return this.isValid()?this._data[e]:NaN}}de=Fn("milliseconds"),nt=Fn("seconds"),Ee=Fn("minutes"),We=Fn("hours"),Ze=Fn("days"),ne=Fn("months"),Oe=Fn("years");var Mn=Math.round,_n={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function kn(e,t,n,r){var i=Wt(e).abs(),a=Mn(i.as("s")),o=Mn(i.as("m")),s=Mn(i.as("h")),l=Mn(i.as("d")),c=Mn(i.as("M")),d=Mn(i.as("w")),i=Mn(i.as("y")),l=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||d<=1&&["w"]||d<n.w&&["ww",d]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}var $n=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Tn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=$n(this._milliseconds)/1e3,l=$n(this._days),c=$n(this._months),d=this.asSeconds();return d?(e=Y(s/60),t=Y(e/60),s%=60,e%=60,n=Y(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=En(this._months)!==En(d)?"-":"",a=En(this._days)!==En(d)?"-":"",o=En(this._milliseconds)!==En(d)?"-":"",(d<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}q=Rt.prototype;return q.isValid=function(){return this._isValid},q.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},q.add=function(e,t){return wn(this,e,t,1)},q.subtract=function(e,t){return wn(this,e,t,-1)},q.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=N(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+xn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Cn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},q.asMilliseconds=ae,q.asSeconds=Q,q.asMinutes=X,q.asHours=J,q.asDays=re,q.asWeeks=K,q.asMonths=Kt,q.asQuarters=It,q.asYears=Lt,q.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*j(this._months/12):NaN},q._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*bn(Cn(n)+t),n=t=0),r.milliseconds=e%1e3,e=Y(e/1e3),r.seconds=e%60,e=Y(e/60),r.minutes=e%60,e=Y(e/60),r.hours=e%24,t+=Y(e/24),n+=e=Y(xn(t)),t-=bn(Cn(e)),e=Y(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},q.clone=function(){return Wt(this)},q.get=function(e){return e=N(e),this.isValid()?this[e+"s"]():NaN},q.milliseconds=de,q.seconds=nt,q.minutes=Ee,q.hours=We,q.days=Ze,q.weeks=function(){return Y(this.days()/7)},q.months=ne,q.years=Oe,q.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=_n;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},_n,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),r=kn(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},q.toISOString=Tn,q.toString=Tn,q.toJSON=Tn,q.locale=tn,q.localeData=nn,q.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Tn),q.lang=te,P("X",0,0,"unix"),P("x",0,0,"valueOf"),ue("x",se),ue("X",/[+-]?\d+(\.\d{1,3})?/),fe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),fe("x",function(e,t,n){n._d=new Date(j(e))}),m.version="2.29.1",e=Tt,m.fn=ie,m.min=function(){return Gt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Gt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=u,m.unix=function(e){return Tt(1e3*e)},m.months=function(e,t){return fn(e,t,"months")},m.isDate=i,m.locale=dt,m.invalid=f,m.duration=Wt,m.isMoment=x,m.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},m.parseZone=function(){return Tt.apply(null,arguments).parseZone()},m.localeData=ht,m.isDuration=At,m.monthsShort=function(e,t){return fn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},m.defineLocale=ut,m.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=at[e]&&null!=at[e].parentLocale?at[e].set(_(at[e]._config,t)):(t=_(r=null!=(n=ct(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new k(t)).parentLocale=at[e],at[e]=t),dt(e)):null!=at[e]&&(null!=at[e].parentLocale?(at[e]=at[e].parentLocale,e===dt()&&dt(e)):null!=at[e]&&delete at[e]),at[e]},m.locales=function(){return $(at)},m.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},m.normalizeUnits=N,m.relativeTimeRounding=function(e){return void 0===e?Mn:"function"==typeof e&&(Mn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==_n[e]&&(void 0===t?_n[e]:(_n[e]=t,"s"===e&&(_n.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=ie,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},m}(),di.exports);const pi={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},mi={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$"};function gi(e,t,n){const r=e.slice();return r[103]=t[n],r[105]=n,r}function fi(e,t,n){const r=e.slice();return r[100]=t[n],r}function yi(e){let n,r=!zr(e[35])&&!e[0]&&e[12],i=r&&vi(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){4097&t[0]&&(r=!zr(e[35])&&!e[0]&&e[12]),r?i?i.p(e,t):(i=vi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Q(n)}}}function vi(n){let r,i,a;return{c(){r=ee("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',ie(r,"class","FavIconContainer"),ie(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[62]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function wi(e){let n;return{c(){n=ee("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',ie(n,"class","FavIconContainer"),ie(n,"part","FavIconContainer")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function bi(n){let r,i,a;return{c(){r=ee("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',ie(r,"class","FavIconContainer"),ie(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[64]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function xi(e){let n,r,i=e[34]("gameThumbnail.new")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","GameExtraInfoLabel NewGameTag"),ie(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){q(e,n,t),K(n,r)},p(e,t){8&t[1]&&i!==(i=e[34]("gameThumbnail.new")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function Ci(e){let n,r,i=e[34]("gameThumbnail.hot")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","GameExtraInfoLabel PopularGameTag"),ie(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){q(e,n,t),K(n,r)},p(e,t){8&t[1]&&i!==(i=e[34]("gameThumbnail.hot")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function Si(e){let n,r,i=!e[21]&&e[19]&&e[20]&&Fi(e);function a(e){return e[21]&&e[18]&&e[18]===Ai?_i:e[21]&&e[18]&&e[18]===Di?Mi:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ne(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),q(e,n,t),s&&s.m(e,t),q(e,r,t)},p(e,t){!e[21]&&e[19]&&e[20]?i?i.p(e,t):(i=Fi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&Q(n),s&&s.d(e),e&&Q(r)}}}function Fi(e){let n,r,i,a,o,s,l,c,d,u,h=e[34]("gameThumbnail.opens")+"",p=hi.utc(e[19]).local().format(e[20])+"",m=e[44](e[33])+"",g=e[43](e[25],e[26],e[24])+"";return{c(){n=ee("div"),r=ee("div"),i=te(h),a=ne(),o=ee("span"),s=te(p),l=ne(),c=new _,d=ne(),u=new _,ie(r,"class","ClosedGame"),ie(r,"part","ClosedGame"),c.a=d,u.a=null,ie(n,"class","GameProp LiveProps"),ie(n,"part","GameProp LiveProps")},m(e,t){q(e,n,t),K(n,r),K(r,i),K(r,a),K(r,o),K(o,s),K(n,l),c.m(m,n),K(n,d),u.m(g,n)},p(e,t){8&t[1]&&h!==(h=e[34]("gameThumbnail.opens")+"")&&ae(i,h),1572864&t[0]&&p!==(p=hi.utc(e[19]).local().format(e[20])+"")&&ae(s,p),4&t[1]&&m!==(m=e[44](e[33])+"")&&c.p(m),117440512&t[0]&&g!==(g=e[43](e[25],e[26],e[24])+"")&&u.p(g)},d(e){e&&Q(n)}}}function Mi(n){let r,i,a,o,s,l,c=n[44](n[33])+"",d=n[43](n[25],n[26],n[24])+"",u=new Array(Ni),h=[];for(let e=0;e<u.length;e+=1)h[e]=Ti(gi(n,u,e));return{c(){r=ee("div"),i=ee("div");for(let e=0;e<h.length;e+=1)h[e].c();a=ne(),o=new _,s=ne(),l=new _,ie(i,"class","LiveIcons"),ie(i,"part","LiveIcons"),o.a=s,l.a=null,ie(r,"class",n[29]),ie(r,"part",n[29])},m(e,t){q(e,r,t),K(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[65](i),K(r,a),o.m(c,r),K(r,s),l.m(d,r)},p(t,n){if(1342178304&n[0]|16384&n[1]){let e;for(u=new Array(Ni),e=0;e<u.length;e+=1){const o=gi(t,u,e);h[e]?h[e].p(o,n):(h[e]=Ti(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=u.length}4&n[1]&&c!==(c=t[44](t[33])+"")&&o.p(c),117440512&n[0]&&d!==(d=t[43](t[25],t[26],t[24])+"")&&l.p(d),536870912&n[0]&&ie(r,"class",t[29]),536870912&n[0]&&ie(r,"part",t[29])},d(e){e&&Q(r),m(h,e),n[65](null)}}}function _i(e){let n,r,i,a,o,s,l=e[44](e[33])+"",c=e[43](e[25],e[26],e[24])+"";function d(e){return e[31]?Ii:Li}let u=d(e),h=u(e);return{c(){n=ee("div"),r=ee("div"),h.c(),i=ne(),a=new _,o=ne(),s=new _,ie(r,"class","LiveIcons"),ie(r,"part","LiveIcons"),a.a=o,s.a=null,ie(n,"class","GameProp LiveProps BlackjackDisplay"),ie(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){q(e,n,t),K(n,r),h.m(r,null),K(n,i),a.m(l,n),K(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&h?h.p(e,t):(h.d(1),h=u(e),h&&(h.c(),h.m(r,null))),4&t[1]&&l!==(l=e[44](e[33])+"")&&a.p(l),117440512&t[0]&&c!==(c=e[43](e[25],e[26],e[24])+"")&&s.p(c)},d(e){e&&Q(n),h.d()}}}function ki(e){let n;function r(e){return e[28]?Ei:$i}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function $i(e){let n,r,i=e[45]("LatestResult "+(0===e[105]?"First":""),e[105],e[10][e[105]],e[30][e[10][e[105]]])+"";return{c(){n=new _,r=c(),n.a=r},m(e,t){n.m(i,e,t),q(e,r,t)},p(e,t){1073742848&t[0]&&i!==(i=e[45]("LatestResult "+(0===e[105]?"First":""),e[105],e[10][e[105]],e[30][e[10][e[105]]])+"")&&n.p(i)},d(e){e&&Q(r),e&&n.d()}}}function Ei(e){let n,r,i,a,o,s=e[45]("LatestResult "+(0===e[105]?"First":""),"first"+e[105]+e[10][e[105]][0],e[10][e[105]][0],e[30][e[10][e[105]][0]])+"",l=e[45]("LatestResult "+(0===e[105]?"First":""),"second"+e[105]+e[10][e[105]][1],e[10][e[105]][1],e[30][e[10][e[105]][1]])+"";return{c(){n=ee("div"),r=new _,i=ne(),a=new _,o=ne(),r.a=i,a.a=o,ie(n,"class","Double"),ie(n,"part","Double")},m(e,t){q(e,n,t),r.m(s,n),K(n,i),a.m(l,n),K(n,o)},p(e,t){1073742848&t[0]&&s!==(s=e[45]("LatestResult "+(0===e[105]?"First":""),"first"+e[105]+e[10][e[105]][0],e[10][e[105]][0],e[30][e[10][e[105]][0]])+"")&&r.p(s),1073742848&t[0]&&l!==(l=e[45]("LatestResult "+(0===e[105]?"First":""),"second"+e[105]+e[10][e[105]][1],e[10][e[105]][1],e[30][e[10][e[105]][1]])+"")&&a.p(l)},d(e){e&&Q(n)}}}function Ti(e){let n,r=e[10]&&e[10][e[105]]&&ki(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[10]&&e[10][e[105]]?r?r.p(e,t):(r=ki(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function Li(t){let i,a=t[23],o=[];for(let e=0;e<a.length;e+=1)o[e]=Gi(fi(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(142606336&n[0]|2048&n[1]){let e;for(a=t[23],e=0;e<a.length;e+=1){var r=fi(t,a,e);o[e]?o[e].p(r,n):(o[e]=Gi(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){m(o,e),e&&Q(i)}}}function Ii(e){let n,r,i=e[34]("gameThumbnail.full")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","FullTable"),ie(n,"part","FullTable")},m(e,t){q(e,n,t),K(n,r)},p(e,t){8&t[1]&&i!==(i=e[34]("gameThumbnail.full")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function Gi(e){let n,r,i,a,o,s,l;return{c(){n=ee("span"),r=C("svg"),i=C("path"),a=C("path"),o=ne(),ie(i,"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"),ie(a,"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"),ie(r,"xmlns","http://www.w3.org/2000/svg"),ie(r,"width","13"),ie(r,"height","14"),ie(r,"viewBox","0 0 13 14"),ie(n,"class",s=e[42](e[27],e[100].toString())?"ClosedSeat":"OpenSeat"),ie(n,"part",l=e[42](e[27],e[100].toString())?"ClosedSeat":"OpenSeat")},m(e,t){q(e,n,t),K(n,r),K(r,i),K(r,a),K(n,o)},p(e,t){142606336&t[0]&&s!==(s=e[42](e[27],e[100].toString())?"ClosedSeat":"OpenSeat")&&ie(n,"class",s),142606336&t[0]&&l!==(l=e[42](e[27],e[100].toString())?"ClosedSeat":"OpenSeat")&&ie(n,"part",l)},d(e){e&&Q(n)}}}function Pi(e){let n,r;return{c(){n=ee("p"),r=te(e[3]),ie(n,"class","GameNameBelow"),ie(n,"part","GameNameBelow"),ie(n,"title",e[3])},m(e,t){q(e,n,t),K(n,r)},p(e,t){8&t[0]&&ae(r,e[3]),8&t[0]&&ie(n,"title",e[3])},d(e){e&&Q(n)}}}function Ri(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x,C,S,F,M,_,k,$,E,T,L,I,G,P,R,A,D=n[34]("gameThumbnail.playNow")+"",O=(n[4]||"-")+"",N=0<parseInt(n[7]),B=n[13]&&yi(n);function U(e,t){return 4099&t[0]&&(F=null),4099&t[0]&&(M=null),null==F&&(F=!(zr(e[35])||!e[0]||!e[12]||!e[1])),F?bi:(null==M&&(M=!!(zr(e[35])&&e[0]&&e[12]&&e[1])),M?wi:void 0)}let H=U(n,[-1,-1,-1,-1]),z=H&&H(n),Y=n[6]&&xi(n),j=N&&Ci(n),W=n[9]&&Si(n),V=n[8]&&Pi(n);return{c(){r=ee("div"),i=ee("div"),a=ee("img"),c=ne(),d=ee("div"),u=ee("div"),B&&B.c(),h=ne(),p=ee("p"),m=te(n[3]),g=ne(),f=ee("button"),y=te(D),b=ne(),x=ee("span"),C=te(O),S=ne(),z&&z.c(),_=ne(),k=ee("div"),Y&&Y.c(),$=ne(),j&&j.c(),E=ne(),W&&W.c(),I=ne(),V&&V.c(),this.c=Z,J(a.src,o=n[2])||ie(a,"src",o),ie(a,"class",s="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),ie(a,"part",l="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),ie(a,"alt",""),ie(a,"loading","lazy"),ie(p,"class","GameInfoName"),ie(p,"part","GameInfoName"),ie(p,"title",n[3]),ie(f,"class","GameInfoBtn"),ie(f,"part","GameInfoBtn"),ie(u,"class",v="GameInfo "+(n[14]?"GameHovered":"")),ie(u,"part",w="GameInfo "+(n[14]?"GameHovered":"")),ie(x,"class","GameInfoVendor"),ie(x,"part","GameInfoVendor"),ie(d,"class","GameInfoWrapper"),ie(d,"part","GameInfoWrapper"),ie(k,"class","GameExtraInfo"),ie(k,"part","GameExtraInfo"),ie(i,"class",T="GameInnerContainer "+(n[9]&&!n[21]&&n[22].value||n[9]&&n[31]?"GameInnerContainerUnavailable":"")),ie(i,"part",L="GameInnerContainer "+(n[9]&&!n[21]||n[9]&&n[31]?"GameInnerContainerUnavailable":"")),ie(r,"class",G="GameContainer "+n[32]),ie(r,"part",P="GameContainer "+n[32])},m(e,t){q(e,r,t),K(r,i),K(i,a),n[61](a),K(i,c),K(i,d),K(d,u),B&&B.m(u,null),K(u,h),K(u,p),K(p,m),K(u,g),K(u,f),K(f,y),K(d,b),K(d,x),K(x,C),K(i,S),z&&z.m(i,null),K(i,_),K(i,k),Y&&Y.m(k,null),K(k,$),j&&j.m(k,null),K(k,E),W&&W.m(k,null),K(r,I),V&&V.m(r,null),n[66](r),R||(A=[re(f,"click",n[63]),re(i,"mouseenter",n[40]),re(i,"mouseleave",n[41]),re(i,"touchstart",n[38],{passive:!0}),re(i,"touchleave",n[39])],R=!0)},p(e,t){4&t[0]&&!J(a.src,o=e[2])&&ie(a,"src",o),49152&t[0]&&s!==(s="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&ie(a,"class",s),49152&t[0]&&l!==(l="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&ie(a,"part",l),e[13]?B?B.p(e,t):(B=yi(e),B.c(),B.m(u,h)):B&&(B.d(1),B=null),8&t[0]&&ae(m,e[3]),8&t[0]&&ie(p,"title",e[3]),8&t[1]&&D!==(D=e[34]("gameThumbnail.playNow")+"")&&ae(y,D),16384&t[0]&&v!==(v="GameInfo "+(e[14]?"GameHovered":""))&&ie(u,"class",v),16384&t[0]&&w!==(w="GameInfo "+(e[14]?"GameHovered":""))&&ie(u,"part",w),16&t[0]&&O!==(O=(e[4]||"-")+"")&&ae(C,O),H===(H=U(e,t))&&z?z.p(e,t):(z&&z.d(1),z=H&&H(e),z&&(z.c(),z.m(i,_))),e[6]?Y?Y.p(e,t):(Y=xi(e),Y.c(),Y.m(k,$)):Y&&(Y.d(1),Y=null),128&t[0]&&(N=0<parseInt(e[7])),N?j?j.p(e,t):(j=Ci(e),j.c(),j.m(k,E)):j&&(j.d(1),j=null),e[9]?W?W.p(e,t):(W=Si(e),W.c(),W.m(k,null)):W&&(W.d(1),W=null),6291968&t[0]|1&t[1]&&T!==(T="GameInnerContainer "+(e[9]&&!e[21]&&e[22].value||e[9]&&e[31]?"GameInnerContainerUnavailable":""))&&ie(i,"class",T),2097664&t[0]|1&t[1]&&L!==(L="GameInnerContainer "+(e[9]&&!e[21]||e[9]&&e[31]?"GameInnerContainerUnavailable":""))&&ie(i,"part",L),e[8]?V?V.p(e,t):(V=Pi(e),V.c(),V.m(r,null)):V&&(V.d(1),V=null),2&t[1]&&G!==(G="GameContainer "+e[32])&&ie(r,"class",G),2&t[1]&&P!==(P="GameContainer "+e[32])&&ie(r,"part",P)},i:Z,o:Z,d(e){e&&Q(r),n[61](null),B&&B.d(),z&&z.d(),Y&&Y.d(),j&&j.d(),W&&W.d(),V&&V.d(),n[66](null),R=!1,X(A)}}}const Ai="blackjack",Di="roulette",Oi="doubleballroulette",Ni=5;function Bi(n,e,o){let t;Ee(n,Hr,e=>o(34,t=e));let r,i,s,a,l,c,d,u,h,p,m,g,f,y,v,w,b,x,C,S,F,M,_,k,{session:$=""}=e,{userid:E=""}=e,{lang:T=""}=e,{clientstyling:L=""}=e,{clientstylingurl:I=""}=e,{favorites:G=""}=e,{gamethumbnail:P=""}=e,{gamename:R=""}=e,{gamevendor:A=""}=e,{gameid:D=""}=e,{gameisnew:O=""}=e,{gamepopularity:N=""}=e,{gamefunmode:B=!1}=e,{searchitem:U=!1}=e,{gamefavorite:H=!1}=e,{showfavoredcategory:z=!1}=e,{showgamename:Y=!1}=e,{currency:j=""}=e,{endpoint:W=""}=e,{livelobbyendpoint:V=""}=e,{connectlive:Z=""}=e,{visibilityconnect:X=""}=e,J=!1,K=!1,q=!1,Q=window.navigator.userAgent,ee="HH:mm",te,ne=[],re="EUR",ie="";const ae=[Ai],oe=[Di,Oi],se={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},le={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(pi).forEach(e=>{Cr(e,pi[e])});const ce=e=>{e.data.type!=="AddFavoriteThumbnail_"+D||z||o(0,H=!0),e.data.type!=="RemoveFavoriteThumbnail_"+D||z||o(0,H=!1),"UserSessionID"===e.data.type&&(o(12,J=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(9,s=null)},de=e=>{zr(Q)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:B},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),U&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},ue=e=>{var t="thumbnail";H?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},he=()=>{V&&EventSource&&!a&&A&&D&&(a=new EventSource(`${W}/encoder/lobby/updates/${A}/`+D),a.addEventListener("message",me))},pe=()=>{a&&(a.close(),a=void 0)},me=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:a}=r;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(27,g=i),o(9,s.currentOccupiedSeats=i,s),await ye());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(f=n,o(9,s.currentRouletteNumbers=n,s),await ye());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(y=n,o(9,s.currentDoubleBallRouletteNumbers=n,s),await ye());break;case"TableOpened":case"TableClosed":o(21,d=a),o(9,s.isOpen=a,s),await ye()}}}},ge=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",fe=(e,t)=>e.some(e=>e===t);return Te(()=>(window.addEventListener("message",ce,!1),()=>{window.removeEventListener("message",ce),a&&a.removeEventListener("message",me)})),n.$$set=e=>{"session"in e&&o(46,$=e.session),"userid"in e&&o(47,E=e.userid),"lang"in e&&o(48,T=e.lang),"clientstyling"in e&&o(49,L=e.clientstyling),"clientstylingurl"in e&&o(50,I=e.clientstylingurl),"favorites"in e&&o(1,G=e.favorites),"gamethumbnail"in e&&o(2,P=e.gamethumbnail),"gamename"in e&&o(3,R=e.gamename),"gamevendor"in e&&o(4,A=e.gamevendor),"gameid"in e&&o(5,D=e.gameid),"gameisnew"in e&&o(6,O=e.gameisnew),"gamepopularity"in e&&o(7,N=e.gamepopularity),"gamefunmode"in e&&o(51,B=e.gamefunmode),"searchitem"in e&&o(52,U=e.searchitem),"gamefavorite"in e&&o(0,H=e.gamefavorite),"showfavoredcategory"in e&&o(53,z=e.showfavoredcategory),"showgamename"in e&&o(8,Y=e.showgamename),"currency"in e&&o(54,j=e.currency),"endpoint"in e&&o(55,W=e.endpoint),"livelobbyendpoint"in e&&o(56,V=e.livelobbyendpoint),"connectlive"in e&&o(57,Z=e.connectlive),"visibilityconnect"in e&&o(58,X=e.visibilityconnect)},n.$$.update=()=>{var e,t;67108864&n.$$.dirty[1]&&Z&&("disconnect"===Z?pe():"connect"===Z&&he()),134217728&n.$$.dirty[1]&&X&&("disconnect"===X?pe():"connect"===X&&"connect"===Z&&he()),n.$$.dirty[1],16875520&n.$$.dirty[1]&&$&&E&&W&&o(12,J=!0),4&n.$$.dirty[0]&&P&&r&&o(16,r.onload=()=>{o(15,q=!0)},r),262144&n.$$.dirty[1]&&L&&(()=>{let e=document.createElement("style");e.innerHTML=L,setTimeout(()=>{i.appendChild(e)})})(),2&n.$$.dirty[0]&&G&&"true"==G&&o(13,K=!0),524288&n.$$.dirty[1]&&I&&(()=>{let e=new URL(I),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)})})})(),50331648&n.$$.dirty[1]&&W&&V&&(()=>{let e=new URL(""+V.split("?")[0]);e.searchParams.append("platform",Yr(Q)),e.searchParams.append("language",T),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(9,s=e)})})(),512&n.$$.dirty[0]&&s&&s&&(o(21,d=s.isOpen),te=s.betLimit||{},o(22,u=s.openHours),o(23,ne=(e=>{m=e.totalSeats||7,o(27,g=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=m;e++)t.push(e);return{seats:t}})(s).seats),u&&u.value&&({startTime:e,originalTimeFormat:t}=u["value"],o(19,c=e),o(20,ee=t||ee)),d&&o(18,l=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();fe(ae,e)?t=Ai:fe(oe,e)&&(t=Di)}}return t})(s)),o(24,re=mi[j]),o(25,h=(te.min||{})[j]),o(26,p=(te.max||{})[j]),f=s.currentRouletteNumbers,y=s.currentDoubleBallRouletteNumbers,v=s.vendorCategory,o(28,w=v.toLowerCase()===Oi),o(10,b=(w?y:f)||[]),o(29,x="GameProp LiveProps RoulleteProps"),o(29,x+=w?" Double":""),o(30,C=fe(oe,v.toLowerCase())?le:se),F=S,o(31,S=Array.isArray(g)&&g.length===m),s.dealer&&o(33,_=s.dealer.DealerName),k=s.numberOfPlayers,o(32,ie="ListGame"),s.isOpen&&s.currentRouletteNumbers&&o(32,ie+=" GameBackdrop"),d&&S&&h&&p&&s.currentOccupiedSeats?o(32,ie+=" GameContainerDimmed"):!1===d&&c&&o(32,ie+=" GameContainerFullyDimmed"),i&&(!F&&S?(o(32,ie+=" PulsatingRedShadow"),o(32,ie=ie.replace(" PulsatingGreenShadow",""))):F&&!S&&(o(32,ie+=" PulsatingGreenShadow"),o(32,ie=ie.replace(" PulsatingRedShadow",""))))),3072&n.$$.dirty[0]&&M&&b&&(()=>{const e="FirstElementAnimated",t=M.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))})()},[H,G,P,R,A,D,O,N,Y,s,b,M,J,K,!1,q,r,i,l,c,ee,d,u,ne,re,h,p,g,w,x,C,S,ie,_,t,Q,de,ue,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},fe,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
4
4
  <span>
@@ -29,5 +29,5 @@
29
29
  <span id=${t} class="${e}">
30
30
  ${n}
31
31
  </span>
32
- `},$,E,T,L,I,B,U,z,j,W,V,Z,X,se,le,function(e){Le[e?"unshift":"push"](()=>{r=e,o(16,r)})},()=>ue(D),()=>de(D),()=>ue(D),function(e){Le[e?"unshift":"push"](()=>{M=e,o(11,M)})},function(e){Le[e?"unshift":"push"](()=>{i=e,o(17,i)})}]}function Ui(e,t,n){const r=e.slice();return r[72]=t[n],r[74]=n,r}function Hi(e,t,n){const r=e.slice();return r[72]=t[n],r[75]=t,r[74]=n,r}function zi(e,t,n){const r=e.slice();return r[72]=t[n],r[74]=n,r}function Yi(e){let n;function r(e){return e[11]?Zi:e[21]?Vi:void 0}let i=r(e),a=i&&i(e);return{c(){n=ee("div"),a&&a.c()},m(e,t){q(e,n,t),a&&a.m(n,null)},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)))},d(e){e&&Q(n),a&&a.d()}}}function ji(e){let n,r,i;function a(e){return e[15]?ha:e[12].length?da:ua}let o=a(e),s=o(e);function l(e){return e[12]?ma:pa}let c=l(e),d=c(e);return{c(){n=ee("div"),r=ee("div"),s.c(),i=ne(),d.c(),ie(r,"class","CasinoGamesHeader Searched "+(zr(e[27])?"CasinoGamesHeaderMobile":"")),ie(r,"part","CasinoGamesHeader Searched "+(zr(e[27])?"CasinoGamesHeaderMobile":"")),ie(n,"class","CasinoGamesContainer"),ie(n,"part","CasinoGamesContainer")},m(e,t){q(e,n,t),K(n,r),s.m(r,null),K(n,i),d.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(r,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),d=c(e),d&&(d.c(),d.m(n,null)))},d(e){e&&Q(n),s.d(),d.d()}}}function Wi(e){let n;function r(e){return e[17]?va:ya}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function Vi(n){let r,i,a,o,s,l,c,d,u=n[25].name+"";function h(e){return e[25]?Ji:Xi}let p=h(n),m=p(n);return{c(){r=ee("div"),i=ee("div"),a=ee("h3"),o=te(u),s=ne(),l=ee("ul"),m.c(),ie(a,"class","CategoryName"),ie(a,"part","CategoryName"),ie(i,"class","CasinoGamesHeader"),ie(i,"part","CasinoGamesHeader"),ie(l,"class",c=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ie(l,"part",d=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ie(r,"class","CasinoGamesContainer"),ie(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),n[44](a),K(r,s),K(r,l),m.m(l,null),n[45](l)},p(e,t){33554432&t[0]&&u!==(u=e[25].name+"")&&ae(o,u),p===(p=h(e))&&m?m.p(e,t):(m.d(1),m=p(e),m&&(m.c(),m.m(l,null))),33554432&t[0]&&c!==(c=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ie(l,"class",c),33554432&t[0]&&d!==(d=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ie(l,"part",d)},d(e){e&&Q(r),n[44](null),m.d(),n[45](null)}}}function Zi(n){let r,i,a,o,s,l,c=n[11].name+"",d=n[13]&&oa(n);function u(e){return 0!==e[12].length?la:sa}let h=u(n),p=h(n);return{c(){r=ee("div"),i=ee("div"),a=ee("h3"),o=te(c),s=ne(),d&&d.c(),l=ne(),p.c(),ie(a,"class","CategoryName"),ie(a,"part","CategoryName"),ie(i,"class","CasinoGamesHeader"),ie(i,"part","CasinoGamesHeader"),ie(r,"class","CasinoGamesContainer"),ie(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),n[40](a),K(i,s),d&&d.m(i,null),K(r,l),p.m(r,null)},p(e,t){2048&t[0]&&c!==(c=e[11].name+"")&&ae(o,c),e[13]?d?d.p(e,t):(d=oa(e),d.c(),d.m(i,null)):d&&(d.d(1),d=null),h===(h=u(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(r,null)))},d(e){e&&Q(r),n[40](null),d&&d.d(),p.d()}}}function Xi(e){let n;return{c(){n=ee("p"),n.textContent="Waiting"},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function Ji(t){let r,i=t[25].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=aa(Ui(t,i,e));let o=null;return i.length||(o=Ki(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);q(t,r,n),o&&o.m(t,n)},p(t,n){if(195035647&n[0]){let e;for(i=t[25].items,e=0;e<i.length;e+=1){const o=Ui(t,i,e);a[e]?a[e].p(o,n):(a[e]=aa(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):(o=Ki(t),o.c(),o.m(r.parentNode,r))}},d(e){m(a,e),e&&Q(r),o&&o.d(e)}}}function Ki(e){let n,r,i,a,o,s,l,t=(d=e,zr(d[27])?Qi:qi),c=t(e);var d;return{c(){n=ee("p"),r=C("svg"),i=C("path"),a=ne(),o=ee("span"),o.textContent="You do not have any favored games yet.",s=ne(),c.c(),l=ne(),k(i,"fill","white"),ie(i,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),ie(r,"version","1.1"),ie(r,"class","UnfavoredIcon"),ie(r,"part","UnfavoredIcon"),ie(r,"xmlns","http://www.w3.org/2000/svg"),ie(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),ie(r,"x","50px"),ie(r,"y","50px"),ie(r,"viewBox","0 0 512.001 512.001"),k(r,"enable-background","new 0 0 512.001 512.001"),ie(r,"xml:space","preserve"),ie(o,"class","NoFavoriteText NoFavoriteTextHighlight"),ie(o,"part","NoFavoriteText NoFavoriteTextHighlight"),ie(n,"class","NoFavoriteGames "+(zr(e[27])?"NoFavoriteGamesMobile":"")),ie(n,"part","NoFavoriteGames "+(zr(e[27])?"NoFavoriteGamesMobile":""))},m(e,t){q(e,n,t),K(n,r),K(r,i),K(n,a),K(n,o),K(n,s),c.m(n,null),K(n,l)},p:Z,d(e){e&&Q(n),c.d()}}}function qi(e){let n;return{c(){n=ee("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",ie(n,"class","NoFavoriteText"),ie(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Qi(e){let n;return{c(){n=ee("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",ie(n,"class","NoFavoriteText"),ie(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function ea(e){let n,r=e[72].gameModel.isFavorite&&ta(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[72].gameModel.isFavorite?r?r.p(e,t):(r=ta(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function ta(e){let n,r=function(e){let n,r,i;function a(e,t){return 33554432&t[0]&&(r=null),null==n&&(n=!!zr(e[27])),n?ra:(null==r&&(r=!!e[72].gameModel.platform.includes("PC")),r?na:void 0)}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),q(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&Q(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&Q(n)}}}function na(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){n=ee("casino-game-thumbnail"),S(n,"class",r=""+(ba+(e[72].cellSize||"1x1"))),S(n,"part",i=""+(ba+(e[72].cellSize||"1x1"))),S(n,"session",e[2]),S(n,"userid",e[3]),S(n,"lang",e[1]),S(n,"favorites",e[4]),S(n,"gamethumbnail",a=e[72].gameModel.thumbnail),S(n,"gamename",o=e[72].gameModel.name),S(n,"gamevendor",s=e[72].gameModel.vendor.name),S(n,"gameisnew",l=e[72].gameModel.isNew),S(n,"gamepopularity",c=e[72].gameModel.popularity),S(n,"gamecellsize",d=e[72].gameModel.cellSize),S(n,"gameid",u=e[72].gameModel.id),S(n,"gamefunmode",h=e[72].gameModel.hasFunMode),S(n,"gamefavorite",p=e[72].gameModel.isFavorite),S(n,"showfavoredcategory",e[21]),S(n,"connectlive",m=1==e[23][e[72].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[24]),S(n,"currency",e[7]),S(n,"livelobbyendpoint",g=e[72].gameModel.details?e[72].gameModel.launchUrl:""),S(n,"clientstyling",e[5]),S(n,"clientstylingurl",e[6]),S(n,"endpoint",e[0]),S(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(ba+(e[72].cellSize||"1x1")))&&S(n,"class",r),33554432&t[0]&&i!==(i=""+(ba+(e[72].cellSize||"1x1")))&&S(n,"part",i),4&t[0]&&S(n,"session",e[2]),8&t[0]&&S(n,"userid",e[3]),2&t[0]&&S(n,"lang",e[1]),16&t[0]&&S(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[72].gameModel.thumbnail)&&S(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[72].gameModel.name)&&S(n,"gamename",o),33554432&t[0]&&s!==(s=e[72].gameModel.vendor.name)&&S(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[72].gameModel.isNew)&&S(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[72].gameModel.popularity)&&S(n,"gamepopularity",c),33554432&t[0]&&d!==(d=e[72].gameModel.cellSize)&&S(n,"gamecellsize",d),33554432&t[0]&&u!==(u=e[72].gameModel.id)&&S(n,"gameid",u),33554432&t[0]&&h!==(h=e[72].gameModel.hasFunMode)&&S(n,"gamefunmode",h),33554432&t[0]&&p!==(p=e[72].gameModel.isFavorite)&&S(n,"gamefavorite",p),2097152&t[0]&&S(n,"showfavoredcategory",e[21]),41943040&t[0]&&m!==(m=1==e[23][e[72].id]?"connect":"disconnect")&&S(n,"connectlive",m),16777216&t[0]&&S(n,"visibilityconnect",e[24]),128&t[0]&&S(n,"currency",e[7]),33554432&t[0]&&g!==(g=e[72].gameModel.details?e[72].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",g),32&t[0]&&S(n,"clientstyling",e[5]),64&t[0]&&S(n,"clientstylingurl",e[6]),1&t[0]&&S(n,"endpoint",e[0]),256&t[0]&&S(n,"livecasino",e[8])},d(e){e&&Q(n)}}}function ra(e){let n,r=e[72].gameModel.platform.includes("iPad")||e[72].gameModel.platform.includes("iPhone")||e[72].gameModel.platform.includes("Android"),i=r&&ia(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){33554432&t[0]&&(r=e[72].gameModel.platform.includes("iPad")||e[72].gameModel.platform.includes("iPhone")||e[72].gameModel.platform.includes("Android")),r?i?i.p(e,t):(i=ia(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Q(n)}}}function ia(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){n=ee("casino-game-thumbnail"),S(n,"class",r=""+(ba+(e[72].cellSize||"1x1"))),S(n,"part",i=""+(ba+(e[72].cellSize||"1x1"))),S(n,"session",e[2]),S(n,"userid",e[3]),S(n,"lang",e[1]),S(n,"favorites",e[4]),S(n,"gamethumbnail",a=e[72].gameModel.thumbnail),S(n,"gamename",o=e[72].gameModel.name),S(n,"gamevendor",s=e[72].gameModel.vendor.name),S(n,"gameisnew",l=e[72].gameModel.isNew),S(n,"gamepopularity",c=e[72].gameModel.popularity),S(n,"gamecellsize",d=e[72].gameModel.cellSize),S(n,"gameid",u=e[72].gameModel.id),S(n,"gamefunmode",h=e[72].gameModel.hasFunMode),S(n,"gamefavorite",p=e[72].gameModel.isFavorite),S(n,"showfavoredcategory",e[21]),S(n,"connectlive",m=1==e[23][e[72].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[24]),S(n,"currency",e[7]),S(n,"livelobbyendpoint",g=e[72].gameModel.details?e[72].gameModel.launchUrl:""),S(n,"clientstyling",e[5]),S(n,"clientstylingurl",e[6]),S(n,"endpoint",e[0]),S(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(ba+(e[72].cellSize||"1x1")))&&S(n,"class",r),33554432&t[0]&&i!==(i=""+(ba+(e[72].cellSize||"1x1")))&&S(n,"part",i),4&t[0]&&S(n,"session",e[2]),8&t[0]&&S(n,"userid",e[3]),2&t[0]&&S(n,"lang",e[1]),16&t[0]&&S(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[72].gameModel.thumbnail)&&S(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[72].gameModel.name)&&S(n,"gamename",o),33554432&t[0]&&s!==(s=e[72].gameModel.vendor.name)&&S(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[72].gameModel.isNew)&&S(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[72].gameModel.popularity)&&S(n,"gamepopularity",c),33554432&t[0]&&d!==(d=e[72].gameModel.cellSize)&&S(n,"gamecellsize",d),33554432&t[0]&&u!==(u=e[72].gameModel.id)&&S(n,"gameid",u),33554432&t[0]&&h!==(h=e[72].gameModel.hasFunMode)&&S(n,"gamefunmode",h),33554432&t[0]&&p!==(p=e[72].gameModel.isFavorite)&&S(n,"gamefavorite",p),2097152&t[0]&&S(n,"showfavoredcategory",e[21]),41943040&t[0]&&m!==(m=1==e[23][e[72].id]?"connect":"disconnect")&&S(n,"connectlive",m),16777216&t[0]&&S(n,"visibilityconnect",e[24]),128&t[0]&&S(n,"currency",e[7]),33554432&t[0]&&g!==(g=e[72].gameModel.details?e[72].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",g),32&t[0]&&S(n,"clientstyling",e[5]),64&t[0]&&S(n,"clientstylingurl",e[6]),1&t[0]&&S(n,"endpoint",e[0]),256&t[0]&&S(n,"livecasino",e[8])},d(e){e&&Q(n)}}}function aa(e){let n,r=e[72].gameModel&&ea(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[72].gameModel?r?r.p(e,t):(r=ea(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function oa(n){let r,i,a,o,s,l,c,d,u=n[26]("gamesCategorySection.viewAll")+"",h=n[11].games.total+"";return{c(){r=ee("a"),i=ee("span"),a=te(u),o=te(" ("),s=te(h),l=te(")"),ie(i,"class","CategoryLoadMore"),ie(i,"part","CategoryLoadMore"),ie(r,"class","CategoryNameLink"),ie(r,"part","CategoryNameLink")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),K(i,l),c||(d=re(r,"click",n[41]),c=!0)},p(e,t){67108864&t[0]&&u!==(u=e[26]("gamesCategorySection.viewAll")+"")&&ae(a,u),2048&t[0]&&h!==(h=e[11].games.total+"")&&ae(s,h)},d(e){e&&Q(r),c=!1,d()}}}function sa(e){let n;return{c(){n=ee("p"),n.textContent="You don't have any games in this category.",ie(n,"class","NoSearchResults"),ie(n,"part","NoSearchResults")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function la(n){let r,e,i,a=n[12],o=[];for(let e=0;e<a.length;e+=1)o[e]=ca(Hi(n,a,e));return{c(){r=ee("ul");for(let e=0;e<o.length;e+=1)o[e].c();ie(r,"class",e=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),ie(r,"part",i=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){q(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[43](r)},p(t,n){if(25170943&n[0]){let e;for(a=t[12],e=0;e<a.length;e+=1){const i=Hi(t,a,e);o[e]?o[e].p(i,n):(o[e]=ca(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}35651584&n[0]&&e!==(e=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ie(r,"class",e),35651584&n[0]&&i!==(i=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ie(r,"part",i)},d(e){e&&Q(r),m(o,e),n[43](null)}}}function ca(e){let n,r=function(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y=n[74];const v=()=>n[42](r,y),w=()=>n[42](null,y);return{c(){r=ee("casino-game-thumbnail"),S(r,"session",n[2]),S(r,"userid",n[3]),S(r,"lang",n[1]),S(r,"class",i=""+(ba+(n[72].cellSize||"1x1"))),S(r,"part",a=""+(ba+(n[72].cellSize||"1x1"))),S(r,"favorites",n[4]),S(r,"gamethumbnail",o=n[72].thumbnail),S(r,"gamename",s=n[72].name),S(r,"gamevendor",l=n[72].vendor.name),S(r,"gameisnew",c=n[72].isNew),S(r,"gamepopularity",d=n[72].popularity),S(r,"gamecellsize",u=n[72].cellSize),S(r,"gameid",h=n[72].id),S(r,"gamefunmode",p=n[72].hasFunMode),S(r,"gamefavorite",m=n[72].isFavorite),S(r,"connectlive",g=1==n[23][n[72].id]?"connect":"disconnect"),S(r,"visibilityconnect",n[24]),S(r,"currency",n[7]),S(r,"livelobbyendpoint",f=n[72].details?n[72].href:""),S(r,"clientstyling",n[5]),S(r,"clientstylingurl",n[6]),S(r,"endpoint",n[0]),S(r,"livecasino",n[8])},m(e,t){q(e,r,t),v()},p(e,t){n=e,4&t[0]&&S(r,"session",n[2]),8&t[0]&&S(r,"userid",n[3]),2&t[0]&&S(r,"lang",n[1]),4096&t[0]&&i!==(i=""+(ba+(n[72].cellSize||"1x1")))&&S(r,"class",i),4096&t[0]&&a!==(a=""+(ba+(n[72].cellSize||"1x1")))&&S(r,"part",a),16&t[0]&&S(r,"favorites",n[4]),4096&t[0]&&o!==(o=n[72].thumbnail)&&S(r,"gamethumbnail",o),4096&t[0]&&s!==(s=n[72].name)&&S(r,"gamename",s),4096&t[0]&&l!==(l=n[72].vendor.name)&&S(r,"gamevendor",l),4096&t[0]&&c!==(c=n[72].isNew)&&S(r,"gameisnew",c),4096&t[0]&&d!==(d=n[72].popularity)&&S(r,"gamepopularity",d),4096&t[0]&&u!==(u=n[72].cellSize)&&S(r,"gamecellsize",u),4096&t[0]&&h!==(h=n[72].id)&&S(r,"gameid",h),4096&t[0]&&p!==(p=n[72].hasFunMode)&&S(r,"gamefunmode",p),4096&t[0]&&m!==(m=n[72].isFavorite)&&S(r,"gamefavorite",m),8392704&t[0]&&g!==(g=1==n[23][n[72].id]?"connect":"disconnect")&&S(r,"connectlive",g),16777216&t[0]&&S(r,"visibilityconnect",n[24]),128&t[0]&&S(r,"currency",n[7]),4096&t[0]&&f!==(f=n[72].details?n[72].href:"")&&S(r,"livelobbyendpoint",f),32&t[0]&&S(r,"clientstyling",n[5]),64&t[0]&&S(r,"clientstylingurl",n[6]),1&t[0]&&S(r,"endpoint",n[0]),256&t[0]&&S(r,"livecasino",n[8]),y!==n[74]&&(w(),y=n[74],v())},d(e){e&&Q(r),w()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&Q(n)}}}function da(e){let n,r,i=e[26]("gamesCategorySection.searchedItems")+"";return{c(){n=ee("h3"),r=te(i),ie(n,"class","StatusText"),ie(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.searchedItems")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function ua(e){let n,r,i=e[26]("gamesCategorySection.noResults")+"";return{c(){n=ee("h3"),r=te(i),ie(n,"class","StatusText"),ie(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noResults")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function ha(e){let n,r,i=e[26]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=ee("h3"),r=te(i),ie(n,"class","StatusText"),ie(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.recentSearchedItems")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function pa(e){let n;return{c(){n=ee("p"),n.textContent="Waiting",ie(n,"class","SearchWaiting"),ie(n,"part","SearchWaiting")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ma(t){let r,i,a=!t[18]&&ga(t),o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=fa(zi(t,o,e));return{c(){a&&a.c(),r=ne(),i=ee("ul");for(let e=0;e<s.length;e+=1)s[e].c();ie(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),ie(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),q(e,r,t),q(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[18]?a&&(a.d(1),a=null):a?a.p(t,n):(a=ga(t),a.c(),a.m(r.parentNode,r)),70143&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){const a=zi(t,o,e);s[e]?s[e].p(a,n):(s[e]=fa(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&Q(r),e&&Q(i),m(s,e)}}}function ga(e){let n,r,t,i,a=e[26]("gamesCategorySection.noRecentSearch")+"";return{c(){n=ee("p"),r=te(a),ie(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(zr(e[27])?"NoRecentSearchesMobile":"")),ie(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(zr(e[27])?"NoRecentSearchesMobile":""))},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&a!==(a=e[26]("gamesCategorySection.noRecentSearch")+"")&&ae(r,a)},d(e){e&&Q(n)}}}function fa(e){let n,r,i,a,o,s,l,c,d,u,h,p,m;return{c(){n=ee("casino-game-thumbnail"),S(n,"class",r=""+(ba+(e[72].cellSize||"1x1"))),S(n,"part",i=""+(ba+(e[72].cellSize||"1x1"))),S(n,"session",e[2]),S(n,"userid",e[3]),S(n,"lang",e[1]),S(n,"searchitem",e[16]),S(n,"favorites",e[4]),S(n,"gamethumbnail",a=e[72].thumbnail),S(n,"gamename",o=e[72].name),S(n,"gamevendor",s=e[72].vendor.name),S(n,"gameisnew",l=e[72].isNew),S(n,"gamepopularity",c=e[72].popularity),S(n,"gamecellsize",d=e[72].cellSize),S(n,"gameid",u=e[72].id),S(n,"gamefunmode",h=e[72].hasFunMode),S(n,"gamefavorite",p=e[72].isFavorite),S(n,"currency",e[7]),S(n,"livelobbyendpoint",m=e[72].details?e[72].href:""),S(n,"clientstyling",e[5]),S(n,"clientstylingurl",e[6]),S(n,"endpoint",e[0]),S(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){4096&t[0]&&r!==(r=""+(ba+(e[72].cellSize||"1x1")))&&S(n,"class",r),4096&t[0]&&i!==(i=""+(ba+(e[72].cellSize||"1x1")))&&S(n,"part",i),4&t[0]&&S(n,"session",e[2]),8&t[0]&&S(n,"userid",e[3]),2&t[0]&&S(n,"lang",e[1]),65536&t[0]&&S(n,"searchitem",e[16]),16&t[0]&&S(n,"favorites",e[4]),4096&t[0]&&a!==(a=e[72].thumbnail)&&S(n,"gamethumbnail",a),4096&t[0]&&o!==(o=e[72].name)&&S(n,"gamename",o),4096&t[0]&&s!==(s=e[72].vendor.name)&&S(n,"gamevendor",s),4096&t[0]&&l!==(l=e[72].isNew)&&S(n,"gameisnew",l),4096&t[0]&&c!==(c=e[72].popularity)&&S(n,"gamepopularity",c),4096&t[0]&&d!==(d=e[72].cellSize)&&S(n,"gamecellsize",d),4096&t[0]&&u!==(u=e[72].id)&&S(n,"gameid",u),4096&t[0]&&h!==(h=e[72].hasFunMode)&&S(n,"gamefunmode",h),4096&t[0]&&p!==(p=e[72].isFavorite)&&S(n,"gamefavorite",p),128&t[0]&&S(n,"currency",e[7]),4096&t[0]&&m!==(m=e[72].details?e[72].href:"")&&S(n,"livelobbyendpoint",m),32&t[0]&&S(n,"clientstyling",e[5]),64&t[0]&&S(n,"clientstylingurl",e[6]),1&t[0]&&S(n,"endpoint",e[0]),256&t[0]&&S(n,"livecasino",e[8])},d(e){e&&Q(n)}}}function ya(e){let n;return{c(){n=ee("p"),n.textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function va(e){let n;return{c(){n=ee("p"),n.textContent="404 Error - No result found.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function wa(n){let r;function i(e){return e[10]?Wi:e[14]?ji:Yi}let a=i(n),o=a(n);return{c(){r=ee("div"),o.c(),this.c=Z,ie(r,"class","CasinoGamesCategorySectionContainer"),ie(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){q(e,r,t),o.m(r,null),n[46](r)},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:Z,o:Z,d(e){e&&Q(r),o.d(),n[46](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:18px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Bi,Ri,t,{session:46,userid:47,lang:48,clientstyling:49,clientstylingurl:50,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:51,searchitem:52,gamefavorite:0,showfavoredcategory:53,showgamename:8,currency:54,endpoint:55,livelobbyendpoint:56,connectlive:57,visibilityconnect:58,MONEY_WHEEL_COLOR_MAP:59,ROULETTE_COLOR_MAP:60},null,[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","currency","endpoint","livelobbyendpoint","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[46]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[47]}set userid(e){this.$$set({userid:e}),U()}get lang(){return this.$$.ctx[48]}set lang(e){this.$$set({lang:e}),U()}get clientstyling(){return this.$$.ctx[49]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[50]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),U()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),U()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),U()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),U()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),U()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),U()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),U()}get gamefunmode(){return this.$$.ctx[51]}set gamefunmode(e){this.$$set({gamefunmode:e}),U()}get searchitem(){return this.$$.ctx[52]}set searchitem(e){this.$$set({searchitem:e}),U()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),U()}get showfavoredcategory(){return this.$$.ctx[53]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),U()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$$set({showgamename:e}),U()}get currency(){return this.$$.ctx[54]}set currency(e){this.$$set({currency:e}),U()}get endpoint(){return this.$$.ctx[55]}set endpoint(e){this.$$set({endpoint:e}),U()}get livelobbyendpoint(){return this.$$.ctx[56]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),U()}get connectlive(){return this.$$.ctx[57]}set connectlive(e){this.$$set({connectlive:e}),U()}get visibilityconnect(){return this.$$.ctx[58]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),U()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[59]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[60]}});const ba="game-tile-";function xa(e,t,s){let n;Ee(e,Hr,e=>s(26,n=e));let i,r,a,o,l,c,d,u,h,p,{endpoint:m=""}=t,{datasource:g=""}=t,{lang:f=""}=t,{session:y=""}=t,{userid:v=""}=t,{favorites:w=""}=t,{clientstyling:b=""}=t,{clientstylingurl:x=""}=t,{currency:C=""}=t,{categoryid:S=""}=t,{categoryindex:F=0}=t,{categorygames:M=0}=t,{livecasino:_="false"}=t,{visiblegames:k=""}=t,{once:$=!0}=t,{top:E=0}=t,{bottom:T=0}=t,{left:L=0}=t,{right:I=0}=t,G=!1,P=!0,R=window.navigator.userAgent,A=[],D=!0,O=40,N=!1,B=!1,U=!1,H=!1,z=!1,Y=!0,j=!1,W=!1,V=!1,Z=new Array(1e4),X={},J="",K={items:[],count:0,name:""};Object.keys(ci).forEach(e=>{Cr(e,ci[e])}),void 0!==document.hidden?h="hidden":void 0!==document.msHidden?h="msHidden":void 0!==document.webkitHidden&&(h="webkitHidden");let q=new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>O&&te(S),s(23,X[t]=1,X)):s(23,X[t]=0,X)})});const Q=(e,r,i,t=0)=>{let a=new URL(`${m}/casino/groups/${g}/`+S),o=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",Yr(R)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",f),window.postMessage({type:"CategoryVendors",categoryid:S},window.location.href),o&&o[S])if(o[S].length&&!1===P&&!1===j){let t="";s(17,z=!0),o[S].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(17,z=!1);fetch(a).then(e=>e.json()).then(e=>{s(39,p=!0),s(10,G=!1),l=e.games.total,t(e)},e=>{s(10,G=!0),console.error(e),n(e)})})},ee=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(14,N=!1),P=!1,s(13,D=!1),W=!0,s(12,A=t.data.mostPlayedGames),s(11,a={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(14,N=!0),W=!1,s(15,B=!0),0<t.data.searchData.length?(s(12,A=t.data.searchData),s(18,Y=!0),A&&A.forEach(e=>{e.isFavorite=ne(e.id)})):(s(12,A=[]),s(18,Y=!1));break;case"OutOfRecentSearches":s(14,N=!1),s(15,B=!1);break;case"SearchData":s(14,N=!0),W=!1,s(15,B=!1),s(12,A=t.data.searchData.items||[]),s(16,H=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),A&&A.forEach(e=>{e.isFavorite=ne(e.id)});break;case"CategoryData_"+S:s(14,N=!1),P=!0,s(13,D=!0),s(16,H=!1),W=!1,V=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),Q(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(11,a=e),s(12,A=a.games.items),A&&A.forEach(e=>{e.isFavorite=ne(e.id)})});break;case"CategoryChange":O=20;break;case"CategoryUpdate":s(14,N=!1),P=!1,s(16,H=!1),W=!1,s(13,D=!1),V=!0,s(29,S=t.data.itemId),Q(0,0,O).then(e=>{s(11,a=e),a.games.items.forEach(e=>{e.isFavorite=ne(e.id)}),s(12,A=a.games.items),s(13,D=!1),A.length<10&&(U=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:U},window.location.href)},500))});break;case"FavoriteUpdate":W=!1,P=!0,s(12,A=a.games.items),A.forEach(e=>{e.isFavorite=ne(e.id)}),s(13,D=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items,j?P||W||window.postMessage({type:"CategoryUpdate",itemId:S},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(25,K.items=jr(e,K.items),K),s(25,K.name="Favorites",K),s(21,j=!0));break;case"UserSessionID":i=t.data.session,r=t.data.userID,"true"==w&&r&&r.length&&i&&0<i.length&&(e=>{let r={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(e,r).then(e=>e.json()).then(e=>{d=e?e.items:[],A.forEach(e=>{e.isFavorite=ne(e.id)});e=A;s(12,A=void 0),s(12,A=e),t(d)}).catch(e=>{console.error(e),n(e)})})})(`${m}/player/${r}/favorites/`)}},te=e=>{O+=1,O<=l&&Q(0,0,O).then(e=>{s(11,a=e),s(12,A=a.games.items),A.forEach(e=>{e.isFavorite=ne(e.id)})})},ne=t=>!!d&&-1!==d.findIndex(e=>e.id==t),re=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return Te(()=>(window.addEventListener("visibilitychange",e=>{document[h]?s(24,J="disconnect"):s(24,J="connect")}),window.addEventListener("message",ee,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ee),window.removeEventListener("visibilitychange",ee)})),e.$$set=e=>{"endpoint"in e&&s(0,m=e.endpoint),"datasource"in e&&s(30,g=e.datasource),"lang"in e&&s(1,f=e.lang),"session"in e&&s(2,y=e.session),"userid"in e&&s(3,v=e.userid),"favorites"in e&&s(4,w=e.favorites),"clientstyling"in e&&s(5,b=e.clientstyling),"clientstylingurl"in e&&s(6,x=e.clientstylingurl),"currency"in e&&s(7,C=e.currency),"categoryid"in e&&s(29,S=e.categoryid),"categoryindex"in e&&s(31,F=e.categoryindex),"categorygames"in e&&s(32,M=e.categorygames),"livecasino"in e&&s(8,_=e.livecasino),"visiblegames"in e&&s(33,k=e.visiblegames),"once"in e&&s(34,$=e.once),"top"in e&&s(35,E=e.top),"bottom"in e&&s(36,T=e.bottom),"left"in e&&s(37,L=e.left),"right"in e&&s(38,I=e.right)},e.$$.update=()=>{512&e.$$.dirty[0]|256&e.$$.dirty[1]&&p&&Z&&V&&Z.forEach((e,t)=>{e&&(e.elems_index=t,q.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&b&&(()=>{let e=document.createElement("style");e.innerHTML=b,setTimeout(()=>{u.appendChild(e)})})(),64&e.$$.dirty[0]&&x&&(()=>{let t=document.createElement("style");fetch(new URL(x)).then(e=>e.text()).then(e=>{t.innerHTML=e,u&&setTimeout(()=>{u.appendChild(t)},1)})})()},[m,f,y,v,w,b,x,C,_,Z,G,a,A,D,N,B,H,z,Y,o,c,j,u,X,J,K,n,R,re,S,g,F,M,k,$,E,T,L,I,p,function(e){Le[e?"unshift":"push"](()=>{c=e,s(20,c)})},e=>re(a.id,a),function(e,t){Le[e?"unshift":"push"](()=>{Z[t]=e,s(9,Z)})},function(e){Le[e?"unshift":"push"](()=>{o=e,s(19,o)})},function(e){Le[e?"unshift":"push"](()=>{c=e,s(20,c)})},function(e){Le[e?"unshift":"push"](()=>{o=e,s(19,o)})},function(e){Le[e?"unshift":"push"](()=>{u=e,s(22,u)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},xa,wa,t,{endpoint:0,datasource:30,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:29,categoryindex:31,categorygames:32,livecasino:8,visiblegames:33,once:34,top:35,bottom:36,left:37,right:38},null,[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categoryindex","categorygames","livecasino","visiblegames","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),U()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),U()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),U()}get categoryid(){return this.$$.ctx[29]}set categoryid(e){this.$$set({categoryid:e}),U()}get categoryindex(){return this.$$.ctx[31]}set categoryindex(e){this.$$set({categoryindex:e}),U()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$$set({categorygames:e}),U()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),U()}get visiblegames(){return this.$$.ctx[33]}set visiblegames(e){this.$$set({visiblegames:e}),U()}get once(){return this.$$.ctx[34]}set once(e){this.$$set({once:e}),U()}get top(){return this.$$.ctx[35]}set top(e){this.$$set({top:e}),U()}get bottom(){return this.$$.ctx[36]}set bottom(e){this.$$set({bottom:e}),U()}get left(){return this.$$.ctx[37]}set left(e){this.$$set({left:e}),U()}get right(){return this.$$.ctx[38]}set right(e){this.$$set({right:e}),U()}});const Ca={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}}};function Sa(e,t,n){const r=e.slice();return r[21]=t[n],r[23]=n,r}function Fa(n){let r,i,a,o,s,l,c,d=!n[4]&&Ma(n),u=n[4]&&ka(n);return{c(){r=ee("div"),i=ee("div"),a=ee("span"),a.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ne(),d&&d.c(),s=ne(),u&&u.c(),ie(a,"class","ModalCloseBtn"),ie(a,"part","ModalCloseBtn"),ie(a,"role","button"),ie(i,"class","ModalContainer"),ie(i,"part","ModalContainer"),ie(r,"class","ModalWindow"),ie(r,"part","ModalWindow")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),d&&d.m(i,null),K(i,s),u&&u.m(i,null),l||(c=re(a,"click",n[8]),l=!0)},p(e,t){e[4]?d&&(d.d(1),d=null):d?d.p(e,t):(d=Ma(e),d.c(),d.m(i,s)),e[4]?u?u.p(e,t):(u=ka(e),u.c(),u.m(i,null)):u&&(u.d(1),u=null)},d(e){e&&Q(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Ma(t){let n,r,i,a,o,s,e=t[5]("randomGame.randomGameLoading")+"",l=t[1],c=[];for(let e=0;e<l.length;e+=1)c[e]=_a(Sa(t,l,e));return{c(){n=ee("div"),r=ee("main"),i=ee("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ne(),o=ee("p"),s=te(e),ie(i,"class","items"),ie(i,"part","items"),k(i,"transform","translateY("+t[3]+"px)"),ie(r,"class","RandomGamesSliderWrapper"),ie(r,"part","RandomGamesSliderWrapper"),ie(o,"class","RandomGameLoading"),ie(o,"part","RandomGameLoading"),ie(n,"class","RandomGameWrapper"),ie(n,"part","RandomGameWrapper")},m(e,t){q(e,n,t),K(n,r),K(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);K(n,a),K(n,o),K(o,s)},p(t,n){if(2&n){let e;for(l=t[1],e=0;e<l.length;e+=1){var r=Sa(t,l,e);c[e]?c[e].p(r,n):(c[e]=_a(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}8&n&&k(i,"transform","translateY("+t[3]+"px)"),32&n&&e!==(e=t[5]("randomGame.randomGameLoading")+"")&&ae(s,e)},d(e){e&&Q(n),m(c,e)}}}function _a(e){let n,r,i,a,o,s;return{c(){n=ee("div"),r=ee("img"),s=ne(),ie(r,"class","RandomGameImage"),ie(r,"part","RandomGameImage"),J(r.src,i=e[21].thumbnail)||ie(r,"src",i),ie(r,"alt",a=e[21].name),ie(r,"title",o=e[21].name),ie(n,"class","item"),ie(n,"part","item")},m(e,t){q(e,n,t),K(n,r),K(n,s)},p(e,t){2&t&&!J(r.src,i=e[21].thumbnail)&&ie(r,"src",i),2&t&&a!==(a=e[21].name)&&ie(r,"alt",a),2&t&&o!==(o=e[21].name)&&ie(r,"title",o)},d(e){e&&Q(n)}}}function ka(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x,C,S=n[0].name+"",F=n[0].vendor.name+"",M=n[5]("randomGame.playNowRandomGame")+"";return{c(){r=ee("div"),i=ee("div"),a=ee("img"),c=ne(),d=ee("button"),d.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ne(),h=ee("div"),p=ee("p"),m=te(S),g=ne(),f=ee("p"),y=te(F),v=ne(),w=ee("button"),b=te(M),ie(a,"class","RandomGameImage"),ie(a,"part","RandomGameImage"),J(a.src,o=n[0].thumbnail)||ie(a,"src",o),ie(a,"alt",s=n[0].name),ie(a,"title",l=n[0].name),ie(d,"class","RandomTryAgain"),ie(d,"part","RandomTryAgain"),ie(i,"class","item"),ie(i,"part","item"),ie(p,"class","RandomGameTitle"),ie(p,"part","RandomGameTitle"),ie(f,"class","RandomGameVendor"),ie(f,"part","RandomGameVendor"),ie(w,"class","RandomGamePlay"),ie(w,"part","RandomGamePlay"),ie(h,"class","RandomGameDetails"),ie(h,"part","RandomGameDetails"),ie(r,"class","RandomGameWrapper"),ie(r,"part","RandomGameWrapper")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,c),K(i,d),K(r,u),K(r,h),K(h,p),K(p,m),K(h,g),K(h,f),K(f,y),K(h,v),K(h,w),K(w,b),x||(C=[re(d,"click",n[13]),re(w,"click",n[14])],x=!0)},p(e,t){1&t&&!J(a.src,o=e[0].thumbnail)&&ie(a,"src",o),1&t&&s!==(s=e[0].name)&&ie(a,"alt",s),1&t&&l!==(l=e[0].name)&&ie(a,"title",l),1&t&&S!==(S=e[0].name+"")&&ae(m,S),1&t&&F!==(F=e[0].vendor.name+"")&&ae(y,F),32&t&&M!==(M=e[5]("randomGame.playNowRandomGame")+"")&&ae(b,M)},d(e){e&&Q(r),x=!1,X(C)}}}function $a(n){let r,i,a,o,s,l,c,d,u,h,p,m=n[5]("randomGame.playRandomGame")+"",g=n[2]&&Fa(n);return{c(){r=ee("div"),i=ee("div"),g&&g.c(),a=ne(),o=ee("div"),s=ee("button"),l=ee("span"),c=te(m),d=ne(),u=ee("span"),u.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill-rule:evenodd;clip-rule:evenodd;fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M161,16.7c-2.7,0-5.5,0.5-8.1,1.6l-44.2,18.3C98.1,41,93,53.2,97.4,63.8l18.3,44.2 c4.4,10.6,16.6,15.7,27.2,11.3l44.2-18.3c10.6-4.4,15.7-16.6,11.3-27.2l-18.3-44.2C176.8,21.6,169.1,16.7,161,16.7L161,16.7z M161,25c4.9,0,9.4,2.9,11.4,7.8l18.3,44.2c2.7,6.5-0.3,13.7-6.8,16.3l-44.2,18.3c-6.5,2.7-13.7-0.3-16.3-6.8l-18.3-44.2 c-2.7-6.5,0.3-13.7,6.8-16.3L156.1,26C157.7,25.3,159.4,25,161,25L161,25z M127.1,54.2c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C130.3,54.8,128.7,54.2,127.1,54.2z M147.9,62.5c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C151.2,63.2,149.6,62.5,147.9,62.5z M168.8,70.8 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C172,71.5,170.4,70.8,168.8,70.8L168.8,70.8z M39,79.2c-8.1,0.1-15.8,4.9-19.1,12.9 L1.6,136.2c-4.4,10.6,0.7,22.8,11.3,27.2l44.2,18.3c10.6,4.4,22.8-0.7,27.2-11.3l18.3-44.2c4.4-10.6-0.7-22.8-11.3-27.2L47.1,80.8 C44.5,79.7,41.7,79.1,39,79.2L39,79.2z M39,87.5c1.6,0,3.3,0.3,4.9,1l44.2,18.3c6.5,2.7,9.4,9.9,6.8,16.3l-18.3,44.2 c-2.7,6.5-9.9,9.4-16.3,6.8l-44.2-18.3c-6.5-2.7-9.4-9.9-6.8-16.3l18.3-44.2C29.6,90.4,34.1,87.5,39,87.5L39,87.5z M44.7,99.4 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C47.9,100,46.3,99.4,44.7,99.4z M75.5,112.1c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4 c0-1.7-0.7-3.2-1.8-4.4C78.7,112.8,77.1,112.1,75.5,112.1z M36.7,118.6c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4 s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C39.9,119.3,38.3,118.6,36.7,118.6z M67.5,131.4c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C70.7,132,69.1,131.4,67.5,131.4z M28.7,137.9c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8 c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C32,138.5,30.4,137.9,28.7,137.9z M59.5,150.6 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C62.8,151.3,61.2,150.6,59.5,150.6z"></path></svg>',this.c=Z,ie(s,"class","RandomButton"),ie(s,"part","RandomButton"),ie(o,"class","RandomButtonWrapper"),ie(o,"part","RandomButtonWrapper"),ie(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),K(r,i),g&&g.m(i,null),K(i,a),K(i,o),K(o,s),K(s,l),K(l,c),K(s,d),K(s,u),h||(p=re(s,"click",n[15]),h=!0)},p(e,[t]){e[2]?g?g.p(e,t):(g=Fa(e),g.c(),g.m(i,a)):g&&(g.d(1),g=null),32&t&&m!==(m=e[5]("randomGame.playRandomGame")+"")&&ae(c,m)},i:Z,o:Z,d(e){e&&Q(r),g&&g.d(),h=!1,p()}}}function Ea(t,e,n){let r;Ee(t,Hr,e=>n(5,r=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,c=[],d="",u=!1,h=0,p=0,m=!1,g=window.navigator.userAgent;Object.keys(Ca).forEach(e=>{Cr(e,Ca[e])});const f=()=>{n(3,h=0),p=0,n(4,m=!1),n(0,d=c[Math.floor(Math.random()*c.length)]),n(2,u=!0);let e=setInterval(()=>{n(3,h-=100),p++,20==p&&(n(4,m=!0),clearInterval(e))},100)},y=()=>{window.postMessage({type:s,gameId:d.gId},window.location.href),n(2,u=!1)};return t.$$set=e=>{"endpoint"in e&&n(9,a=e.endpoint),"datasource"in e&&n(10,o=e.datasource),"gameevent"in e&&n(11,s=e.gameevent),"lang"in e&&n(12,l=e.lang)},t.$$.update=()=>{var e;4096&t.$$.dirty&&l&&(e=l,Ir.set(e)),1536&t.$$.dirty&&a&&o&&(()=>{let e=new URL(a+"/casino/games");e.searchParams.append("platform",Yr(g)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{c=e.items,n(1,i=c.slice(0,19))})})()},[d,i,u,h,m,r,f,y,()=>{n(2,u=!1)},a,o,s,l,()=>f(),()=>y(),()=>f()]}function Ta(e,t,n){const r=e.slice();return r[119]=t[n],r[121]=n,r}function La(n){let r,i,a,o,s,l="PC"!==Yr(n[41])&&"false"===n[10]&&n[37],c=l&&Ga();function d(e){return"false"===e[10]?Ra:Pa}let u=d(n),h=u(n),p="true"==n[15]&&Xa(n);function m(e){return e[18]?to:e[25]?eo:e[28]?Qa:e[23]?qa:e[29]?Ka:e[24]?void 0:Ja}let g=m(n),f=g&&g(n),y=n[20]&&"true"===n[13]&&ao(n);return{c(){r=ee("section"),c&&c.c(),i=ne(),h.c(),a=ne(),p&&p.c(),o=ne(),f&&f.c(),s=ne(),y&&y.c(),ie(r,"class","CategoriesLobby"),ie(r,"part","CategoriesLobby"),k(r,"max-width",n[12]+"px")},m(e,t){q(e,r,t),c&&c.m(r,null),K(r,i),h.m(r,null),K(r,a),p&&p.m(r,null),K(r,o),f&&f.m(r,null),K(r,s),y&&y.m(r,null),n[71](r)},p(e,t){1024&t[0]|64&t[1]&&(l="PC"!==Yr(e[41])&&"false"===e[10]&&e[37]),l?c||(c=Ga(),c.c(),c.m(r,i)):c&&(c.d(1),c=null),u===(u=d(e))&&h?h.p(e,t):(h.d(1),h=u(e),h&&(h.c(),h.m(r,a))),"true"==e[15]?p?p.p(e,t):(p=Xa(e),p.c(),p.m(r,o)):p&&(p.d(1),p=null),g===(g=m(e))&&f?f.p(e,t):(f&&f.d(1),f=g&&g(e),f&&(f.c(),f.m(r,s))),e[20]&&"true"===e[13]?y?y.p(e,t):(y=ao(e),y.c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&k(r,"max-width",e[12]+"px")},d(e){e&&Q(r),c&&c.d(),h.d(),p&&p.d(),f&&f.d(),y&&y.d(),n[71](null)}}}function Ia(e){let n,r,i=e[40]("casinoPage.500")+"";return{c(){n=ee("p"),r=te(i),ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t),K(n,r)},p(e,t){512&t[1]&&i!==(i=e[40]("casinoPage.500")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function Ga(){let n;return{c(){n=ee("div"),ie(n,"class","SearchBarPlaceholder"),ie(n,"part","SearchBarPlaceholder")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Pa(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b=n[40]("casinoPage.searchGames")+"",x="PC"===Yr(n[41])&&n[16].length||"PC"!==Yr(n[41]),C=!n[37]&&Aa(),S=x&&Da(n),F=!n[23]&&!n[28]&&!n[37]&&!n[29]&&!n[24]&&!n[27]&&!n[25]&&!n[26]&&Oa(n);return{c(){r=ee("div"),i=ee("div"),a=ee("label"),o=te(b),s=ne(),l=ee("div"),C&&C.c(),c=ne(),d=ee("input"),h=ne(),S&&S.c(),g=ne(),F&&F.c(),ie(a,"for","search"),ie(a,"class","SrOnly"),ie(a,"part","SrOnly"),ie(d,"id","SearchField"),ie(d,"class","SearchInput"),ie(d,"part","SearchInput"),ie(d,"placeholder",u="PC"===Yr(n[41])?n[40]("casinoPage.search"):n[40]("casinoPage.searchMobile")),ie(d,"type","search"),ie(l,"class","SearchWrapper"),ie(l,"part","SearchWrapper"),ie(i,"class",p="SearchContainer "+(n[28]||n[23]||n[29]||n[26]?"":"SearchTruncated")),ie(i,"part",m="SearchContainer "+(n[28]||n[23]||n[29]||n[26]?"":"SearchTruncated")),ie(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Yr(n[41])?"CategoriesHeaderMobileSection":"")+" "+(n[37]?"SearchMobileActive":"")+" "+(n[37]||n[25]&&"PC"!==Yr(n[41])&&!so?"CategoriesHeaderSearchActive":"")+(n[31]&&n[37]?"SearchStickTop":"")),ie(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Yr(n[41])?"CategoriesHeaderMobileSection":"")+" "+(n[37]?"SearchMobileActive":"")+" "+(n[37]||n[25]&&"PC"!==Yr(n[41])&&!so?"CategoriesHeaderSearchActive":"")+(n[31]&&n[37]?"SearchStickTop":"")),k(r,"top",n[31]&&n[37]?lo+"px":"")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),K(i,s),K(i,l),C&&C.m(l,null),K(l,c),K(l,d),n[64](d),M(d,n[16]),K(l,h),S&&S.m(l,null),K(r,g),F&&F.m(r,null),n[69](r),v||(w=[re(d,"focus",n[43]),re(d,"blur",n[44]),re(d,"input",n[65]),re(d,"focus",n[45])],v=!0)},p(e,t){512&t[1]&&b!==(b=e[40]("casinoPage.searchGames")+"")&&ae(o,b),e[37]?C&&(C.d(1),C=null):C||(C=Aa(),C.c(),C.m(l,c)),512&t[1]&&u!==(u="PC"===Yr(e[41])?e[40]("casinoPage.search"):e[40]("casinoPage.searchMobile"))&&ie(d,"placeholder",u),65536&t[0]&&M(d,e[16]),65536&t[0]&&(x="PC"===Yr(e[41])&&e[16].length||"PC"!==Yr(e[41])),x?S?S.p(e,t):(S=Da(e),S.c(),S.m(l,null)):S&&(S.d(1),S=null),880803840&t[0]&&p!==(p="SearchContainer "+(e[28]||e[23]||e[29]||e[26]?"":"SearchTruncated"))&&ie(i,"class",p),880803840&t[0]&&m!==(m="SearchContainer "+(e[28]||e[23]||e[29]||e[26]?"":"SearchTruncated"))&&ie(i,"part",m),e[23]||e[28]||e[37]||e[29]||e[24]||e[27]||e[25]||e[26]?F&&(F.d(1),F=null):F?F.p(e,t):(F=Oa(e),F.c(),F.m(r,null)),33554432&t[0]|65&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Yr(e[41])?"CategoriesHeaderMobileSection":"")+" "+(e[37]?"SearchMobileActive":"")+" "+(e[37]||e[25]&&"PC"!==Yr(e[41])&&!so?"CategoriesHeaderSearchActive":"")+(e[31]&&e[37]?"SearchStickTop":""))&&ie(r,"class",f),33554432&t[0]|65&t[1]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Yr(e[41])?"CategoriesHeaderMobileSection":"")+" "+(e[37]?"SearchMobileActive":"")+" "+(e[37]||e[25]&&"PC"!==Yr(e[41])&&!so?"CategoriesHeaderSearchActive":"")+(e[31]&&e[37]?"SearchStickTop":""))&&ie(r,"part",y),65&t[1]&&k(r,"top",e[31]&&e[37]?lo+"px":"")},d(e){e&&Q(r),C&&C.d(),n[64](null),S&&S.d(),F&&F.d(),n[69](null),v=!1,X(w)}}}function Ra(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b=n[40]("casinoPage.searchGames")+"",x="PC"===Yr(n[41])&&n[16].length||"PC"!==Yr(n[41]),C=!n[37]&&za(),S=x&&Ya(n),F=!n[23]&&!n[28]&&!n[37]&&!n[29]&&!n[24]&&!n[25]&&!n[27]&&!n[26]&&ja(n);return{c(){r=ee("div"),i=ee("div"),a=ee("label"),o=te(b),s=ne(),l=ee("div"),C&&C.c(),c=ne(),d=ee("input"),h=ne(),S&&S.c(),g=ne(),F&&F.c(),ie(a,"for","search"),ie(a,"class","SrOnly"),ie(a,"part","SrOnly"),ie(d,"id","SearchField"),ie(d,"class","SearchInput"),ie(d,"part","SearchInput"),ie(d,"placeholder",u="PC"===Yr(n[41])?n[40]("casinoPage.search"):n[40]("casinoPage.searchMobile")),ie(d,"type","search"),ie(l,"class","SearchWrapper"),ie(l,"part","SearchWrapper"),ie(i,"class",p="SearchContainer "+(n[28]||n[23]||n[29]||n[26]?"":"SearchTruncated")),ie(i,"part",m="SearchContainer "+(n[28]||n[23]||n[29]||n[26]?"":"SearchTruncated")),ie(r,"class",f="CategoriesHeaderSection "+("PC"!==Yr(n[41])?"CategoriesHeaderMobileSection":"")+" "+(n[37]?"SearchMobileActive":"")+" "+(n[37]||n[25]&&"PC"!==Yr(n[41])&&!so?"CategoriesHeaderSearchActive":"")+" "+(n[31]&&n[37]?"SearchStickTop":"")),k(r,"top",n[31]&&n[37]?lo+"px":""),ie(r,"part",y="CategoriesHeaderSection "+("PC"!==Yr(n[41])?"CategoriesHeaderMobileSection":"")+" "+(n[37]?"SearchMobileActive":"")+" "+(n[37]||n[25]&&"PC"!==Yr(n[41])&&!so?"CategoriesHeaderSearchActive":"")+" "+(n[31]&&n[37]?"SearchStickTop":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),K(i,s),K(i,l),C&&C.m(l,null),K(l,c),K(l,d),n[58](d),M(d,n[16]),K(l,h),S&&S.m(l,null),K(r,g),F&&F.m(r,null),n[63](r),v||(w=[re(d,"focus",n[43]),re(d,"blur",n[44]),re(d,"input",n[59]),re(d,"focus",n[45])],v=!0)},p(e,t){512&t[1]&&b!==(b=e[40]("casinoPage.searchGames")+"")&&ae(o,b),e[37]?C&&(C.d(1),C=null):C||(C=za(),C.c(),C.m(l,c)),512&t[1]&&u!==(u="PC"===Yr(e[41])?e[40]("casinoPage.search"):e[40]("casinoPage.searchMobile"))&&ie(d,"placeholder",u),65536&t[0]&&M(d,e[16]),65536&t[0]&&(x="PC"===Yr(e[41])&&e[16].length||"PC"!==Yr(e[41])),x?S?S.p(e,t):(S=Ya(e),S.c(),S.m(l,null)):S&&(S.d(1),S=null),880803840&t[0]&&p!==(p="SearchContainer "+(e[28]||e[23]||e[29]||e[26]?"":"SearchTruncated"))&&ie(i,"class",p),880803840&t[0]&&m!==(m="SearchContainer "+(e[28]||e[23]||e[29]||e[26]?"":"SearchTruncated"))&&ie(i,"part",m),e[23]||e[28]||e[37]||e[29]||e[24]||e[25]||e[27]||e[26]?F&&(F.d(1),F=null):F?F.p(e,t):(F=ja(e),F.c(),F.m(r,null)),33554432&t[0]|65&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==Yr(e[41])?"CategoriesHeaderMobileSection":"")+" "+(e[37]?"SearchMobileActive":"")+" "+(e[37]||e[25]&&"PC"!==Yr(e[41])&&!so?"CategoriesHeaderSearchActive":"")+" "+(e[31]&&e[37]?"SearchStickTop":""))&&ie(r,"class",f),65&t[1]&&k(r,"top",e[31]&&e[37]?lo+"px":""),33554432&t[0]|65&t[1]&&y!==(y="CategoriesHeaderSection "+("PC"!==Yr(e[41])?"CategoriesHeaderMobileSection":"")+" "+(e[37]?"SearchMobileActive":"")+" "+(e[37]||e[25]&&"PC"!==Yr(e[41])&&!so?"CategoriesHeaderSearchActive":"")+" "+(e[31]&&e[37]?"SearchStickTop":""))&&ie(r,"part",y)},d(e){e&&Q(r),C&&C.d(),n[58](null),S&&S.d(),F&&F.d(),n[63](null),v=!1,X(w)}}}function Aa(){let n;return{c(){n=ee("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',ie(n,"class","SearchIcon"),ie(n,"part","SearchWrapper")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Da(n){let r,i,a,o;return{c(){r=ee("span"),i=ee("div"),i.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',ie(i,"class","CloseIconContainer"),ie(i,"part","CloseIconContainer"),ie(r,"class","PC"===Yr(n[41])?"ClearSearchButton":"ClearSearchButtonMobile"),ie(r,"part","PC"===Yr(n[41])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),K(r,i),a||(o=re(r,"click",n[66]),a=!0)},p:Z,d(e){e&&Q(r),a=!1,o()}}}function Oa(e){let n,r,i=e[38]&&Na(e),a=(!e[25]||!e[24])&&Ba(e);return{c(){n=ee("div"),i&&i.c(),r=ne(),a&&a.c(),ie(n,"class","FiltersButtonsContainer"),ie(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),K(n,r),a&&a.m(n,null)},p(e,t){e[38]?i?i.p(e,t):(i=Na(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[25]&&e[24]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Ba(e),a.c(),a.m(n,null))},d(e){e&&Q(n),i&&i.d(),a&&a.d()}}}function Na(n){let r,i,a,o,s,l,c,d,u,h=n[40]("casinoPage.clear")+"";return{c(){r=ee("div"),i=ee("div"),a=te(h),o=ne(),s=ee("span"),s.innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',ie(s,"class","ClearIcon"),ie(s,"part","ClearIcon"),ie(i,"class","ClearButton"),ie(i,"part","ClearButton"),ie(r,"class",l="ClearFilterButtonWrapper "+(n[38]?"FiltersActive":"")),ie(r,"part",c="ClearFilterButtonWrapper "+(n[38]?"FiltersActive":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),d||(u=re(r,"click",n[67]),d=!0)},p(e,t){512&t[1]&&h!==(h=e[40]("casinoPage.clear")+"")&&ae(a,h),128&t[1]&&l!==(l="ClearFilterButtonWrapper "+(e[38]?"FiltersActive":""))&&ie(r,"class",l),128&t[1]&&c!==(c="ClearFilterButtonWrapper "+(e[38]?"FiltersActive":""))&&ie(r,"part",c)},d(e){e&&Q(r),d=!1,u()}}}function Ba(e){let n,r=!e[29]&&Ua(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[29]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Ua(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&Q(n)}}}function Ua(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f=n[40]("casinoPage.filters")+"",y=0<n[38]&&Ha(n);return{c(){r=ee("div"),i=ee("div"),a=te(f),o=ne(),s=ee("div"),l=C("svg"),c=C("defs"),d=C("style"),u=te(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=C("path"),p=ne(),y&&y.c(),ie(i,"class","FilterButton"),ie(i,"part","FilterButton"),ie(h,"class","a"),ie(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),ie(h,"transform","translate(-5 -6.2)"),ie(l,"xmlns","http://www.w3.org/2000/svg"),ie(l,"width","20"),ie(l,"height","20"),ie(l,"viewBox","0 0 26 26"),ie(s,"class","FilterIconContainer"),ie(s,"part","FilterIconContainer"),ie(r,"class","FilterButtonWrapper"),ie(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(r,o),K(r,s),K(s,l),K(l,c),K(c,d),K(d,u),K(l,h),K(s,p),y&&y.m(s,null),m||(g=re(r,"click",n[68]),m=!0)},p(e,t){512&t[1]&&f!==(f=e[40]("casinoPage.filters")+"")&&ae(a,f),0<e[38]?y?y.p(e,t):(y=Ha(e),y.c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&Q(r),y&&y.d(),m=!1,g()}}}function Ha(e){let n,r,i;return{c(){n=ee("div"),r=ee("span"),i=te(e[38]),ie(r,"class","NumberOfFilters"),ie(r,"part","NumberOfFilters"),ie(n,"class","NumberOfFiltersContainer"),ie(n,"part","NumberOfFiltersContainer")},m(e,t){q(e,n,t),K(n,r),K(r,i)},p(e,t){128&t[1]&&ae(i,e[38])},d(e){e&&Q(n)}}}function za(){let n;return{c(){n=ee("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',ie(n,"class","SearchIcon"),ie(n,"part","SearchIcon")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Ya(n){let r,i,a,o;return{c(){r=ee("span"),i=ee("div"),i.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',ie(i,"class","CloseIconContainer"),ie(i,"part","CloseIconContainer"),ie(r,"class","PC"===Yr(n[41])?"ClearSearchButton":"ClearSearchButtonMobile"),ie(r,"part","PC"===Yr(n[41])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),K(r,i),a||(o=re(r,"click",n[60]),a=!0)},p:Z,d(e){e&&Q(r),a=!1,o()}}}function ja(e){let n,r,i=e[38]&&Wa(e),a=(!e[25]||!e[24])&&Va(e);return{c(){n=ee("div"),i&&i.c(),r=ne(),a&&a.c(),ie(n,"class","FiltersButtonsContainer"),ie(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),K(n,r),a&&a.m(n,null)},p(e,t){e[38]?i?i.p(e,t):(i=Wa(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[25]&&e[24]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Va(e),a.c(),a.m(n,null))},d(e){e&&Q(n),i&&i.d(),a&&a.d()}}}function Wa(n){let r,i,a,o,s,l,c,d=n[40]("casinoPage.clear")+"";return{c(){r=ee("div"),i=ee("div"),a=te(d),o=ne(),s=ee("span"),s.innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',ie(s,"class","ClearIcon"),ie(s,"part","ClearIcon"),ie(i,"class","ClearButton"),ie(i,"part","ClearButton"),ie(r,"class","ClearFilterButtonWrapper"),ie(r,"part","ClearFilterButtonWrapper")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),l||(c=re(r,"click",n[61]),l=!0)},p(e,t){512&t[1]&&d!==(d=e[40]("casinoPage.clear")+"")&&ae(a,d)},d(e){e&&Q(r),l=!1,c()}}}function Va(e){let n,r=!e[29]&&Za(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[29]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Za(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&Q(n)}}}function Za(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w=n[40]("casinoPage.filters")+"";return{c(){r=ee("div"),i=ee("div"),a=te(w),o=ne(),s=ee("div"),l=C("svg"),c=C("defs"),d=C("style"),u=te(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=C("path"),p=ne(),m=ee("div"),g=ee("span"),f=te(n[38]),ie(i,"class","FilterButton"),ie(i,"part","FilterButton"),ie(h,"class","a"),ie(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),ie(h,"transform","translate(-5 -6.2)"),ie(l,"xmlns","http://www.w3.org/2000/svg"),ie(l,"width","20"),ie(l,"height","20"),ie(l,"viewBox","0 0 26 26"),ie(g,"class","NumberOfFilters"),ie(g,"part","NumberOfFilters"),ie(m,"class","NumberOfFiltersContainer"),ie(m,"part","NumberOfFiltersContainer"),ie(s,"class","FilterIconContainer"),ie(s,"part","FilterIconContainer"),ie(r,"class","FilterButtonWrapper"),ie(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(r,o),K(r,s),K(s,l),K(l,c),K(c,d),K(d,u),K(l,h),K(s,p),K(s,m),K(m,g),K(g,f),y||(v=re(r,"click",n[62]),y=!0)},p(e,t){512&t[1]&&w!==(w=e[40]("casinoPage.filters")+"")&&ae(a,w),128&t[1]&&ae(f,e[38])},d(e){e&&Q(r),y=!1,v()}}}function Xa(e){let n;return{c(){n=ee("casino-random-game"),S(n,"datasource",e[1]),S(n,"endpoint",e[0]),S(n,"lang",e[3]),S(n,"gameevent",e[17])},m(e,t){q(e,n,t)},p(e,t){2&t[0]&&S(n,"datasource",e[1]),1&t[0]&&S(n,"endpoint",e[0]),8&t[0]&&S(n,"lang",e[3]),131072&t[0]&&S(n,"gameevent",e[17])},d(e){e&&Q(n)}}}function Ja(e){let n;return{c(){n=ee("casino-games-category-section"),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"favorites",e[11]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"session",e[4]),S(n,"categoryid",e[34]),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[14]),S(n,"visiblegames",e[9])},m(e,t){q(e,n,t)},p(e,t){32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),2048&t[0]&&S(n,"favorites",e[11]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),16&t[0]&&S(n,"session",e[4]),8&t[1]&&S(n,"categoryid",e[34]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),16384&t[0]&&S(n,"livecasino",e[14]),512&t[0]&&S(n,"visiblegames",e[9])},d(e){e&&Q(n)}}}function Ka(e){let n;function r(e){return e[30]?ro:no}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function qa(n){let r,i,a,o;return{c(){r=ee("casino-games-category-section"),S(r,"session",n[4]),S(r,"userid",n[5]),S(r,"endpoint",n[0]),S(r,"datasource",n[1]),S(r,"lang",n[3]),S(r,"currency",n[2]),S(r,"favorites",n[11]),S(r,"categoryid","FAVORITES"),S(r,"class","CategoryContainer"),S(r,"clientstyling",n[6]),S(r,"clientstylingurl",n[7]),S(r,"livecasino",n[14]),S(r,"visiblegames",n[9])},m(e,t){q(e,r,t),a||(o=l(i=n[42].call(null,r,(n[0],n[21],n[22],n[21]))),a=!0)},p(e,t){16&t[0]&&S(r,"session",e[4]),32&t[0]&&S(r,"userid",e[5]),1&t[0]&&S(r,"endpoint",e[0]),2&t[0]&&S(r,"datasource",e[1]),8&t[0]&&S(r,"lang",e[3]),4&t[0]&&S(r,"currency",e[2]),2048&t[0]&&S(r,"favorites",e[11]),64&t[0]&&S(r,"clientstyling",e[6]),128&t[0]&&S(r,"clientstylingurl",e[7]),16384&t[0]&&S(r,"livecasino",e[14]),512&t[0]&&S(r,"visiblegames",e[9]),i&&f(i.update)&&6291457&t[0]&&i.update.call(null,(e[0],e[21],e[22],e[21]))},d(e){e&&Q(r),a=!1,o()}}}function Qa(t){let i,a=t[33],o=[];for(let e=0;e<a.length;e+=1)o[e]=io(Ta(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(19455&n[0]|4&n[1]){let e;for(a=t[33],e=0;e<a.length;e+=1){var r=Ta(t,a,e);o[e]?o[e].p(r,n):(o[e]=io(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){m(o,e),e&&Q(i)}}}function eo(n){let r,i,a,o;return{c(){r=ee("casino-games-category-section"),S(r,"endpoint",n[0]),S(r,"datasource",n[1]),S(r,"lang",n[3]),S(r,"currency",n[2]),S(r,"session",n[4]),S(r,"userid",n[5]),S(r,"categoryid","Search"),S(r,"favorites",n[11]),S(r,"categoryindex","0"),S(r,"class","CategoryContainer"),S(r,"clientstyling",n[6]),S(r,"clientstylingurl",n[7]),S(r,"livecasino",n[14]),S(r,"visiblegames",n[9])},m(e,t){q(e,r,t),a||(o=l(i=n[50].call(null,r,n[32])),a=!0)},p(e,t){1&t[0]&&S(r,"endpoint",e[0]),2&t[0]&&S(r,"datasource",e[1]),8&t[0]&&S(r,"lang",e[3]),4&t[0]&&S(r,"currency",e[2]),16&t[0]&&S(r,"session",e[4]),32&t[0]&&S(r,"userid",e[5]),2048&t[0]&&S(r,"favorites",e[11]),64&t[0]&&S(r,"clientstyling",e[6]),128&t[0]&&S(r,"clientstylingurl",e[7]),16384&t[0]&&S(r,"livecasino",e[14]),512&t[0]&&S(r,"visiblegames",e[9]),i&&f(i.update)&&2&t[1]&&i.update.call(null,e[32])},d(e){e&&Q(r),a=!1,o()}}}function to(e){let n,r,i=e[40]("casinoPage.loading")+"";return{c(){n=ee("p"),r=te(i),ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t),K(n,r)},p(e,t){512&t[1]&&i!==(i=e[40]("casinoPage.loading")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function no(e){let n;return{c(){n=ee("casino-games-category-section"),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[11]),S(n,"categoryid","MOSTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[14]),S(n,"visiblegames",e[9])},m(e,t){q(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),2048&t[0]&&S(n,"favorites",e[11]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),16384&t[0]&&S(n,"livecasino",e[14]),512&t[0]&&S(n,"visiblegames",e[9])},d(e){e&&Q(n)}}}function ro(e){let n,r,i=e[40]("casinoPage.noGamesPlayed")+"";return{c(){n=ee("p"),r=te(i),ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t),K(n,r)},p(e,t){512&t[1]&&i!==(i=e[40]("casinoPage.noGamesPlayed")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function io(n){let r,i,e,a,o,s;return{c(){r=ee("casino-games-category-section"),S(r,"session",n[4]),S(r,"userid",n[5]),S(r,"endpoint",n[0]),S(r,"datasource",n[1]),S(r,"lang",n[3]),S(r,"currency",n[2]),S(r,"categoryid",i=n[119]),S(r,"categoryindex",e=n[121]),S(r,"categorygames","9"),S(r,"favorites",n[11]),S(r,"class","CategoryContainer"),k(r,"background-color",n[121]%2!=0?n[8]:"transparent"),S(r,"clientstyling",n[6]),S(r,"clientstylingurl",n[7]),S(r,"livecasino",n[14]),S(r,"visiblegames",n[9])},m(e,t){q(e,r,t),o||(s=l(a=n[49].call(null,r,n[119])),o=!0)},p(e,t){n=e,16&t[0]&&S(r,"session",n[4]),32&t[0]&&S(r,"userid",n[5]),1&t[0]&&S(r,"endpoint",n[0]),2&t[0]&&S(r,"datasource",n[1]),8&t[0]&&S(r,"lang",n[3]),4&t[0]&&S(r,"currency",n[2]),4&t[1]&&i!==(i=n[119])&&S(r,"categoryid",i),2048&t[0]&&S(r,"favorites",n[11]),256&t[0]&&k(r,"background-color",n[121]%2!=0?n[8]:"transparent"),64&t[0]&&S(r,"clientstyling",n[6]),128&t[0]&&S(r,"clientstylingurl",n[7]),16384&t[0]&&S(r,"livecasino",n[14]),512&t[0]&&S(r,"visiblegames",n[9]),a&&f(a.update)&&4&t[1]&&a.update.call(null,n[119])},d(e){e&&Q(r),o=!1,s()}}}function ao(n){let r,i,a,o,s,l,c,d,u,h,e,t,p,m,g=n[40]("casinoPage.break")+"",f=n[40]("casinoPage.breakButton")+"";return{c(){r=ee("div"),i=ee("div"),a=C("svg"),o=C("path"),s=ne(),l=ee("p"),c=te(g),d=ne(),u=ee("button"),h=te(f),ie(o,"stroke-linecap","round"),ie(o,"stroke-linejoin","round"),ie(o,"stroke-width","2"),ie(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),ie(a,"class","w-1 h-1"),ie(a,"part","w-1 h-1"),ie(a,"fill","none"),ie(a,"stroke","white"),ie(a,"width","34px"),ie(a,"height","34px"),ie(a,"viewBox","0 0 24 24"),ie(a,"xmlns","http://www.w3.org/2000/svg"),ie(i,"class","PanicText"),ie(i,"part","PanicText"),ie(u,"class","PanicButton"),ie(u,"part","PanicButton"),ie(r,"class",e="PanicSection "+("PC"!==Yr(n[41])?"PanicSectionMobile":"")),ie(r,"part",t="PanicSection "+("PC"!==Yr(n[41])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),K(i,s),K(i,l),K(l,c),K(r,d),K(r,u),K(u,h),p||(m=re(u,"click",n[70]),p=!0)},p(e,t){512&t[1]&&g!==(g=e[40]("casinoPage.break")+"")&&ae(c,g),512&t[1]&&f!==(f=e[40]("casinoPage.breakButton")+"")&&ae(h,f)},d(e){e&&Q(r),p=!1,m()}}}function oo(e){let n;function r(e){return e[19]?Ia:La}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&Q(n)}}}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px)}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}.RandomButtonWrapper .RandomButton svg{width:35px;height:35px}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Ea,$a,t,{endpoint:9,datasource:10,gameevent:11,lang:12},null),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang"]}get endpoint(){return this.$$.ctx[9]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[10]}set datasource(e){this.$$set({datasource:e}),U()}get gameevent(){return this.$$.ctx[11]}set gameevent(e){this.$$set({gameevent:e}),U()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),U()}});let so=!1;const lo=0;function co(e,t,a){let n;Ee(e,Hr,e=>a(40,n=e));let r,{endpoint:o=""}=t,{datasource:s=""}=t,{currency:i=""}=t,{lang:l=""}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{categorybackground:p=""}=t,m=t["visiblegames"],{alternativesearch:g="false"}=t,{favorites:f=""}=t,{mostplayed:y=""}=t,{containermaxwidth:v="1300"}=t,{lobbyid:w="casinodefault"}=t,{haspanicbutton:b="false"}=t,{mostplayedrounds:x=""}=t,{activecategory:C=""}=t,{livecasino:S="false"}=t,{playrandomgame:F="false"}=t,M=window.navigator.userAgent;r=zr(M)?"OpenGameFrame":"ShowGameModal";let _,k,$,E,T,L,I,G,P,R,A,D,O=!1,N=!1,B=!1,U="",H=!1,z=!1,Y=!0,j=!1,W=!1,V=!1,Z=!1,X=!0,J=!1,K=!1,q=!1,Q=!0,ee=[],te="",ne,re,ie=[],ae=!1,oe=[],se=0,le="",ce=!1;var de,ue;({withLocale:de,translations:ue}={withLocale:"en",translations:{}}),Ir.subscribe(e=>{null==e&&(br.set(ue),Ir.set(de))}),Object.keys(li).forEach(e=>{Cr(e,li[e])});const he=e=>{if(e.data)switch(e.data.type){case"UserSessionID":a(22,k=e.data.session),a(21,_=e.data.userID),_&&_.length&&k&&0<k.length&&pe(o,k,_);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":n=`${o}/player/${_}/favorites`,r=k,_,i=e.data.id,e.data.triggerFactor,ie.includes(i)&&(ie=ie.filter(e=>e!=i)),fetch(n+"/"+i,{method:"DELETE",headers:{"X-SessionID":r}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+i},window.location.href),me(n,r)});break;case"SetFavoredGame":((t,n,r)=>{ie.includes(r)||ie.push(r);let e={items:ie},i={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t,i).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),me(t,n)}).catch(e=>{console.error("Err",e)})})(`${o}/player/${_}/favorites`,k,(_,e.data.id),e.data.triggerFactor);break;case"GetFavoredGame":_&&_.length&&k&&0<k.length&&pe(o,k,_);break;case"SearchedItemClicked":(t=>{if(oe=ye(`searchedGamesWds_${w}`),oe=oe?oe.split(","):[],-1===oe.indexOf(t)){let e;oe.push(t),e=oe.join(","),document.cookie=`searchedGamesWds_${w}=`+e}})(e.data.gameId);break;case"UpdateFilters":t=e.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),be();break;case"ClearFilters":t=e.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:t},window.location.href),be();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:le},window.location.href),be();break;case"CategoryVendors":le=e.data.categoryid,be();break;case"GameHovered":W=!0;break;case"GameBlur":W=!1}var t,n,r,i};let pe=(e,t,n)=>{"true"==f&&c&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(P=e,P&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:P},window.location.href),ge(P.items)),P)).then(e=>(H&&fe(),e)).catch(e=>{console.error(e)})},me=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(P=e,H&&fe(),P&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:P},window.location.href),P)).catch(e=>{console.error(e)})};const ge=(e=[])=>(ie=[],0<e.length&&e.forEach(e=>{ie.push(e.id)}),ie);const fe=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:P},window.location.href)},ye=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},ve=()=>{if(o&&s&&l&&(a(27,Z=!0),te.length<2)){let e=ye("searchedGamesWds_"+w),t=[];e&&(t=e.split(",")),1!=X||Y||(a(26,V=X),a(28,X=!1));let n=[],r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(o+"/casino/games/"+t[r]);e.searchParams.append("language",l),e.searchParams.append("datasource",s),e.searchParams.append("platform",Yr(M)),n.push((e=>new Promise((t,n)=>{a(18,O=!0),fetch(e).then(e=>e.json()).then(e=>{a(18,O=!1),t(e[0])}).catch(e=>{a(19,N=!0),a(18,O=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{a(32,$=e),Ce(0,$)})}else Ce(0,{})}},we=()=>{a(27,Z=!1),te.length<2&&!W&&(a(25,j=!1),a(32,$=[]),a(24,z=!1),a(28,X=V),a(26,V=!1),!1===X&&window.postMessage({type:"CategoryUpdate",itemId:E},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},be=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&le&&(e[le]?a(38,se=e[le].length):a(38,se=0))},xe=()=>{a(57,Q=!0),a(16,te=""),a(32,$=[]),a(24,z=!1),we()},Ce=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Se=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},Fe=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Me=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:P},window.location.href)},_e=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},ke=()=>{L&&(I=L.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>I||130<I?a(31,q=!0):a(31,q=!1)},$e=()=>{a(34,E=C),(e=>{switch(a(25,j=!1),a(16,te=""),ne=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":a(28,X=!0),a(23,H=!1),a(34,E=""),a(29,J=!1);break;case"FAVORITES":a(28,X=!1),a(23,H=!0),a(29,J=!1),a(34,E="");break;case"MOSTPLAYED":"true"==y&&(a(18,O=!0),(e=>{let t=new URL(`${o}/player/${_}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order);var 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),D=S?t:t.href,new Promise((t,n)=>{fetch(D).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Most Played",id:"MOSTPLAYED"}},window.location.href),window.postMessage({type:"MostPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})})})({limit:100,device:Yr(M),rounds:10}).then(e=>{if(a(18,O=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(o+"/casino/games/"+e.gameId);t.searchParams.append("datasource",s),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{re=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:re},window.location.href)})}else a(30,K=!0)}),a(34,E=""),a(28,X=!1),a(23,H=!1),a(29,J=!0));break;default:a(28,X=!1),a(23,H=!1),a(29,J=!1),a(34,E=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:E},window.location.href)},500)}})({data:{itemId:E}})};return Te(()=>(window.addEventListener("scroll",ke,!1),window.addEventListener("message",he,!1),()=>{window.removeEventListener("scroll",ke),window.removeEventListener("message",he)})),e.$$set=e=>{"endpoint"in e&&a(0,o=e.endpoint),"datasource"in e&&a(1,s=e.datasource),"currency"in e&&a(2,i=e.currency),"lang"in e&&a(3,l=e.lang),"session"in e&&a(4,c=e.session),"userid"in e&&a(5,d=e.userid),"clientstyling"in e&&a(6,u=e.clientstyling),"clientstylingurl"in e&&a(7,h=e.clientstylingurl),"categorybackground"in e&&a(8,p=e.categorybackground),"visiblegames"in e&&a(9,m=e.visiblegames),"alternativesearch"in e&&a(10,g=e.alternativesearch),"favorites"in e&&a(11,f=e.favorites),"mostplayed"in e&&a(52,y=e.mostplayed),"containermaxwidth"in e&&a(12,v=e.containermaxwidth),"lobbyid"in e&&a(53,w=e.lobbyid),"haspanicbutton"in e&&a(13,b=e.haspanicbutton),"mostplayedrounds"in e&&a(54,x=e.mostplayedrounds),"activecategory"in e&&a(55,C=e.activecategory),"livecasino"in e&&a(14,S=e.livecasino),"playrandomgame"in e&&a(15,F=e.playrandomgame)},e.$$.update=()=>{if(65536&e.$$.dirty[0]&&te&&(2<=te.length?a(57,Q=!0):a(57,Q=!1)),65547&e.$$.dirty[0]|100663296&e.$$.dirty[1])if(2<=te.length){a(25,j=!0);let e=new URL(o+"/casino/games");e.searchParams.append("datasource",s),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Yr(M)),e.searchParams.append("language",l),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+te),r=e,new Promise((t,n)=>{a(18,O=!0),fetch(r).then(e=>e.json()).then(e=>{a(18,O=!1),t(e)}).catch(e=>{a(19,N=!0),a(18,O=!1),console.error(e),n(e)})}).then(e=>{a(32,$=e),Me(0,e)})}else Q||ve(),Y&&a(56,Y=!1);var r;8&e.$$.dirty[0]|16777216&e.$$.dirty[1]&&l&&C&&$e(),49&e.$$.dirty[0]&&c&&d&&o&&(a(20,B=!0),a(22,k=c),a(21,_=d),_&&_.length&&k&&0<k.length&&pe(o,k,_)),1035&e.$$.dirty[0]&&o&&s&&l&&g&&(()=>{if(o||(U="Endpoint is missing! Please provide a valid endpointURL.",a(19,N=!0),a(18,O=!1),console.error(U)),s||(U="Datasource is missing! Please provide a valid datasource.",a(19,N=!0),a(18,O=!1),console.error(U)),l&&2==l.length||(U="Language is missing! Please provide a valid language (alpha2code)",a(19,N=!0),a(18,O=!1),console.error(U)),!N){a(18,O=!0),"true"==f&&pe(o,k,_),t=l,Ir.set(t);let e=new URL(o+"/casino/groups/"+s);e.searchParams.append("language",l),e.searchParams.append("platform",Yr(M)),r=e,new Promise((t,n)=>{a(18,O=!0),fetch(r).then(e=>e.json()).then(e=>{a(18,O=!1),t(e)}).catch(e=>{a(19,N=!0),a(18,O=!1),console.error(e),n(e)})}).then(e=>{e&&(G=e.items.filter(e=>0<e.games.total),a(33,ee=G.map(e=>e.id)),a(18,O=!1))}),"PC"!==Yr(M)&&(R.addEventListener("focusin",e=>{a(37,ae=!0)}),R.addEventListener("focusout",e=>{a(37,ae=!1)})),be(),L=T,L&&(I=L.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var r,t})(),8&e.$$.dirty[0]&&l&&(ce&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:E},window.location.href)},500),ce=!1),64&e.$$.dirty[0]&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,A.appendChild(e)})(),128&e.$$.dirty[0]&&h&&(()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,A&&setTimeout(()=>{A.appendChild(t)},1)})})()},[o,s,i,l,c,d,u,h,p,m,g,f,v,b,S,F,te,r,O,N,B,_,k,H,z,j,V,Z,X,J,K,q,$,ee,E,T,R,ae,se,A,n,M,pe,ve,we,()=>{window.postMessage({type:"scroll"},window.location.href)},xe,Se,Fe,(e,t)=>{le=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:m,receivedFavoriteResults:P},window.location.href)},Me,_e,y,w,x,C,Y,Q,function(e){Le[e?"unshift":"push"](()=>{R=e,a(36,R)})},function(){te=this.value,a(16,te)},()=>xe(),()=>Fe(),()=>{Se()},function(e){Le[e?"unshift":"push"](()=>{T=e,a(35,T)})},function(e){Le[e?"unshift":"push"](()=>{R=e,a(36,R)})},function(){te=this.value,a(16,te)},()=>xe(),()=>Fe(),()=>{Se()},function(e){Le[e?"unshift":"push"](()=>{T=e,a(35,T)})},()=>_e(),function(e){Le[e?"unshift":"push"](()=>{A=e,a(39,A)})}]}function uo(e,{delay:t=0,duration:n=400,easing:r=g}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function ho(n){let r,i,a,o,s,t,l,c,d;return{c(){r=ee("div"),i=ee("div"),i.innerHTML="<slot></slot>",a=ne(),o=ee("span"),o.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',ie(i,"class","ModalContainer"),ie(i,"part","ModalContainer"),ie(o,"class","ModalCloseBtn"),ie(o,"part","ModalCloseBtn"),ie(o,"role","button"),ie(r,"class","ModalWindow"),ie(r,"part","ModalWindow"),ie(r,"id","Modal"),D(()=>n[13].call(r))},m(e,t){q(e,r,t),K(r,i),K(r,a),K(r,o),n[12](r),s=F(r,n[13].bind(r)),l=!0,c||(d=re(o,"click",n[6]),c=!0)},p(e,t){n=e},i(e){l||(D(()=>{t=t||le(r,uo,{transitionDuration:n[1]},!0),t.run(1)}),l=!0)},o(e){t=t||le(r,uo,{transitionDuration:n[1]},!1),t.run(0),l=!1},d(e){e&&Q(r),n[12](null),s(),e&&t&&t.end(),c=!1,d()}}}function po(n){let r,i,a=n[0]&&ho(n);return{c(){r=ee("div"),a&&a.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),a&&a.m(r,null),n[14](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&V(a,1)):(a=ho(e),a.c(),V(a,1),a.m(r,null)):a&&(j(),oe(a,1,1,()=>{a=null}),W())},i(e){i||(V(a),i=!0)},o(e){oe(a),i=!1},d(e){e&&Q(r),a&&a.d(),n[14](null)}}}function mo(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,m=!1;const g=e=>{var t;"ModalClosed"==e.data.type&&n(0,s=!1),"ShowGameModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(0,s=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(m=e.data.detailsObtained)},f=e=>{var t;m&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return Te(()=>(window.addEventListener("message",g,!1),window.addEventListener("resize",f,!1),()=>{window.removeEventListener("message",g),window.removeEventListener("resize",g)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(7,c=e.session),"userid"in e&&n(8,d=e.userid),"clientstyling"in e&&n(9,u=e.clientstyling),"clientstylingurl"in e&&n(10,h=e.clientstylingurl),"endpoint"in e&&n(11,p=e.endpoint)},e.$$.update=()=>{2432&e.$$.dirty&&c&&d&&p&&Wr(p,c).then(e=>{},e=>{console.error("err on session",e)}),512&e.$$.dirty&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,s&&setTimeout(()=>{r.appendChild(e)})})(),1024&e.$$.dirty&&h&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},[s,l,r,i,void 0,void 0,()=>{n(0,s=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},c,d,u,h,p,function(e){Le[e?"unshift":"push"](()=>{r=e,n(2,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(4,a),n(5,o)},function(e){Le[e?"unshift":"push"](()=>{i=e,n(3,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicButton{border-radius:2px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:48px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:22px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},co,oo,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:52,containermaxwidth:12,lobbyid:53,haspanicbutton:13,mostplayedrounds:54,activecategory:55,livecasino:14,playrandomgame:15},null,[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino","playrandomgame"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),U()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),U()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),U()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),U()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),U()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),U()}get mostplayed(){return this.$$.ctx[52]}set mostplayed(e){this.$$set({mostplayed:e}),U()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),U()}get lobbyid(){return this.$$.ctx[53]}set lobbyid(e){this.$$set({lobbyid:e}),U()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),U()}get mostplayedrounds(){return this.$$.ctx[54]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),U()}get activecategory(){return this.$$.ctx[55]}set activecategory(e){this.$$set({activecategory:e}),U()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),U()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),U()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},mo,po,t,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11},null),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),U()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),U()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),U()}});const go={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{gamePage:{signIn:"SE CONNECTER",register:"S'INSCRIRE",deposit:"DÉPOSER",playForFun:"JOUER POUR LE PLAISIR",playNow:"JOUE MAINTENANT",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{gamePage:{signIn:"INICIAR SESIÓN",register:"REGISTRARSE",deposit:"INGRESAR",playForFun:"JUEGA POR DIVERSION",playNow:"REPRODUCIR AHORA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{gamePage:{signIn:"Login",register:"REGISTAR",deposit:"Depósito",playForFun:"Play for fun",playNow:"Comece agora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}};function fo(){"undefined"==typeof window||window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n=window.cstmNativeBridge.EVENTS[e];if(n){if("function"==typeof t){var r=window.cstmNativeBridge.eventListeners[n];return window.cstmNativeBridge.eventListeners[n]=function(){delete window.cstmNativeBridge.eventListeners[n],r&&r.apply(this,arguments),t.apply(this,arguments)},!0}console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];if("function"!=typeof t)return console.error("Native Bridge `"+e+"` method is not defined"),!1;e=Array.prototype.slice.call(arguments,1);return t.apply(this,e),!0};var yo=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},vo=function(e,...t){try{return fo(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function wo(n){let r,i=n[8]&&Co(n);return{c(){r=ee("div"),i&&i.c(),ie(r,"class","CasinoGamePageContainer"),ie(r,"part","CasinoGamePageContainer")},m(e,t){q(e,r,t),i&&i.m(r,null),n[78](r)},p(e,t){e[8]?i?i.p(e,t):(i=Co(e),i.c(),i.m(r,null)):i&&(i.d(1),i=null)},d(e){e&&Q(r),i&&i.d(),n[78](null)}}}function bo(e){let n;return{c(){n=ee("p"),n.textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function xo(e){let n;return{c(){n=ee("p"),n.textContent="Loading, please wait ...",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function Co(e){let n;function r(e){return e[19]?_o:e[4]?Mo:e[9]?Fo:So}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function So(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x=n[7].name+"",C=n[23]("gamePage.signIn")+"",S=n[23]("gamePage.register")+"";return{c(){r=ee("div"),i=ee("h3"),a=te(x),o=ne(),s=ee("img"),c=ne(),d=ee("div"),u=ee("button"),h=te(C),p=ne(),m=ee("button"),g=te(S),f=ne(),y=ee("p"),v=te(n[2]),J(s.src,l=n[7].thumbnail)||ie(s,"src",l),ie(s,"class","GameThumbnail"),ie(s,"part","GameThumbnail"),ie(s,"alt","game thumbnail"),ie(s,"loading","lazy"),ie(u,"class","LoginButton"),ie(u,"part","LoginButton"),ie(m,"class","RegisterButton"),ie(m,"part","RegisterButton"),ie(d,"class","ButtonsContainer"),ie(d,"part","ButtonsContainer"),ie(r,"class","GameDetails"),ie(r,"part","GameDetails")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(r,o),K(r,s),K(r,c),K(r,d),K(d,u),K(u,h),K(d,p),K(d,m),K(m,g),K(r,f),K(r,y),K(y,v),w||(b=[re(u,"click",n[76]),re(m,"click",n[77])],w=!0)},p(e,t){128&t[0]&&x!==(x=e[7].name+"")&&ae(a,x),128&t[0]&&!J(s.src,l=e[7].thumbnail)&&ie(s,"src",l),8388608&t[0]&&C!==(C=e[23]("gamePage.signIn")+"")&&ae(h,C),8388608&t[0]&&S!==(S=e[23]("gamePage.register")+"")&&ae(g,S),4&t[0]&&ae(v,e[2])},d(e){e&&Q(r),w=!1,X(b)}}}function Fo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x,C=n[23]("gamePage.signIn")+"",S=n[23]("gamePage.register")+"";function F(e){return e[14]?$o:ko}let M=F(n),_=M(n);return{c(){r=ee("div"),i=ee("div"),a=ee("iframe"),s=ne(),l=ee("div"),c=ee("div"),d=ee("button"),u=te(C),h=ne(),p=ee("button"),m=te(S),g=ne(),_.c(),f=ne(),y=ee("p"),v=ee("span"),w=te(n[2]),ie(a,"title","Games"),ie(a,"class","GamesContainer"),ie(a,"part","GamesContainer"),ie(a,"aria-hidden","false"),J(a.src,o=n[7].launchUrl)||ie(a,"src",o),ie(d,"class","LoginButton"),ie(d,"part","LoginButton"),ie(p,"class","RegisterButton"),ie(p,"part","RegisterButton"),ie(c,"class","ButtonsContainer"),ie(c,"part","ButtonsContainer"),ie(l,"class","BottomGame"),ie(l,"part","BottomGame"),ie(y,"class","Time"),ie(y,"part","Time"),ie(i,"id","IframeGame"),ie(i,"part","IframeGame"),k(i,"width",n[14]?"100%":n[17]),k(i,"height",n[14]?"100%":n[18]),k(i,"max-width",n[14]||!n[11]?"none":n[7].width?Math.floor(n[7].width)+"px":"1280px"),k(i,"max-height",n[14]||!n[11]?"none":n[7].height?Math.floor(n[7].height)+100+"px":"720px"),ie(r,"id","IframeContainer"),ie(r,"part","IframeContainer"),k(r,"width",n[15]),k(r,"height",n[16]),$(r,"FullsScreenLayout",n[14])},m(e,t){q(e,r,t),K(r,i),K(i,a),n[67](a),K(i,s),K(i,l),K(l,c),K(c,d),K(d,u),K(c,h),K(c,p),K(p,m),K(l,g),_.m(l,null),n[72](l),K(i,f),K(i,y),K(y,v),K(v,w),n[73](y),n[74](i),n[75](r),b||(x=[re(d,"click",n[68]),re(p,"click",n[69])],b=!0)},p(e,t){128&t[0]&&!J(a.src,o=e[7].launchUrl)&&ie(a,"src",o),8388608&t[0]&&C!==(C=e[23]("gamePage.signIn")+"")&&ae(u,C),8388608&t[0]&&S!==(S=e[23]("gamePage.register")+"")&&ae(m,S),M===(M=F(e))&&_?_.p(e,t):(_.d(1),_=M(e),_&&(_.c(),_.m(l,null))),4&t[0]&&ae(w,e[2]),147456&t[0]&&k(i,"width",e[14]?"100%":e[17]),278528&t[0]&&k(i,"height",e[14]?"100%":e[18]),18560&t[0]&&k(i,"max-width",e[14]||!e[11]?"none":e[7].width?Math.floor(e[7].width)+"px":"1280px"),18560&t[0]&&k(i,"max-height",e[14]||!e[11]?"none":e[7].height?Math.floor(e[7].height)+100+"px":"720px"),32768&t[0]&&k(r,"width",e[15]),65536&t[0]&&k(r,"height",e[16]),16384&t[0]&&$(r,"FullsScreenLayout",e[14])},d(e){e&&Q(r),n[67](null),_.d(),n[72](null),n[73](null),n[74](null),n[75](null),b=!1,X(x)}}}function Mo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w=n[23]("gamePage.deposit")+"",b="true"===n[1]&&Eo(n);function x(e){return e[14]?Lo:To}let C=x(n),S=C(n);return{c(){r=ee("div"),i=ee("div"),a=ee("iframe"),s=ne(),l=ee("div"),c=ee("button"),d=te(w),u=ne(),b&&b.c(),h=ne(),S.c(),p=ne(),m=ee("p"),g=ee("span"),f=te(n[2]),ie(a,"title","Games"),ie(a,"id","IframeGame"),ie(a,"class","GamesContainer"),ie(a,"part","GamesContainer"),ie(a,"aria-hidden","false"),J(a.src,o=n[7].launchUrl)||ie(a,"src",o),ie(c,"class","DepositButton"),ie(c,"part","DepositButton"),ie(l,"class","BottomGame"),ie(l,"part","BottomGame"),ie(m,"class","Time"),ie(m,"part","Time"),ie(i,"id","IframeGame"),ie(i,"part","IframeGame"),k(i,"width",n[14]?"100%":n[17]),k(i,"height",n[14]?"100%":n[18]),k(i,"max-width",n[14]?"none":n[7].width?n[7].width+"px":"1280px"),k(i,"max-height",n[14]?"none":n[7].height?Math.floor(n[7].height)+100+"px":"720px"),ie(r,"id","IframeContainer"),ie(r,"part","IframeContainer"),k(r,"width",n[15]),k(r,"height",n[16]),$(r,"FullsScreenLayout",n[14])},m(e,t){q(e,r,t),K(r,i),K(i,a),n[58](a),K(i,s),K(i,l),K(l,c),K(c,d),K(l,u),b&&b.m(l,null),K(l,h),S.m(l,null),n[63](l),K(i,p),K(i,m),K(m,g),K(g,f),n[64](m),n[65](i),n[66](r),y||(v=re(c,"click",n[59]),y=!0)},p(e,t){128&t[0]&&!J(a.src,o=e[7].launchUrl)&&ie(a,"src",o),8388608&t[0]&&w!==(w=e[23]("gamePage.deposit")+"")&&ae(d,w),"true"===e[1]?b?b.p(e,t):(b=Eo(e),b.c(),b.m(l,h)):b&&(b.d(1),b=null),C===(C=x(e))&&S?S.p(e,t):(S.d(1),S=C(e),S&&(S.c(),S.m(l,null))),4&t[0]&&ae(f,e[2]),147456&t[0]&&k(i,"width",e[14]?"100%":e[17]),278528&t[0]&&k(i,"height",e[14]?"100%":e[18]),16512&t[0]&&k(i,"max-width",e[14]?"none":e[7].width?e[7].width+"px":"1280px"),16512&t[0]&&k(i,"max-height",e[14]?"none":e[7].height?Math.floor(e[7].height)+100+"px":"720px"),32768&t[0]&&k(r,"width",e[15]),65536&t[0]&&k(r,"height",e[16]),16384&t[0]&&$(r,"FullsScreenLayout",e[14])},d(e){e&&Q(r),n[58](null),b&&b.d(),S.d(),n[63](null),n[64](null),n[65](null),n[66](null),y=!1,v()}}}function _o(e){let n;function r(e){return e[4]?Po:e[10]?Go:Io}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function ko(n){let r,i,a;return{c(){r=ee("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[71]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function $o(n){let r,i,a;return{c(){r=ee("button"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[70]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Eo(n){let r,i,a,o,s,l,c,d,u,h,p,m=n[23]("gamePage.break")+"",g=n[23]("gamePage.breakButton")+"";return{c(){r=ee("div"),i=C("svg"),a=C("path"),o=ne(),s=ee("p"),l=te(m),c=ne(),d=ee("button"),u=te(g),ie(a,"stroke-linecap","round"),ie(a,"stroke-linejoin","round"),ie(a,"stroke-width","2"),ie(a,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),ie(i,"class","w-1 h-1"),ie(i,"part","w-1 h-1"),ie(i,"fill","none"),ie(i,"stroke","white"),ie(i,"width","34px"),ie(i,"height","34px"),ie(i,"viewBox","0 0 24 24"),ie(i,"xmlns","http://www.w3.org/2000/svg"),ie(d,"class","Button"),ie(d,"part","Button"),ie(r,"class","PanicSection"),ie(r,"part","PanicSection")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(r,o),K(r,s),K(s,l),K(r,c),K(r,d),K(d,u),h||(p=re(d,"click",n[60]),h=!0)},p(e,t){8388608&t[0]&&m!==(m=e[23]("gamePage.break")+"")&&ae(l,m),8388608&t[0]&&g!==(g=e[23]("gamePage.breakButton")+"")&&ae(u,g)},d(e){e&&Q(r),h=!1,p()}}}function To(n){let r,i,a;return{c(){r=ee("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[62]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Lo(n){let r,i,a;return{c(){r=ee("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[61]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Io(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x=n[7].name+"",C=n[23]("gamePage.signIn")+"",S=n[23]("gamePage.register")+"";return{c(){r=ee("div"),i=ee("h3"),a=te(x),o=ne(),s=ee("img"),c=ne(),d=ee("div"),u=ee("button"),h=te(C),p=ne(),m=ee("button"),g=te(S),f=ne(),y=ee("p"),v=te(n[2]),J(s.src,l=n[7].thumbnail)||ie(s,"src",l),ie(s,"class","GameThumbnail"),ie(s,"part","GameThumbnail"),ie(s,"alt","game thumbnail"),ie(s,"loading","lazy"),ie(u,"class","LoginButton"),ie(u,"part","LoginButton"),ie(m,"class","RegisterButton"),ie(m,"part","RegisterButton"),ie(d,"class","ButtonsContainer"),ie(d,"part","ButtonsContainer"),ie(r,"class","GameDetails"),ie(r,"part","GameDetails")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(r,o),K(r,s),K(r,c),K(r,d),K(d,u),K(u,h),K(d,p),K(d,m),K(m,g),K(r,f),K(r,y),K(y,v),w||(b=[re(u,"click",n[56]),re(m,"click",n[57])],w=!0)},p(e,t){128&t[0]&&x!==(x=e[7].name+"")&&ae(a,x),128&t[0]&&!J(s.src,l=e[7].thumbnail)&&ie(s,"src",l),8388608&t[0]&&C!==(C=e[23]("gamePage.signIn")+"")&&ae(h,C),8388608&t[0]&&S!==(S=e[23]("gamePage.register")+"")&&ae(g,S),4&t[0]&&ae(v,e[2])},d(e){e&&Q(r),w=!1,X(b)}}}function Go(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x,C,S,F=n[7].name+"",M=n[23]("gamePage.signIn")+"",_=n[23]("gamePage.register")+"",k=n[23]("gamePage.playForFun")+"";return{c(){r=ee("div"),i=ee("h3"),a=te(F),o=ne(),s=ee("img"),c=ne(),d=ee("div"),u=ee("button"),h=te(M),p=ne(),m=ee("button"),g=te(_),f=ne(),y=ee("button"),v=te(k),w=ne(),b=ee("p"),x=te(n[2]),J(s.src,l=n[7].thumbnail)||ie(s,"src",l),ie(s,"class","GameThumbnail"),ie(s,"part","GameThumbnail"),ie(s,"alt","game thumbnail"),ie(s,"loading","lazy"),ie(u,"class","LoginButton"),ie(u,"part","LoginButton"),ie(m,"class","RegisterButton"),ie(m,"part","RegisterButton"),ie(d,"class","ButtonsContainer"),ie(d,"part","ButtonsContainer"),ie(y,"class","FullWidthButton"),ie(y,"part","FullWidthButton"),ie(r,"class","GameDetails"),ie(r,"part","GameDetails")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(r,o),K(r,s),K(r,c),K(r,d),K(d,u),K(u,h),K(d,p),K(d,m),K(m,g),K(r,f),K(r,y),K(y,v),K(r,w),K(r,b),K(b,x),C||(S=[re(u,"click",n[53]),re(m,"click",n[54]),re(y,"click",n[55])],C=!0)},p(e,t){128&t[0]&&F!==(F=e[7].name+"")&&ae(a,F),128&t[0]&&!J(s.src,l=e[7].thumbnail)&&ie(s,"src",l),8388608&t[0]&&M!==(M=e[23]("gamePage.signIn")+"")&&ae(h,M),8388608&t[0]&&_!==(_=e[23]("gamePage.register")+"")&&ae(g,_),8388608&t[0]&&k!==(k=e[23]("gamePage.playForFun")+"")&&ae(v,k),4&t[0]&&ae(x,e[2])},d(e){e&&Q(r),C=!1,X(S)}}}function Po(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x,C,S=n[7].name+"",F=n[23]("gamePage.deposit")+"",M=n[23]("gamePage.playNow")+"",_="true"==n[0]&&Ro(n),k="true"===n[1]&&Oo(n);return{c(){_&&_.c(),r=ne(),i=ee("div"),a=ee("h3"),o=te(S),s=ne(),l=ee("img"),d=ne(),u=ee("div"),h=ee("button"),p=te(F),m=ne(),g=ee("button"),f=te(M),y=ne(),k&&k.c(),v=ne(),w=ee("p"),b=te(n[2]),J(l.src,c=n[7].thumbnail)||ie(l,"src",c),ie(l,"class","GameThumbnail"),ie(l,"part","GameThumbnail"),ie(l,"alt","game thumbnail"),ie(l,"loading","lazy"),ie(h,"class","DepositButton"),ie(h,"part","DepositButton"),ie(g,"class","PlayNowButton"),ie(g,"part","PlayNowButton"),ie(u,"class","ButtonsContainer"),ie(u,"part","ButtonsContainer"),ie(i,"class","GameDetails"),ie(i,"part","GameDetails")},m(e,t){_&&_.m(e,t),q(e,r,t),q(e,i,t),K(i,a),K(a,o),K(i,s),K(i,l),K(i,d),K(i,u),K(u,h),K(h,p),K(u,m),K(u,g),K(g,f),K(i,y),k&&k.m(i,null),K(i,v),K(i,w),K(w,b),x||(C=[re(h,"click",n[50]),re(g,"click",n[51])],x=!0)},p(e,t){"true"==e[0]?_?_.p(e,t):(_=Ro(e),_.c(),_.m(r.parentNode,r)):_&&(_.d(1),_=null),128&t[0]&&S!==(S=e[7].name+"")&&ae(o,S),128&t[0]&&!J(l.src,c=e[7].thumbnail)&&ie(l,"src",c),8388608&t[0]&&F!==(F=e[23]("gamePage.deposit")+"")&&ae(p,F),8388608&t[0]&&M!==(M=e[23]("gamePage.playNow")+"")&&ae(f,M),"true"===e[1]?k?k.p(e,t):(k=Oo(e),k.c(),k.m(i,v)):k&&(k.d(1),k=null),4&t[0]&&ae(b,e[2])},d(e){_&&_.d(e),e&&Q(r),e&&Q(i),k&&k.d(),x=!1,X(C)}}}function Ro(e){let n;function r(e){return e[7].isFavored?Do:Ao}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function Ao(n){let r,i,a;return{c(){r=ee("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',ie(r,"class","FavIconContainer"),ie(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[49]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Do(n){let r,i,a;return{c(){r=ee("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',ie(r,"class","FavIconContainer"),ie(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[48]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Oo(n){let r,i,a,o,s,l,c,d,u,h,e,t,p,m,g=n[23]("gamePage.break")+"",f=n[23]("gamePage.breakButton")+"";return{c(){r=ee("div"),i=ee("div"),a=C("svg"),o=C("path"),s=ne(),l=ee("p"),c=te(g),d=ne(),u=ee("button"),h=te(f),ie(o,"stroke-linecap","round"),ie(o,"stroke-linejoin","round"),ie(o,"stroke-width","2"),ie(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),ie(a,"class","w-1 h-1"),ie(a,"part","w-1 h-1"),ie(a,"fill","none"),ie(a,"stroke","white"),ie(a,"width","34px"),ie(a,"height","34px"),ie(a,"viewBox","0 0 24 24"),ie(a,"xmlns","http://www.w3.org/2000/svg"),ie(i,"class","PanicText"),ie(i,"part","PanicText"),ie(u,"class","Button"),ie(u,"part","Button"),ie(r,"class",e="PanicSection "+("PC"!==Yr(n[24])?"PanicSectionMobile":"")),ie(r,"part",t="PanicSection "+("PC"!==Yr(n[24])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),K(i,s),K(i,l),K(l,c),K(r,d),K(r,u),K(u,h),p||(m=re(u,"click",n[52]),p=!0)},p(e,t){8388608&t[0]&&g!==(g=e[23]("gamePage.break")+"")&&ae(c,g),8388608&t[0]&&f!==(f=e[23]("gamePage.breakButton")+"")&&ae(h,f)},d(e){e&&Q(r),p=!1,m()}}}function No(e){let n;function r(e){return e[6]?xo:e[5]?bo:wo}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&Q(n)}}}function Bo(t,e,a){let n;Ee(t,Hr,e=>a(23,n=e));let r,i,o,s,l,c,d,u,h,p,m,g,f,y,v,{endpoint:w=""}=e,{lang:b=""}=e,{session:x=""}=e,{userid:C=""}=e,{clientstyling:S=""}=e,{clientstylingurl:F=""}=e,{favorites:M=""}=e,{loginurl:_=""}=e,{registerurl:k=""}=e,{depositurl:$=""}=e,{loginevent:E=""}=e,{registerevent:T=""}=e,{depositevent:L=""}=e,{clockformat:I=""}=e,{haspanicbutton:G="false"}=e,{playforfun:P="true"}=e,{checksession:R="true"}=e,{gameid:A=""}=e,D=!1,O=!1,N=!0,B=!1,U=!1,H=!1,z=!0,Y=!1,j=window.navigator.userAgent,W=!1,V=[],Z=!1;var X,J;({withLocale:X,translations:J}={withLocale:"en",translations:{}}),Ir.subscribe(e=>{null==e&&(br.set(J),Ir.set(X))}),Object.keys(go).forEach(e=>{Cr(e,go[e])});const K=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",b),o&&0<o.length&&(a(4,D=!0),t.searchParams.append("_sid",o),t.searchParams.append("funMode","false")),e.launchUrl=t,e},q=(e,t)=>{let n=new URL(w+"/casino/games/"+e);n.searchParams.append("language",b),n.searchParams.append("expand","vendor"),a(11,z=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{a(7,s=K(e[0])),s.launchUrl&&(a(8,B=!0),a(9,U="true"==P&&s.hasFunMode),a(10,H="true"==P&&s.hasAnonymousFunMode))},e=>{console.error("There was an error",e),a(5,O=!0)}).then(()=>{l&&(z?ne():(a(15,d=s.width),a(16,u=s.height),a(17,m=s.width),a(18,g=s.height),h=s.width,p=s.height))}),window.postMessage({type:"RequestModalSize"},window.location.href)},Q=e=>{switch(e.data.type){case"GameLaunchID":q(e.data.gameId,!0);break;case"LaunchGameFrame":te(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":setTimeout(()=>{a(8,B=!1)},500);break;case"UserSessionID":if(0<e.data.session.length){o=e.data.session,e.data.userID,a(4,D=!0);let t=setInterval(()=>{if(s){let e=new URL(s.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",o),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",b),a(7,s.launchUrl=e,s),clearInterval(t)}},250)}break;case"ModalSize":a(15,d=e.data.modalContainerSize.modalWidth),a(16,u=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(V=e.data.receivedFavoriteResults.items)}},ee=e=>{s.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(7,s.isFavored=!1,s)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(7,s.isFavored=!0,s))},te=(e,r)=>{let t=new URL(w+"/casino/games/"+e);t.searchParams.append("language",b),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;a(7,s=K(e[0])),s.launchUrl&&a(7,s.isFavored=(t=s,e=r,a(10,H="true"==P&&t.hasAnonymousFunMode),a(9,U="true"==P&&e),a(8,B=!0),n=t.id,-1!==V.findIndex(e=>e.id==n)),s)})},ne=()=>{let e=getComputedStyle(l),t=getComputedStyle(c),n=parseInt(e.width.slice(0,-2)),r=parseInt(e.height.slice(0,-2));var i=s.width/(s.height+100);h=parseInt(t.width),p=parseInt(t.height),n/i>r-y.clientHeight-v.clientHeight?(p=r-y.clientHeight-v.clientHeight,h=r*i):(h=n,p=n/i),a(17,m=h?Math.floor(h)+"px":"1280px"),a(18,g=p?Math.floor(p)+"px":"720px")},re=e=>{var t;Z?(t={url:e.launchUrl,id:e.id,vendor:e.vendor.name},vo("OPEN_GAME",t)):window.open(e.launchUrl,"_blank")},ie=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:B},window.location.href),B&&(l&&ne(),window.addEventListener("ModalSize",Q,!1))},ae=()=>{E&&(window.postMessage({type:E,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),_&&(window.location=_)},oe=()=>{T&&(window.postMessage({type:T,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),k&&(window.location=k)},se=()=>{L&&(window.postMessage({type:L},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)};function le(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!Y||ce()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",le,!1),document.addEventListener("mozfullscreenchange",le,!1),document.addEventListener("fullscreenchange",le,!1),document.addEventListener("MSFullscreenChange",le,!1));const ce=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(Y?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),a(14,Y=!1)):(l.requestFullscreen?l.requestFullscreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.msRequestFullscreen&&l.msRequestFullscreen(),a(14,Y=!0)))},de=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},ue=setInterval(()=>{a(2,r=I?hi().format(I):hi().format("LTS"))},100);return Te(()=>(window.addEventListener("resize",ie,!1),window.addEventListener("message",Q,!1),Z=!!yo(j),()=>{window.removeEventListener("resize",ie),window.removeEventListener("message",Q),clearInterval(ue)})),t.$$set=e=>{"endpoint"in e&&a(32,w=e.endpoint),"lang"in e&&a(33,b=e.lang),"session"in e&&a(34,x=e.session),"userid"in e&&a(35,C=e.userid),"clientstyling"in e&&a(36,S=e.clientstyling),"clientstylingurl"in e&&a(37,F=e.clientstylingurl),"favorites"in e&&a(0,M=e.favorites),"loginurl"in e&&a(38,_=e.loginurl),"registerurl"in e&&a(39,k=e.registerurl),"depositurl"in e&&a(40,$=e.depositurl),"loginevent"in e&&a(41,E=e.loginevent),"registerevent"in e&&a(42,T=e.registerevent),"depositevent"in e&&a(43,L=e.depositevent),"clockformat"in e&&a(44,I=e.clockformat),"haspanicbutton"in e&&a(1,G=e.haspanicbutton),"playforfun"in e&&a(45,P=e.playforfun),"checksession"in e&&a(46,R=e.checksession),"gameid"in e&&a(47,A=e.gameid)},t.$$.update=()=>{var e;4&t.$$.dirty[1]&&b&&(e=b,Ir.set(e),a(6,N=!1),a(19,W=zr(j))),65542&t.$$.dirty[1]&&w&&A&&b&&q(A),26&t.$$.dirty[1]&&x&&C&&w&&("true"==R?Wr(w,x).then(e=>{o=e.Guid,a(4,D=!0)},e=>{a(4,D=!1),console.error("err on session",e)}):o=x),32&t.$$.dirty[1]&&S&&(()=>{let e=document.createElement("style");e.innerHTML=S,f.appendChild(e)})(),64&t.$$.dirty[1]&&F&&(()=>{let t=document.createElement("style");var e;F&&(e=new URL(F),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,f&&setTimeout(()=>{f.appendChild(t)},1)}))})()},[M,G,r,i,D,O,N,s,B,U,H,z,l,c,Y,d,u,m,g,W,f,y,v,n,j,ee,re,ae,oe,se,ce,de,w,b,x,C,S,F,_,k,$,E,T,L,I,P,R,A,()=>ee(s.id),()=>ee(s.id),()=>se(),()=>{re(s)},()=>de(),()=>ae(),()=>oe(),()=>{re(s)},()=>ae(),()=>oe(),function(e){Le[e?"unshift":"push"](()=>{i=e,a(3,i)})},()=>se(),()=>de(),()=>ce(),()=>ce(),function(e){Le[e?"unshift":"push"](()=>{y=e,a(21,y)})},function(e){Le[e?"unshift":"push"](()=>{v=e,a(22,v)})},function(e){Le[e?"unshift":"push"](()=>{c=e,a(13,c)})},function(e){Le[e?"unshift":"push"](()=>{l=e,a(12,l)})},function(e){Le[e?"unshift":"push"](()=>{i=e,a(3,i)})},()=>ae(),()=>oe(),()=>ce(),()=>ce(),function(e){Le[e?"unshift":"push"](()=>{y=e,a(21,y)})},function(e){Le[e?"unshift":"push"](()=>{v=e,a(22,v)})},function(e){Le[e?"unshift":"push"](()=>{c=e,a(13,c)})},function(e){Le[e?"unshift":"push"](()=>{l=e,a(12,l)})},()=>ae(),()=>oe(),function(e){Le[e?"unshift":"push"](()=>{f=e,a(20,f)})}]}function Uo(n){let r,i,a,o,s,l,c,d,t,u,h,p;return{c(){r=ee("div"),i=ee("div"),a=ee("span"),a.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ne(),s=ee("slot"),ie(a,"class","FilterModalCloseBtn"),ie(a,"part","FilterModalCloseBtn"),ie(a,"role","button"),ie(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),ie(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),ie(r,"class","FilterModalWindow"),ie(r,"id","FilterModal"),ie(r,"part","FilterModalWindow"),D(()=>n[14].call(r))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),n[13](r),d=F(r,n[14].bind(r)),u=!0,h||(p=re(a,"click",n[7]),h=!0)},p(e,t){n=e,(!u||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&ie(i,"class",l),(!u||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&ie(i,"part",c)},i(e){u||(D(()=>{t=t||le(r,uo,{transitionDuration:n[1]},!0),t.run(1)}),u=!0)},o(e){t=t||le(r,uo,{transitionDuration:n[1]},!1),t.run(0),u=!1},d(e){e&&Q(r),n[13](null),d(),e&&t&&t.end(),h=!1,p()}}}function Ho(n){let r,i,a=n[0]&&Uo(n);return{c(){r=ee("div"),a&&a.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),a&&a.m(r,null),n[15](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&V(a,1)):(a=Uo(e),a.c(),V(a,1),a.m(r,null)):a&&(j(),oe(a,1,1,()=>{a=null}),W())},i(e){i||(V(a),i=!0)},o(e){oe(a),i=!1},d(e){e&&Q(r),a&&a.d(),n[15](null)}}}function zo(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,m=window.navigator.userAgent,g=!1;const f=()=>{n(0,s=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(f(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))},v=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return Te(()=>(window.addEventListener("message",y,!1),zr(m)&&n(2,g=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(8,c=e.session),"userid"in e&&n(9,d=e.userid),"clientstyling"in e&&n(10,u=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint)},e.$$.update=()=>{4864&e.$$.dirty&&c&&d&&p&&Wr(p,c).then(e=>{},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,s&&setTimeout(()=>{r.appendChild(e)})})(),2048&e.$$.dirty&&h&&v(),2049&e.$$.dirty&&s&&h&&v()},[s,l,g,r,i,void 0,void 0,f,c,d,u,h,p,function(e){Le[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){Le[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoGamePageContainer{height:100%}.BottomGame{padding-left:60px;padding-right:60px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}.DepositButton,.PlayNowButton{border:none;width:130px;height:60px;background-color:var(--emfe-w-color-green, #48952a);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px;cursor:pointer}.PlayNowButton{background-color:var(--emfe-w-color-primary, #D0046C)}.GameThumbnail{border-radius:2px;width:270px;height:180px}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{width:275px;margin-top:20px;display:flex;flex-direction:row;justify-content:space-between}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px;margin-top:20px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:center}#IframeGame{width:100%;height:100%}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicText{display:flex;align-items:center}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Bo,No,t,{endpoint:32,lang:33,session:34,userid:35,clientstyling:36,clientstylingurl:37,favorites:0,loginurl:38,registerurl:39,depositurl:40,loginevent:41,registerevent:42,depositevent:43,clockformat:44,haspanicbutton:1,playforfun:45,checksession:46,gameid:47},null,[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gameid"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$$set({endpoint:e}),U()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[34]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[35]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),U()}get loginurl(){return this.$$.ctx[38]}set loginurl(e){this.$$set({loginurl:e}),U()}get registerurl(){return this.$$.ctx[39]}set registerurl(e){this.$$set({registerurl:e}),U()}get depositurl(){return this.$$.ctx[40]}set depositurl(e){this.$$set({depositurl:e}),U()}get loginevent(){return this.$$.ctx[41]}set loginevent(e){this.$$set({loginevent:e}),U()}get registerevent(){return this.$$.ctx[42]}set registerevent(e){this.$$set({registerevent:e}),U()}get depositevent(){return this.$$.ctx[43]}set depositevent(e){this.$$set({depositevent:e}),U()}get clockformat(){return this.$$.ctx[44]}set clockformat(e){this.$$set({clockformat:e}),U()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),U()}get playforfun(){return this.$$.ctx[45]}set playforfun(e){this.$$set({playforfun:e}),U()}get checksession(){return this.$$.ctx[46]}set checksession(e){this.$$set({checksession:e}),U()}get gameid(){return this.$$.ctx[47]}set gameid(e){this.$$set({gameid:e}),U()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},zo,Ho,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12},null),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),U()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),U()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),U()}});const Yo={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement ...",filterModalTitle:"Filtrer par",filterModalSubtitle:"Vous pouvez sélectionner plusieurs fournisseurs",filterClear:"Eclaircir",filterApply:"Appliquer"}},es:{filters:{loading:"Cargando ...",filterModalTitle:"Filtrado por",filterModalSubtitle:"Puede seleccionar varios proveedores",filterClear:"Despejar",filterApply:"Solicitar"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"A carregar",filterModalTitle:"Filtrar",filterModalSubtitle:"Escolha múltipla possível",filterClear:"Limpar filtro",filterApply:"Feito"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function jo(e,t,n){const r=e.slice();return r[32]=t[n],r}function Wo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x,C,S,F=n[6]("filters.filterModalTitle")+"",M=n[6]("filters.filterModalSubtitle")+"",_=n[6]("filters.filterApply")+"",k=n[0]&&Zo(n),$=n[3]&&Ko(n);return{c(){r=ee("div"),i=ee("section"),a=ee("div"),o=ee("h4"),s=te(F),l=ne(),c=ee("h5"),d=te(M),u=ne(),h=ee("section"),k&&k.c(),p=ne(),m=ee("section"),$&&$.c(),g=ne(),f=ee("div"),y=te(_),ie(o,"class","FilterHeaderTitle"),ie(o,"part","FilterHeaderTitle"),ie(c,"class","FilterHeaderSubtitle"),ie(c,"part","FilterHeaderSubtitle"),ie(a,"class","FilterHeaderDetails"),ie(a,"part","FilterHeaderDetails"),ie(i,"class","FilterHeaderSection"),ie(i,"part","FilterHeaderSection"),ie(h,"class","FilterContentSection"),ie(h,"part","FilterContentSection"),ie(f,"class",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),ie(f,"part",w="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),ie(m,"class","FilterFooterSection"),ie(m,"part","FilterFooterSection"),ie(r,"class",b="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),ie(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),K(o,s),K(a,l),K(a,c),K(c,d),K(r,u),K(r,h),k&&k.m(h,null),K(r,p),K(r,m),$&&$.m(m,null),K(m,g),K(m,f),K(f,y),C||(S=re(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&F!==(F=e[6]("filters.filterModalTitle")+"")&&ae(s,F),64&t[0]&&M!==(M=e[6]("filters.filterModalSubtitle")+"")&&ae(d,M),e[0]?k?k.p(e,t):(k=Zo(e),k.c(),k.m(h,null)):k&&(k.d(1),k=null),e[3]?$?$.p(e,t):($=Ko(e),$.c(),$.m(m,g)):$&&($.d(1),$=null),64&t[0]&&_!==(_=e[6]("filters.filterApply")+"")&&ae(y,_),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&ie(f,"class",v),4&t[0]&&w!==(w="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&ie(f,"part",w),2&t[0]&&b!==(b="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&ie(r,"class",b),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&ie(r,"part",x)},d(e){e&&Q(r),k&&k.d(),$&&$.d(),C=!1,S()}}}function Vo(e){let n;return{c(){n=ee("div"),ie(n,"class","lds-dual-ring"),ie(n,"part","lds-dual-ring")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function Zo(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Jo(jo(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(129&n[0]){let e;for(a=t[0],e=0;e<a.length;e+=1){var r=jo(t,a,e);o[e]?o[e].p(r,n):(o[e]=Jo(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){m(o,e),e&&Q(i)}}}function Xo(){let n;return{c(){n=ee("div"),n.innerHTML='<div class="CheckMark" part="CheckMark"></div>',ie(n,"class","FilterIconContainer"),ie(n,"part","FilterIconContainer")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Jo(n){let r,i,a,o,s,l,c,d,u,h,p=n[32].isFilterSelected&&Xo();function m(){return n[17](n[32])}return{c(){r=ee("div"),i=ee("img"),s=ne(),p&&p.c(),l=ne(),ie(i,"class","VendorImage"),ie(i,"part","VendorImage"),J(i.src,a=n[32].image)||ie(i,"src",a),ie(i,"alt",o=n[32].name),ie(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),ie(r,"part",d="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){q(e,r,t),K(r,i),K(r,s),p&&p.m(r,null),K(r,l),u||(h=re(r,"click",m),u=!0)},p(e,t){n=e,1&t[0]&&!J(i.src,a=n[32].image)&&ie(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&ie(i,"alt",o),n[32].isFilterSelected?p||(p=Xo(),p.c(),p.m(r,l)):p&&(p.d(1),p=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&ie(r,"class",c),1&t[0]&&d!==(d="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&ie(r,"part",d)},d(e){e&&Q(r),p&&p.d(),u=!1,h()}}}function Ko(e){let n,r=e[3].length&&qo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):(r=qo(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function qo(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=ee("div"),i=te(s),ie(r,"class","ClearFiltersButton"),ie(r,"part","ClearFiltersButton")},m(e,t){q(e,r,t),K(r,i),a||(o=re(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ae(i,s)},d(e){e&&Q(r),a=!1,o()}}}function Qo(n){let r;function i(e){return e[4]?Vo:Wo}let a=i(n),o=a(n);return{c(){r=ee("div"),o.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),o.m(r,null),n[20](r)},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:Z,o:Z,d(e){e&&Q(r),o.d(),n[20](null)}}}function es(e,t,i){let n;Ee(e,Hr,e=>i(6,n=e));let r,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],w={},b=!1;w[f]&&(w={[f]:[]});let x=[];var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),Ir.subscribe(e=>{null==e&&(br.set(S),Ir.set(C))}),Object.keys(Yo).forEach(e=>{Cr(e,Yo[e])});const F=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(f&&(y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),y&&i(3,v=y[f])),!v){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[f]:v})):(e=JSON.parse(e),e[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${a}/casino/vendors?filter=games(groups=${f})&datasource=${o}&platform=`+Yr(m),new Promise((t,n)=>{fetch(r).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},f&&t[f]&&(e.isFilterSelected=0<=t[f].indexOf(e.id))}),i(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=v;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),i(3,v=x),i(2,g=!1);break;case"AvailableVendors":i(0,h=t.data.venArray),i(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(0,h=t.data.venArray),h&&i(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":k(),window.postMessage({type:"ApplyFilters"},window.location.href),i(2,g=!1);break;case"ModalClosed":h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":f=t.data.categoryid,y&&f&&i(3,v=y[f]);break;case"ModalLoader":i(4,b=!1)}var r},M=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),i(2,g=!_(v,x))):(v.includes(t.id)&&i(3,v=v.filter(e=>e!==t.id)),i(2,g=!(!v.length&&_(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},_=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},k=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=_(v,x)),i(3,v=[]),null!==e&&(e=JSON.parse(e),e[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},$=()=>{i(4,b=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[f]:v})):(e=JSON.parse(e),e[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return Te(()=>(window.addEventListener("message",F,!1),zr(m)&&i(1,p=!0),()=>{window.removeEventListener("message",F)})),e.$$set=e=>{"endpoint"in e&&i(10,a=e.endpoint),"datasource"in e&&i(11,o=e.datasource),"lang"in e&&i(12,s=e.lang),"session"in e&&i(13,l=e.session),"userid"in e&&i(14,c=e.userid),"clientstyling"in e&&i(15,d=e.clientstyling),"clientstylingurl"in e&&i(16,u=e.clientstylingurl)},e.$$.update=()=>{32768&e.$$.dirty[0]&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)})(),65536&e.$$.dirty[0]&&u&&(()=>{let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})})()},[h,p,g,v,b,r,n,M,k,$,a,o,s,l,c,d,u,e=>M(e),()=>k(),()=>$(),function(e){Le[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}function ts(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g="true"==e[20]&&rs(e);return{c(){n=ee("div"),r=ee("div"),i=ee("div"),a=ne(),o=ee("div"),s=ne(),l=ee("casino-categories-slider"),c=ne(),d=ee("casino-page"),u=ne(),g&&g.c(),h=ne(),p=ee("casino-filter-modal"),m=ee("casino-filter-page"),ie(i,"class","HeaderPlaceholder"),ie(i,"part","HeaderPlaceholder"),k(i,"height",e[29]+"px"),ie(o,"class","ScrollTop"),ie(o,"part","ScrollTop"),S(l,"endpoint",e[23]),S(l,"datasource",e[24]),S(l,"lang",e[25]),S(l,"session",e[1]),S(l,"userid",e[2]),S(l,"actionevent",e[17]),S(l,"mostplayed",e[11]),S(l,"mostplayedrounds",e[12]),S(l,"favorites",e[13]),S(l,"activecategory",e[0]),S(l,"clientstyling",e[3]),S(l,"clientstylingurl",e[4]),S(l,"containermaxwidth",e[15]),S(d,"session",e[1]),S(d,"userid",e[2]),S(d,"endpoint",e[23]),S(d,"datasource",e[24]),S(d,"lang",e[25]),S(d,"visiblegames",e[22]),S(d,"playrandomgame",e[21]),S(d,"activecategory",e[0]),S(d,"alternativesearch",e[14]),S(d,"favorites",e[13]),S(d,"mostplayedrounds",e[12]),S(d,"mostplayed",e[11]),S(d,"clientstyling",e[3]),S(d,"clientstylingurl",e[4]),S(d,"lobbyid",e[6]),S(d,"containermaxwidth",e[15]),S(d,"haspanicbutton",e[16]),S(d,"livecasino",e[18]),S(d,"currency",e[7]),S(m,"session",e[1]),S(m,"userid",e[2]),S(m,"endpoint",e[23]),S(m,"datasource",e[24]),S(m,"lang",e[25]),S(m,"clientstylingurl",e[4]),S(m,"clientstyling",e[3]),S(p,"clientstylingurl",e[4]),S(p,"session",e[1]),S(p,"userid",e[2]),S(p,"endpoint",e[23]),S(p,"datasource",e[24]),S(p,"lang",e[25]),S(p,"clientstyling",e[3]),ie(r,"class","WidgetsSection"),ie(r,"part","WidgetsSection"),ie(n,"class","CasinoLobby"),ie(n,"part","CasinoLobby")},m(e,t){q(e,n,t),K(n,r),K(r,i),K(r,a),K(r,o),K(r,s),K(r,l),K(r,c),K(r,d),K(r,u),g&&g.m(r,null),K(r,h),K(r,p),K(p,m)},p(e,t){536870912&t[0]&&k(i,"height",e[29]+"px"),8388608&t[0]&&S(l,"endpoint",e[23]),16777216&t[0]&&S(l,"datasource",e[24]),33554432&t[0]&&S(l,"lang",e[25]),2&t[0]&&S(l,"session",e[1]),4&t[0]&&S(l,"userid",e[2]),131072&t[0]&&S(l,"actionevent",e[17]),2048&t[0]&&S(l,"mostplayed",e[11]),4096&t[0]&&S(l,"mostplayedrounds",e[12]),8192&t[0]&&S(l,"favorites",e[13]),1&t[0]&&S(l,"activecategory",e[0]),8&t[0]&&S(l,"clientstyling",e[3]),16&t[0]&&S(l,"clientstylingurl",e[4]),32768&t[0]&&S(l,"containermaxwidth",e[15]),2&t[0]&&S(d,"session",e[1]),4&t[0]&&S(d,"userid",e[2]),8388608&t[0]&&S(d,"endpoint",e[23]),16777216&t[0]&&S(d,"datasource",e[24]),33554432&t[0]&&S(d,"lang",e[25]),4194304&t[0]&&S(d,"visiblegames",e[22]),2097152&t[0]&&S(d,"playrandomgame",e[21]),1&t[0]&&S(d,"activecategory",e[0]),16384&t[0]&&S(d,"alternativesearch",e[14]),8192&t[0]&&S(d,"favorites",e[13]),4096&t[0]&&S(d,"mostplayedrounds",e[12]),2048&t[0]&&S(d,"mostplayed",e[11]),8&t[0]&&S(d,"clientstyling",e[3]),16&t[0]&&S(d,"clientstylingurl",e[4]),64&t[0]&&S(d,"lobbyid",e[6]),32768&t[0]&&S(d,"containermaxwidth",e[15]),65536&t[0]&&S(d,"haspanicbutton",e[16]),262144&t[0]&&S(d,"livecasino",e[18]),128&t[0]&&S(d,"currency",e[7]),"true"==e[20]?g?g.p(e,t):(g=rs(e),g.c(),g.m(r,h)):g&&(g.d(1),g=null),2&t[0]&&S(m,"session",e[1]),4&t[0]&&S(m,"userid",e[2]),8388608&t[0]&&S(m,"endpoint",e[23]),16777216&t[0]&&S(m,"datasource",e[24]),33554432&t[0]&&S(m,"lang",e[25]),16&t[0]&&S(m,"clientstylingurl",e[4]),8&t[0]&&S(m,"clientstyling",e[3]),16&t[0]&&S(p,"clientstylingurl",e[4]),2&t[0]&&S(p,"session",e[1]),4&t[0]&&S(p,"userid",e[2]),8388608&t[0]&&S(p,"endpoint",e[23]),16777216&t[0]&&S(p,"datasource",e[24]),33554432&t[0]&&S(p,"lang",e[25]),8&t[0]&&S(p,"clientstyling",e[3])},d(e){e&&Q(n),g&&g.d()}}}function ns(e){let n,r;return{c(){n=ee("p"),r=te(e[28]),k(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){q(e,n,t),K(n,r)},p(e,t){268435456&t[0]&&ae(r,e[28])},d(e){e&&Q(n)}}}function rs(e){let n,r;return{c(){n=ee("casino-modal"),r=ee("casino-game-page"),S(r,"session",e[1]),S(r,"userid",e[2]),S(r,"endpoint",e[23]),S(r,"datasource",e[24]),S(r,"lang",e[25]),S(r,"loginevent",e[8]),S(r,"registerevent",e[9]),S(r,"depositevent",e[10]),S(r,"playforfun",e[19]),S(r,"favorites",e[13]),S(r,"clientstyling",e[3]),S(r,"clientstylingurl",e[4]),S(r,"clockformat",e[5]),S(r,"haspanicbutton",e[16]),S(r,"currency",e[7]),S(n,"session",e[1]),S(n,"userid",e[2]),S(n,"endpoint",e[23]),S(n,"datasource",e[24]),S(n,"lang",e[25]),S(n,"clientstyling",e[3]),S(n,"clientstylingurl",e[4])},m(e,t){q(e,n,t),K(n,r)},p(e,t){2&t[0]&&S(r,"session",e[1]),4&t[0]&&S(r,"userid",e[2]),8388608&t[0]&&S(r,"endpoint",e[23]),16777216&t[0]&&S(r,"datasource",e[24]),33554432&t[0]&&S(r,"lang",e[25]),256&t[0]&&S(r,"loginevent",e[8]),512&t[0]&&S(r,"registerevent",e[9]),1024&t[0]&&S(r,"depositevent",e[10]),524288&t[0]&&S(r,"playforfun",e[19]),8192&t[0]&&S(r,"favorites",e[13]),8&t[0]&&S(r,"clientstyling",e[3]),16&t[0]&&S(r,"clientstylingurl",e[4]),32&t[0]&&S(r,"clockformat",e[5]),65536&t[0]&&S(r,"haspanicbutton",e[16]),128&t[0]&&S(r,"currency",e[7]),2&t[0]&&S(n,"session",e[1]),4&t[0]&&S(n,"userid",e[2]),8388608&t[0]&&S(n,"endpoint",e[23]),16777216&t[0]&&S(n,"datasource",e[24]),33554432&t[0]&&S(n,"lang",e[25]),8&t[0]&&S(n,"clientstyling",e[3]),16&t[0]&&S(n,"clientstylingurl",e[4])},d(e){e&&Q(n)}}}function is(n){let r,i,a;function o(e){return e[27]?ns:ts}let s=o(n),l=s(n);return{c(){r=ee("div"),l.c(),this.c=Z,ie(r,"class",i=n[26]?"DisplayNone":""),ie(r,"part",a=n[26]?"DisplayNone":"")},m(e,t){q(e,r,t),l.m(r,null),n[40](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),l=s(e),l&&(l.c(),l.m(r,null))),67108864&t[0]&&i!==(i=e[26]?"DisplayNone":"")&&ie(r,"class",i),67108864&t[0]&&a!==(a=e[26]?"DisplayNone":"")&&ie(r,"part",a)},i:Z,o:Z,d(e){e&&Q(r),l.d(),n[40](null)}}}function as(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:d=""}=t,{userid:u=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y="EUR"}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:b=""}=t,{loginevent:x=""}=t,{registerevent:C=""}=t,{depositevent:S=""}=t,{mostplayed:F=""}=t,{mostplayedrounds:M=""}=t,{favorites:_=""}=t,{desktopoffset:k="0"}=t,{mobileoffset:$="0"}=t,{alternativesearch:E="false"}=t,{containermaxwidth:T=""}=t,{haspanicbutton:L="false"}=t,{activecategory:I="LOBBY"}=t,{actionevent:G="CategoryChange"}=t,{livecasino:P="false"}=t,{playforfun:R="true"}=t,{gamemodal:A="true"}=t,{playrandomgame:D="false"}=t,{visiblegames:O="10"}=t,N=!1,B=!1,U="Loading, please wait ...",H=window.navigator.userAgent,z=0,Y=!1;var j,W;({withLocale:j,translations:W}={withLocale:"en",translations:{}}),Ir.subscribe(e=>{null==e&&(br.set(W),Ir.set(j))});const V=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":Y=e.data.scrollTop,Y&&(z||n(29,z="PC"===Yr(H)?parseInt(k):parseInt($)),window.scrollTo({top:z}));break;case"UserSessionID":e.data.session,e.data.userID;break;case"CategoryChange":n(0,I=e.data.itemId)}};return Te(()=>(window.addEventListener("message",V,!1),n(29,z="PC"===Yr(H)?parseInt(k):parseInt($)),()=>{window.removeEventListener("message",V)})),e.$$set=e=>{"endpoint"in e&&n(31,s=e.endpoint),"datasource"in e&&n(32,l=e.datasource),"lang"in e&&n(33,c=e.lang),"session"in e&&n(1,d=e.session),"userid"in e&&n(2,u=e.userid),"opsession"in e&&n(34,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,g=e.clockformat),"lobbyid"in e&&n(6,f=e.lobbyid),"currency"in e&&n(7,y=e.currency),"loginurl"in e&&n(35,v=e.loginurl),"registerurl"in e&&n(36,w=e.registerurl),"depositurl"in e&&n(37,b=e.depositurl),"loginevent"in e&&n(8,x=e.loginevent),"registerevent"in e&&n(9,C=e.registerevent),"depositevent"in e&&n(10,S=e.depositevent),"mostplayed"in e&&n(11,F=e.mostplayed),"mostplayedrounds"in e&&n(12,M=e.mostplayedrounds),"favorites"in e&&n(13,_=e.favorites),"desktopoffset"in e&&n(38,k=e.desktopoffset),"mobileoffset"in e&&n(39,$=e.mobileoffset),"alternativesearch"in e&&n(14,E=e.alternativesearch),"containermaxwidth"in e&&n(15,T=e.containermaxwidth),"haspanicbutton"in e&&n(16,L=e.haspanicbutton),"activecategory"in e&&n(0,I=e.activecategory),"actionevent"in e&&n(17,G=e.actionevent),"livecasino"in e&&n(18,P=e.livecasino),"playforfun"in e&&n(19,R=e.playforfun),"gamemodal"in e&&n(20,A=e.gamemodal),"playrandomgame"in e&&n(21,D=e.playrandomgame),"visiblegames"in e&&n(22,O=e.visiblegames)},e.$$.update=()=>{4&e.$$.dirty[1]&&c&&Vr(c),6&e.$$.dirty[0]|1&e.$$.dirty[1]&&d&&u&&s&&Wr(s,d).then(e=>{},e=>{console.error("Error while checking the session - ",e)}),10240&e.$$.dirty[0]|7&e.$$.dirty[1]&&s&&l&&c&&F&&_&&(s||(n(28,U="Endpoint is missing! Please provide a valid endpointURL."),n(27,B=!0),console.error(U)),l||(n(28,U="Datasource is missing! Please provide a valid datasource."),n(27,B=!0),console.error(U)),c&&2==c.length||(n(28,U="Language is missing! Please provide a valid language (alpha2code)"),n(27,B=!0),console.error(U)),Vr(c),n(23,r=s),n(24,i=l),n(25,a=c),n(27,B=!1)),e.$$.dirty[1],8&e.$$.dirty[0]&&p&&(()=>{let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)})(),16&e.$$.dirty[0]&&m&&(()=>{n(26,N=!0);let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(26,N=!1)},500))})})()},[I,d,u,p,m,g,f,y,x,C,S,F,M,_,E,T,L,G,P,R,A,D,O,r,i,a,N,B,U,z,o,s,l,c,h,v,w,b,k,$,function(e){Le[e?"unshift":"push"](()=>{o=e,n(30,o)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:125px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},es,Qo,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}});class os extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},as,is,t,{endpoint:31,datasource:32,lang:33,session:1,userid:2,opsession:34,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:7,loginurl:35,registerurl:36,depositurl:37,loginevent:8,registerevent:9,depositevent:10,mostplayed:11,mostplayedrounds:12,favorites:13,desktopoffset:38,mobileoffset:39,alternativesearch:14,containermaxwidth:15,haspanicbutton:16,activecategory:0,actionevent:17,livecasino:18,playforfun:19,gamemodal:20,playrandomgame:21,visiblegames:22},null,[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames"]}get endpoint(){return this.$$.ctx[31]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[32]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),U()}get opsession(){return this.$$.ctx[34]}set opsession(e){this.$$set({opsession:e}),U()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),U()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),U()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),U()}get loginurl(){return this.$$.ctx[35]}set loginurl(e){this.$$set({loginurl:e}),U()}get registerurl(){return this.$$.ctx[36]}set registerurl(e){this.$$set({registerurl:e}),U()}get depositurl(){return this.$$.ctx[37]}set depositurl(e){this.$$set({depositurl:e}),U()}get loginevent(){return this.$$.ctx[8]}set loginevent(e){this.$$set({loginevent:e}),U()}get registerevent(){return this.$$.ctx[9]}set registerevent(e){this.$$set({registerevent:e}),U()}get depositevent(){return this.$$.ctx[10]}set depositevent(e){this.$$set({depositevent:e}),U()}get mostplayed(){return this.$$.ctx[11]}set mostplayed(e){this.$$set({mostplayed:e}),U()}get mostplayedrounds(){return this.$$.ctx[12]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),U()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),U()}get desktopoffset(){return this.$$.ctx[38]}set desktopoffset(e){this.$$set({desktopoffset:e}),U()}get mobileoffset(){return this.$$.ctx[39]}set mobileoffset(e){this.$$set({mobileoffset:e}),U()}get alternativesearch(){return this.$$.ctx[14]}set alternativesearch(e){this.$$set({alternativesearch:e}),U()}get containermaxwidth(){return this.$$.ctx[15]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),U()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),U()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),U()}get actionevent(){return this.$$.ctx[17]}set actionevent(e){this.$$set({actionevent:e}),U()}get livecasino(){return this.$$.ctx[18]}set livecasino(e){this.$$set({livecasino:e}),U()}get playforfun(){return this.$$.ctx[19]}set playforfun(e){this.$$set({playforfun:e}),U()}get gamemodal(){return this.$$.ctx[20]}set gamemodal(e){this.$$set({gamemodal:e}),U()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(e){this.$$set({playrandomgame:e}),U()}get visiblegames(){return this.$$.ctx[22]}set visiblegames(e){this.$$set({visiblegames:e}),U()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",os),os});
32
+ `},$,E,T,L,I,B,U,z,j,W,V,Z,X,se,le,function(e){Le[e?"unshift":"push"](()=>{r=e,o(16,r)})},()=>ue(D),()=>de(D),()=>ue(D),function(e){Le[e?"unshift":"push"](()=>{M=e,o(11,M)})},function(e){Le[e?"unshift":"push"](()=>{i=e,o(17,i)})}]}function Ui(e,t,n){const r=e.slice();return r[72]=t[n],r[74]=n,r}function Hi(e,t,n){const r=e.slice();return r[72]=t[n],r[75]=t,r[74]=n,r}function zi(e,t,n){const r=e.slice();return r[72]=t[n],r[74]=n,r}function Yi(e){let n;function r(e){return e[11]?Zi:e[21]?Vi:void 0}let i=r(e),a=i&&i(e);return{c(){n=ee("div"),a&&a.c()},m(e,t){q(e,n,t),a&&a.m(n,null)},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)))},d(e){e&&Q(n),a&&a.d()}}}function ji(e){let n,r,i;function a(e){return e[15]?ha:e[12].length?da:ua}let o=a(e),s=o(e);function l(e){return e[12]?ma:pa}let c=l(e),d=c(e);return{c(){n=ee("div"),r=ee("div"),s.c(),i=ne(),d.c(),ie(r,"class","CasinoGamesHeader Searched "+(zr(e[27])?"CasinoGamesHeaderMobile":"")),ie(r,"part","CasinoGamesHeader Searched "+(zr(e[27])?"CasinoGamesHeaderMobile":"")),ie(n,"class","CasinoGamesContainer"),ie(n,"part","CasinoGamesContainer")},m(e,t){q(e,n,t),K(n,r),s.m(r,null),K(n,i),d.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(r,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),d=c(e),d&&(d.c(),d.m(n,null)))},d(e){e&&Q(n),s.d(),d.d()}}}function Wi(e){let n;function r(e){return e[17]?va:ya}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function Vi(n){let r,i,a,o,s,l,c,d,u=n[25].name+"";function h(e){return e[25]?Ji:Xi}let p=h(n),m=p(n);return{c(){r=ee("div"),i=ee("div"),a=ee("h3"),o=te(u),s=ne(),l=ee("ul"),m.c(),ie(a,"class","CategoryName"),ie(a,"part","CategoryName"),ie(i,"class","CasinoGamesHeader"),ie(i,"part","CasinoGamesHeader"),ie(l,"class",c=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ie(l,"part",d=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ie(r,"class","CasinoGamesContainer"),ie(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),n[44](a),K(r,s),K(r,l),m.m(l,null),n[45](l)},p(e,t){33554432&t[0]&&u!==(u=e[25].name+"")&&ae(o,u),p===(p=h(e))&&m?m.p(e,t):(m.d(1),m=p(e),m&&(m.c(),m.m(l,null))),33554432&t[0]&&c!==(c=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ie(l,"class",c),33554432&t[0]&&d!==(d=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ie(l,"part",d)},d(e){e&&Q(r),n[44](null),m.d(),n[45](null)}}}function Zi(n){let r,i,a,o,s,l,c=n[11].name+"",d=n[13]&&oa(n);function u(e){return 0!==e[12].length?la:sa}let h=u(n),p=h(n);return{c(){r=ee("div"),i=ee("div"),a=ee("h3"),o=te(c),s=ne(),d&&d.c(),l=ne(),p.c(),ie(a,"class","CategoryName"),ie(a,"part","CategoryName"),ie(i,"class","CasinoGamesHeader"),ie(i,"part","CasinoGamesHeader"),ie(r,"class","CasinoGamesContainer"),ie(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),n[40](a),K(i,s),d&&d.m(i,null),K(r,l),p.m(r,null)},p(e,t){2048&t[0]&&c!==(c=e[11].name+"")&&ae(o,c),e[13]?d?d.p(e,t):(d=oa(e),d.c(),d.m(i,null)):d&&(d.d(1),d=null),h===(h=u(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(r,null)))},d(e){e&&Q(r),n[40](null),d&&d.d(),p.d()}}}function Xi(e){let n;return{c(){n=ee("p"),n.textContent="Waiting"},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function Ji(t){let r,i=t[25].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=aa(Ui(t,i,e));let o=null;return i.length||(o=Ki(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);q(t,r,n),o&&o.m(t,n)},p(t,n){if(195035647&n[0]){let e;for(i=t[25].items,e=0;e<i.length;e+=1){const o=Ui(t,i,e);a[e]?a[e].p(o,n):(a[e]=aa(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):(o=Ki(t),o.c(),o.m(r.parentNode,r))}},d(e){m(a,e),e&&Q(r),o&&o.d(e)}}}function Ki(e){let n,r,i,a,o,s,l,t=(d=e,zr(d[27])?Qi:qi),c=t(e);var d;return{c(){n=ee("p"),r=C("svg"),i=C("path"),a=ne(),o=ee("span"),o.textContent="You do not have any favored games yet.",s=ne(),c.c(),l=ne(),k(i,"fill","white"),ie(i,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),ie(r,"version","1.1"),ie(r,"class","UnfavoredIcon"),ie(r,"part","UnfavoredIcon"),ie(r,"xmlns","http://www.w3.org/2000/svg"),ie(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),ie(r,"x","50px"),ie(r,"y","50px"),ie(r,"viewBox","0 0 512.001 512.001"),k(r,"enable-background","new 0 0 512.001 512.001"),ie(r,"xml:space","preserve"),ie(o,"class","NoFavoriteText NoFavoriteTextHighlight"),ie(o,"part","NoFavoriteText NoFavoriteTextHighlight"),ie(n,"class","NoFavoriteGames "+(zr(e[27])?"NoFavoriteGamesMobile":"")),ie(n,"part","NoFavoriteGames "+(zr(e[27])?"NoFavoriteGamesMobile":""))},m(e,t){q(e,n,t),K(n,r),K(r,i),K(n,a),K(n,o),K(n,s),c.m(n,null),K(n,l)},p:Z,d(e){e&&Q(n),c.d()}}}function qi(e){let n;return{c(){n=ee("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",ie(n,"class","NoFavoriteText"),ie(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Qi(e){let n;return{c(){n=ee("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",ie(n,"class","NoFavoriteText"),ie(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function ea(e){let n,r=e[72].gameModel.isFavorite&&ta(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[72].gameModel.isFavorite?r?r.p(e,t):(r=ta(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function ta(e){let n,r=function(e){let n,r,i;function a(e,t){return 33554432&t[0]&&(r=null),null==n&&(n=!!zr(e[27])),n?ra:(null==r&&(r=!!e[72].gameModel.platform.includes("PC")),r?na:void 0)}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),q(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&Q(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&Q(n)}}}function na(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){n=ee("casino-game-thumbnail"),S(n,"class",r=""+(ba+(e[72].cellSize||"1x1"))),S(n,"part",i=""+(ba+(e[72].cellSize||"1x1"))),S(n,"session",e[2]),S(n,"userid",e[3]),S(n,"lang",e[1]),S(n,"favorites",e[4]),S(n,"gamethumbnail",a=e[72].gameModel.thumbnail),S(n,"gamename",o=e[72].gameModel.name),S(n,"gamevendor",s=e[72].gameModel.vendor.name),S(n,"gameisnew",l=e[72].gameModel.isNew),S(n,"gamepopularity",c=e[72].gameModel.popularity),S(n,"gamecellsize",d=e[72].gameModel.cellSize),S(n,"gameid",u=e[72].gameModel.id),S(n,"gamefunmode",h=e[72].gameModel.hasFunMode),S(n,"gamefavorite",p=e[72].gameModel.isFavorite),S(n,"showfavoredcategory",e[21]),S(n,"connectlive",m=1==e[23][e[72].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[24]),S(n,"currency",e[7]),S(n,"livelobbyendpoint",g=e[72].gameModel.details?e[72].gameModel.launchUrl:""),S(n,"clientstyling",e[5]),S(n,"clientstylingurl",e[6]),S(n,"endpoint",e[0]),S(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(ba+(e[72].cellSize||"1x1")))&&S(n,"class",r),33554432&t[0]&&i!==(i=""+(ba+(e[72].cellSize||"1x1")))&&S(n,"part",i),4&t[0]&&S(n,"session",e[2]),8&t[0]&&S(n,"userid",e[3]),2&t[0]&&S(n,"lang",e[1]),16&t[0]&&S(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[72].gameModel.thumbnail)&&S(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[72].gameModel.name)&&S(n,"gamename",o),33554432&t[0]&&s!==(s=e[72].gameModel.vendor.name)&&S(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[72].gameModel.isNew)&&S(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[72].gameModel.popularity)&&S(n,"gamepopularity",c),33554432&t[0]&&d!==(d=e[72].gameModel.cellSize)&&S(n,"gamecellsize",d),33554432&t[0]&&u!==(u=e[72].gameModel.id)&&S(n,"gameid",u),33554432&t[0]&&h!==(h=e[72].gameModel.hasFunMode)&&S(n,"gamefunmode",h),33554432&t[0]&&p!==(p=e[72].gameModel.isFavorite)&&S(n,"gamefavorite",p),2097152&t[0]&&S(n,"showfavoredcategory",e[21]),41943040&t[0]&&m!==(m=1==e[23][e[72].id]?"connect":"disconnect")&&S(n,"connectlive",m),16777216&t[0]&&S(n,"visibilityconnect",e[24]),128&t[0]&&S(n,"currency",e[7]),33554432&t[0]&&g!==(g=e[72].gameModel.details?e[72].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",g),32&t[0]&&S(n,"clientstyling",e[5]),64&t[0]&&S(n,"clientstylingurl",e[6]),1&t[0]&&S(n,"endpoint",e[0]),256&t[0]&&S(n,"livecasino",e[8])},d(e){e&&Q(n)}}}function ra(e){let n,r=e[72].gameModel.platform.includes("iPad")||e[72].gameModel.platform.includes("iPhone")||e[72].gameModel.platform.includes("Android"),i=r&&ia(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){33554432&t[0]&&(r=e[72].gameModel.platform.includes("iPad")||e[72].gameModel.platform.includes("iPhone")||e[72].gameModel.platform.includes("Android")),r?i?i.p(e,t):(i=ia(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Q(n)}}}function ia(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){n=ee("casino-game-thumbnail"),S(n,"class",r=""+(ba+(e[72].cellSize||"1x1"))),S(n,"part",i=""+(ba+(e[72].cellSize||"1x1"))),S(n,"session",e[2]),S(n,"userid",e[3]),S(n,"lang",e[1]),S(n,"favorites",e[4]),S(n,"gamethumbnail",a=e[72].gameModel.thumbnail),S(n,"gamename",o=e[72].gameModel.name),S(n,"gamevendor",s=e[72].gameModel.vendor.name),S(n,"gameisnew",l=e[72].gameModel.isNew),S(n,"gamepopularity",c=e[72].gameModel.popularity),S(n,"gamecellsize",d=e[72].gameModel.cellSize),S(n,"gameid",u=e[72].gameModel.id),S(n,"gamefunmode",h=e[72].gameModel.hasFunMode),S(n,"gamefavorite",p=e[72].gameModel.isFavorite),S(n,"showfavoredcategory",e[21]),S(n,"connectlive",m=1==e[23][e[72].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[24]),S(n,"currency",e[7]),S(n,"livelobbyendpoint",g=e[72].gameModel.details?e[72].gameModel.launchUrl:""),S(n,"clientstyling",e[5]),S(n,"clientstylingurl",e[6]),S(n,"endpoint",e[0]),S(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(ba+(e[72].cellSize||"1x1")))&&S(n,"class",r),33554432&t[0]&&i!==(i=""+(ba+(e[72].cellSize||"1x1")))&&S(n,"part",i),4&t[0]&&S(n,"session",e[2]),8&t[0]&&S(n,"userid",e[3]),2&t[0]&&S(n,"lang",e[1]),16&t[0]&&S(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[72].gameModel.thumbnail)&&S(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[72].gameModel.name)&&S(n,"gamename",o),33554432&t[0]&&s!==(s=e[72].gameModel.vendor.name)&&S(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[72].gameModel.isNew)&&S(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[72].gameModel.popularity)&&S(n,"gamepopularity",c),33554432&t[0]&&d!==(d=e[72].gameModel.cellSize)&&S(n,"gamecellsize",d),33554432&t[0]&&u!==(u=e[72].gameModel.id)&&S(n,"gameid",u),33554432&t[0]&&h!==(h=e[72].gameModel.hasFunMode)&&S(n,"gamefunmode",h),33554432&t[0]&&p!==(p=e[72].gameModel.isFavorite)&&S(n,"gamefavorite",p),2097152&t[0]&&S(n,"showfavoredcategory",e[21]),41943040&t[0]&&m!==(m=1==e[23][e[72].id]?"connect":"disconnect")&&S(n,"connectlive",m),16777216&t[0]&&S(n,"visibilityconnect",e[24]),128&t[0]&&S(n,"currency",e[7]),33554432&t[0]&&g!==(g=e[72].gameModel.details?e[72].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",g),32&t[0]&&S(n,"clientstyling",e[5]),64&t[0]&&S(n,"clientstylingurl",e[6]),1&t[0]&&S(n,"endpoint",e[0]),256&t[0]&&S(n,"livecasino",e[8])},d(e){e&&Q(n)}}}function aa(e){let n,r=e[72].gameModel&&ea(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[72].gameModel?r?r.p(e,t):(r=ea(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function oa(n){let r,i,a,o,s,l,c,d,u=n[26]("gamesCategorySection.viewAll")+"",h=n[11].games.total+"";return{c(){r=ee("a"),i=ee("span"),a=te(u),o=te(" ("),s=te(h),l=te(")"),ie(i,"class","CategoryLoadMore"),ie(i,"part","CategoryLoadMore"),ie(r,"class","CategoryNameLink"),ie(r,"part","CategoryNameLink")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),K(i,l),c||(d=re(r,"click",n[41]),c=!0)},p(e,t){67108864&t[0]&&u!==(u=e[26]("gamesCategorySection.viewAll")+"")&&ae(a,u),2048&t[0]&&h!==(h=e[11].games.total+"")&&ae(s,h)},d(e){e&&Q(r),c=!1,d()}}}function sa(e){let n;return{c(){n=ee("p"),n.textContent="You don't have any games in this category.",ie(n,"class","NoSearchResults"),ie(n,"part","NoSearchResults")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function la(n){let r,e,i,a=n[12],o=[];for(let e=0;e<a.length;e+=1)o[e]=ca(Hi(n,a,e));return{c(){r=ee("ul");for(let e=0;e<o.length;e+=1)o[e].c();ie(r,"class",e=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),ie(r,"part",i=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){q(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[43](r)},p(t,n){if(25170943&n[0]){let e;for(a=t[12],e=0;e<a.length;e+=1){const i=Hi(t,a,e);o[e]?o[e].p(i,n):(o[e]=ca(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}35651584&n[0]&&e!==(e=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ie(r,"class",e),35651584&n[0]&&i!==(i=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ie(r,"part",i)},d(e){e&&Q(r),m(o,e),n[43](null)}}}function ca(e){let n,r=function(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y=n[74];const v=()=>n[42](r,y),w=()=>n[42](null,y);return{c(){r=ee("casino-game-thumbnail"),S(r,"session",n[2]),S(r,"userid",n[3]),S(r,"lang",n[1]),S(r,"class",i=""+(ba+(n[72].cellSize||"1x1"))),S(r,"part",a=""+(ba+(n[72].cellSize||"1x1"))),S(r,"favorites",n[4]),S(r,"gamethumbnail",o=n[72].thumbnail),S(r,"gamename",s=n[72].name),S(r,"gamevendor",l=n[72].vendor.name),S(r,"gameisnew",c=n[72].isNew),S(r,"gamepopularity",d=n[72].popularity),S(r,"gamecellsize",u=n[72].cellSize),S(r,"gameid",h=n[72].id),S(r,"gamefunmode",p=n[72].hasFunMode),S(r,"gamefavorite",m=n[72].isFavorite),S(r,"connectlive",g=1==n[23][n[72].id]?"connect":"disconnect"),S(r,"visibilityconnect",n[24]),S(r,"currency",n[7]),S(r,"livelobbyendpoint",f=n[72].details?n[72].href:""),S(r,"clientstyling",n[5]),S(r,"clientstylingurl",n[6]),S(r,"endpoint",n[0]),S(r,"livecasino",n[8])},m(e,t){q(e,r,t),v()},p(e,t){n=e,4&t[0]&&S(r,"session",n[2]),8&t[0]&&S(r,"userid",n[3]),2&t[0]&&S(r,"lang",n[1]),4096&t[0]&&i!==(i=""+(ba+(n[72].cellSize||"1x1")))&&S(r,"class",i),4096&t[0]&&a!==(a=""+(ba+(n[72].cellSize||"1x1")))&&S(r,"part",a),16&t[0]&&S(r,"favorites",n[4]),4096&t[0]&&o!==(o=n[72].thumbnail)&&S(r,"gamethumbnail",o),4096&t[0]&&s!==(s=n[72].name)&&S(r,"gamename",s),4096&t[0]&&l!==(l=n[72].vendor.name)&&S(r,"gamevendor",l),4096&t[0]&&c!==(c=n[72].isNew)&&S(r,"gameisnew",c),4096&t[0]&&d!==(d=n[72].popularity)&&S(r,"gamepopularity",d),4096&t[0]&&u!==(u=n[72].cellSize)&&S(r,"gamecellsize",u),4096&t[0]&&h!==(h=n[72].id)&&S(r,"gameid",h),4096&t[0]&&p!==(p=n[72].hasFunMode)&&S(r,"gamefunmode",p),4096&t[0]&&m!==(m=n[72].isFavorite)&&S(r,"gamefavorite",m),8392704&t[0]&&g!==(g=1==n[23][n[72].id]?"connect":"disconnect")&&S(r,"connectlive",g),16777216&t[0]&&S(r,"visibilityconnect",n[24]),128&t[0]&&S(r,"currency",n[7]),4096&t[0]&&f!==(f=n[72].details?n[72].href:"")&&S(r,"livelobbyendpoint",f),32&t[0]&&S(r,"clientstyling",n[5]),64&t[0]&&S(r,"clientstylingurl",n[6]),1&t[0]&&S(r,"endpoint",n[0]),256&t[0]&&S(r,"livecasino",n[8]),y!==n[74]&&(w(),y=n[74],v())},d(e){e&&Q(r),w()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&Q(n)}}}function da(e){let n,r,i=e[26]("gamesCategorySection.searchedItems")+"";return{c(){n=ee("h3"),r=te(i),ie(n,"class","StatusText"),ie(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.searchedItems")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function ua(e){let n,r,i=e[26]("gamesCategorySection.noResults")+"";return{c(){n=ee("h3"),r=te(i),ie(n,"class","StatusText"),ie(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noResults")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function ha(e){let n,r,i=e[26]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=ee("h3"),r=te(i),ie(n,"class","StatusText"),ie(n,"part","StatusText")},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.recentSearchedItems")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function pa(e){let n;return{c(){n=ee("p"),n.textContent="Waiting",ie(n,"class","SearchWaiting"),ie(n,"part","SearchWaiting")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ma(t){let r,i,a=!t[18]&&ga(t),o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=fa(zi(t,o,e));return{c(){a&&a.c(),r=ne(),i=ee("ul");for(let e=0;e<s.length;e+=1)s[e].c();ie(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),ie(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),q(e,r,t),q(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[18]?a&&(a.d(1),a=null):a?a.p(t,n):(a=ga(t),a.c(),a.m(r.parentNode,r)),70143&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){const a=zi(t,o,e);s[e]?s[e].p(a,n):(s[e]=fa(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&Q(r),e&&Q(i),m(s,e)}}}function ga(e){let n,r,t,i,a=e[26]("gamesCategorySection.noRecentSearch")+"";return{c(){n=ee("p"),r=te(a),ie(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(zr(e[27])?"NoRecentSearchesMobile":"")),ie(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(zr(e[27])?"NoRecentSearchesMobile":""))},m(e,t){q(e,n,t),K(n,r)},p(e,t){67108864&t[0]&&a!==(a=e[26]("gamesCategorySection.noRecentSearch")+"")&&ae(r,a)},d(e){e&&Q(n)}}}function fa(e){let n,r,i,a,o,s,l,c,d,u,h,p,m;return{c(){n=ee("casino-game-thumbnail"),S(n,"class",r=""+(ba+(e[72].cellSize||"1x1"))),S(n,"part",i=""+(ba+(e[72].cellSize||"1x1"))),S(n,"session",e[2]),S(n,"userid",e[3]),S(n,"lang",e[1]),S(n,"searchitem",e[16]),S(n,"favorites",e[4]),S(n,"gamethumbnail",a=e[72].thumbnail),S(n,"gamename",o=e[72].name),S(n,"gamevendor",s=e[72].vendor.name),S(n,"gameisnew",l=e[72].isNew),S(n,"gamepopularity",c=e[72].popularity),S(n,"gamecellsize",d=e[72].cellSize),S(n,"gameid",u=e[72].id),S(n,"gamefunmode",h=e[72].hasFunMode),S(n,"gamefavorite",p=e[72].isFavorite),S(n,"currency",e[7]),S(n,"livelobbyendpoint",m=e[72].details?e[72].href:""),S(n,"clientstyling",e[5]),S(n,"clientstylingurl",e[6]),S(n,"endpoint",e[0]),S(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){4096&t[0]&&r!==(r=""+(ba+(e[72].cellSize||"1x1")))&&S(n,"class",r),4096&t[0]&&i!==(i=""+(ba+(e[72].cellSize||"1x1")))&&S(n,"part",i),4&t[0]&&S(n,"session",e[2]),8&t[0]&&S(n,"userid",e[3]),2&t[0]&&S(n,"lang",e[1]),65536&t[0]&&S(n,"searchitem",e[16]),16&t[0]&&S(n,"favorites",e[4]),4096&t[0]&&a!==(a=e[72].thumbnail)&&S(n,"gamethumbnail",a),4096&t[0]&&o!==(o=e[72].name)&&S(n,"gamename",o),4096&t[0]&&s!==(s=e[72].vendor.name)&&S(n,"gamevendor",s),4096&t[0]&&l!==(l=e[72].isNew)&&S(n,"gameisnew",l),4096&t[0]&&c!==(c=e[72].popularity)&&S(n,"gamepopularity",c),4096&t[0]&&d!==(d=e[72].cellSize)&&S(n,"gamecellsize",d),4096&t[0]&&u!==(u=e[72].id)&&S(n,"gameid",u),4096&t[0]&&h!==(h=e[72].hasFunMode)&&S(n,"gamefunmode",h),4096&t[0]&&p!==(p=e[72].isFavorite)&&S(n,"gamefavorite",p),128&t[0]&&S(n,"currency",e[7]),4096&t[0]&&m!==(m=e[72].details?e[72].href:"")&&S(n,"livelobbyendpoint",m),32&t[0]&&S(n,"clientstyling",e[5]),64&t[0]&&S(n,"clientstylingurl",e[6]),1&t[0]&&S(n,"endpoint",e[0]),256&t[0]&&S(n,"livecasino",e[8])},d(e){e&&Q(n)}}}function ya(e){let n;return{c(){n=ee("p"),n.textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function va(e){let n;return{c(){n=ee("p"),n.textContent="404 Error - No result found.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function wa(n){let r;function i(e){return e[10]?Wi:e[14]?ji:Yi}let a=i(n),o=a(n);return{c(){r=ee("div"),o.c(),this.c=Z,ie(r,"class","CasinoGamesCategorySectionContainer"),ie(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){q(e,r,t),o.m(r,null),n[46](r)},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:Z,o:Z,d(e){e&&Q(r),o.d(),n[46](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:18px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Bi,Ri,t,{session:46,userid:47,lang:48,clientstyling:49,clientstylingurl:50,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:51,searchitem:52,gamefavorite:0,showfavoredcategory:53,showgamename:8,currency:54,endpoint:55,livelobbyendpoint:56,connectlive:57,visibilityconnect:58,MONEY_WHEEL_COLOR_MAP:59,ROULETTE_COLOR_MAP:60},null,[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","currency","endpoint","livelobbyendpoint","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[46]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[47]}set userid(e){this.$$set({userid:e}),U()}get lang(){return this.$$.ctx[48]}set lang(e){this.$$set({lang:e}),U()}get clientstyling(){return this.$$.ctx[49]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[50]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),U()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),U()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),U()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),U()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),U()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),U()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),U()}get gamefunmode(){return this.$$.ctx[51]}set gamefunmode(e){this.$$set({gamefunmode:e}),U()}get searchitem(){return this.$$.ctx[52]}set searchitem(e){this.$$set({searchitem:e}),U()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),U()}get showfavoredcategory(){return this.$$.ctx[53]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),U()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$$set({showgamename:e}),U()}get currency(){return this.$$.ctx[54]}set currency(e){this.$$set({currency:e}),U()}get endpoint(){return this.$$.ctx[55]}set endpoint(e){this.$$set({endpoint:e}),U()}get livelobbyendpoint(){return this.$$.ctx[56]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),U()}get connectlive(){return this.$$.ctx[57]}set connectlive(e){this.$$set({connectlive:e}),U()}get visibilityconnect(){return this.$$.ctx[58]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),U()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[59]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[60]}});const ba="game-tile-";function xa(e,t,s){let n;Ee(e,Hr,e=>s(26,n=e));let i,r,a,o,l,c,d,u,h,p,{endpoint:m=""}=t,{datasource:g=""}=t,{lang:f=""}=t,{session:y=""}=t,{userid:v=""}=t,{favorites:w=""}=t,{clientstyling:b=""}=t,{clientstylingurl:x=""}=t,{currency:C=""}=t,{categoryid:S=""}=t,{categoryindex:F=0}=t,{categorygames:M=0}=t,{livecasino:_="false"}=t,{visiblegames:k=""}=t,{once:$=!0}=t,{top:E=0}=t,{bottom:T=0}=t,{left:L=0}=t,{right:I=0}=t,G=!1,P=!0,R=window.navigator.userAgent,A=[],D=!0,O=40,N=!1,B=!1,U=!1,H=!1,z=!1,Y=!0,j=!1,W=!1,V=!1,Z=new Array(1e4),X={},J="",K={items:[],count:0,name:""};Object.keys(ci).forEach(e=>{Cr(e,ci[e])}),void 0!==document.hidden?h="hidden":void 0!==document.msHidden?h="msHidden":void 0!==document.webkitHidden&&(h="webkitHidden");let q=new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>O&&te(S),s(23,X[t]=1,X)):s(23,X[t]=0,X)})});const Q=(e,r,i,t=0)=>{let a=new URL(`${m}/casino/groups/${g}/`+S),o=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",Yr(R)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",f),window.postMessage({type:"CategoryVendors",categoryid:S},window.location.href),o&&o[S])if(o[S].length&&!1===P&&!1===j){let t="";s(17,z=!0),o[S].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(17,z=!1);fetch(a).then(e=>e.json()).then(e=>{s(39,p=!0),s(10,G=!1),l=e.games.total,t(e)},e=>{s(10,G=!0),console.error(e),n(e)})})},ee=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(14,N=!1),P=!1,s(13,D=!1),W=!0,s(12,A=t.data.mostPlayedGames),s(11,a={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(14,N=!0),W=!1,s(15,B=!0),0<t.data.searchData.length?(s(12,A=t.data.searchData),s(18,Y=!0),A&&A.forEach(e=>{e.isFavorite=ne(e.id)})):(s(12,A=[]),s(18,Y=!1));break;case"OutOfRecentSearches":s(14,N=!1),s(15,B=!1);break;case"SearchData":s(14,N=!0),W=!1,s(15,B=!1),s(12,A=t.data.searchData.items||[]),s(16,H=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),A&&A.forEach(e=>{e.isFavorite=ne(e.id)});break;case"CategoryData_"+S:s(14,N=!1),P=!0,s(13,D=!0),s(16,H=!1),W=!1,V=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),Q(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(11,a=e),s(12,A=a.games.items),A&&A.forEach(e=>{e.isFavorite=ne(e.id)})});break;case"CategoryChange":O=20;break;case"CategoryUpdate":s(14,N=!1),P=!1,s(16,H=!1),W=!1,s(13,D=!1),V=!0,s(29,S=t.data.itemId),Q(0,0,O).then(e=>{s(11,a=e),a.games.items.forEach(e=>{e.isFavorite=ne(e.id)}),s(12,A=a.games.items),s(13,D=!1),A.length<10&&(U=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:U},window.location.href)},500))});break;case"FavoriteUpdate":W=!1,P=!0,s(12,A=a.games.items),A.forEach(e=>{e.isFavorite=ne(e.id)}),s(13,D=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items,j?P||W||window.postMessage({type:"CategoryUpdate",itemId:S},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(25,K.items=jr(e,K.items),K),s(25,K.name="Favorites",K),s(21,j=!0));break;case"UserSessionID":i=t.data.session,r=t.data.userID,"true"==w&&r&&r.length&&i&&0<i.length&&(e=>{let r={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(e,r).then(e=>e.json()).then(e=>{d=e?e.items:[],A.forEach(e=>{e.isFavorite=ne(e.id)});e=A;s(12,A=void 0),s(12,A=e),t(d)}).catch(e=>{console.error(e),n(e)})})})(`${m}/player/${r}/favorites/`)}},te=e=>{O+=1,O<=l&&Q(0,0,O).then(e=>{s(11,a=e),s(12,A=a.games.items),A.forEach(e=>{e.isFavorite=ne(e.id)})})},ne=t=>!!d&&-1!==d.findIndex(e=>e.id==t),re=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return Te(()=>(window.addEventListener("visibilitychange",e=>{document[h]?s(24,J="disconnect"):s(24,J="connect")}),window.addEventListener("message",ee,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ee),window.removeEventListener("visibilitychange",ee)})),e.$$set=e=>{"endpoint"in e&&s(0,m=e.endpoint),"datasource"in e&&s(30,g=e.datasource),"lang"in e&&s(1,f=e.lang),"session"in e&&s(2,y=e.session),"userid"in e&&s(3,v=e.userid),"favorites"in e&&s(4,w=e.favorites),"clientstyling"in e&&s(5,b=e.clientstyling),"clientstylingurl"in e&&s(6,x=e.clientstylingurl),"currency"in e&&s(7,C=e.currency),"categoryid"in e&&s(29,S=e.categoryid),"categoryindex"in e&&s(31,F=e.categoryindex),"categorygames"in e&&s(32,M=e.categorygames),"livecasino"in e&&s(8,_=e.livecasino),"visiblegames"in e&&s(33,k=e.visiblegames),"once"in e&&s(34,$=e.once),"top"in e&&s(35,E=e.top),"bottom"in e&&s(36,T=e.bottom),"left"in e&&s(37,L=e.left),"right"in e&&s(38,I=e.right)},e.$$.update=()=>{512&e.$$.dirty[0]|256&e.$$.dirty[1]&&p&&Z&&V&&Z.forEach((e,t)=>{e&&(e.elems_index=t,q.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&b&&(()=>{let e=document.createElement("style");e.innerHTML=b,setTimeout(()=>{u.appendChild(e)})})(),64&e.$$.dirty[0]&&x&&(()=>{let t=document.createElement("style");fetch(new URL(x)).then(e=>e.text()).then(e=>{t.innerHTML=e,u&&setTimeout(()=>{u.appendChild(t)},1)})})()},[m,f,y,v,w,b,x,C,_,Z,G,a,A,D,N,B,H,z,Y,o,c,j,u,X,J,K,n,R,re,S,g,F,M,k,$,E,T,L,I,p,function(e){Le[e?"unshift":"push"](()=>{c=e,s(20,c)})},e=>re(a.id,a),function(e,t){Le[e?"unshift":"push"](()=>{Z[t]=e,s(9,Z)})},function(e){Le[e?"unshift":"push"](()=>{o=e,s(19,o)})},function(e){Le[e?"unshift":"push"](()=>{c=e,s(20,c)})},function(e){Le[e?"unshift":"push"](()=>{o=e,s(19,o)})},function(e){Le[e?"unshift":"push"](()=>{u=e,s(22,u)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},xa,wa,t,{endpoint:0,datasource:30,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:29,categoryindex:31,categorygames:32,livecasino:8,visiblegames:33,once:34,top:35,bottom:36,left:37,right:38},null,[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categoryindex","categorygames","livecasino","visiblegames","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),U()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),U()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),U()}get categoryid(){return this.$$.ctx[29]}set categoryid(e){this.$$set({categoryid:e}),U()}get categoryindex(){return this.$$.ctx[31]}set categoryindex(e){this.$$set({categoryindex:e}),U()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$$set({categorygames:e}),U()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),U()}get visiblegames(){return this.$$.ctx[33]}set visiblegames(e){this.$$set({visiblegames:e}),U()}get once(){return this.$$.ctx[34]}set once(e){this.$$set({once:e}),U()}get top(){return this.$$.ctx[35]}set top(e){this.$$set({top:e}),U()}get bottom(){return this.$$.ctx[36]}set bottom(e){this.$$set({bottom:e}),U()}get left(){return this.$$.ctx[37]}set left(e){this.$$set({left:e}),U()}get right(){return this.$$.ctx[38]}set right(e){this.$$set({right:e}),U()}});const Ca={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}}};function Sa(e,t,n){const r=e.slice();return r[21]=t[n],r[23]=n,r}function Fa(n){let r,i,a,o,s,l,c,d=!n[4]&&Ma(n),u=n[4]&&ka(n);return{c(){r=ee("div"),i=ee("div"),a=ee("span"),a.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ne(),d&&d.c(),s=ne(),u&&u.c(),ie(a,"class","ModalCloseBtn"),ie(a,"part","ModalCloseBtn"),ie(a,"role","button"),ie(i,"class","ModalContainer"),ie(i,"part","ModalContainer"),ie(r,"class","ModalWindow"),ie(r,"part","ModalWindow")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),d&&d.m(i,null),K(i,s),u&&u.m(i,null),l||(c=re(a,"click",n[8]),l=!0)},p(e,t){e[4]?d&&(d.d(1),d=null):d?d.p(e,t):(d=Ma(e),d.c(),d.m(i,s)),e[4]?u?u.p(e,t):(u=ka(e),u.c(),u.m(i,null)):u&&(u.d(1),u=null)},d(e){e&&Q(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Ma(t){let n,r,i,a,o,s,e=t[5]("randomGame.randomGameLoading")+"",l=t[1],c=[];for(let e=0;e<l.length;e+=1)c[e]=_a(Sa(t,l,e));return{c(){n=ee("div"),r=ee("main"),i=ee("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ne(),o=ee("p"),s=te(e),ie(i,"class","items"),ie(i,"part","items"),k(i,"transform","translateY("+t[3]+"px)"),ie(r,"class","RandomGamesSliderWrapper"),ie(r,"part","RandomGamesSliderWrapper"),ie(o,"class","RandomGameLoading"),ie(o,"part","RandomGameLoading"),ie(n,"class","RandomGameWrapper"),ie(n,"part","RandomGameWrapper")},m(e,t){q(e,n,t),K(n,r),K(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);K(n,a),K(n,o),K(o,s)},p(t,n){if(2&n){let e;for(l=t[1],e=0;e<l.length;e+=1){var r=Sa(t,l,e);c[e]?c[e].p(r,n):(c[e]=_a(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}8&n&&k(i,"transform","translateY("+t[3]+"px)"),32&n&&e!==(e=t[5]("randomGame.randomGameLoading")+"")&&ae(s,e)},d(e){e&&Q(n),m(c,e)}}}function _a(e){let n,r,i,a,o,s;return{c(){n=ee("div"),r=ee("img"),s=ne(),ie(r,"class","RandomGameImage"),ie(r,"part","RandomGameImage"),J(r.src,i=e[21].thumbnail)||ie(r,"src",i),ie(r,"alt",a=e[21].name),ie(r,"title",o=e[21].name),ie(n,"class","item"),ie(n,"part","item")},m(e,t){q(e,n,t),K(n,r),K(n,s)},p(e,t){2&t&&!J(r.src,i=e[21].thumbnail)&&ie(r,"src",i),2&t&&a!==(a=e[21].name)&&ie(r,"alt",a),2&t&&o!==(o=e[21].name)&&ie(r,"title",o)},d(e){e&&Q(n)}}}function ka(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x,C,S=n[0].name+"",F=n[0].vendor.name+"",M=n[5]("randomGame.playNowRandomGame")+"";return{c(){r=ee("div"),i=ee("div"),a=ee("img"),c=ne(),d=ee("button"),d.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ne(),h=ee("div"),p=ee("p"),m=te(S),g=ne(),f=ee("p"),y=te(F),v=ne(),w=ee("button"),b=te(M),ie(a,"class","RandomGameImage"),ie(a,"part","RandomGameImage"),J(a.src,o=n[0].thumbnail)||ie(a,"src",o),ie(a,"alt",s=n[0].name),ie(a,"title",l=n[0].name),ie(d,"class","RandomTryAgain"),ie(d,"part","RandomTryAgain"),ie(i,"class","item"),ie(i,"part","item"),ie(p,"class","RandomGameTitle"),ie(p,"part","RandomGameTitle"),ie(f,"class","RandomGameVendor"),ie(f,"part","RandomGameVendor"),ie(w,"class","RandomGamePlay"),ie(w,"part","RandomGamePlay"),ie(h,"class","RandomGameDetails"),ie(h,"part","RandomGameDetails"),ie(r,"class","RandomGameWrapper"),ie(r,"part","RandomGameWrapper")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,c),K(i,d),K(r,u),K(r,h),K(h,p),K(p,m),K(h,g),K(h,f),K(f,y),K(h,v),K(h,w),K(w,b),x||(C=[re(d,"click",n[13]),re(w,"click",n[14])],x=!0)},p(e,t){1&t&&!J(a.src,o=e[0].thumbnail)&&ie(a,"src",o),1&t&&s!==(s=e[0].name)&&ie(a,"alt",s),1&t&&l!==(l=e[0].name)&&ie(a,"title",l),1&t&&S!==(S=e[0].name+"")&&ae(m,S),1&t&&F!==(F=e[0].vendor.name+"")&&ae(y,F),32&t&&M!==(M=e[5]("randomGame.playNowRandomGame")+"")&&ae(b,M)},d(e){e&&Q(r),x=!1,X(C)}}}function $a(n){let r,i,a,o,s,l,c,d,u,h,p,m=n[5]("randomGame.playRandomGame")+"",g=n[2]&&Fa(n);return{c(){r=ee("div"),i=ee("div"),g&&g.c(),a=ne(),o=ee("div"),s=ee("button"),l=ee("span"),c=te(m),d=ne(),u=ee("span"),u.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill-rule:evenodd;clip-rule:evenodd;fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M161,16.7c-2.7,0-5.5,0.5-8.1,1.6l-44.2,18.3C98.1,41,93,53.2,97.4,63.8l18.3,44.2 c4.4,10.6,16.6,15.7,27.2,11.3l44.2-18.3c10.6-4.4,15.7-16.6,11.3-27.2l-18.3-44.2C176.8,21.6,169.1,16.7,161,16.7L161,16.7z M161,25c4.9,0,9.4,2.9,11.4,7.8l18.3,44.2c2.7,6.5-0.3,13.7-6.8,16.3l-44.2,18.3c-6.5,2.7-13.7-0.3-16.3-6.8l-18.3-44.2 c-2.7-6.5,0.3-13.7,6.8-16.3L156.1,26C157.7,25.3,159.4,25,161,25L161,25z M127.1,54.2c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C130.3,54.8,128.7,54.2,127.1,54.2z M147.9,62.5c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C151.2,63.2,149.6,62.5,147.9,62.5z M168.8,70.8 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C172,71.5,170.4,70.8,168.8,70.8L168.8,70.8z M39,79.2c-8.1,0.1-15.8,4.9-19.1,12.9 L1.6,136.2c-4.4,10.6,0.7,22.8,11.3,27.2l44.2,18.3c10.6,4.4,22.8-0.7,27.2-11.3l18.3-44.2c4.4-10.6-0.7-22.8-11.3-27.2L47.1,80.8 C44.5,79.7,41.7,79.1,39,79.2L39,79.2z M39,87.5c1.6,0,3.3,0.3,4.9,1l44.2,18.3c6.5,2.7,9.4,9.9,6.8,16.3l-18.3,44.2 c-2.7,6.5-9.9,9.4-16.3,6.8l-44.2-18.3c-6.5-2.7-9.4-9.9-6.8-16.3l18.3-44.2C29.6,90.4,34.1,87.5,39,87.5L39,87.5z M44.7,99.4 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C47.9,100,46.3,99.4,44.7,99.4z M75.5,112.1c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4 c0-1.7-0.7-3.2-1.8-4.4C78.7,112.8,77.1,112.1,75.5,112.1z M36.7,118.6c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4 s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C39.9,119.3,38.3,118.6,36.7,118.6z M67.5,131.4c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C70.7,132,69.1,131.4,67.5,131.4z M28.7,137.9c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8 c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C32,138.5,30.4,137.9,28.7,137.9z M59.5,150.6 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C62.8,151.3,61.2,150.6,59.5,150.6z"></path></svg>',this.c=Z,ie(s,"class","RandomButton"),ie(s,"part","RandomButton"),ie(o,"class","RandomButtonWrapper"),ie(o,"part","RandomButtonWrapper"),ie(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),K(r,i),g&&g.m(i,null),K(i,a),K(i,o),K(o,s),K(s,l),K(l,c),K(s,d),K(s,u),h||(p=re(s,"click",n[15]),h=!0)},p(e,[t]){e[2]?g?g.p(e,t):(g=Fa(e),g.c(),g.m(i,a)):g&&(g.d(1),g=null),32&t&&m!==(m=e[5]("randomGame.playRandomGame")+"")&&ae(c,m)},i:Z,o:Z,d(e){e&&Q(r),g&&g.d(),h=!1,p()}}}function Ea(t,e,n){let r;Ee(t,Hr,e=>n(5,r=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,c=[],d="",u=!1,h=0,p=0,m=!1,g=window.navigator.userAgent;Object.keys(Ca).forEach(e=>{Cr(e,Ca[e])});const f=()=>{n(3,h=0),p=0,n(4,m=!1),n(0,d=c[Math.floor(Math.random()*c.length)]),n(2,u=!0);let e=setInterval(()=>{n(3,h-=100),p++,20==p&&(n(4,m=!0),clearInterval(e))},100)},y=()=>{window.postMessage({type:s,gameId:d.gId},window.location.href),n(2,u=!1)};return t.$$set=e=>{"endpoint"in e&&n(9,a=e.endpoint),"datasource"in e&&n(10,o=e.datasource),"gameevent"in e&&n(11,s=e.gameevent),"lang"in e&&n(12,l=e.lang)},t.$$.update=()=>{var e;4096&t.$$.dirty&&l&&(e=l,Ir.set(e)),1536&t.$$.dirty&&a&&o&&(()=>{let e=new URL(a+"/casino/games");e.searchParams.append("platform",Yr(g)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{c=e.items,n(1,i=c.slice(0,19))})})()},[d,i,u,h,m,r,f,y,()=>{n(2,u=!1)},a,o,s,l,()=>f(),()=>y(),()=>f()]}function Ta(e,t,n){const r=e.slice();return r[119]=t[n],r[121]=n,r}function La(n){let r,i,a,o,s,l="PC"!==Yr(n[41])&&"false"===n[10]&&n[37],c=l&&Ga();function d(e){return"false"===e[10]?Ra:Pa}let u=d(n),h=u(n),p="true"==n[15]&&Xa(n);function m(e){return e[18]?to:e[25]?eo:e[28]?Qa:e[23]?qa:e[29]?Ka:e[24]?void 0:Ja}let g=m(n),f=g&&g(n),y=n[20]&&"true"===n[13]&&ao(n);return{c(){r=ee("section"),c&&c.c(),i=ne(),h.c(),a=ne(),p&&p.c(),o=ne(),f&&f.c(),s=ne(),y&&y.c(),ie(r,"class","CategoriesLobby"),ie(r,"part","CategoriesLobby"),k(r,"max-width",n[12]+"px")},m(e,t){q(e,r,t),c&&c.m(r,null),K(r,i),h.m(r,null),K(r,a),p&&p.m(r,null),K(r,o),f&&f.m(r,null),K(r,s),y&&y.m(r,null),n[71](r)},p(e,t){1024&t[0]|64&t[1]&&(l="PC"!==Yr(e[41])&&"false"===e[10]&&e[37]),l?c||(c=Ga(),c.c(),c.m(r,i)):c&&(c.d(1),c=null),u===(u=d(e))&&h?h.p(e,t):(h.d(1),h=u(e),h&&(h.c(),h.m(r,a))),"true"==e[15]?p?p.p(e,t):(p=Xa(e),p.c(),p.m(r,o)):p&&(p.d(1),p=null),g===(g=m(e))&&f?f.p(e,t):(f&&f.d(1),f=g&&g(e),f&&(f.c(),f.m(r,s))),e[20]&&"true"===e[13]?y?y.p(e,t):(y=ao(e),y.c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&k(r,"max-width",e[12]+"px")},d(e){e&&Q(r),c&&c.d(),h.d(),p&&p.d(),f&&f.d(),y&&y.d(),n[71](null)}}}function Ia(e){let n,r,i=e[40]("casinoPage.500")+"";return{c(){n=ee("p"),r=te(i),ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t),K(n,r)},p(e,t){512&t[1]&&i!==(i=e[40]("casinoPage.500")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function Ga(){let n;return{c(){n=ee("div"),ie(n,"class","SearchBarPlaceholder"),ie(n,"part","SearchBarPlaceholder")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Pa(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b=n[40]("casinoPage.searchGames")+"",x="PC"===Yr(n[41])&&n[16].length||"PC"!==Yr(n[41]),C=!n[37]&&Aa(),S=x&&Da(n),F=!n[23]&&!n[28]&&!n[37]&&!n[29]&&!n[24]&&!n[27]&&!n[25]&&!n[26]&&Oa(n);return{c(){r=ee("div"),i=ee("div"),a=ee("label"),o=te(b),s=ne(),l=ee("div"),C&&C.c(),c=ne(),d=ee("input"),h=ne(),S&&S.c(),g=ne(),F&&F.c(),ie(a,"for","search"),ie(a,"class","SrOnly"),ie(a,"part","SrOnly"),ie(d,"id","SearchField"),ie(d,"class","SearchInput"),ie(d,"part","SearchInput"),ie(d,"placeholder",u="PC"===Yr(n[41])?n[40]("casinoPage.search"):n[40]("casinoPage.searchMobile")),ie(d,"type","search"),ie(l,"class","SearchWrapper"),ie(l,"part","SearchWrapper"),ie(i,"class",p="SearchContainer "+(n[28]||n[23]||n[29]||n[26]?"":"SearchTruncated")),ie(i,"part",m="SearchContainer "+(n[28]||n[23]||n[29]||n[26]?"":"SearchTruncated")),ie(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Yr(n[41])?"CategoriesHeaderMobileSection":"")+" "+(n[37]?"SearchMobileActive":"")+" "+(n[37]||n[25]&&"PC"!==Yr(n[41])&&!so?"CategoriesHeaderSearchActive":"")+(n[31]&&n[37]?"SearchStickTop":"")),ie(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Yr(n[41])?"CategoriesHeaderMobileSection":"")+" "+(n[37]?"SearchMobileActive":"")+" "+(n[37]||n[25]&&"PC"!==Yr(n[41])&&!so?"CategoriesHeaderSearchActive":"")+(n[31]&&n[37]?"SearchStickTop":"")),k(r,"top",n[31]&&n[37]?lo+"px":"")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),K(i,s),K(i,l),C&&C.m(l,null),K(l,c),K(l,d),n[64](d),M(d,n[16]),K(l,h),S&&S.m(l,null),K(r,g),F&&F.m(r,null),n[69](r),v||(w=[re(d,"focus",n[43]),re(d,"blur",n[44]),re(d,"input",n[65]),re(d,"focus",n[45])],v=!0)},p(e,t){512&t[1]&&b!==(b=e[40]("casinoPage.searchGames")+"")&&ae(o,b),e[37]?C&&(C.d(1),C=null):C||(C=Aa(),C.c(),C.m(l,c)),512&t[1]&&u!==(u="PC"===Yr(e[41])?e[40]("casinoPage.search"):e[40]("casinoPage.searchMobile"))&&ie(d,"placeholder",u),65536&t[0]&&M(d,e[16]),65536&t[0]&&(x="PC"===Yr(e[41])&&e[16].length||"PC"!==Yr(e[41])),x?S?S.p(e,t):(S=Da(e),S.c(),S.m(l,null)):S&&(S.d(1),S=null),880803840&t[0]&&p!==(p="SearchContainer "+(e[28]||e[23]||e[29]||e[26]?"":"SearchTruncated"))&&ie(i,"class",p),880803840&t[0]&&m!==(m="SearchContainer "+(e[28]||e[23]||e[29]||e[26]?"":"SearchTruncated"))&&ie(i,"part",m),e[23]||e[28]||e[37]||e[29]||e[24]||e[27]||e[25]||e[26]?F&&(F.d(1),F=null):F?F.p(e,t):(F=Oa(e),F.c(),F.m(r,null)),33554432&t[0]|65&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Yr(e[41])?"CategoriesHeaderMobileSection":"")+" "+(e[37]?"SearchMobileActive":"")+" "+(e[37]||e[25]&&"PC"!==Yr(e[41])&&!so?"CategoriesHeaderSearchActive":"")+(e[31]&&e[37]?"SearchStickTop":""))&&ie(r,"class",f),33554432&t[0]|65&t[1]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Yr(e[41])?"CategoriesHeaderMobileSection":"")+" "+(e[37]?"SearchMobileActive":"")+" "+(e[37]||e[25]&&"PC"!==Yr(e[41])&&!so?"CategoriesHeaderSearchActive":"")+(e[31]&&e[37]?"SearchStickTop":""))&&ie(r,"part",y),65&t[1]&&k(r,"top",e[31]&&e[37]?lo+"px":"")},d(e){e&&Q(r),C&&C.d(),n[64](null),S&&S.d(),F&&F.d(),n[69](null),v=!1,X(w)}}}function Ra(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b=n[40]("casinoPage.searchGames")+"",x="PC"===Yr(n[41])&&n[16].length||"PC"!==Yr(n[41]),C=!n[37]&&za(),S=x&&Ya(n),F=!n[23]&&!n[28]&&!n[37]&&!n[29]&&!n[24]&&!n[25]&&!n[27]&&!n[26]&&ja(n);return{c(){r=ee("div"),i=ee("div"),a=ee("label"),o=te(b),s=ne(),l=ee("div"),C&&C.c(),c=ne(),d=ee("input"),h=ne(),S&&S.c(),g=ne(),F&&F.c(),ie(a,"for","search"),ie(a,"class","SrOnly"),ie(a,"part","SrOnly"),ie(d,"id","SearchField"),ie(d,"class","SearchInput"),ie(d,"part","SearchInput"),ie(d,"placeholder",u="PC"===Yr(n[41])?n[40]("casinoPage.search"):n[40]("casinoPage.searchMobile")),ie(d,"type","search"),ie(l,"class","SearchWrapper"),ie(l,"part","SearchWrapper"),ie(i,"class",p="SearchContainer "+(n[28]||n[23]||n[29]||n[26]?"":"SearchTruncated")),ie(i,"part",m="SearchContainer "+(n[28]||n[23]||n[29]||n[26]?"":"SearchTruncated")),ie(r,"class",f="CategoriesHeaderSection "+("PC"!==Yr(n[41])?"CategoriesHeaderMobileSection":"")+" "+(n[37]?"SearchMobileActive":"")+" "+(n[37]||n[25]&&"PC"!==Yr(n[41])&&!so?"CategoriesHeaderSearchActive":"")+" "+(n[31]&&n[37]?"SearchStickTop":"")),k(r,"top",n[31]&&n[37]?lo+"px":""),ie(r,"part",y="CategoriesHeaderSection "+("PC"!==Yr(n[41])?"CategoriesHeaderMobileSection":"")+" "+(n[37]?"SearchMobileActive":"")+" "+(n[37]||n[25]&&"PC"!==Yr(n[41])&&!so?"CategoriesHeaderSearchActive":"")+" "+(n[31]&&n[37]?"SearchStickTop":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),K(i,s),K(i,l),C&&C.m(l,null),K(l,c),K(l,d),n[58](d),M(d,n[16]),K(l,h),S&&S.m(l,null),K(r,g),F&&F.m(r,null),n[63](r),v||(w=[re(d,"focus",n[43]),re(d,"blur",n[44]),re(d,"input",n[59]),re(d,"focus",n[45])],v=!0)},p(e,t){512&t[1]&&b!==(b=e[40]("casinoPage.searchGames")+"")&&ae(o,b),e[37]?C&&(C.d(1),C=null):C||(C=za(),C.c(),C.m(l,c)),512&t[1]&&u!==(u="PC"===Yr(e[41])?e[40]("casinoPage.search"):e[40]("casinoPage.searchMobile"))&&ie(d,"placeholder",u),65536&t[0]&&M(d,e[16]),65536&t[0]&&(x="PC"===Yr(e[41])&&e[16].length||"PC"!==Yr(e[41])),x?S?S.p(e,t):(S=Ya(e),S.c(),S.m(l,null)):S&&(S.d(1),S=null),880803840&t[0]&&p!==(p="SearchContainer "+(e[28]||e[23]||e[29]||e[26]?"":"SearchTruncated"))&&ie(i,"class",p),880803840&t[0]&&m!==(m="SearchContainer "+(e[28]||e[23]||e[29]||e[26]?"":"SearchTruncated"))&&ie(i,"part",m),e[23]||e[28]||e[37]||e[29]||e[24]||e[25]||e[27]||e[26]?F&&(F.d(1),F=null):F?F.p(e,t):(F=ja(e),F.c(),F.m(r,null)),33554432&t[0]|65&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==Yr(e[41])?"CategoriesHeaderMobileSection":"")+" "+(e[37]?"SearchMobileActive":"")+" "+(e[37]||e[25]&&"PC"!==Yr(e[41])&&!so?"CategoriesHeaderSearchActive":"")+" "+(e[31]&&e[37]?"SearchStickTop":""))&&ie(r,"class",f),65&t[1]&&k(r,"top",e[31]&&e[37]?lo+"px":""),33554432&t[0]|65&t[1]&&y!==(y="CategoriesHeaderSection "+("PC"!==Yr(e[41])?"CategoriesHeaderMobileSection":"")+" "+(e[37]?"SearchMobileActive":"")+" "+(e[37]||e[25]&&"PC"!==Yr(e[41])&&!so?"CategoriesHeaderSearchActive":"")+" "+(e[31]&&e[37]?"SearchStickTop":""))&&ie(r,"part",y)},d(e){e&&Q(r),C&&C.d(),n[58](null),S&&S.d(),F&&F.d(),n[63](null),v=!1,X(w)}}}function Aa(){let n;return{c(){n=ee("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',ie(n,"class","SearchIcon"),ie(n,"part","SearchWrapper")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Da(n){let r,i,a,o;return{c(){r=ee("span"),i=ee("div"),i.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',ie(i,"class","CloseIconContainer"),ie(i,"part","CloseIconContainer"),ie(r,"class","PC"===Yr(n[41])?"ClearSearchButton":"ClearSearchButtonMobile"),ie(r,"part","PC"===Yr(n[41])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),K(r,i),a||(o=re(r,"click",n[66]),a=!0)},p:Z,d(e){e&&Q(r),a=!1,o()}}}function Oa(e){let n,r,i=e[38]&&Na(e),a=(!e[25]||!e[24])&&Ba(e);return{c(){n=ee("div"),i&&i.c(),r=ne(),a&&a.c(),ie(n,"class","FiltersButtonsContainer"),ie(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),K(n,r),a&&a.m(n,null)},p(e,t){e[38]?i?i.p(e,t):(i=Na(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[25]&&e[24]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Ba(e),a.c(),a.m(n,null))},d(e){e&&Q(n),i&&i.d(),a&&a.d()}}}function Na(n){let r,i,a,o,s,l,c,d,u,h=n[40]("casinoPage.clear")+"";return{c(){r=ee("div"),i=ee("div"),a=te(h),o=ne(),s=ee("span"),s.innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',ie(s,"class","ClearIcon"),ie(s,"part","ClearIcon"),ie(i,"class","ClearButton"),ie(i,"part","ClearButton"),ie(r,"class",l="ClearFilterButtonWrapper "+(n[38]?"FiltersActive":"")),ie(r,"part",c="ClearFilterButtonWrapper "+(n[38]?"FiltersActive":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),d||(u=re(r,"click",n[67]),d=!0)},p(e,t){512&t[1]&&h!==(h=e[40]("casinoPage.clear")+"")&&ae(a,h),128&t[1]&&l!==(l="ClearFilterButtonWrapper "+(e[38]?"FiltersActive":""))&&ie(r,"class",l),128&t[1]&&c!==(c="ClearFilterButtonWrapper "+(e[38]?"FiltersActive":""))&&ie(r,"part",c)},d(e){e&&Q(r),d=!1,u()}}}function Ba(e){let n,r=!e[29]&&Ua(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[29]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Ua(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&Q(n)}}}function Ua(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f=n[40]("casinoPage.filters")+"",y=0<n[38]&&Ha(n);return{c(){r=ee("div"),i=ee("div"),a=te(f),o=ne(),s=ee("div"),l=C("svg"),c=C("defs"),d=C("style"),u=te(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=C("path"),p=ne(),y&&y.c(),ie(i,"class","FilterButton"),ie(i,"part","FilterButton"),ie(h,"class","a"),ie(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),ie(h,"transform","translate(-5 -6.2)"),ie(l,"xmlns","http://www.w3.org/2000/svg"),ie(l,"width","20"),ie(l,"height","20"),ie(l,"viewBox","0 0 26 26"),ie(s,"class","FilterIconContainer"),ie(s,"part","FilterIconContainer"),ie(r,"class","FilterButtonWrapper"),ie(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(r,o),K(r,s),K(s,l),K(l,c),K(c,d),K(d,u),K(l,h),K(s,p),y&&y.m(s,null),m||(g=re(r,"click",n[68]),m=!0)},p(e,t){512&t[1]&&f!==(f=e[40]("casinoPage.filters")+"")&&ae(a,f),0<e[38]?y?y.p(e,t):(y=Ha(e),y.c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&Q(r),y&&y.d(),m=!1,g()}}}function Ha(e){let n,r,i;return{c(){n=ee("div"),r=ee("span"),i=te(e[38]),ie(r,"class","NumberOfFilters"),ie(r,"part","NumberOfFilters"),ie(n,"class","NumberOfFiltersContainer"),ie(n,"part","NumberOfFiltersContainer")},m(e,t){q(e,n,t),K(n,r),K(r,i)},p(e,t){128&t[1]&&ae(i,e[38])},d(e){e&&Q(n)}}}function za(){let n;return{c(){n=ee("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',ie(n,"class","SearchIcon"),ie(n,"part","SearchIcon")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Ya(n){let r,i,a,o;return{c(){r=ee("span"),i=ee("div"),i.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',ie(i,"class","CloseIconContainer"),ie(i,"part","CloseIconContainer"),ie(r,"class","PC"===Yr(n[41])?"ClearSearchButton":"ClearSearchButtonMobile"),ie(r,"part","PC"===Yr(n[41])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),K(r,i),a||(o=re(r,"click",n[60]),a=!0)},p:Z,d(e){e&&Q(r),a=!1,o()}}}function ja(e){let n,r,i=e[38]&&Wa(e),a=(!e[25]||!e[24])&&Va(e);return{c(){n=ee("div"),i&&i.c(),r=ne(),a&&a.c(),ie(n,"class","FiltersButtonsContainer"),ie(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),K(n,r),a&&a.m(n,null)},p(e,t){e[38]?i?i.p(e,t):(i=Wa(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[25]&&e[24]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Va(e),a.c(),a.m(n,null))},d(e){e&&Q(n),i&&i.d(),a&&a.d()}}}function Wa(n){let r,i,a,o,s,l,c,d=n[40]("casinoPage.clear")+"";return{c(){r=ee("div"),i=ee("div"),a=te(d),o=ne(),s=ee("span"),s.innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',ie(s,"class","ClearIcon"),ie(s,"part","ClearIcon"),ie(i,"class","ClearButton"),ie(i,"part","ClearButton"),ie(r,"class","ClearFilterButtonWrapper"),ie(r,"part","ClearFilterButtonWrapper")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),l||(c=re(r,"click",n[61]),l=!0)},p(e,t){512&t[1]&&d!==(d=e[40]("casinoPage.clear")+"")&&ae(a,d)},d(e){e&&Q(r),l=!1,c()}}}function Va(e){let n,r=!e[29]&&Za(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[29]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Za(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&Q(n)}}}function Za(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w=n[40]("casinoPage.filters")+"";return{c(){r=ee("div"),i=ee("div"),a=te(w),o=ne(),s=ee("div"),l=C("svg"),c=C("defs"),d=C("style"),u=te(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=C("path"),p=ne(),m=ee("div"),g=ee("span"),f=te(n[38]),ie(i,"class","FilterButton"),ie(i,"part","FilterButton"),ie(h,"class","a"),ie(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),ie(h,"transform","translate(-5 -6.2)"),ie(l,"xmlns","http://www.w3.org/2000/svg"),ie(l,"width","20"),ie(l,"height","20"),ie(l,"viewBox","0 0 26 26"),ie(g,"class","NumberOfFilters"),ie(g,"part","NumberOfFilters"),ie(m,"class","NumberOfFiltersContainer"),ie(m,"part","NumberOfFiltersContainer"),ie(s,"class","FilterIconContainer"),ie(s,"part","FilterIconContainer"),ie(r,"class","FilterButtonWrapper"),ie(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(r,o),K(r,s),K(s,l),K(l,c),K(c,d),K(d,u),K(l,h),K(s,p),K(s,m),K(m,g),K(g,f),y||(v=re(r,"click",n[62]),y=!0)},p(e,t){512&t[1]&&w!==(w=e[40]("casinoPage.filters")+"")&&ae(a,w),128&t[1]&&ae(f,e[38])},d(e){e&&Q(r),y=!1,v()}}}function Xa(e){let n;return{c(){n=ee("casino-random-game"),S(n,"datasource",e[1]),S(n,"endpoint",e[0]),S(n,"lang",e[3]),S(n,"gameevent",e[17])},m(e,t){q(e,n,t)},p(e,t){2&t[0]&&S(n,"datasource",e[1]),1&t[0]&&S(n,"endpoint",e[0]),8&t[0]&&S(n,"lang",e[3]),131072&t[0]&&S(n,"gameevent",e[17])},d(e){e&&Q(n)}}}function Ja(e){let n;return{c(){n=ee("casino-games-category-section"),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"favorites",e[11]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"session",e[4]),S(n,"categoryid",e[34]),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[14]),S(n,"visiblegames",e[9])},m(e,t){q(e,n,t)},p(e,t){32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),2048&t[0]&&S(n,"favorites",e[11]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),16&t[0]&&S(n,"session",e[4]),8&t[1]&&S(n,"categoryid",e[34]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),16384&t[0]&&S(n,"livecasino",e[14]),512&t[0]&&S(n,"visiblegames",e[9])},d(e){e&&Q(n)}}}function Ka(e){let n;function r(e){return e[30]?ro:no}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function qa(n){let r,i,a,o;return{c(){r=ee("casino-games-category-section"),S(r,"session",n[4]),S(r,"userid",n[5]),S(r,"endpoint",n[0]),S(r,"datasource",n[1]),S(r,"lang",n[3]),S(r,"currency",n[2]),S(r,"favorites",n[11]),S(r,"categoryid","FAVORITES"),S(r,"class","CategoryContainer"),S(r,"clientstyling",n[6]),S(r,"clientstylingurl",n[7]),S(r,"livecasino",n[14]),S(r,"visiblegames",n[9])},m(e,t){q(e,r,t),a||(o=l(i=n[42].call(null,r,(n[0],n[21],n[22],n[21]))),a=!0)},p(e,t){16&t[0]&&S(r,"session",e[4]),32&t[0]&&S(r,"userid",e[5]),1&t[0]&&S(r,"endpoint",e[0]),2&t[0]&&S(r,"datasource",e[1]),8&t[0]&&S(r,"lang",e[3]),4&t[0]&&S(r,"currency",e[2]),2048&t[0]&&S(r,"favorites",e[11]),64&t[0]&&S(r,"clientstyling",e[6]),128&t[0]&&S(r,"clientstylingurl",e[7]),16384&t[0]&&S(r,"livecasino",e[14]),512&t[0]&&S(r,"visiblegames",e[9]),i&&f(i.update)&&6291457&t[0]&&i.update.call(null,(e[0],e[21],e[22],e[21]))},d(e){e&&Q(r),a=!1,o()}}}function Qa(t){let i,a=t[33],o=[];for(let e=0;e<a.length;e+=1)o[e]=io(Ta(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(19455&n[0]|4&n[1]){let e;for(a=t[33],e=0;e<a.length;e+=1){var r=Ta(t,a,e);o[e]?o[e].p(r,n):(o[e]=io(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){m(o,e),e&&Q(i)}}}function eo(n){let r,i,a,o;return{c(){r=ee("casino-games-category-section"),S(r,"endpoint",n[0]),S(r,"datasource",n[1]),S(r,"lang",n[3]),S(r,"currency",n[2]),S(r,"session",n[4]),S(r,"userid",n[5]),S(r,"categoryid","Search"),S(r,"favorites",n[11]),S(r,"categoryindex","0"),S(r,"class","CategoryContainer"),S(r,"clientstyling",n[6]),S(r,"clientstylingurl",n[7]),S(r,"livecasino",n[14]),S(r,"visiblegames",n[9])},m(e,t){q(e,r,t),a||(o=l(i=n[50].call(null,r,n[32])),a=!0)},p(e,t){1&t[0]&&S(r,"endpoint",e[0]),2&t[0]&&S(r,"datasource",e[1]),8&t[0]&&S(r,"lang",e[3]),4&t[0]&&S(r,"currency",e[2]),16&t[0]&&S(r,"session",e[4]),32&t[0]&&S(r,"userid",e[5]),2048&t[0]&&S(r,"favorites",e[11]),64&t[0]&&S(r,"clientstyling",e[6]),128&t[0]&&S(r,"clientstylingurl",e[7]),16384&t[0]&&S(r,"livecasino",e[14]),512&t[0]&&S(r,"visiblegames",e[9]),i&&f(i.update)&&2&t[1]&&i.update.call(null,e[32])},d(e){e&&Q(r),a=!1,o()}}}function to(e){let n,r,i=e[40]("casinoPage.loading")+"";return{c(){n=ee("p"),r=te(i),ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t),K(n,r)},p(e,t){512&t[1]&&i!==(i=e[40]("casinoPage.loading")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function no(e){let n;return{c(){n=ee("casino-games-category-section"),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[11]),S(n,"categoryid","MOSTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[14]),S(n,"visiblegames",e[9])},m(e,t){q(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),2048&t[0]&&S(n,"favorites",e[11]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),16384&t[0]&&S(n,"livecasino",e[14]),512&t[0]&&S(n,"visiblegames",e[9])},d(e){e&&Q(n)}}}function ro(e){let n,r,i=e[40]("casinoPage.noGamesPlayed")+"";return{c(){n=ee("p"),r=te(i),ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t),K(n,r)},p(e,t){512&t[1]&&i!==(i=e[40]("casinoPage.noGamesPlayed")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function io(n){let r,i,e,a,o,s;return{c(){r=ee("casino-games-category-section"),S(r,"session",n[4]),S(r,"userid",n[5]),S(r,"endpoint",n[0]),S(r,"datasource",n[1]),S(r,"lang",n[3]),S(r,"currency",n[2]),S(r,"categoryid",i=n[119]),S(r,"categoryindex",e=n[121]),S(r,"categorygames","9"),S(r,"favorites",n[11]),S(r,"class","CategoryContainer"),k(r,"background-color",n[121]%2!=0?n[8]:"transparent"),S(r,"clientstyling",n[6]),S(r,"clientstylingurl",n[7]),S(r,"livecasino",n[14]),S(r,"visiblegames",n[9])},m(e,t){q(e,r,t),o||(s=l(a=n[49].call(null,r,n[119])),o=!0)},p(e,t){n=e,16&t[0]&&S(r,"session",n[4]),32&t[0]&&S(r,"userid",n[5]),1&t[0]&&S(r,"endpoint",n[0]),2&t[0]&&S(r,"datasource",n[1]),8&t[0]&&S(r,"lang",n[3]),4&t[0]&&S(r,"currency",n[2]),4&t[1]&&i!==(i=n[119])&&S(r,"categoryid",i),2048&t[0]&&S(r,"favorites",n[11]),256&t[0]&&k(r,"background-color",n[121]%2!=0?n[8]:"transparent"),64&t[0]&&S(r,"clientstyling",n[6]),128&t[0]&&S(r,"clientstylingurl",n[7]),16384&t[0]&&S(r,"livecasino",n[14]),512&t[0]&&S(r,"visiblegames",n[9]),a&&f(a.update)&&4&t[1]&&a.update.call(null,n[119])},d(e){e&&Q(r),o=!1,s()}}}function ao(n){let r,i,a,o,s,l,c,d,u,h,e,t,p,m,g=n[40]("casinoPage.break")+"",f=n[40]("casinoPage.breakButton")+"";return{c(){r=ee("div"),i=ee("div"),a=C("svg"),o=C("path"),s=ne(),l=ee("p"),c=te(g),d=ne(),u=ee("button"),h=te(f),ie(o,"stroke-linecap","round"),ie(o,"stroke-linejoin","round"),ie(o,"stroke-width","2"),ie(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),ie(a,"class","w-1 h-1"),ie(a,"part","w-1 h-1"),ie(a,"fill","none"),ie(a,"stroke","white"),ie(a,"width","34px"),ie(a,"height","34px"),ie(a,"viewBox","0 0 24 24"),ie(a,"xmlns","http://www.w3.org/2000/svg"),ie(i,"class","PanicText"),ie(i,"part","PanicText"),ie(u,"class","PanicButton"),ie(u,"part","PanicButton"),ie(r,"class",e="PanicSection "+("PC"!==Yr(n[41])?"PanicSectionMobile":"")),ie(r,"part",t="PanicSection "+("PC"!==Yr(n[41])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),K(i,s),K(i,l),K(l,c),K(r,d),K(r,u),K(u,h),p||(m=re(u,"click",n[70]),p=!0)},p(e,t){512&t[1]&&g!==(g=e[40]("casinoPage.break")+"")&&ae(c,g),512&t[1]&&f!==(f=e[40]("casinoPage.breakButton")+"")&&ae(h,f)},d(e){e&&Q(r),p=!1,m()}}}function oo(e){let n;function r(e){return e[19]?Ia:La}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&Q(n)}}}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px)}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}.RandomButtonWrapper .RandomButton svg{width:35px;height:35px}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Ea,$a,t,{endpoint:9,datasource:10,gameevent:11,lang:12},null),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang"]}get endpoint(){return this.$$.ctx[9]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[10]}set datasource(e){this.$$set({datasource:e}),U()}get gameevent(){return this.$$.ctx[11]}set gameevent(e){this.$$set({gameevent:e}),U()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),U()}});let so=!1;const lo=0;function co(e,t,a){let n;Ee(e,Hr,e=>a(40,n=e));let r,{endpoint:o=""}=t,{datasource:s=""}=t,{currency:i=""}=t,{lang:l=""}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{categorybackground:p=""}=t,m=t["visiblegames"],{alternativesearch:g="false"}=t,{favorites:f=""}=t,{mostplayed:y=""}=t,{containermaxwidth:v="1300"}=t,{lobbyid:w="casinodefault"}=t,{haspanicbutton:b="false"}=t,{mostplayedrounds:x=""}=t,{activecategory:C=""}=t,{livecasino:S="false"}=t,{playrandomgame:F="false"}=t,M=window.navigator.userAgent;r=zr(M)?"OpenGameFrame":"ShowGameModal";let _,k,$,E,T,L,I,G,P,R,A,D,O=!1,N=!1,B=!1,U="",H=!1,z=!1,Y=!0,j=!1,W=!1,V=!1,Z=!1,X=!0,J=!1,K=!1,q=!1,Q=!0,ee=[],te="",ne,re,ie=[],ae=!1,oe=[],se=0,le="",ce=!1;var de,ue;({withLocale:de,translations:ue}={withLocale:"en",translations:{}}),Ir.subscribe(e=>{null==e&&(br.set(ue),Ir.set(de))}),Object.keys(li).forEach(e=>{Cr(e,li[e])});const he=e=>{if(e.data)switch(e.data.type){case"UserSessionID":a(22,k=e.data.session),a(21,_=e.data.userID),_&&_.length&&k&&0<k.length&&pe(o,k,_);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":n=`${o}/player/${_}/favorites`,r=k,_,i=e.data.id,e.data.triggerFactor,ie.includes(i)&&(ie=ie.filter(e=>e!=i)),fetch(n+"/"+i,{method:"DELETE",headers:{"X-SessionID":r}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+i},window.location.href),me(n,r)});break;case"SetFavoredGame":((t,n,r)=>{ie.includes(r)||ie.push(r);let e={items:ie},i={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t,i).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),me(t,n)}).catch(e=>{console.error("Err",e)})})(`${o}/player/${_}/favorites`,k,(_,e.data.id),e.data.triggerFactor);break;case"GetFavoredGame":_&&_.length&&k&&0<k.length&&pe(o,k,_);break;case"SearchedItemClicked":(t=>{if(oe=ye(`searchedGamesWds_${w}`),oe=oe?oe.split(","):[],-1===oe.indexOf(t)){let e;oe.push(t),e=oe.join(","),document.cookie=`searchedGamesWds_${w}=`+e}})(e.data.gameId);break;case"UpdateFilters":t=e.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),be();break;case"ClearFilters":t=e.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:t},window.location.href),be();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:le},window.location.href),be();break;case"CategoryVendors":le=e.data.categoryid,be();break;case"GameHovered":W=!0;break;case"GameBlur":W=!1}var t,n,r,i};let pe=(e,t,n)=>{"true"==f&&c&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(P=e,P&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:P},window.location.href),ge(P.items)),P)).then(e=>(H&&fe(),e)).catch(e=>{console.error(e)})},me=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(P=e,H&&fe(),P&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:P},window.location.href),P)).catch(e=>{console.error(e)})};const ge=(e=[])=>(ie=[],0<e.length&&e.forEach(e=>{ie.push(e.id)}),ie);const fe=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:P},window.location.href)},ye=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},ve=()=>{if(o&&s&&l&&(a(27,Z=!0),te.length<2)){let e=ye("searchedGamesWds_"+w),t=[];e&&(t=e.split(",")),1!=X||Y||(a(26,V=X),a(28,X=!1));let n=[],r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(o+"/casino/games/"+t[r]);e.searchParams.append("language",l),e.searchParams.append("datasource",s),e.searchParams.append("platform",Yr(M)),n.push((e=>new Promise((t,n)=>{a(18,O=!0),fetch(e).then(e=>e.json()).then(e=>{a(18,O=!1),t(e[0])}).catch(e=>{a(19,N=!0),a(18,O=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{a(32,$=e),Ce(0,$)})}else Ce(0,{})}},we=()=>{a(27,Z=!1),te.length<2&&!W&&(a(25,j=!1),a(32,$=[]),a(24,z=!1),a(28,X=V),a(26,V=!1),!1===X&&window.postMessage({type:"CategoryUpdate",itemId:E},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},be=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&le&&(e[le]?a(38,se=e[le].length):a(38,se=0))},xe=()=>{a(57,Q=!0),a(16,te=""),a(32,$=[]),a(24,z=!1),we()},Ce=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Se=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},Fe=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Me=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:P},window.location.href)},_e=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},ke=()=>{L&&(I=L.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>I||130<I?a(31,q=!0):a(31,q=!1)},$e=()=>{a(34,E=C),(e=>{switch(a(25,j=!1),a(16,te=""),ne=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":a(28,X=!0),a(23,H=!1),a(34,E=""),a(29,J=!1);break;case"FAVORITES":a(28,X=!1),a(23,H=!0),a(29,J=!1),a(34,E="");break;case"MOSTPLAYED":"true"==y&&(a(18,O=!0),(e=>{let t=new URL(`${o}/player/${_}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order);var 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),D=S?t:t.href,new Promise((t,n)=>{fetch(D).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Most Played",id:"MOSTPLAYED"}},window.location.href),window.postMessage({type:"MostPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})})})({limit:100,device:Yr(M),rounds:10}).then(e=>{if(a(18,O=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(o+"/casino/games/"+e.gameId);t.searchParams.append("datasource",s),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{re=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:re},window.location.href)})}else a(30,K=!0)}),a(34,E=""),a(28,X=!1),a(23,H=!1),a(29,J=!0));break;default:a(28,X=!1),a(23,H=!1),a(29,J=!1),a(34,E=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:E},window.location.href)},500)}})({data:{itemId:E}})};return Te(()=>(window.addEventListener("scroll",ke,!1),window.addEventListener("message",he,!1),()=>{window.removeEventListener("scroll",ke),window.removeEventListener("message",he)})),e.$$set=e=>{"endpoint"in e&&a(0,o=e.endpoint),"datasource"in e&&a(1,s=e.datasource),"currency"in e&&a(2,i=e.currency),"lang"in e&&a(3,l=e.lang),"session"in e&&a(4,c=e.session),"userid"in e&&a(5,d=e.userid),"clientstyling"in e&&a(6,u=e.clientstyling),"clientstylingurl"in e&&a(7,h=e.clientstylingurl),"categorybackground"in e&&a(8,p=e.categorybackground),"visiblegames"in e&&a(9,m=e.visiblegames),"alternativesearch"in e&&a(10,g=e.alternativesearch),"favorites"in e&&a(11,f=e.favorites),"mostplayed"in e&&a(52,y=e.mostplayed),"containermaxwidth"in e&&a(12,v=e.containermaxwidth),"lobbyid"in e&&a(53,w=e.lobbyid),"haspanicbutton"in e&&a(13,b=e.haspanicbutton),"mostplayedrounds"in e&&a(54,x=e.mostplayedrounds),"activecategory"in e&&a(55,C=e.activecategory),"livecasino"in e&&a(14,S=e.livecasino),"playrandomgame"in e&&a(15,F=e.playrandomgame)},e.$$.update=()=>{if(65536&e.$$.dirty[0]&&te&&(2<=te.length?a(57,Q=!0):a(57,Q=!1)),65547&e.$$.dirty[0]|100663296&e.$$.dirty[1])if(2<=te.length){a(25,j=!0);let e=new URL(o+"/casino/games");e.searchParams.append("datasource",s),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Yr(M)),e.searchParams.append("language",l),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+te),r=e,new Promise((t,n)=>{a(18,O=!0),fetch(r).then(e=>e.json()).then(e=>{a(18,O=!1),t(e)}).catch(e=>{a(19,N=!0),a(18,O=!1),console.error(e),n(e)})}).then(e=>{a(32,$=e),Me(0,e)})}else Q||ve(),Y&&a(56,Y=!1);var r;8&e.$$.dirty[0]|16777216&e.$$.dirty[1]&&l&&C&&$e(),49&e.$$.dirty[0]&&c&&d&&o&&(a(20,B=!0),a(22,k=c),a(21,_=d),_&&_.length&&k&&0<k.length&&pe(o,k,_)),1035&e.$$.dirty[0]&&o&&s&&l&&g&&(()=>{if(o||(U="Endpoint is missing! Please provide a valid endpointURL.",a(19,N=!0),a(18,O=!1),console.error(U)),s||(U="Datasource is missing! Please provide a valid datasource.",a(19,N=!0),a(18,O=!1),console.error(U)),l&&2==l.length||(U="Language is missing! Please provide a valid language (alpha2code)",a(19,N=!0),a(18,O=!1),console.error(U)),!N){a(18,O=!0),"true"==f&&pe(o,k,_),t=l,Ir.set(t);let e=new URL(o+"/casino/groups/"+s);e.searchParams.append("language",l),e.searchParams.append("platform",Yr(M)),r=e,new Promise((t,n)=>{a(18,O=!0),fetch(r).then(e=>e.json()).then(e=>{a(18,O=!1),t(e)}).catch(e=>{a(19,N=!0),a(18,O=!1),console.error(e),n(e)})}).then(e=>{e&&(G=e.items.filter(e=>0<e.games.total),a(33,ee=G.map(e=>e.id)),a(18,O=!1))}),"PC"!==Yr(M)&&(R.addEventListener("focusin",e=>{a(37,ae=!0)}),R.addEventListener("focusout",e=>{a(37,ae=!1)})),be(),L=T,L&&(I=L.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var r,t})(),8&e.$$.dirty[0]&&l&&(ce&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:E},window.location.href)},500),ce=!1),64&e.$$.dirty[0]&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,A.appendChild(e)})(),128&e.$$.dirty[0]&&h&&(()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,A&&setTimeout(()=>{A.appendChild(t)},1)})})()},[o,s,i,l,c,d,u,h,p,m,g,f,v,b,S,F,te,r,O,N,B,_,k,H,z,j,V,Z,X,J,K,q,$,ee,E,T,R,ae,se,A,n,M,pe,ve,we,()=>{window.postMessage({type:"scroll"},window.location.href)},xe,Se,Fe,(e,t)=>{le=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:m,receivedFavoriteResults:P},window.location.href)},Me,_e,y,w,x,C,Y,Q,function(e){Le[e?"unshift":"push"](()=>{R=e,a(36,R)})},function(){te=this.value,a(16,te)},()=>xe(),()=>Fe(),()=>{Se()},function(e){Le[e?"unshift":"push"](()=>{T=e,a(35,T)})},function(e){Le[e?"unshift":"push"](()=>{R=e,a(36,R)})},function(){te=this.value,a(16,te)},()=>xe(),()=>Fe(),()=>{Se()},function(e){Le[e?"unshift":"push"](()=>{T=e,a(35,T)})},()=>_e(),function(e){Le[e?"unshift":"push"](()=>{A=e,a(39,A)})}]}function uo(e,{delay:t=0,duration:n=400,easing:r=g}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function ho(n){let r,i,a,o,s,t,l,c,d;return{c(){r=ee("div"),i=ee("div"),i.innerHTML="<slot></slot>",a=ne(),o=ee("span"),o.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',ie(i,"class","ModalContainer"),ie(i,"part","ModalContainer"),ie(o,"class","ModalCloseBtn"),ie(o,"part","ModalCloseBtn"),ie(o,"role","button"),ie(r,"class","ModalWindow"),ie(r,"part","ModalWindow"),ie(r,"id","Modal"),D(()=>n[13].call(r))},m(e,t){q(e,r,t),K(r,i),K(r,a),K(r,o),n[12](r),s=F(r,n[13].bind(r)),l=!0,c||(d=re(o,"click",n[6]),c=!0)},p(e,t){n=e},i(e){l||(D(()=>{t=t||le(r,uo,{transitionDuration:n[1]},!0),t.run(1)}),l=!0)},o(e){t=t||le(r,uo,{transitionDuration:n[1]},!1),t.run(0),l=!1},d(e){e&&Q(r),n[12](null),s(),e&&t&&t.end(),c=!1,d()}}}function po(n){let r,i,a=n[0]&&ho(n);return{c(){r=ee("div"),a&&a.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),a&&a.m(r,null),n[14](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&V(a,1)):(a=ho(e),a.c(),V(a,1),a.m(r,null)):a&&(j(),oe(a,1,1,()=>{a=null}),W())},i(e){i||(V(a),i=!0)},o(e){oe(a),i=!1},d(e){e&&Q(r),a&&a.d(),n[14](null)}}}function mo(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,m=!1;const g=e=>{var t;"ModalClosed"==e.data.type&&n(0,s=!1),"ShowGameModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(0,s=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(m=e.data.detailsObtained)},f=e=>{var t;m&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return Te(()=>(window.addEventListener("message",g,!1),window.addEventListener("resize",f,!1),()=>{window.removeEventListener("message",g),window.removeEventListener("resize",g)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(7,c=e.session),"userid"in e&&n(8,d=e.userid),"clientstyling"in e&&n(9,u=e.clientstyling),"clientstylingurl"in e&&n(10,h=e.clientstylingurl),"endpoint"in e&&n(11,p=e.endpoint)},e.$$.update=()=>{2432&e.$$.dirty&&c&&d&&p&&Wr(p,c).then(e=>{},e=>{console.error("err on session",e)}),512&e.$$.dirty&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,s&&setTimeout(()=>{r.appendChild(e)})})(),1024&e.$$.dirty&&h&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},[s,l,r,i,void 0,void 0,()=>{n(0,s=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},c,d,u,h,p,function(e){Le[e?"unshift":"push"](()=>{r=e,n(2,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(4,a),n(5,o)},function(e){Le[e?"unshift":"push"](()=>{i=e,n(3,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicButton{border-radius:2px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:48px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:22px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},co,oo,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:52,containermaxwidth:12,lobbyid:53,haspanicbutton:13,mostplayedrounds:54,activecategory:55,livecasino:14,playrandomgame:15},null,[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino","playrandomgame"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),U()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),U()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),U()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),U()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),U()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),U()}get mostplayed(){return this.$$.ctx[52]}set mostplayed(e){this.$$set({mostplayed:e}),U()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),U()}get lobbyid(){return this.$$.ctx[53]}set lobbyid(e){this.$$set({lobbyid:e}),U()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),U()}get mostplayedrounds(){return this.$$.ctx[54]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),U()}get activecategory(){return this.$$.ctx[55]}set activecategory(e){this.$$set({activecategory:e}),U()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),U()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),U()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},mo,po,t,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11},null),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),U()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),U()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),U()}});const go={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{gamePage:{signIn:"SE CONNECTER",register:"S'INSCRIRE",deposit:"DÉPOSER",playForFun:"JOUER POUR LE PLAISIR",playNow:"JOUE MAINTENANT",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{gamePage:{signIn:"INICIAR SESIÓN",register:"REGISTRARSE",deposit:"INGRESAR",playForFun:"JUEGA POR DIVERSION",playNow:"REPRODUCIR AHORA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{gamePage:{signIn:"Login",register:"REGISTAR",deposit:"Depósito",playForFun:"Play for fun",playNow:"Comece agora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}};function fo(){"undefined"==typeof window||window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n=window.cstmNativeBridge.EVENTS[e];if(n){if("function"==typeof t){var r=window.cstmNativeBridge.eventListeners[n];return window.cstmNativeBridge.eventListeners[n]=function(){delete window.cstmNativeBridge.eventListeners[n],r&&r.apply(this,arguments),t.apply(this,arguments)},!0}console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];if("function"!=typeof t)return console.error("Native Bridge `"+e+"` method is not defined"),!1;e=Array.prototype.slice.call(arguments,1);return t.apply(this,e),!0};var yo=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},vo=function(e,...t){try{return fo(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function wo(n){let r,i=n[8]&&Co(n);return{c(){r=ee("div"),i&&i.c(),ie(r,"class","CasinoGamePageContainer"),ie(r,"part","CasinoGamePageContainer")},m(e,t){q(e,r,t),i&&i.m(r,null),n[79](r)},p(e,t){e[8]?i?i.p(e,t):(i=Co(e),i.c(),i.m(r,null)):i&&(i.d(1),i=null)},d(e){e&&Q(r),i&&i.d(),n[79](null)}}}function bo(e){let n;return{c(){n=ee("p"),n.textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function xo(e){let n;return{c(){n=ee("p"),n.textContent="Loading, please wait ...",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function Co(e){let n;function r(e){return e[19]?_o:e[4]?Mo:e[9]?Fo:So}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function So(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x=n[7].name+"",C=n[23]("gamePage.signIn")+"",S=n[23]("gamePage.register")+"";return{c(){r=ee("div"),i=ee("h3"),a=te(x),o=ne(),s=ee("img"),c=ne(),d=ee("div"),u=ee("button"),h=te(C),p=ne(),m=ee("button"),g=te(S),f=ne(),y=ee("p"),v=te(n[2]),J(s.src,l=n[7].thumbnail)||ie(s,"src",l),ie(s,"class","GameThumbnail"),ie(s,"part","GameThumbnail"),ie(s,"alt","game thumbnail"),ie(s,"loading","lazy"),ie(u,"class","LoginButton"),ie(u,"part","LoginButton"),ie(m,"class","RegisterButton"),ie(m,"part","RegisterButton"),ie(d,"class","ButtonsContainer"),ie(d,"part","ButtonsContainer"),ie(r,"class","GameDetails"),ie(r,"part","GameDetails")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(r,o),K(r,s),K(r,c),K(r,d),K(d,u),K(u,h),K(d,p),K(d,m),K(m,g),K(r,f),K(r,y),K(y,v),w||(b=[re(u,"click",n[77]),re(m,"click",n[78])],w=!0)},p(e,t){128&t[0]&&x!==(x=e[7].name+"")&&ae(a,x),128&t[0]&&!J(s.src,l=e[7].thumbnail)&&ie(s,"src",l),8388608&t[0]&&C!==(C=e[23]("gamePage.signIn")+"")&&ae(h,C),8388608&t[0]&&S!==(S=e[23]("gamePage.register")+"")&&ae(g,S),4&t[0]&&ae(v,e[2])},d(e){e&&Q(r),w=!1,X(b)}}}function Fo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x,C=n[23]("gamePage.signIn")+"",S=n[23]("gamePage.register")+"";function F(e){return e[14]?$o:ko}let M=F(n),_=M(n);return{c(){r=ee("div"),i=ee("div"),a=ee("iframe"),s=ne(),l=ee("div"),c=ee("div"),d=ee("button"),u=te(C),h=ne(),p=ee("button"),m=te(S),g=ne(),_.c(),f=ne(),y=ee("p"),v=ee("span"),w=te(n[2]),ie(a,"title","Games"),ie(a,"class","GamesContainer"),ie(a,"part","GamesContainer"),ie(a,"aria-hidden","false"),J(a.src,o=n[7].launchUrl)||ie(a,"src",o),ie(d,"class","LoginButton"),ie(d,"part","LoginButton"),ie(p,"class","RegisterButton"),ie(p,"part","RegisterButton"),ie(c,"class","ButtonsContainer"),ie(c,"part","ButtonsContainer"),ie(l,"class","BottomGame"),ie(l,"part","BottomGame"),ie(y,"class","Time"),ie(y,"part","Time"),ie(i,"id","IframeGame"),ie(i,"part","IframeGame"),k(i,"width",n[14]?"100%":n[17]),k(i,"height",n[14]?"100%":n[18]),k(i,"max-width",n[14]||!n[11]?"none":n[7].width?Math.floor(n[7].width)+"px":"1280px"),k(i,"max-height",n[14]||!n[11]?"none":n[7].height?Math.floor(n[7].height)+100+"px":"720px"),ie(r,"id","IframeContainer"),ie(r,"part","IframeContainer"),k(r,"width",n[15]),k(r,"height",n[16]),$(r,"FullsScreenLayout",n[14])},m(e,t){q(e,r,t),K(r,i),K(i,a),n[68](a),K(i,s),K(i,l),K(l,c),K(c,d),K(d,u),K(c,h),K(c,p),K(p,m),K(l,g),_.m(l,null),n[73](l),K(i,f),K(i,y),K(y,v),K(v,w),n[74](y),n[75](i),n[76](r),b||(x=[re(d,"click",n[69]),re(p,"click",n[70])],b=!0)},p(e,t){128&t[0]&&!J(a.src,o=e[7].launchUrl)&&ie(a,"src",o),8388608&t[0]&&C!==(C=e[23]("gamePage.signIn")+"")&&ae(u,C),8388608&t[0]&&S!==(S=e[23]("gamePage.register")+"")&&ae(m,S),M===(M=F(e))&&_?_.p(e,t):(_.d(1),_=M(e),_&&(_.c(),_.m(l,null))),4&t[0]&&ae(w,e[2]),147456&t[0]&&k(i,"width",e[14]?"100%":e[17]),278528&t[0]&&k(i,"height",e[14]?"100%":e[18]),18560&t[0]&&k(i,"max-width",e[14]||!e[11]?"none":e[7].width?Math.floor(e[7].width)+"px":"1280px"),18560&t[0]&&k(i,"max-height",e[14]||!e[11]?"none":e[7].height?Math.floor(e[7].height)+100+"px":"720px"),32768&t[0]&&k(r,"width",e[15]),65536&t[0]&&k(r,"height",e[16]),16384&t[0]&&$(r,"FullsScreenLayout",e[14])},d(e){e&&Q(r),n[68](null),_.d(),n[73](null),n[74](null),n[75](null),n[76](null),b=!1,X(x)}}}function Mo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w=n[23]("gamePage.deposit")+"",b="true"===n[1]&&Eo(n);function x(e){return e[14]?Lo:To}let C=x(n),S=C(n);return{c(){r=ee("div"),i=ee("div"),a=ee("iframe"),s=ne(),l=ee("div"),c=ee("button"),d=te(w),u=ne(),b&&b.c(),h=ne(),S.c(),p=ne(),m=ee("p"),g=ee("span"),f=te(n[2]),ie(a,"title","Games"),ie(a,"id","IframeGame"),ie(a,"class","GamesContainer"),ie(a,"part","GamesContainer"),ie(a,"aria-hidden","false"),J(a.src,o=n[7].launchUrl)||ie(a,"src",o),ie(c,"class","DepositButton"),ie(c,"part","DepositButton"),ie(l,"class","BottomGame"),ie(l,"part","BottomGame"),ie(m,"class","Time"),ie(m,"part","Time"),ie(i,"id","IframeGame"),ie(i,"part","IframeGame"),k(i,"width",n[14]?"100%":n[17]),k(i,"height",n[14]?"100%":n[18]),k(i,"max-width",n[14]?"none":n[7].width?n[7].width+"px":"1280px"),k(i,"max-height",n[14]?"none":n[7].height?Math.floor(n[7].height)+100+"px":"720px"),ie(r,"id","IframeContainer"),ie(r,"part","IframeContainer"),k(r,"width",n[15]),k(r,"height",n[16]),$(r,"FullsScreenLayout",n[14])},m(e,t){q(e,r,t),K(r,i),K(i,a),n[59](a),K(i,s),K(i,l),K(l,c),K(c,d),K(l,u),b&&b.m(l,null),K(l,h),S.m(l,null),n[64](l),K(i,p),K(i,m),K(m,g),K(g,f),n[65](m),n[66](i),n[67](r),y||(v=re(c,"click",n[60]),y=!0)},p(e,t){128&t[0]&&!J(a.src,o=e[7].launchUrl)&&ie(a,"src",o),8388608&t[0]&&w!==(w=e[23]("gamePage.deposit")+"")&&ae(d,w),"true"===e[1]?b?b.p(e,t):(b=Eo(e),b.c(),b.m(l,h)):b&&(b.d(1),b=null),C===(C=x(e))&&S?S.p(e,t):(S.d(1),S=C(e),S&&(S.c(),S.m(l,null))),4&t[0]&&ae(f,e[2]),147456&t[0]&&k(i,"width",e[14]?"100%":e[17]),278528&t[0]&&k(i,"height",e[14]?"100%":e[18]),16512&t[0]&&k(i,"max-width",e[14]?"none":e[7].width?e[7].width+"px":"1280px"),16512&t[0]&&k(i,"max-height",e[14]?"none":e[7].height?Math.floor(e[7].height)+100+"px":"720px"),32768&t[0]&&k(r,"width",e[15]),65536&t[0]&&k(r,"height",e[16]),16384&t[0]&&$(r,"FullsScreenLayout",e[14])},d(e){e&&Q(r),n[59](null),b&&b.d(),S.d(),n[64](null),n[65](null),n[66](null),n[67](null),y=!1,v()}}}function _o(e){let n;function r(e){return e[4]?Po:e[10]?Go:Io}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function ko(n){let r,i,a;return{c(){r=ee("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[72]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function $o(n){let r,i,a;return{c(){r=ee("button"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[71]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Eo(n){let r,i,a,o,s,l,c,d,u,h,p,m=n[23]("gamePage.break")+"",g=n[23]("gamePage.breakButton")+"";return{c(){r=ee("div"),i=C("svg"),a=C("path"),o=ne(),s=ee("p"),l=te(m),c=ne(),d=ee("button"),u=te(g),ie(a,"stroke-linecap","round"),ie(a,"stroke-linejoin","round"),ie(a,"stroke-width","2"),ie(a,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),ie(i,"class","w-1 h-1"),ie(i,"part","w-1 h-1"),ie(i,"fill","none"),ie(i,"stroke","white"),ie(i,"width","34px"),ie(i,"height","34px"),ie(i,"viewBox","0 0 24 24"),ie(i,"xmlns","http://www.w3.org/2000/svg"),ie(d,"class","Button"),ie(d,"part","Button"),ie(r,"class","PanicSection"),ie(r,"part","PanicSection")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(r,o),K(r,s),K(s,l),K(r,c),K(r,d),K(d,u),h||(p=re(d,"click",n[61]),h=!0)},p(e,t){8388608&t[0]&&m!==(m=e[23]("gamePage.break")+"")&&ae(l,m),8388608&t[0]&&g!==(g=e[23]("gamePage.breakButton")+"")&&ae(u,g)},d(e){e&&Q(r),h=!1,p()}}}function To(n){let r,i,a;return{c(){r=ee("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[63]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Lo(n){let r,i,a;return{c(){r=ee("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[62]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Io(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x=n[7].name+"",C=n[23]("gamePage.signIn")+"",S=n[23]("gamePage.register")+"";return{c(){r=ee("div"),i=ee("h3"),a=te(x),o=ne(),s=ee("img"),c=ne(),d=ee("div"),u=ee("button"),h=te(C),p=ne(),m=ee("button"),g=te(S),f=ne(),y=ee("p"),v=te(n[2]),J(s.src,l=n[7].thumbnail)||ie(s,"src",l),ie(s,"class","GameThumbnail"),ie(s,"part","GameThumbnail"),ie(s,"alt","game thumbnail"),ie(s,"loading","lazy"),ie(u,"class","LoginButton"),ie(u,"part","LoginButton"),ie(m,"class","RegisterButton"),ie(m,"part","RegisterButton"),ie(d,"class","ButtonsContainer"),ie(d,"part","ButtonsContainer"),ie(r,"class","GameDetails"),ie(r,"part","GameDetails")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(r,o),K(r,s),K(r,c),K(r,d),K(d,u),K(u,h),K(d,p),K(d,m),K(m,g),K(r,f),K(r,y),K(y,v),w||(b=[re(u,"click",n[57]),re(m,"click",n[58])],w=!0)},p(e,t){128&t[0]&&x!==(x=e[7].name+"")&&ae(a,x),128&t[0]&&!J(s.src,l=e[7].thumbnail)&&ie(s,"src",l),8388608&t[0]&&C!==(C=e[23]("gamePage.signIn")+"")&&ae(h,C),8388608&t[0]&&S!==(S=e[23]("gamePage.register")+"")&&ae(g,S),4&t[0]&&ae(v,e[2])},d(e){e&&Q(r),w=!1,X(b)}}}function Go(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x,C,S,F=n[7].name+"",M=n[23]("gamePage.signIn")+"",_=n[23]("gamePage.register")+"",k=n[23]("gamePage.playForFun")+"";return{c(){r=ee("div"),i=ee("h3"),a=te(F),o=ne(),s=ee("img"),c=ne(),d=ee("div"),u=ee("button"),h=te(M),p=ne(),m=ee("button"),g=te(_),f=ne(),y=ee("button"),v=te(k),w=ne(),b=ee("p"),x=te(n[2]),J(s.src,l=n[7].thumbnail)||ie(s,"src",l),ie(s,"class","GameThumbnail"),ie(s,"part","GameThumbnail"),ie(s,"alt","game thumbnail"),ie(s,"loading","lazy"),ie(u,"class","LoginButton"),ie(u,"part","LoginButton"),ie(m,"class","RegisterButton"),ie(m,"part","RegisterButton"),ie(d,"class","ButtonsContainer"),ie(d,"part","ButtonsContainer"),ie(y,"class","FullWidthButton"),ie(y,"part","FullWidthButton"),ie(r,"class","GameDetails"),ie(r,"part","GameDetails")},m(e,t){q(e,r,t),K(r,i),K(i,a),K(r,o),K(r,s),K(r,c),K(r,d),K(d,u),K(u,h),K(d,p),K(d,m),K(m,g),K(r,f),K(r,y),K(y,v),K(r,w),K(r,b),K(b,x),C||(S=[re(u,"click",n[54]),re(m,"click",n[55]),re(y,"click",n[56])],C=!0)},p(e,t){128&t[0]&&F!==(F=e[7].name+"")&&ae(a,F),128&t[0]&&!J(s.src,l=e[7].thumbnail)&&ie(s,"src",l),8388608&t[0]&&M!==(M=e[23]("gamePage.signIn")+"")&&ae(h,M),8388608&t[0]&&_!==(_=e[23]("gamePage.register")+"")&&ae(g,_),8388608&t[0]&&k!==(k=e[23]("gamePage.playForFun")+"")&&ae(v,k),4&t[0]&&ae(x,e[2])},d(e){e&&Q(r),C=!1,X(S)}}}function Po(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x,C,S=n[7].name+"",F=n[23]("gamePage.deposit")+"",M=n[23]("gamePage.playNow")+"",_="true"==n[0]&&Ro(n),k="true"===n[1]&&Oo(n);return{c(){_&&_.c(),r=ne(),i=ee("div"),a=ee("h3"),o=te(S),s=ne(),l=ee("img"),d=ne(),u=ee("div"),h=ee("button"),p=te(F),m=ne(),g=ee("button"),f=te(M),y=ne(),k&&k.c(),v=ne(),w=ee("p"),b=te(n[2]),J(l.src,c=n[7].thumbnail)||ie(l,"src",c),ie(l,"class","GameThumbnail"),ie(l,"part","GameThumbnail"),ie(l,"alt","game thumbnail"),ie(l,"loading","lazy"),ie(h,"class","DepositButton"),ie(h,"part","DepositButton"),ie(g,"class","PlayNowButton"),ie(g,"part","PlayNowButton"),ie(u,"class","ButtonsContainer"),ie(u,"part","ButtonsContainer"),ie(i,"class","GameDetails"),ie(i,"part","GameDetails")},m(e,t){_&&_.m(e,t),q(e,r,t),q(e,i,t),K(i,a),K(a,o),K(i,s),K(i,l),K(i,d),K(i,u),K(u,h),K(h,p),K(u,m),K(u,g),K(g,f),K(i,y),k&&k.m(i,null),K(i,v),K(i,w),K(w,b),x||(C=[re(h,"click",n[51]),re(g,"click",n[52])],x=!0)},p(e,t){"true"==e[0]?_?_.p(e,t):(_=Ro(e),_.c(),_.m(r.parentNode,r)):_&&(_.d(1),_=null),128&t[0]&&S!==(S=e[7].name+"")&&ae(o,S),128&t[0]&&!J(l.src,c=e[7].thumbnail)&&ie(l,"src",c),8388608&t[0]&&F!==(F=e[23]("gamePage.deposit")+"")&&ae(p,F),8388608&t[0]&&M!==(M=e[23]("gamePage.playNow")+"")&&ae(f,M),"true"===e[1]?k?k.p(e,t):(k=Oo(e),k.c(),k.m(i,v)):k&&(k.d(1),k=null),4&t[0]&&ae(b,e[2])},d(e){_&&_.d(e),e&&Q(r),e&&Q(i),k&&k.d(),x=!1,X(C)}}}function Ro(e){let n;function r(e){return e[7].isFavored?Do:Ao}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function Ao(n){let r,i,a;return{c(){r=ee("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',ie(r,"class","FavIconContainer"),ie(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[50]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Do(n){let r,i,a;return{c(){r=ee("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',ie(r,"class","FavIconContainer"),ie(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[49]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Oo(n){let r,i,a,o,s,l,c,d,u,h,e,t,p,m,g=n[23]("gamePage.break")+"",f=n[23]("gamePage.breakButton")+"";return{c(){r=ee("div"),i=ee("div"),a=C("svg"),o=C("path"),s=ne(),l=ee("p"),c=te(g),d=ne(),u=ee("button"),h=te(f),ie(o,"stroke-linecap","round"),ie(o,"stroke-linejoin","round"),ie(o,"stroke-width","2"),ie(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),ie(a,"class","w-1 h-1"),ie(a,"part","w-1 h-1"),ie(a,"fill","none"),ie(a,"stroke","white"),ie(a,"width","34px"),ie(a,"height","34px"),ie(a,"viewBox","0 0 24 24"),ie(a,"xmlns","http://www.w3.org/2000/svg"),ie(i,"class","PanicText"),ie(i,"part","PanicText"),ie(u,"class","Button"),ie(u,"part","Button"),ie(r,"class",e="PanicSection "+("PC"!==Yr(n[24])?"PanicSectionMobile":"")),ie(r,"part",t="PanicSection "+("PC"!==Yr(n[24])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),K(i,s),K(i,l),K(l,c),K(r,d),K(r,u),K(u,h),p||(m=re(u,"click",n[53]),p=!0)},p(e,t){8388608&t[0]&&g!==(g=e[23]("gamePage.break")+"")&&ae(c,g),8388608&t[0]&&f!==(f=e[23]("gamePage.breakButton")+"")&&ae(h,f)},d(e){e&&Q(r),p=!1,m()}}}function No(e){let n;function r(e){return e[6]?xo:e[5]?bo:wo}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&Q(n)}}}function Bo(t,e,a){let n;Ee(t,Hr,e=>a(23,n=e));let r,i,o,s,l,c,d,u,h,p,m,g,f,y,v,{endpoint:w=""}=e,{lang:b=""}=e,{session:x=""}=e,{userid:C=""}=e,{clientstyling:S=""}=e,{clientstylingurl:F=""}=e,{favorites:M=""}=e,{loginurl:_=""}=e,{registerurl:k=""}=e,{depositurl:$=""}=e,{loginevent:E=""}=e,{registerevent:T=""}=e,{depositevent:L=""}=e,{clockformat:I=""}=e,{haspanicbutton:G="false"}=e,{playforfun:P="true"}=e,{checksession:R="true"}=e,{integratedgameframe:A="false"}=e,{gameid:D=""}=e,O=!1,N=!1,B=!0,U=!1,H=!1,z=!1,Y=!0,j=!1,W=window.navigator.userAgent,V=!1,Z=[],X=!1;var J,K;({withLocale:J,translations:K}={withLocale:"en",translations:{}}),Ir.subscribe(e=>{null==e&&(br.set(K),Ir.set(J))}),Object.keys(go).forEach(e=>{Cr(e,go[e])});const q=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",b),o&&0<o.length&&(a(4,O=!0),t.searchParams.append("_sid",o),t.searchParams.append("funMode","false")),e.launchUrl=t,e},Q=(e,t)=>{let n=new URL(w+"/casino/games/"+e);n.searchParams.append("language",b),n.searchParams.append("expand","vendor"),a(11,Y=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{a(7,s=q(e[0])),s.launchUrl&&(a(8,U=!0),a(9,H="true"==P&&s.hasFunMode),a(10,z="true"==P&&s.hasAnonymousFunMode))},e=>{console.error("There was an error",e),a(5,N=!0)}).then(()=>{l&&(Y?re():(a(15,d=s.width),a(16,u=s.height),a(17,m=s.width),a(18,g=s.height),h=s.width,p=s.height))}),window.postMessage({type:"RequestModalSize"},window.location.href)},ee=e=>{switch(e.data.type){case"GameLaunchID":Q(e.data.gameId,!0);break;case"LaunchGameFrame":ne(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":setTimeout(()=>{a(8,U=!1)},500);break;case"UserSessionID":if(0<e.data.session.length){o=e.data.session,e.data.userID,a(4,O=!0);let t=setInterval(()=>{if(s){let e=new URL(s.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",o),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",b),a(7,s.launchUrl=e,s),clearInterval(t)}},250)}break;case"ModalSize":a(15,d=e.data.modalContainerSize.modalWidth),a(16,u=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(Z=e.data.receivedFavoriteResults.items)}},te=e=>{s.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(7,s.isFavored=!1,s)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(7,s.isFavored=!0,s))},ne=(e,r)=>{let t=new URL(w+"/casino/games/"+e);t.searchParams.append("language",b),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;a(7,s=q(e[0])),s.launchUrl&&a(7,s.isFavored=(t=s,e=r,a(10,z="true"==P&&t.hasAnonymousFunMode),a(9,H="true"==P&&e),a(8,U=!0),n=t.id,-1!==Z.findIndex(e=>e.id==n)),s)})},re=()=>{let e=getComputedStyle(l),t=getComputedStyle(c),n=parseInt(e.width.slice(0,-2)),r=parseInt(e.height.slice(0,-2));var i=s.width/(s.height+100);h=parseInt(t.width),p=parseInt(t.height),n/i>r-y.clientHeight-v.clientHeight?(p=r-y.clientHeight-v.clientHeight,h=r*i):(h=n,p=n/i),a(17,m=h?Math.floor(h)+"px":"1280px"),a(18,g=p?Math.floor(p)+"px":"720px")},ie=e=>{var t;X?(t={url:e.launchUrl,id:e.id,vendor:e.vendor.name},vo("OPEN_GAME",t)):"false"==A?window.open(e.launchUrl,"_blank"):"true"==A&&window.postMessage({type:"OpenIntegratedGameFrame"},window.location.href)},ae=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:U},window.location.href),U&&(l&&re(),window.addEventListener("ModalSize",ee,!1))},oe=()=>{E&&(window.postMessage({type:E,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),_&&(window.location=_)},se=()=>{T&&(window.postMessage({type:T,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),k&&(window.location=k)},le=()=>{L&&(window.postMessage({type:L},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)};function ce(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!j||de()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ce,!1),document.addEventListener("mozfullscreenchange",ce,!1),document.addEventListener("fullscreenchange",ce,!1),document.addEventListener("MSFullscreenChange",ce,!1));const de=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(j?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),a(14,j=!1)):(l.requestFullscreen?l.requestFullscreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.msRequestFullscreen&&l.msRequestFullscreen(),a(14,j=!0)))},ue=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},he=setInterval(()=>{a(2,r=I?hi().format(I):hi().format("LTS"))},100);return Te(()=>(window.addEventListener("resize",ae,!1),window.addEventListener("message",ee,!1),X=!!yo(W),()=>{window.removeEventListener("resize",ae),window.removeEventListener("message",ee),clearInterval(he)})),t.$$set=e=>{"endpoint"in e&&a(32,w=e.endpoint),"lang"in e&&a(33,b=e.lang),"session"in e&&a(34,x=e.session),"userid"in e&&a(35,C=e.userid),"clientstyling"in e&&a(36,S=e.clientstyling),"clientstylingurl"in e&&a(37,F=e.clientstylingurl),"favorites"in e&&a(0,M=e.favorites),"loginurl"in e&&a(38,_=e.loginurl),"registerurl"in e&&a(39,k=e.registerurl),"depositurl"in e&&a(40,$=e.depositurl),"loginevent"in e&&a(41,E=e.loginevent),"registerevent"in e&&a(42,T=e.registerevent),"depositevent"in e&&a(43,L=e.depositevent),"clockformat"in e&&a(44,I=e.clockformat),"haspanicbutton"in e&&a(1,G=e.haspanicbutton),"playforfun"in e&&a(45,P=e.playforfun),"checksession"in e&&a(46,R=e.checksession),"integratedgameframe"in e&&a(47,A=e.integratedgameframe),"gameid"in e&&a(48,D=e.gameid)},t.$$.update=()=>{var e;4&t.$$.dirty[1]&&b&&(e=b,Ir.set(e),a(6,B=!1),a(19,V=zr(W))),131078&t.$$.dirty[1]&&w&&D&&b&&Q(D),26&t.$$.dirty[1]&&x&&C&&w&&("true"==R?Wr(w,x).then(e=>{o=e.Guid,a(4,O=!0)},e=>{a(4,O=!1),console.error("err on session",e)}):o=x),32&t.$$.dirty[1]&&S&&(()=>{let e=document.createElement("style");e.innerHTML=S,f.appendChild(e)})(),64&t.$$.dirty[1]&&F&&(()=>{let t=document.createElement("style");var e;F&&(e=new URL(F),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,f&&setTimeout(()=>{f.appendChild(t)},1)}))})()},[M,G,r,i,O,N,B,s,U,H,z,Y,l,c,j,d,u,m,g,V,f,y,v,n,W,te,ie,oe,se,le,de,ue,w,b,x,C,S,F,_,k,$,E,T,L,I,P,R,A,D,()=>te(s.id),()=>te(s.id),()=>le(),()=>{ie(s)},()=>ue(),()=>oe(),()=>se(),()=>{ie(s)},()=>oe(),()=>se(),function(e){Le[e?"unshift":"push"](()=>{i=e,a(3,i)})},()=>le(),()=>ue(),()=>de(),()=>de(),function(e){Le[e?"unshift":"push"](()=>{y=e,a(21,y)})},function(e){Le[e?"unshift":"push"](()=>{v=e,a(22,v)})},function(e){Le[e?"unshift":"push"](()=>{c=e,a(13,c)})},function(e){Le[e?"unshift":"push"](()=>{l=e,a(12,l)})},function(e){Le[e?"unshift":"push"](()=>{i=e,a(3,i)})},()=>oe(),()=>se(),()=>de(),()=>de(),function(e){Le[e?"unshift":"push"](()=>{y=e,a(21,y)})},function(e){Le[e?"unshift":"push"](()=>{v=e,a(22,v)})},function(e){Le[e?"unshift":"push"](()=>{c=e,a(13,c)})},function(e){Le[e?"unshift":"push"](()=>{l=e,a(12,l)})},()=>oe(),()=>se(),function(e){Le[e?"unshift":"push"](()=>{f=e,a(20,f)})}]}function Uo(n){let r,i,a,o,s,l,c,d,t,u,h,p;return{c(){r=ee("div"),i=ee("div"),a=ee("span"),a.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ne(),s=ee("slot"),ie(a,"class","FilterModalCloseBtn"),ie(a,"part","FilterModalCloseBtn"),ie(a,"role","button"),ie(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),ie(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),ie(r,"class","FilterModalWindow"),ie(r,"id","FilterModal"),ie(r,"part","FilterModalWindow"),D(()=>n[14].call(r))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(i,o),K(i,s),n[13](r),d=F(r,n[14].bind(r)),u=!0,h||(p=re(a,"click",n[7]),h=!0)},p(e,t){n=e,(!u||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&ie(i,"class",l),(!u||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&ie(i,"part",c)},i(e){u||(D(()=>{t=t||le(r,uo,{transitionDuration:n[1]},!0),t.run(1)}),u=!0)},o(e){t=t||le(r,uo,{transitionDuration:n[1]},!1),t.run(0),u=!1},d(e){e&&Q(r),n[13](null),d(),e&&t&&t.end(),h=!1,p()}}}function Ho(n){let r,i,a=n[0]&&Uo(n);return{c(){r=ee("div"),a&&a.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),a&&a.m(r,null),n[15](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&V(a,1)):(a=Uo(e),a.c(),V(a,1),a.m(r,null)):a&&(j(),oe(a,1,1,()=>{a=null}),W())},i(e){i||(V(a),i=!0)},o(e){oe(a),i=!1},d(e){e&&Q(r),a&&a.d(),n[15](null)}}}function zo(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,m=window.navigator.userAgent,g=!1;const f=()=>{n(0,s=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(f(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))},v=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return Te(()=>(window.addEventListener("message",y,!1),zr(m)&&n(2,g=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(8,c=e.session),"userid"in e&&n(9,d=e.userid),"clientstyling"in e&&n(10,u=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint)},e.$$.update=()=>{4864&e.$$.dirty&&c&&d&&p&&Wr(p,c).then(e=>{},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,s&&setTimeout(()=>{r.appendChild(e)})})(),2048&e.$$.dirty&&h&&v(),2049&e.$$.dirty&&s&&h&&v()},[s,l,g,r,i,void 0,void 0,f,c,d,u,h,p,function(e){Le[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){Le[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoGamePageContainer{height:100%}.BottomGame{padding-left:60px;padding-right:60px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}.DepositButton,.PlayNowButton{border:none;width:130px;height:60px;background-color:var(--emfe-w-color-green, #48952a);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px;cursor:pointer}.PlayNowButton{background-color:var(--emfe-w-color-primary, #D0046C)}.GameThumbnail{border-radius:2px;width:270px;height:180px}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{width:275px;margin-top:20px;display:flex;flex-direction:row;justify-content:space-between}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px;margin-top:20px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:center}#IframeGame{width:100%;height:100%}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicText{display:flex;align-items:center}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Bo,No,t,{endpoint:32,lang:33,session:34,userid:35,clientstyling:36,clientstylingurl:37,favorites:0,loginurl:38,registerurl:39,depositurl:40,loginevent:41,registerevent:42,depositevent:43,clockformat:44,haspanicbutton:1,playforfun:45,checksession:46,integratedgameframe:47,gameid:48},null,[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframe","gameid"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$$set({endpoint:e}),U()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[34]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[35]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),U()}get loginurl(){return this.$$.ctx[38]}set loginurl(e){this.$$set({loginurl:e}),U()}get registerurl(){return this.$$.ctx[39]}set registerurl(e){this.$$set({registerurl:e}),U()}get depositurl(){return this.$$.ctx[40]}set depositurl(e){this.$$set({depositurl:e}),U()}get loginevent(){return this.$$.ctx[41]}set loginevent(e){this.$$set({loginevent:e}),U()}get registerevent(){return this.$$.ctx[42]}set registerevent(e){this.$$set({registerevent:e}),U()}get depositevent(){return this.$$.ctx[43]}set depositevent(e){this.$$set({depositevent:e}),U()}get clockformat(){return this.$$.ctx[44]}set clockformat(e){this.$$set({clockformat:e}),U()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),U()}get playforfun(){return this.$$.ctx[45]}set playforfun(e){this.$$set({playforfun:e}),U()}get checksession(){return this.$$.ctx[46]}set checksession(e){this.$$set({checksession:e}),U()}get integratedgameframe(){return this.$$.ctx[47]}set integratedgameframe(e){this.$$set({integratedgameframe:e}),U()}get gameid(){return this.$$.ctx[48]}set gameid(e){this.$$set({gameid:e}),U()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},zo,Ho,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12},null),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),U()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),U()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),U()}});const Yo={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement ...",filterModalTitle:"Filtrer par",filterModalSubtitle:"Vous pouvez sélectionner plusieurs fournisseurs",filterClear:"Eclaircir",filterApply:"Appliquer"}},es:{filters:{loading:"Cargando ...",filterModalTitle:"Filtrado por",filterModalSubtitle:"Puede seleccionar varios proveedores",filterClear:"Despejar",filterApply:"Solicitar"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"A carregar",filterModalTitle:"Filtrar",filterModalSubtitle:"Escolha múltipla possível",filterClear:"Limpar filtro",filterApply:"Feito"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function jo(e,t,n){const r=e.slice();return r[32]=t[n],r}function Wo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,v,w,b,x,C,S,F=n[6]("filters.filterModalTitle")+"",M=n[6]("filters.filterModalSubtitle")+"",_=n[6]("filters.filterApply")+"",k=n[0]&&Zo(n),$=n[3]&&Ko(n);return{c(){r=ee("div"),i=ee("section"),a=ee("div"),o=ee("h4"),s=te(F),l=ne(),c=ee("h5"),d=te(M),u=ne(),h=ee("section"),k&&k.c(),p=ne(),m=ee("section"),$&&$.c(),g=ne(),f=ee("div"),y=te(_),ie(o,"class","FilterHeaderTitle"),ie(o,"part","FilterHeaderTitle"),ie(c,"class","FilterHeaderSubtitle"),ie(c,"part","FilterHeaderSubtitle"),ie(a,"class","FilterHeaderDetails"),ie(a,"part","FilterHeaderDetails"),ie(i,"class","FilterHeaderSection"),ie(i,"part","FilterHeaderSection"),ie(h,"class","FilterContentSection"),ie(h,"part","FilterContentSection"),ie(f,"class",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),ie(f,"part",w="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),ie(m,"class","FilterFooterSection"),ie(m,"part","FilterFooterSection"),ie(r,"class",b="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),ie(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){q(e,r,t),K(r,i),K(i,a),K(a,o),K(o,s),K(a,l),K(a,c),K(c,d),K(r,u),K(r,h),k&&k.m(h,null),K(r,p),K(r,m),$&&$.m(m,null),K(m,g),K(m,f),K(f,y),C||(S=re(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&F!==(F=e[6]("filters.filterModalTitle")+"")&&ae(s,F),64&t[0]&&M!==(M=e[6]("filters.filterModalSubtitle")+"")&&ae(d,M),e[0]?k?k.p(e,t):(k=Zo(e),k.c(),k.m(h,null)):k&&(k.d(1),k=null),e[3]?$?$.p(e,t):($=Ko(e),$.c(),$.m(m,g)):$&&($.d(1),$=null),64&t[0]&&_!==(_=e[6]("filters.filterApply")+"")&&ae(y,_),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&ie(f,"class",v),4&t[0]&&w!==(w="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&ie(f,"part",w),2&t[0]&&b!==(b="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&ie(r,"class",b),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&ie(r,"part",x)},d(e){e&&Q(r),k&&k.d(),$&&$.d(),C=!1,S()}}}function Vo(e){let n;return{c(){n=ee("div"),ie(n,"class","lds-dual-ring"),ie(n,"part","lds-dual-ring")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function Zo(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Jo(jo(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(129&n[0]){let e;for(a=t[0],e=0;e<a.length;e+=1){var r=jo(t,a,e);o[e]?o[e].p(r,n):(o[e]=Jo(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){m(o,e),e&&Q(i)}}}function Xo(){let n;return{c(){n=ee("div"),n.innerHTML='<div class="CheckMark" part="CheckMark"></div>',ie(n,"class","FilterIconContainer"),ie(n,"part","FilterIconContainer")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Jo(n){let r,i,a,o,s,l,c,d,u,h,p=n[32].isFilterSelected&&Xo();function m(){return n[17](n[32])}return{c(){r=ee("div"),i=ee("img"),s=ne(),p&&p.c(),l=ne(),ie(i,"class","VendorImage"),ie(i,"part","VendorImage"),J(i.src,a=n[32].image)||ie(i,"src",a),ie(i,"alt",o=n[32].name),ie(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),ie(r,"part",d="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){q(e,r,t),K(r,i),K(r,s),p&&p.m(r,null),K(r,l),u||(h=re(r,"click",m),u=!0)},p(e,t){n=e,1&t[0]&&!J(i.src,a=n[32].image)&&ie(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&ie(i,"alt",o),n[32].isFilterSelected?p||(p=Xo(),p.c(),p.m(r,l)):p&&(p.d(1),p=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&ie(r,"class",c),1&t[0]&&d!==(d="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&ie(r,"part",d)},d(e){e&&Q(r),p&&p.d(),u=!1,h()}}}function Ko(e){let n,r=e[3].length&&qo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):(r=qo(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function qo(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=ee("div"),i=te(s),ie(r,"class","ClearFiltersButton"),ie(r,"part","ClearFiltersButton")},m(e,t){q(e,r,t),K(r,i),a||(o=re(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ae(i,s)},d(e){e&&Q(r),a=!1,o()}}}function Qo(n){let r;function i(e){return e[4]?Vo:Wo}let a=i(n),o=a(n);return{c(){r=ee("div"),o.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),o.m(r,null),n[20](r)},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:Z,o:Z,d(e){e&&Q(r),o.d(),n[20](null)}}}function es(e,t,i){let n;Ee(e,Hr,e=>i(6,n=e));let r,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],w={},b=!1;w[f]&&(w={[f]:[]});let x=[];var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),Ir.subscribe(e=>{null==e&&(br.set(S),Ir.set(C))}),Object.keys(Yo).forEach(e=>{Cr(e,Yo[e])});const F=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(f&&(y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),y&&i(3,v=y[f])),!v){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[f]:v})):(e=JSON.parse(e),e[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${a}/casino/vendors?filter=games(groups=${f})&datasource=${o}&platform=`+Yr(m),new Promise((t,n)=>{fetch(r).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},f&&t[f]&&(e.isFilterSelected=0<=t[f].indexOf(e.id))}),i(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=v;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),i(3,v=x),i(2,g=!1);break;case"AvailableVendors":i(0,h=t.data.venArray),i(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(0,h=t.data.venArray),h&&i(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":k(),window.postMessage({type:"ApplyFilters"},window.location.href),i(2,g=!1);break;case"ModalClosed":h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":f=t.data.categoryid,y&&f&&i(3,v=y[f]);break;case"ModalLoader":i(4,b=!1)}var r},M=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),i(2,g=!_(v,x))):(v.includes(t.id)&&i(3,v=v.filter(e=>e!==t.id)),i(2,g=!(!v.length&&_(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},_=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},k=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=_(v,x)),i(3,v=[]),null!==e&&(e=JSON.parse(e),e[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},$=()=>{i(4,b=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[f]:v})):(e=JSON.parse(e),e[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return Te(()=>(window.addEventListener("message",F,!1),zr(m)&&i(1,p=!0),()=>{window.removeEventListener("message",F)})),e.$$set=e=>{"endpoint"in e&&i(10,a=e.endpoint),"datasource"in e&&i(11,o=e.datasource),"lang"in e&&i(12,s=e.lang),"session"in e&&i(13,l=e.session),"userid"in e&&i(14,c=e.userid),"clientstyling"in e&&i(15,d=e.clientstyling),"clientstylingurl"in e&&i(16,u=e.clientstylingurl)},e.$$.update=()=>{32768&e.$$.dirty[0]&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)})(),65536&e.$$.dirty[0]&&u&&(()=>{let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})})()},[h,p,g,v,b,r,n,M,k,$,a,o,s,l,c,d,u,e=>M(e),()=>k(),()=>$(),function(e){Le[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}function ts(e){let n,r,i,a,o,s,l,c,d,u,h,p,m;function g(e){return e[32]?is:"true"==e[20]?rs:void 0}let f=g(e),y=f&&f(e);return{c(){n=ee("div"),r=ee("div"),i=ee("div"),a=ne(),o=ee("div"),s=ne(),l=ee("casino-categories-slider"),c=ne(),d=ee("casino-page"),u=ne(),y&&y.c(),h=ne(),p=ee("casino-filter-modal"),m=ee("casino-filter-page"),ie(i,"class","HeaderPlaceholder"),ie(i,"part","HeaderPlaceholder"),k(i,"height",e[30]+"px"),ie(o,"class","ScrollTop"),ie(o,"part","ScrollTop"),S(l,"endpoint",e[24]),S(l,"datasource",e[25]),S(l,"lang",e[26]),S(l,"session",e[1]),S(l,"userid",e[2]),S(l,"actionevent",e[17]),S(l,"mostplayed",e[11]),S(l,"mostplayedrounds",e[12]),S(l,"favorites",e[13]),S(l,"activecategory",e[0]),S(l,"clientstyling",e[3]),S(l,"clientstylingurl",e[4]),S(l,"containermaxwidth",e[15]),S(d,"session",e[1]),S(d,"userid",e[2]),S(d,"endpoint",e[24]),S(d,"datasource",e[25]),S(d,"lang",e[26]),S(d,"visiblegames",e[22]),S(d,"playrandomgame",e[21]),S(d,"activecategory",e[0]),S(d,"alternativesearch",e[14]),S(d,"favorites",e[13]),S(d,"mostplayedrounds",e[12]),S(d,"mostplayed",e[11]),S(d,"clientstyling",e[3]),S(d,"clientstylingurl",e[4]),S(d,"lobbyid",e[6]),S(d,"containermaxwidth",e[15]),S(d,"haspanicbutton",e[16]),S(d,"livecasino",e[18]),S(d,"currency",e[7]),S(m,"session",e[1]),S(m,"userid",e[2]),S(m,"endpoint",e[24]),S(m,"datasource",e[25]),S(m,"lang",e[26]),S(m,"clientstylingurl",e[4]),S(m,"clientstyling",e[3]),S(p,"clientstylingurl",e[4]),S(p,"session",e[1]),S(p,"userid",e[2]),S(p,"endpoint",e[24]),S(p,"datasource",e[25]),S(p,"lang",e[26]),S(p,"clientstyling",e[3]),ie(r,"class","WidgetsSection"),ie(r,"part","WidgetsSection"),ie(n,"class","CasinoLobby"),ie(n,"part","CasinoLobby")},m(e,t){q(e,n,t),K(n,r),K(r,i),K(r,a),K(r,o),K(r,s),K(r,l),K(r,c),K(r,d),K(r,u),y&&y.m(r,null),K(r,h),K(r,p),K(p,m)},p(e,t){1073741824&t[0]&&k(i,"height",e[30]+"px"),16777216&t[0]&&S(l,"endpoint",e[24]),33554432&t[0]&&S(l,"datasource",e[25]),67108864&t[0]&&S(l,"lang",e[26]),2&t[0]&&S(l,"session",e[1]),4&t[0]&&S(l,"userid",e[2]),131072&t[0]&&S(l,"actionevent",e[17]),2048&t[0]&&S(l,"mostplayed",e[11]),4096&t[0]&&S(l,"mostplayedrounds",e[12]),8192&t[0]&&S(l,"favorites",e[13]),1&t[0]&&S(l,"activecategory",e[0]),8&t[0]&&S(l,"clientstyling",e[3]),16&t[0]&&S(l,"clientstylingurl",e[4]),32768&t[0]&&S(l,"containermaxwidth",e[15]),2&t[0]&&S(d,"session",e[1]),4&t[0]&&S(d,"userid",e[2]),16777216&t[0]&&S(d,"endpoint",e[24]),33554432&t[0]&&S(d,"datasource",e[25]),67108864&t[0]&&S(d,"lang",e[26]),4194304&t[0]&&S(d,"visiblegames",e[22]),2097152&t[0]&&S(d,"playrandomgame",e[21]),1&t[0]&&S(d,"activecategory",e[0]),16384&t[0]&&S(d,"alternativesearch",e[14]),8192&t[0]&&S(d,"favorites",e[13]),4096&t[0]&&S(d,"mostplayedrounds",e[12]),2048&t[0]&&S(d,"mostplayed",e[11]),8&t[0]&&S(d,"clientstyling",e[3]),16&t[0]&&S(d,"clientstylingurl",e[4]),64&t[0]&&S(d,"lobbyid",e[6]),32768&t[0]&&S(d,"containermaxwidth",e[15]),65536&t[0]&&S(d,"haspanicbutton",e[16]),262144&t[0]&&S(d,"livecasino",e[18]),128&t[0]&&S(d,"currency",e[7]),f===(f=g(e))&&y?y.p(e,t):(y&&y.d(1),y=f&&f(e),y&&(y.c(),y.m(r,h))),2&t[0]&&S(m,"session",e[1]),4&t[0]&&S(m,"userid",e[2]),16777216&t[0]&&S(m,"endpoint",e[24]),33554432&t[0]&&S(m,"datasource",e[25]),67108864&t[0]&&S(m,"lang",e[26]),16&t[0]&&S(m,"clientstylingurl",e[4]),8&t[0]&&S(m,"clientstyling",e[3]),16&t[0]&&S(p,"clientstylingurl",e[4]),2&t[0]&&S(p,"session",e[1]),4&t[0]&&S(p,"userid",e[2]),16777216&t[0]&&S(p,"endpoint",e[24]),33554432&t[0]&&S(p,"datasource",e[25]),67108864&t[0]&&S(p,"lang",e[26]),8&t[0]&&S(p,"clientstyling",e[3])},d(e){e&&Q(n),y&&y.d()}}}function ns(e){let n,r;return{c(){n=ee("p"),r=te(e[29]),k(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){q(e,n,t),K(n,r)},p(e,t){536870912&t[0]&&ae(r,e[29])},d(e){e&&Q(n)}}}function rs(e){let n,r;return{c(){n=ee("casino-modal"),r=ee("casino-game-page"),S(r,"session",e[1]),S(r,"userid",e[2]),S(r,"endpoint",e[24]),S(r,"datasource",e[25]),S(r,"lang",e[26]),S(r,"loginevent",e[8]),S(r,"registerevent",e[9]),S(r,"depositevent",e[10]),S(r,"playforfun",e[19]),S(r,"favorites",e[13]),S(r,"clientstyling",e[3]),S(r,"clientstylingurl",e[4]),S(r,"clockformat",e[5]),S(r,"haspanicbutton",e[16]),S(r,"currency",e[7]),S(r,"integratedgameframe",e[23]),S(n,"session",e[1]),S(n,"userid",e[2]),S(n,"endpoint",e[24]),S(n,"datasource",e[25]),S(n,"lang",e[26]),S(n,"clientstyling",e[3]),S(n,"clientstylingurl",e[4])},m(e,t){q(e,n,t),K(n,r)},p(e,t){2&t[0]&&S(r,"session",e[1]),4&t[0]&&S(r,"userid",e[2]),16777216&t[0]&&S(r,"endpoint",e[24]),33554432&t[0]&&S(r,"datasource",e[25]),67108864&t[0]&&S(r,"lang",e[26]),256&t[0]&&S(r,"loginevent",e[8]),512&t[0]&&S(r,"registerevent",e[9]),1024&t[0]&&S(r,"depositevent",e[10]),524288&t[0]&&S(r,"playforfun",e[19]),8192&t[0]&&S(r,"favorites",e[13]),8&t[0]&&S(r,"clientstyling",e[3]),16&t[0]&&S(r,"clientstylingurl",e[4]),32&t[0]&&S(r,"clockformat",e[5]),65536&t[0]&&S(r,"haspanicbutton",e[16]),128&t[0]&&S(r,"currency",e[7]),8388608&t[0]&&S(r,"integratedgameframe",e[23]),2&t[0]&&S(n,"session",e[1]),4&t[0]&&S(n,"userid",e[2]),16777216&t[0]&&S(n,"endpoint",e[24]),33554432&t[0]&&S(n,"datasource",e[25]),67108864&t[0]&&S(n,"lang",e[26]),8&t[0]&&S(n,"clientstyling",e[3]),16&t[0]&&S(n,"clientstylingurl",e[4])},d(e){e&&Q(n)}}}function is(e){let n;return{c(){n=ee("casino-integrated-game-page"),S(n,"session",e[1]),S(n,"userid",e[2]),S(n,"endpoint",e[24]),S(n,"datasource",e[25]),S(n,"lang",e[26]),S(n,"loginevent",e[8]),S(n,"registerevent",e[9]),S(n,"depositevent",e[10]),S(n,"playforfun",e[19]),S(n,"favorites",e[13]),S(n,"clientstyling",e[3]),S(n,"clientstylingurl",e[4]),S(n,"clockformat",e[5]),S(n,"haspanicbutton",e[16]),S(n,"currency",e[7])},m(e,t){q(e,n,t)},p(e,t){2&t[0]&&S(n,"session",e[1]),4&t[0]&&S(n,"userid",e[2]),16777216&t[0]&&S(n,"endpoint",e[24]),33554432&t[0]&&S(n,"datasource",e[25]),67108864&t[0]&&S(n,"lang",e[26]),256&t[0]&&S(n,"loginevent",e[8]),512&t[0]&&S(n,"registerevent",e[9]),1024&t[0]&&S(n,"depositevent",e[10]),524288&t[0]&&S(n,"playforfun",e[19]),8192&t[0]&&S(n,"favorites",e[13]),8&t[0]&&S(n,"clientstyling",e[3]),16&t[0]&&S(n,"clientstylingurl",e[4]),32&t[0]&&S(n,"clockformat",e[5]),65536&t[0]&&S(n,"haspanicbutton",e[16]),128&t[0]&&S(n,"currency",e[7])},d(e){e&&Q(n)}}}function as(n){let r,i,a;function o(e){return e[28]?ns:ts}let s=o(n),l=s(n);return{c(){r=ee("div"),l.c(),this.c=Z,ie(r,"class",i=n[27]?"DisplayNone":""),ie(r,"part",a=n[27]?"DisplayNone":"")},m(e,t){q(e,r,t),l.m(r,null),n[42](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),l=s(e),l&&(l.c(),l.m(r,null))),134217728&t[0]&&i!==(i=e[27]?"DisplayNone":"")&&ie(r,"class",i),134217728&t[0]&&a!==(a=e[27]?"DisplayNone":"")&&ie(r,"part",a)},i:Z,o:Z,d(e){e&&Q(r),l.d(),n[42](null)}}}function os(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:d=""}=t,{userid:u=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y="EUR"}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:b=""}=t,{loginevent:x=""}=t,{registerevent:C=""}=t,{depositevent:S=""}=t,{mostplayed:F=""}=t,{mostplayedrounds:M=""}=t,{favorites:_=""}=t,{desktopoffset:k="0"}=t,{mobileoffset:$="0"}=t,{alternativesearch:E="false"}=t,{containermaxwidth:T=""}=t,{haspanicbutton:L="false"}=t,{activecategory:I="LOBBY"}=t,{actionevent:G="CategoryChange"}=t,{livecasino:P="false"}=t,{playforfun:R="true"}=t,{gamemodal:A="true"}=t,{playrandomgame:D="false"}=t,{visiblegames:O="10"}=t,{integratedgameframe:N="false"}=t,B=!1,U=!1,H="Loading, please wait ...",z=window.navigator.userAgent,Y=0,j=!1,W=!1;var V,Z;({withLocale:V,translations:Z}={withLocale:"en",translations:{}}),Ir.subscribe(e=>{null==e&&(br.set(Z),Ir.set(V))});const X=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":j=e.data.scrollTop,j&&(Y||n(30,Y="PC"===Yr(z)?parseInt(k):parseInt($)),window.scrollTo({top:Y}));break;case"UserSessionID":e.data.session,e.data.userID;break;case"CategoryChange":n(0,I=e.data.itemId);break;case"OpenIntegratedGameFrame":n(32,W=!0)}};return Te(()=>(window.addEventListener("message",X,!1),n(30,Y="PC"===Yr(z)?parseInt(k):parseInt($)),()=>{window.removeEventListener("message",X)})),e.$$set=e=>{"endpoint"in e&&n(33,s=e.endpoint),"datasource"in e&&n(34,l=e.datasource),"lang"in e&&n(35,c=e.lang),"session"in e&&n(1,d=e.session),"userid"in e&&n(2,u=e.userid),"opsession"in e&&n(36,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,g=e.clockformat),"lobbyid"in e&&n(6,f=e.lobbyid),"currency"in e&&n(7,y=e.currency),"loginurl"in e&&n(37,v=e.loginurl),"registerurl"in e&&n(38,w=e.registerurl),"depositurl"in e&&n(39,b=e.depositurl),"loginevent"in e&&n(8,x=e.loginevent),"registerevent"in e&&n(9,C=e.registerevent),"depositevent"in e&&n(10,S=e.depositevent),"mostplayed"in e&&n(11,F=e.mostplayed),"mostplayedrounds"in e&&n(12,M=e.mostplayedrounds),"favorites"in e&&n(13,_=e.favorites),"desktopoffset"in e&&n(40,k=e.desktopoffset),"mobileoffset"in e&&n(41,$=e.mobileoffset),"alternativesearch"in e&&n(14,E=e.alternativesearch),"containermaxwidth"in e&&n(15,T=e.containermaxwidth),"haspanicbutton"in e&&n(16,L=e.haspanicbutton),"activecategory"in e&&n(0,I=e.activecategory),"actionevent"in e&&n(17,G=e.actionevent),"livecasino"in e&&n(18,P=e.livecasino),"playforfun"in e&&n(19,R=e.playforfun),"gamemodal"in e&&n(20,A=e.gamemodal),"playrandomgame"in e&&n(21,D=e.playrandomgame),"visiblegames"in e&&n(22,O=e.visiblegames),"integratedgameframe"in e&&n(23,N=e.integratedgameframe)},e.$$.update=()=>{16&e.$$.dirty[1]&&c&&Vr(c),6&e.$$.dirty[0]|4&e.$$.dirty[1]&&d&&u&&s&&Wr(s,d).then(e=>{},e=>{console.error("Error while checking the session - ",e)}),10240&e.$$.dirty[0]|28&e.$$.dirty[1]&&s&&l&&c&&F&&_&&(s||(n(29,H="Endpoint is missing! Please provide a valid endpointURL."),n(28,U=!0),console.error(H)),l||(n(29,H="Datasource is missing! Please provide a valid datasource."),n(28,U=!0),console.error(H)),c&&2==c.length||(n(29,H="Language is missing! Please provide a valid language (alpha2code)"),n(28,U=!0),console.error(H)),Vr(c),n(24,r=s),n(25,i=l),n(26,a=c),n(28,U=!1)),e.$$.dirty[1],8&e.$$.dirty[0]&&p&&(()=>{let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)})(),16&e.$$.dirty[0]&&m&&(()=>{n(27,B=!0);let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(27,B=!1)},500))})})()},[I,d,u,p,m,g,f,y,x,C,S,F,M,_,E,T,L,G,P,R,A,D,O,N,r,i,a,B,U,H,Y,o,W,s,l,c,h,v,w,b,k,$,function(e){Le[e?"unshift":"push"](()=>{o=e,n(31,o)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:125px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},es,Qo,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}});class ss extends ue{constructor(e){super(),this.shadowRoot.innerHTML="<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>",de(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},os,as,t,{endpoint:33,datasource:34,lang:35,session:1,userid:2,opsession:36,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:7,loginurl:37,registerurl:38,depositurl:39,loginevent:8,registerevent:9,depositevent:10,mostplayed:11,mostplayedrounds:12,favorites:13,desktopoffset:40,mobileoffset:41,alternativesearch:14,containermaxwidth:15,haspanicbutton:16,activecategory:0,actionevent:17,livecasino:18,playforfun:19,gamemodal:20,playrandomgame:21,visiblegames:22,integratedgameframe:23},null,[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframe"]}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[34]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[35]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),U()}get opsession(){return this.$$.ctx[36]}set opsession(e){this.$$set({opsession:e}),U()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),U()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),U()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),U()}get loginurl(){return this.$$.ctx[37]}set loginurl(e){this.$$set({loginurl:e}),U()}get registerurl(){return this.$$.ctx[38]}set registerurl(e){this.$$set({registerurl:e}),U()}get depositurl(){return this.$$.ctx[39]}set depositurl(e){this.$$set({depositurl:e}),U()}get loginevent(){return this.$$.ctx[8]}set loginevent(e){this.$$set({loginevent:e}),U()}get registerevent(){return this.$$.ctx[9]}set registerevent(e){this.$$set({registerevent:e}),U()}get depositevent(){return this.$$.ctx[10]}set depositevent(e){this.$$set({depositevent:e}),U()}get mostplayed(){return this.$$.ctx[11]}set mostplayed(e){this.$$set({mostplayed:e}),U()}get mostplayedrounds(){return this.$$.ctx[12]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),U()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),U()}get desktopoffset(){return this.$$.ctx[40]}set desktopoffset(e){this.$$set({desktopoffset:e}),U()}get mobileoffset(){return this.$$.ctx[41]}set mobileoffset(e){this.$$set({mobileoffset:e}),U()}get alternativesearch(){return this.$$.ctx[14]}set alternativesearch(e){this.$$set({alternativesearch:e}),U()}get containermaxwidth(){return this.$$.ctx[15]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),U()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),U()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),U()}get actionevent(){return this.$$.ctx[17]}set actionevent(e){this.$$set({actionevent:e}),U()}get livecasino(){return this.$$.ctx[18]}set livecasino(e){this.$$set({livecasino:e}),U()}get playforfun(){return this.$$.ctx[19]}set playforfun(e){this.$$set({playforfun:e}),U()}get gamemodal(){return this.$$.ctx[20]}set gamemodal(e){this.$$set({gamemodal:e}),U()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(e){this.$$set({playrandomgame:e}),U()}get visiblegames(){return this.$$.ctx[22]}set visiblegames(e){this.$$set({visiblegames:e}),U()}get integratedgameframe(){return this.$$.ctx[23]}set integratedgameframe(e){this.$$set({integratedgameframe:e}),U()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",ss),ss});
33
33
  //# sourceMappingURL=casino-lobby.js.map