@everymatrix/casino-lobby 0.0.391 → 0.0.393

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,6 +1,6 @@
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(u){"use strict";(e=u)&&"object"==typeof e&&0 in e;function Z(){}const $=e=>e;function C(e){return e()}function S(){return Object.create(null)}function J(e){e.forEach(C)}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 d;function ce(e,t){return(d=d||document.createElement("a")).href=t,e===d.href}function h(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ut(e,t,n){e.$$.on_destroy.push(h(t,n))}function m(e){return e&&F(e.destroy)?e.destroy:Z}var e="undefined"!=typeof window;let M=e?()=>window.performance.now():()=>Date.now(),_=e?e=>requestAnimationFrame(e):Z;const E=new Set;function I(t){E.forEach(e=>{e.c(t)||(E.delete(e),e.f())}),0!==E.size&&_(I)}function ue(e,t){e.appendChild(t)}function T(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function de(e,t,n){e.insertBefore(t,n||null)}function he(e){e.parentNode.removeChild(e)}function L(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function pe(e){return document.createElement(e)}function k(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function me(e){return document.createTextNode(e)}function ge(){return me(" ")}function c(){return me("")}function K(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function w(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function G(e,t){e.value=null==t?"":t}function B(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}let p;function R(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=pe("iframe"),r=(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,function(){if(void 0===p){p=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){p=!0}}return p}());let i;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=K(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=K(n.contentWindow,"resize",t)}),ue(e,n),()=>{(r||i&&n.contentWindow)&&i(),he(n)}}function P(e,t,n){e.classList[n?"add":"remove"](t)}class A{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=k(t.nodeName):this.e=pe(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)de(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(he)}}function n(e){const t={};for(const n of e)t[n.name]=n.value;return t}const D=new Map;let H,N=0;function O(e,t,n,r,i,a,o,s=0){var l,c=16.666/r;let u="{\n";for(let e=0;e<=1;e+=c){const r=t+(n-t)*a(e);u+=100*e+`%{${o(r,1-r)}}
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@everymatrix/casino-collections-providers"),require("fs")):"function"==typeof define&&define.amd?define(["@everymatrix/casino-collections-providers","fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(0,e.require$$0)}(this,function(o,e){"use strict";(e=e)&&"object"==typeof e&&0 in e;function Z(){}const $=e=>e;function S(e){return e()}function F(){return Object.create(null)}function J(e){e.forEach(S)}function M(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let u;function ce(e,t){return(u=u||document.createElement("a")).href=t,e===u.href}function d(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function pt(e,t,n){e.$$.on_destroy.push(d(t,n))}function _(e){return e&&M(e.destroy)?e.destroy:Z}e="undefined"!=typeof window;let E=e?()=>window.performance.now():()=>Date.now(),I=e?e=>requestAnimationFrame(e):Z;const T=new Set;function L(t){T.forEach(e=>{e.c(t)||(T.delete(e),e.f())}),0!==T.size&&I(L)}function ue(e,t){e.appendChild(t)}function G(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function de(e,t,n){e.insertBefore(t,n||null)}function he(e){e.parentNode.removeChild(e)}function R(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function pe(e){return document.createElement(e)}function k(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function me(e){return document.createTextNode(e)}function ge(){return me(" ")}function c(){return me("")}function K(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function w(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function A(e,t){e.value=null==t?"":t}function B(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}let h;function m(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=pe("iframe"),r=(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,function(){if(void 0===h){h=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){h=!0}}return h}());let i;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=K(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=K(n.contentWindow,"resize",t)}),ue(e,n),()=>{(r||i&&n.contentWindow)&&i(),he(n)}}function P(e,t,n){e.classList[n?"add":"remove"](t)}class D{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=k(t.nodeName):this.e=pe(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)de(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(he)}}function n(e){const t={};for(const n of e)t[n.name]=n.value;return t}const H=new Map;let N,O=0;function j(e,t,n,r,i,a,o,s=0){var l,c=16.666/r;let u="{\n";for(let e=0;e<=1;e+=c){const r=t+(n-t)*a(e);u+=100*e+`%{${o(r,1-r)}}
2
2
  `}const d=u+`100% {${o(n,1-n)}}
3
- }`,h=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_`+s,p=T(e),{stylesheet:m,rules:g}=D.get(p)||(s=p,l={stylesheet:(l=e,f=pe("style"),ue((l=T(l)).head||l,f),f.sheet),rules:{}},D.set(s,l),l);g[h]||(g[h]=!0,m.insertRule(`@keyframes ${h} `+d,m.cssRules.length));var f=e.style.animation||"";return e.style.animation=(f?f+", ":"")+h+` ${r}ms linear ${i}ms 1 both`,N+=1,h}function j(e){H=e}function dt(e){!function(){if(H)return H;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const U=[],ot=[],W=[],z=[],Y=Promise.resolve();let V=!1;function X(){V||(V=!0,Y.then(f))}function xe(){return X(),Y}function q(e){W.push(e)}const Q=new Set;let ee,te=0;function f(){const e=H;do{for(;te<U.length;){const e=U[te];te++,j(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),J(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(q))}for(j(null),U.length=0,te=0;ot.length;)ot.pop()();for(let e=0;e<W.length;e+=1){const r=W[e];Q.has(r)||(Q.add(r),r())}}while(W.length=0,U.length);for(;z.length;)z.pop()();V=!1,Q.clear(),j(e)}function ne(e,t,n){e.dispatchEvent(function(e,{bubbles:t=!1,cancelable:n=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t,n,void 0),r}((t?"intro":"outro")+n))}const re=new Set;let ie;function ae(){ie={r:0,c:[],p:ie}}function oe(){ie.r||J(ie.c),ie=ie.p}function se(e,t){e&&e.i&&(re.delete(e),e.i(t))}function le(e,t,n,r){e&&e.o&&(re.has(e)||(re.add(e),ie.c.push(()=>{re.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const be={duration:0};function ve(l,e,t,n){let c=e(l,t),u=n?0:1,d=null,h=null,p=null;function m(){if(p){var e=l,t=p;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(", "),(N-=i)||_(()=>{N||(D.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),D.clear())}))}}function g(e,t){var n=e.b-u;return t*=Math.abs(n),{a:u,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=$,tick:i=Z,css:a}=c||be,o={start:M()+t,b:e};if(e||((o.group=ie).r+=1),!d&&!h){a&&(m(),p=O(l,u,e,n,t,r,a)),e&&i(0,1),d=g(o,n),q(()=>ne(l,e,"start"));{var s=e=>{if(h&&e>h.start&&(d=g(h,n),h=null,ne(l,d.b,"start"),a&&(m(),p=O(l,u,d.b,d.duration,0,r,c.css))),d)if(e>=d.end)i(u=d.b,1-u),ne(l,d.b,"end"),h||(d.b?m():--d.group.r||J(d.group.c)),d=null;else if(e>=d.start){const l=e-d.start;u=d.a+d.d*r(l/d.duration),i(u,1-u)}return!(!d&&!h)};let t;return 0===E.size&&_(I),void new Promise(e=>{E.add(t={c:s,f:e})})}}h=o}return{run(e){F(c)?(ee||(ee=Promise.resolve()).then(()=>{ee=null}),ee.then(()=>{c=c(),r(e)})):r(e)},end(){m(),d=h=null}}}function we(e,t){e.d(1),t.delete(e.key)}function r(r,e,t,n,i,a,o,s=[-1]){var l=H;j(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:S(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:S(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let u=!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),u&&(n=e,-1===(e=r).$$.dirty[0]&&(U.push(e),X(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,J(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const r=Array.from(a.childNodes);c.fragment&&c.fragment.l(r),r.forEach(he)}else c.fragment&&c.fragment.c();e.intro&&se(r.$$.fragment);{var d=r;s=e.target;o=e.anchor;t=e.customElement;const{fragment:h,on_mount:p,on_destroy:m,after_update:g}=d.$$;h&&h.m(s,o),t||q(()=>{var e=p.map(C).filter(F);m?m.push(...e):J(e),d.$$.on_mount=[]}),g.forEach(q)}f()}j(l)}let i;"function"==typeof HTMLElement&&(i=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(C).filter(F);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){J(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(J(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}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 $e,Ce,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,Se="URLSearchParams"in s,Fe="Symbol"in s&&"iterator"in Symbol,ke="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),Me="FormData"in s,_e="ArrayBuffer"in s;function Ee(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 Ie(e){return e="string"!=typeof e?String(e):e}function Te(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 l(t){this.map={},t instanceof l?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 Le(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Ge(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Be(e){var t=new FileReader,n=Ge(t);return t.readAsArrayBuffer(e),n}function Pe(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Re(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ke&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Me&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Se&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():_e&&ke&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Pe(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):_e&&(ArrayBuffer.prototype.isPrototypeOf(e)||Ce(e))?this._bodyArrayBuffer=Pe(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):Se&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ke&&(this.blob=function(){var e=Le(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?Le(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(Be)}),this.text=function(){var e,t,n=Le(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=Ge(e),e.readAsText(n),t;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)},Me&&(this.formData=function(){return this.text().then(He)}),this.json=function(){return this.text().then(JSON.parse)},this}_e&&($e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Ce=ArrayBuffer.isView||function(e){return e&&-1<$e.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Ee(e),t=Ie(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[Ee(e)]},l.prototype.get=function(e){return e=Ee(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Ee(e))},l.prototype.set=function(e,t){this.map[Ee(e)]=Ie(t)},l.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},l.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Te(n)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Te(t)},l.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Te(n)},Fe&&(l.prototype[Symbol.iterator]=l.prototype.entries);var Ae=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function De(e,t){if(!(this instanceof De))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof De){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(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 l(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Ae.indexOf(n)?n:e),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||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function He(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Ne(e,t){if(!(this instanceof Ne))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 l(t.headers),this.url=t.url||"",this._initBody(e)}De.prototype.clone=function(){return new De(this,{body:this._bodyInit})},Re.call(De.prototype),Re.call(Ne.prototype),Ne.prototype.clone=function(){return new Ne(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},Ne.error=function(){var e=new Ne(null,{status:0,statusText:""});return e.type="error",e};var Oe=[301,302,303,307,308],je=(Ne.redirect=function(e,t){if(-1===Oe.indexOf(t))throw new RangeError("Invalid status code");return new Ne(null,{status:t,headers:{location:e}})},s.DOMException);try{new je}catch(u){(je=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),je.prototype.constructor=je}function Ue(r,o){return new Promise(function(i,e){var t=new De(r,o);if(t.signal&&t.signal.aborted)return e(new je("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 l,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 e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){i(new Ne(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 je("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&s.location.href?s.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&&(ke?a.responseType="blob":_e&&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 l?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,Ie(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 Tn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ue.polyfill=!0,s.fetch||(s.fetch=Ue,s.Headers=l,s.Request=De,s.Response=Ne);var We=self.fetch.bind(self),ze=function(e,t){return(ze=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 Ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ze(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{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 Ze(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,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Ke(e){return"function"==typeof e}function Xe(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 qe=Xe(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 Qe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}nt.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Ve(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(Ke(a))try{a()}catch(e){i=e instanceof qe?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Ve(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{it(u)}catch(e){i=null!=i?i:[],e instanceof qe?i=Je(Je([],Ze(i)),Ze(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 qe(i)}},nt.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)it(e);else{if(e instanceof nt){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},nt.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},nt.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},nt.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Qe(t,e)},nt.prototype.remove=function(e){var t=this._finalizers;t&&Qe(t,e),e instanceof nt&&e._removeParent(this)},nt.EMPTY=((e=new nt).closed=!0,e);var et=nt,tt=et.EMPTY;function nt(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function rt(e){return e instanceof et||e&&"closed"in e&&Ke(e.remove)&&Ke(e.add)&&Ke(e.unsubscribe)}function it(e){Ke(e)?e():e.unsubscribe()}var at=void 0,ht=!1,pt=!1,mt={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=mt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,Je([e,t],Ze(n))):setTimeout.apply(void 0,Je([e,t],Ze(n)))},clearTimeout:function(e){var t=mt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function gt(){}var ft=null;function yt(e){if(ht){var t=!ft;if(t&&(ft={errorThrown:!1,error:null}),e(),t){var t=ft,n=t.errorThrown,t=t.error;if(ft=null,n)throw t}}else e()}Ye(xt,bt=et),xt.create=function(e,t,n){return new Ft(e,t,n)},xt.prototype.next=function(e){this.isStopped||this._next(e)},xt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},xt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},xt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,bt.prototype.unsubscribe.call(this),this.destination=null)},xt.prototype._next=function(e){this.destination.next(e)},xt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},xt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var bt,vt=xt,wt=Function.prototype.bind;function xt(e){var t=bt.call(this)||this;return t.isStopped=!1,e?rt(t.destination=e)&&e.add(t):t.destination=Et,t}function $t(e,t){return wt.call(e,t)}Mt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){_t(e)}},Mt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){_t(e)}else _t(e)},Mt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){_t(e)}};var Ct,St=Mt,Ft=(Ye(kt,Ct=vt),kt);function kt(e,t,n){var r=Ct.call(this)||this,n=Ke(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&pt?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&$t(e.next,t),error:e.error&&$t(e.error,t),complete:e.complete&&$t(e.complete,t)}):e;return r.destination=new St(n),r}function Mt(e){this.partialObserver=e}function _t(e){var t=e;mt.setTimeout(function(){throw t})}var Et={closed:!0,next:gt,error:function(e){throw e},complete:gt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function It(e){return e}Lt.prototype.lift=function(e){var t=new Lt;return t.source=this,t.operator=e,t},Lt.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof vt||r&&Ke(r.next)&&Ke(r.error)&&Ke(r.complete)&&rt(r)?e:new Ft(e,t,n);return yt(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},Lt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Lt.prototype.forEach=function(r,e){var i=this;return new(e=Gt(e))(function(e,t){var n=new Ft({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},Lt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Lt.prototype[e]=function(){return this},Lt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?It:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Lt.prototype.toPromise=function(e){var r=this;return new(e=Gt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Lt.create=function(e){return new Lt(e)};var Tt=Lt;function Lt(e){e&&(this._subscribe=e)}function Gt(e){return null!=(e=null!=e?e:at)?e:Promise}var Bt,Pt,Rt,At=Xe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Ye(a,Rt=Tt),a.prototype.lift=function(e){var t=new Dt(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new At},a.prototype.next=function(i){var a=this;yt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=Ve(a.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var n=this;yt(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)}})},a.prototype.complete=function(){var t=this;yt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},a.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(a.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),a.prototype._trySubscribe=function(e){return this._throwIfClosed(),Rt.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?tt:(this.currentObservers=null,i.push(e),new et(function(){t.currentObservers=null,Qe(i,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},a.prototype.asObservable=function(){var e=new Tt;return e.source=this,e},a.create=function(e,t){return new Dt(e,t)},a),Dt=(Ye(jt,Pt=e),jt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},jt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},jt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},jt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:tt},jt),Ht={now:function(){return(Ht.delegate||Date).now()},delegate:void 0},Nt=(Ye(Ot,Bt=e),Ot.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(),Bt.prototype.next.call(this,e)},Ot.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},Ot.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)}},Ot);function Ot(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Ht);var r=Bt.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 jt(e,t){var n=Pt.call(this)||this;return n.destination=e,n.source=t,n}function a(){var e=Rt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ut=[],Wt={};const zt=[];function Yt(r,i=Z){let a;const o=new Set;function s(e){if(t(r,e)&&(r=e,a)){const e=!zt.length;for(const e of o)e[1](),zt.push(e,r);if(e){for(let e=0;e<zt.length;e+=2)zt[e][0](zt[e+1]);zt.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 Vt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Yt(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),u?t(e):a=F(e)?e:Z)},e=c.map((e,t)=>h(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){J(e),a()}}).subscribe}}function Zt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Jt));var t}var Jt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Kt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?tn(Array.isArray(e)?[]:{},e,t):e}function Xt(e,t,n){return e.concat(t).map(function(e){return Kt(e,n)})}function qt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Qt(e,t){try{return t in e}catch(e){return!1}}function en(r,i,a){var o={};return a.isMergeableObject(r)&&qt(r).forEach(function(e){o[e]=Kt(r[e],a)}),qt(i).forEach(function(t){var e,n;(!Qt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Qt(r,t)&&a.isMergeableObject(i[t])?o[t]=function(e){if(!e.customMerge)return tn;e=e.customMerge(t);return"function"==typeof e?e:tn}(a)(r[t],i[t],a):o[t]=Kt(i[t],a))}),o}function tn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Xt,n.isMergeableObject=n.isMergeableObject||Zt,n.cloneUnlessOtherwiseSpecified=Kt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):en(e,t,n):Kt(t,n)}tn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return tn(e,t,n)},{});throw new Error("first argument should be an array")};var nn=tn,rn=function(e,t){return(rn=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 an(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}rn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,on,b=function(){return(b=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 sn(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function ln(e){return e.type===y.literal}function cn(e){return e.type===y.number}function un(e){return e.type===y.date}function dn(e){return e.type===y.time}function hn(e){return e.type===y.select}function pn(e){return e.type===y.plural}function mn(e){return e.type===y.tag}function gn(e){return e&&"object"==typeof e&&e.type===on.number}function fn(e){return e&&"object"==typeof e&&e.type===on.dateTime}(e=g=g||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=on=on||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,yn=/(?:[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 bn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,vn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,wn=/^(@+)?(\+|#+)?[rs]?$/g,xn=/(\*)(0+)|(#+)(0+)|(0+)/g,$n=/^(0+)$/;function Cn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(wn,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 Sn(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 Fn(e){return Sn(e)||{}}function kn(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=b(b(b({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return b(b({},e),Fn(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return b(b({},e),Fn(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(xn,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($n.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(vn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(vn,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),""});var a=i.options[0];"w"===a?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=b(b({},o),Cn(a)))}else wn.test(i.stem)?o=b(b({},o),Cn(i.stem)):((a=Sn(i.stem))&&(o=b(b({},o),a)),(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)),!$n.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=b(b({},o),r)))}return o}var Mn={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var _n=new RegExp("^".concat(e.source,"*")),En=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,In=!!String.fromCodePoint,Ln=!!Object.fromEntries,Gn=!!String.prototype.codePointAt,Bn=!!String.prototype.trimStart,Pn=!!String.prototype.trimEnd,Rn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},An=!0;try{An="a"===(null==(ir=Yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ir[0])}catch(u){An=!1}var Dn,Hn,Nn=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},On=In?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},jn=Ln?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},Un=Gn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},Wn=Bn?function(e){return e.trimStart()}:function(e){return e.replace(_n,"")},zn=Pn?function(e){return e.trimEnd()}:function(e){return e.replace(En,"")};function Yn(e,t){return new RegExp(e,t)}Hn=An?(Dn=Yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Dn.lastIndex=t,null!=(t=Dn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=Un(e,t);if(void 0===i||Jn(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 On.apply(void 0,r)};o.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},o.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(g.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Zn(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:y.pound,location:v(a,this.clonePosition())})}}}return{val:r,err:null}},o.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Zn(this.char()))return this.error(g.INVALID_TAG,v(e,this.clonePosition()));var i=this.clonePosition();return r!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,v(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,v(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(g.INVALID_TAG,v(n,this.clonePosition()))},o.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())},o.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=v(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},o.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Zn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},o.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 On.apply(void 0,t)},o.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(),On(n))},o.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,v(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},o.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Hn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},o.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(g.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=zn(m.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var u=v(r,this.clonePosition());if(l&&Nn(null==l?void 0:l.style,"::",0)){var d=Wn(l.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?m:{val:{type:y.number,value:n,location:u,style:m.val},err:null};if(0===d.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,u);var h=d,p=(this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(Mn[t||""]||Mn[n||""]||Mn["".concat(n,"-001")]||Mn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===i?"H":i}return n}(d,this.locale)),{type:on.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},h.replace(yn,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?y.date:y.time,value:n,location:u,style:p},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:u,style:null!=(d=null==l?void 0:l.style)?d:null},err:null};case"plural":case"selectordinal":case"select":h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,v(h,b({},h)));this.bumpSpace();var m,p=this.parseIdentifierIfPossible(),u=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),p=this.parseIdentifierIfPossible(),u=m.val}l=this.tryParsePluralOrSelectOptions(e,o,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;d=v(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:jn(l.val),location:d},err:null}:{val:{type:y.plural,value:n,options:jn(l.val),offset:u,pluralType:"plural"===o?"cardinal":"ordinal",location:d},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,v(a,s))}},o.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},o.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(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(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}},o.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(bn).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(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:on.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?kn(n):{}},err:null}},o.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 u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;a.push([s,{value:c.val,location:v(u,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(g.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},o.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=v(r,this.clonePosition());return i?Rn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},o.prototype.offset=function(){return this.position.offset},o.prototype.isEOF=function(){return this.offset()===this.message.length},o.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},o.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Un(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},o.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},o.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))},o.prototype.bumpIf=function(e){if(Nn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},o.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},o.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},o.prototype.bumpSpace=function(){for(;!this.isEOF()&&Jn(this.char());)this.bump()},o.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Vn=o;function o(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Zn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Jn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Kn(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Vn(e,t).parse();if(e.err)throw(n=SyntaxError(g[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,hn(e)||pn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else cn(e)&&gn(e.style)||(un(e)||dn(e))&&fn(e.style)?delete e.style.location:mn(e)&&n(e.children)})}(e.val),e.val}function Xn(e,t){var n=t&&t.cache?t.cache:ar,r=t&&t.serializer?t.serializer:tr;return(t&&t.strategy?t.strategy:function(e,t){return er(e,this,1===e.length?qn:Qn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function qn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function Qn(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function er(e,t,n,r,i){return n.bind(t,e,r,i)}var tr=function(){return JSON.stringify(arguments)};function nr(){this.cache=Object.create(null)}nr.prototype.get=function(e){return this.cache[e]},nr.prototype.set=function(e,t){this.cache[e]=t};var rr,ir,ar={create:function(){return new nr}},or={variadic:function(e,t){return er(e,this,Qn,t.cache.create(),t.serializer)},monadic:function(e,t){return er(e,this,qn,t.cache.create(),t.serializer)}};(ir=rr=rr||{}).MISSING_VALUE="MISSING_VALUE",ir.INVALID_VALUE="INVALID_VALUE",ir.MISSING_INTL_API="MISSING_INTL_API";an(vr,dr=Error),vr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var sr,lr,cr,ur,dr,hr=vr,pr=(an(br,ur=hr),br),mr=(an(yr,cr=hr),yr),gr=(an(fr,lr=hr),fr);function fr(e,t){return lr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),rr.MISSING_VALUE,t)||this}function yr(e,t,n){return cr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),rr.INVALID_VALUE,n)||this}function br(e,t,n,r){return ur.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),rr.INVALID_VALUE,r)||this}function vr(e,t,n){e=dr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function wr(e,t,n,r,i,a,o){if(1===e.length&&ln(e[0]))return[{type:sr.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(ln(u))s.push({type:sr.literal,value:u.value});else if(u.type===y.pound)"number"==typeof a&&s.push({type:sr.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new gr(d,o);d=i[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?sr.literal:sr.object,value:d});else if(un(u)){var h="string"==typeof u.style?r.date[u.style]:fn(u.style)?u.style.parsedOptions:void 0;s.push({type:sr.literal,value:n.getDateTimeFormat(t,h).format(d)})}else if(dn(u))h="string"==typeof u.style?r.time[u.style]:fn(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:sr.literal,value:n.getDateTimeFormat(t,h).format(d)});else if(cn(u))(h="string"==typeof u.style?r.number[u.style]:gn(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),s.push({type:sr.literal,value:n.getNumberFormat(t,h).format(d)});else{if(mn(u)){var p=u.children,m=u.value,g=i[m];if("function"!=typeof g)throw new mr(m,"function",o);m=g(wr(p,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?sr.literal:sr.object,value:e}}))}if(hn(u)){if(!(f=u.options[d]||u.options.other))throw new pr(u.value,d,Object.keys(u.options),o);s.push.apply(s,wr(f.value,t,n,r,i))}else if(pn(u)){if(!(f=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new hr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',rr.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),f=u.options[g]||u.options.other}if(!f)throw new pr(u.value,d,Object.keys(u.options),o);s.push.apply(s,wr(f.value,t,n,r,i,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===sr.literal&&t.type===sr.literal?n.value+=t.value:e.push(t),e},[])}function xr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=sr=sr||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(Cr,"defaultLocale",{get:function(){return Cr.memoizedDefaultLocale||(Cr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Cr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Cr.memoizedDefaultLocale=null,Cr.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},Cr.__parse=Kn,Cr.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"}}};var $r=Cr;function Cr(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=Cr.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===sr.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 wr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=Cr.resolveLocale(t),"string"==typeof e){if(this.message=e,!Cr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Cr.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}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=Cr.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?b(b(b({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),r[t]||{}),e},{})):n),e},b({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,sn([void 0],t,!1)))},{cache:xr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:or.variadic}),getDateTimeFormat:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,sn([void 0],t,!1)))},{cache:xr(t.dateTime),strategy:or.variadic}),getPluralRules:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,sn([void 0],t,!1)))},{cache:xr(t.pluralRules),strategy:or.variadic})}}const Sr={},Fr=(e,t,n)=>n&&(t in Sr||(Sr[t]={}),e in Sr[t]||(Sr[t][e]=n),n),kr=(t,n)=>{if(null!=n){if(n in Sr&&t in Sr[n])return Sr[n][t];var r=jr(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!Er(e))return null;e=function(e){return Mr[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}(r[e],t);if(i)return Fr(t,n,i)}}};let Mr;const _r=Yt({});function Er(e){return e in Mr}function Ir(t,...n){delete Sr[t],_r.update(e=>(e[t]=nn.all([e[t]||{},...n]),e))}Vt([_r],([e])=>Object.keys(e)),_r.subscribe(e=>Mr=e);const Tr={};function Lr(e){return Tr[e]}function Gr(e){return null!=e&&jr(e).some(e=>{return null==(e=Lr(e))?void 0:e.size})}const Br={};function Pr(e){if(!Gr(e))return e in Br?Br[e]:Promise.resolve();const t=jr(e).map(e=>{var t=Lr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Br[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return Tr[t].delete(n),0===Tr[t].size&&delete Tr[t],e().then(e=>e.default||e)}));return n.then(e=>Ir(r,...e))}})).then(()=>{if(Gr(e))return Pr(e);delete Br[e]}),Br[e]}function Rr(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 Ar={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Dr=Yt(!1);let Hr;const Nr=Yt(null);function Or(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function jr(e,t=Ar.fallbackLocale){e=Or(e);return t?[...new Set([...e,...Or(t)])]:e}function Ur(){return null!=Hr?Hr:void 0}Nr.subscribe(e=>{Hr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const st=Object.assign(Object.assign({},Nr),{set:t=>{if(t&&function(e){if(null!=e){var t=jr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Er(n))return n}}}(t)&&Gr(t)){var n=Ar["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ur()&&n?e=window.setTimeout(()=>Dr.set(!0),n):Dr.set(!0),Pr(t).then(()=>{Nr.set(t)}).finally(()=>{clearTimeout(e),Dr.set(!1)})}return Nr.set(t)}}),Wr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},zr=(e,t)=>{var n=Ar["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yr=Wr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=zr("number",n)),new Intl.NumberFormat(t,e)}),Vr=Wr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=zr("date",n):0===Object.keys(e).length&&(e=zr("date","short")),new Intl.DateTimeFormat(t,e)}),Zr=Wr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=zr("time",n):0===Object.keys(e).length&&(e=zr("time","short")),new Intl.DateTimeFormat(t,e)}),Jr=Wr((e,t=Ur())=>new $r(e,t,Ar.formats,{ignoreTag:Ar.ignoreTag})),Kr=Vt([st,_r],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:a,locale:o=Ur(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=kr(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=Ar).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!a)return l;let c=l;try{c=Jr(l,o).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),lt=(Vt([st],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Rr(e,["locale"]);return Zr(Object.assign({locale:t},e))})(t).format(e)),Vt([st],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Rr(e,["locale"]);return Vr(Object.assign({locale:t},e))})(t).format(e)),Vt([st],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Rr(e,["locale"]);return Yr(Object.assign({locale:t},e))})(t).format(e)),Vt([st,_r],()=>(e,t=Ur())=>kr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ut.indexOf(e)&&(t=new Nt(t),Wt[e]=t,Ut.push(e)),Wt[e]}},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))),ct=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Xr(e){var t=window.navigator.userAgent;return lt(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 qr(r,i){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),We(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Qr(e){st.set(e)}const ei={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"}},zh:{headerItem:{login:"登錄",register:"登記",deposit:"訂金"}},fr:{headerItem:{login:"Connexion",register:"Registre",deposit:"Dépôt"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"}},es:{headerItem:{login:"Iniciar sesión",register:"Registro",deposit:"Depósito"}},pt:{headerItem:{login:"Entrar",register:"Registro",deposit:"Depósito"}}};function ti(e,t,n){const r=e.slice();return r[2]=t[n],r}function ni(e){let n,r=e[2]&&"true"==e[0]&&ii(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[2]&&"true"==e[0]?r?r.p(e,t):((r=ii(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ri(e){let n;return{c(){(n=pe("p")).textContent="Loading ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function ii(t){let i,a=t[2]?.items,o=[];for(let e=0;e<a.length;e+=1)o[e]=ai(ti(t,a,e));return{c(){i=pe("div");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class","DropdownContent")},m(e,t){de(e,i,t);for(let e=0;e<o.length;e+=1)o[e].m(i,null)},p(t,n){if(4&n){let e;for(a=t[2]?.items,e=0;e<a.length;e+=1){var r=ti(t,a,e);o[e]?o[e].p(r,n):(o[e]=ai(r),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&he(i),L(o,e)}}}function ai(e){let n,r,i=e[2]?.name+"";return{c(){n=pe("a"),r=me(i),fe(n,"class","test")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){4&t&&i!==(i=e[2]?.name+"")&&ye(r,i)},d(e){e&&he(n)}}}function oi(e){let n;function r(e){return e[1]?ri:0<e[2].count?ni:void 0}let i=r(e),a=i&&i(e);return{c(){a&&a.c(),n=c(),this.c=Z},m(e,t){a&&a.m(e,t),de(e,n,t)},p(e,[t]){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a&&a.d(e),e&&he(n)}}}function si(t,e,n){let r,{endpoint:i=""}=e,{datasource:a=""}=e,{lang:o=""}=e,{favoritesnumber:s="0"}=e,{location:l=""}=e,{showsubgroups:c=""}=e,{group:u=""}=e,{categoryid:d=""}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{activeindex:m="0"}=e,g=!0,f=window.navigator.userAgent;return ct(f),t.$$set=e=>{"endpoint"in e&&n(3,i=e.endpoint),"datasource"in e&&n(4,a=e.datasource),"lang"in e&&n(5,o=e.lang),"favoritesnumber"in e&&n(6,s=e.favoritesnumber),"location"in e&&n(7,l=e.location),"showsubgroups"in e&&n(0,c=e.showsubgroups),"group"in e&&n(8,u=e.group),"categoryid"in e&&n(9,d=e.categoryid),"clientstyling"in e&&n(10,h=e.clientstyling),"clientstylingurl"in e&&n(11,p=e.clientstylingurl),"activeindex"in e&&n(12,m=e.activeindex)},t.$$.update=()=>{var e;56&t.$$.dirty&&i&&a&&o&&(e=new URL(`${i}/casino/groups/${a}/${d}/subGroups?language=`+o),n(1,g=!0),fetch(e.href).then(e=>e.json()).then(e=>{console.log(e),n(2,r=e)}).finally(()=>{n(1,g=!1)}))},[c,g,r,i,a,o,s,l,u,d,h,p,m]}function li(e,t,n){const r=e.slice();return r[35]=t[n],r[37]=n,r}function ci(t){let r,i=[],n=new Map,a=t[11];const o=e=>e[35].id;for(let e=0;e<a.length;e+=1){var s=li(t,a,e),l=o(s);n.set(l,i[e]=hi(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);de(t,r,n)},p(e,t){11119&t[0]&&(a=e[11],i=function(t,n,r,i,a,o,s,l,e,c,u,d){let h=t.length,p=o.length,m=h;const g={};for(;m--;)g[t[m].key]=m;const f=[],y=new Map,b=new Map;for(m=p;m--;){const t=d(a,o,m),l=r(t);let e=s.get(l);e?i&&e.p(t,n):(e=c(l,t)).c(),y.set(l,f[m]=e),l in g&&b.set(l,Math.abs(m-g[l]))}const v=new Set,w=new Set;function x(e){se(e,1),e.m(l,u),s.set(e.key,e),u=e.first,p--}for(;h&&p;){const n=f[p-1],r=t[h-1],i=n.key,a=r.key;n===r?(u=n.first,h--,p--):y.has(a)?!s.has(i)||v.has(i)?x(n):w.has(a)?h--:b.get(i)>b.get(a)?(w.add(i),x(n)):(v.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,we,hi,r,li))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&he(r)}}}function ui(e){let n,r,i,a=e[35].name+"",o="FAVORITES"===e[35].id?"("+e[2]+")":"";return{c(){n=me(a),r=ge(),i=me(o)},m(e,t){de(e,n,t),de(e,r,t),de(e,i,t)},p(e,t){2048&t[0]&&a!==(a=e[35].name+"")&&ye(n,a),2052&t[0]&&o!==(o="FAVORITES"===e[35].id?"("+e[2]+")":"")&&ye(i,o)},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function di(e){let n,r,i=e[35].label+"";return{c(){n=pe("a"),r=me(i)},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2048&t[0]&&i!==(i=e[35].label+"")&&ye(r,i)},d(e){e&&he(n)}}}function hi(e,n){let r,i,a,o,s,l,c,u;function d(e){return"headerMain"===e[3]?di:ui}let h=d(n),p=h(n);function m(...e){return n[25](n[35],n[37],...e)}return{key:e,first:null,c(){r=pe("li"),p.c(),i=ge(),a=pe("casino-slider-dropdown"),s=ge(),w(a,"favoritesnumber",n[2]),w(a,"categoryid",o=n[35].id),w(a,"showsubgroups",n[6]),w(a,"location",n[3]),w(a,"endpoint",n[0]),w(a,"lang",n[5]),w(a,"datasource",n[1]),fe(r,"class",l="CarouselItem "+(n[8]==n[37]||n[9]==n[37]?"active":"")),fe(r,"part","CarouselItem"),this.first=r},m(e,t){de(e,r,t),p.m(r,null),ue(r,i),ue(r,a),ue(r,s),c||(u=K(r,"click",m),c=!0)},p(e,t){h===(h=d(n=e))&&p?p.p(n,t):(p.d(1),(p=h(n))&&(p.c(),p.m(r,i))),4&t[0]&&w(a,"favoritesnumber",n[2]),2048&t[0]&&o!==(o=n[35].id)&&w(a,"categoryid",o),64&t[0]&&w(a,"showsubgroups",n[6]),8&t[0]&&w(a,"location",n[3]),1&t[0]&&w(a,"endpoint",n[0]),32&t[0]&&w(a,"lang",n[5]),2&t[0]&&w(a,"datasource",n[1]),2816&t[0]&&l!==(l="CarouselItem "+(n[8]==n[37]||n[9]==n[37]?"active":""))&&fe(r,"class",l)},d(e){e&&he(r),p.d(),c=!1,u()}}}function pi(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=0<n[11].length&&ci(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("div")).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=ge(),s=pe("ul"),y&&y.c(),l=ge(),(c=pe("div")).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,fe(a,"class","CarouselLeftArrow"),fe(a,"part","CarouselLeftArrow"),fe(s,"class","CarouselItems"),fe(s,"part","CarouselItems"),fe(c,"class","CarouselRightArrow"),fe(c,"part","CarouselRightArrow"),fe(i,"class",u="CarouselContainer "+(n[12]?"CarouselContainerMobile":"")+" "+("headerMain"===n[3]?"CarouselContainerHeaderMain":"")),fe(i,"part",d="CarouselContainer "+(n[12]?"CarouselContainerMobile":"")+" "+("headerMain"===n[3]?"CarouselContainerHeaderMain":"")),fe(i,"style",h="headerMain"===n[3]?"max-width: auto":`max-width: ${n[4]}px`),fe(r,"class",p="CarouselWrapper "+("headerMain"===n[3]?"CarouselWrapperHeaderMain":"")),fe(r,"part",m="CarouselWrapper "+("headerMain"===n[3]?"CarouselWrapperHeaderMain":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),y&&y.m(s,null),n[26](s),ue(i,l),ue(i,c),n[28](r),g||(f=[K(a,"click",n[24]),K(c,"click",n[27])],g=!0)},p(e,t){0<e[11].length?y?y.p(e,t):((y=ci(e)).c(),y.m(s,null)):y&&(y.d(1),y=null),8&t[0]&&u!==(u="CarouselContainer "+(e[12]?"CarouselContainerMobile":"")+" "+("headerMain"===e[3]?"CarouselContainerHeaderMain":""))&&fe(i,"class",u),8&t[0]&&d!==(d="CarouselContainer "+(e[12]?"CarouselContainerMobile":"")+" "+("headerMain"===e[3]?"CarouselContainerHeaderMain":""))&&fe(i,"part",d),24&t[0]&&h!==(h="headerMain"===e[3]?"max-width: auto":`max-width: ${e[4]}px`)&&fe(i,"style",h),8&t[0]&&p!==(p="CarouselWrapper "+("headerMain"===e[3]?"CarouselWrapperHeaderMain":""))&&fe(r,"class",p),8&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[3]?"CarouselWrapperHeaderMain":""))&&fe(r,"part",m)},i:Z,o:Z,d(e){e&&he(r),y&&y.d(),n[26](null),n[28](null),g=!1,J(f)}}}function mi(t,e,n){let{endpoint:r=""}=e,{datasource:i=""}=e,{onclickeventname:a="defaultEvent"}=e,{actionevent:o="defaultEvent"}=e,{favoritesnumber:s="0"}=e,{location:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{identity:d=""}=e,{containermaxwidth:h=""}=e,{isprimarymenu:p=!1}=e,{issecondarymenu:m=!1}=e,{lang:g=""}=e,{activeindex:f="0"}=e,{showsubgroups:y=""}=e;var b,v;({withLocale:b,translations:v}={withLocale:"en",translations:{}}),st.subscribe(e=>{null==e&&(_r.set(v),st.set(b))}),Object.keys(ei).forEach(e=>{Ir(e,ei[e])});let w,x,$,C,S=window.navigator.userAgent,F="PC"!==ct(S),k=[],M=(e,t)=>{n(8,x=t),n(8,x),n(9,$=x),window.postMessage({type:o,itemId:e.id,index:t,item:e},window.location.href)},_=()=>{w.scrollBy({left:-250,behavior:"smooth"})},E=()=>{w.scrollBy({left:250,behavior:"smooth"})};const I=e=>{"SliderData"==e.data.type&&e.data.identity==d&&n(11,k=e.data.data)};return dt(()=>(window.addEventListener("message",I,!1),()=>{window.removeEventListener("message",I)})),t.$$set=e=>{"endpoint"in e&&n(0,r=e.endpoint),"datasource"in e&&n(1,i=e.datasource),"onclickeventname"in e&&n(16,a=e.onclickeventname),"actionevent"in e&&n(17,o=e.actionevent),"favoritesnumber"in e&&n(2,s=e.favoritesnumber),"location"in e&&n(3,l=e.location),"clientstyling"in e&&n(18,c=e.clientstyling),"clientstylingurl"in e&&n(19,u=e.clientstylingurl),"identity"in e&&n(20,d=e.identity),"containermaxwidth"in e&&n(4,h=e.containermaxwidth),"isprimarymenu"in e&&n(21,p=e.isprimarymenu),"issecondarymenu"in e&&n(22,m=e.issecondarymenu),"lang"in e&&n(5,g=e.lang),"activeindex"in e&&n(23,f=e.activeindex),"showsubgroups"in e&&n(6,y=e.showsubgroups)},t.$$.update=()=>{if(8388608&t.$$.dirty[0]&&f&&(n(8,x=parseInt(f,10)),$||n(9,$=x)),262144&t.$$.dirty[0]&&c){let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{C.appendChild(e)})}if(524288&t.$$.dirty[0]&&u){let t=document.createElement("style"),e=new URL(u);u&&fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{C.appendChild(t)},1)})}var e;32&t.$$.dirty[0]&&g&&(e=g,st.set(e))},[r,i,s,l,h,g,y,w,x,$,C,k,F,M,_,E,a,o,c,u,d,p,m,f,()=>_(),(e,t,n)=>M(e,t),function(e){ot[e?"unshift":"push"](()=>{w=e,n(7,w)})},()=>E(),function(e){ot[e?"unshift":"push"](()=>{C=e,n(10,C)})}]}function gi(n){let r,i,a,o;return{c(){r=pe("div"),w(i=pe("casino-slider"),"lang",n[2]),w(i,"datasource",n[1]),w(i,"endpoint",n[0]),w(i,"identity",vi),w(i,"favoritesnumber",n[12]),w(i,"showsubgroups",n[7]),w(i,"clientstyling",n[3]),w(i,"clientstylingurl",n[4]),w(i,"containermaxwidth",n[5]),w(i,"activeindex",n[9]),w(i,"actionevent",n[6]),fe(r,"class","CasinoCategoriesContainer"),fe(r,"part","CasinoCategoriesContainer")},m(e,t){de(e,r,t),ue(r,i),a||(o=m(n[14].call(null,i)),a=!0)},p(e,t){4&t[0]&&w(i,"lang",e[2]),2&t[0]&&w(i,"datasource",e[1]),1&t[0]&&w(i,"endpoint",e[0]),4096&t[0]&&w(i,"favoritesnumber",e[12]),128&t[0]&&w(i,"showsubgroups",e[7]),8&t[0]&&w(i,"clientstyling",e[3]),16&t[0]&&w(i,"clientstylingurl",e[4]),32&t[0]&&w(i,"containermaxwidth",e[5]),512&t[0]&&w(i,"activeindex",e[9]),64&t[0]&&w(i,"actionevent",e[6])},d(e){e&&he(r),a=!1,o()}}}function fi(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function yi(e){let n;return{c(){fe(n=pe("div"),"class","CasinoCategoriesLoading"),fe(n,"part","CasinoCategoriesLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function bi(n){let r;function i(e){return e[8]||e[13]?yi:e[10]?fi:gi}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),o.m(r,null),n[23](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[23](null)}}}customElements.get("casino-slider-dropdown")||customElements.define("casino-slider-dropdown",class extends i{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}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},si,oi,t,{endpoint:3,datasource:4,lang:5,favoritesnumber:6,location:7,showsubgroups:0,group:8,categoryid:9,clientstyling:10,clientstylingurl:11,activeindex:12},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","favoritesnumber","location","showsubgroups","group","categoryid","clientstyling","clientstylingurl","activeindex"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),f()}get favoritesnumber(){return this.$$.ctx[6]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),f()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),f()}get showsubgroups(){return this.$$.ctx[0]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get group(){return this.$$.ctx[8]}set group(e){this.$$set({group:e}),f()}get categoryid(){return this.$$.ctx[9]}set categoryid(e){this.$$set({categoryid:e}),f()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get activeindex(){return this.$$.ctx[12]}set activeindex(e){this.$$set({activeindex:e}),f()}}),customElements.get("casino-slider")||customElements.define("casino-slider",class extends i{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{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-y:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{position:relative;display:flex;height:100%;align-items:center;padding:13px 11px;font-size:15px;font-weight:500;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 .CarouselItems .CarouselItem:hover casino-slider-dropdown,.CarouselContainer .CarouselItems .CarouselItem.active casino-slider-dropdown{display:block}.CarouselContainer casino-slider-dropdown{position:absolute;transition:all 1s ease-in;display:none;min-width:100px;top:52px;left:0;padding:10px 11px;background:var(--emfe-w-color-contrast, #07072A);background:-webkit-linear-gradient(var(--emfe-w-color-contrast, #07072A), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(var(--emfe-w-color-contrast, #07072A), var(--emfe-w-color-primary, #D0046C))}.CarouselContainer casino-slider-dropdown a{display:block;font-weight:400;line-height:30px;text-align:left}.CarouselContainer .CarouselItem:hover casino-slider-dropdown{display:block}.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-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:84px;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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},mi,pi,t,{endpoint:0,datasource:1,onclickeventname:16,actionevent:17,favoritesnumber:2,location:3,clientstyling:18,clientstylingurl:19,identity:20,containermaxwidth:4,isprimarymenu:21,issecondarymenu:22,lang:5,activeindex:23,showsubgroups:6},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get onclickeventname(){return this.$$.ctx[16]}set onclickeventname(e){this.$$set({onclickeventname:e}),f()}get actionevent(){return this.$$.ctx[17]}set actionevent(e){this.$$set({actionevent:e}),f()}get favoritesnumber(){return this.$$.ctx[2]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),f()}get location(){return this.$$.ctx[3]}set location(e){this.$$set({location:e}),f()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get identity(){return this.$$.ctx[20]}set identity(e){this.$$set({identity:e}),f()}get containermaxwidth(){return this.$$.ctx[4]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get isprimarymenu(){return this.$$.ctx[21]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),f()}get issecondarymenu(){return this.$$.ctx[22]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),f()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),f()}get activeindex(){return this.$$.ctx[23]}set activeindex(e){this.$$set({activeindex:e}),f()}get showsubgroups(){return this.$$.ctx[6]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}});let vi="CasinoSliderData";function wi(e,t,n){let r,i,a,{endpoint:o=""}=t,{datasource:s=""}=t,{lang:l=""}=t,{userid:c=""}=t,{session:u=""}=t,{mostplayed:d=""}=t,{mostplayedrounds:h=""}=t,{favorites:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{containermaxwidth:f=""}=t,{activecategory:y=""}=t,{actionevent:b=""}=t,{sessioncheck:v=""}=t,{showsubgroups:w=""}=t,{subgroups:x=""}=t,$=0,C=!0,S=[],F=!1,k=window.navigator.userAgent,M=!1,_=!1,E=!1;const I=e=>{if(e.data)switch(e.data.type){case"UpdateCategoryFavoriteGames":case"ShowFavoriteSection":var t=Xr(e.data.receivedFavoriteResults.items);n(12,a=t.length)}};return dt(()=>(window.addEventListener("message",I,!1),()=>{window.removeEventListener("message",I)})),e.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"lang"in e&&n(2,l=e.lang),"userid"in e&&n(15,c=e.userid),"session"in e&&n(16,u=e.session),"mostplayed"in e&&n(17,d=e.mostplayed),"mostplayedrounds"in e&&n(18,h=e.mostplayedrounds),"favorites"in e&&n(19,p=e.favorites),"clientstyling"in e&&n(3,m=e.clientstyling),"clientstylingurl"in e&&n(4,g=e.clientstylingurl),"containermaxwidth"in e&&n(5,f=e.containermaxwidth),"activecategory"in e&&n(20,y=e.activecategory),"actionevent"in e&&n(6,b=e.actionevent),"sessioncheck"in e&&n(21,v=e.sessioncheck),"showsubgroups"in e&&n(7,w=e.showsubgroups),"subgroups"in e&&n(22,x=e.subgroups)},e.$$.update=()=>{if(7&e.$$.dirty[0]&&o&&s&&l&&(o||(r="Endpoint is missing! Please provide a valid endpointURL.",n(10,F=!0),n(8,C=!1),console.error(r)),s||(r="Datasource is missing! Please provide a valid datasource.",n(10,F=!0),n(8,C=!1),console.error(r)),(!l||l.length<2)&&(r="Language is missing! Please provide a valid language (alpha2code)",n(10,F=!0),n(8,C=!1),console.error(r)),!F)){let e=new URL(o+"/casino/groups/"+s);e.searchParams.append("datasource",s),e.searchParams.append("platform",ct(k)),e.searchParams.append("language",l),fetch(e).then(e=>e.json()).then(e=>{e=e.items.filter(e=>0<e.games.total);(S=(S=[]).concat(e)).unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(8,C=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(10,F=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(10,F=!0),console.error("There was an error while fetching the categories",e)})}if(1048832&e.$$.dirty[0]&&!C&&y&&n(9,$=S.map(e=>e.id).indexOf(decodeURI(y))),65537&e.$$.dirty[0]&&u&&o&&"true"==v&&qr(o,u).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),590080&e.$$.dirty[0]&&u&&p&&!C&&(0==M&&"true"==p&&S.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),M=!0),229377&e.$$.dirty[0]&&u&&o&&c&&d&&d&&(n(13,E=!0),(()=>{if(d){let e=new URL(`${o}/player/${c}/games/most-played`),t=ct(k);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==_&&"true"==d&&e&&S.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(13,E=!1),xe(),_=!0})),8&e.$$.dirty[0]&&m){let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)}if(16&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(12,a=0),[o,s,l,m,g,f,b,w,C,$,F,i,a,E,e=>{window.postMessage({type:"SliderData",identity:vi,data:S},window.location.href)},c,u,d,h,p,y,v,x,function(e){ot[e?"unshift":"push"](()=>{i=e,n(11,i)})}]}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends i{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:var(--emfe-w-color-black, #000000)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},wi,bi,t,{endpoint:0,datasource:1,lang:2,userid:15,session:16,mostplayed:17,mostplayedrounds:18,favorites:19,clientstyling:3,clientstylingurl:4,containermaxwidth:5,activecategory:20,actionevent:6,sessioncheck:21,showsubgroups:7,subgroups:22},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","mostplayedrounds","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","showsubgroups","subgroups"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),f()}get userid(){return this.$$.ctx[15]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[16]}set session(e){this.$$set({session:e}),f()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[18]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get favorites(){return this.$$.ctx[19]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get containermaxwidth(){return this.$$.ctx[5]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get activecategory(){return this.$$.ctx[20]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),f()}get sessioncheck(){return this.$$.ctx[21]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}get showsubgroups(){return this.$$.ctx[7]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get subgroups(){return this.$$.ctx[22]}set subgroups(e){this.$$set({subgroups:e}),f()}});const xi={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},zh:{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",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:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"Error 500 - Error Interno del Servidor",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tómate un descanso de 1 día del juego.",breakButton:"Tómese un descanso de 24 horas del juego",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Limpio",noGamesPlayed:"No has probado ningún juego!"}},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:"Resetiraj",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:"Visszaállítás",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:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},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:"Ponastavitev",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:"Resetuj",noGamesPlayed:"You have no games played!"}}},$i={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},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:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},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",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{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:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{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."}}};Si=Ci={path:void 0,exports:{},require:function(e,t){return Tn(null==t&&Ci.path)}},Ci.exports,Si.exports=function(){var R;function m(){return R.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function A(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function D(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function s(e){return void 0===e}function H(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function N(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function O(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return Tt(e,t,n,r,!0).utc()}function f(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 U(e){if(null==e._isValid){var t=f(e),n=z.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 W(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var z=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},Y=m.momentProperties=[],V=!1;function Z(e,t){var n,r,i,a=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(i=t[r=Y[n]])||(e[r]=i);return e}function J(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,m.updateOffset(this),V=!1)}function l(e){return e instanceof J||null!=e&&null!=e._isAMomentObject}function K(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return j(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,a),s){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}K(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var X={};function q(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),X[e]||(K(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=j({},e);for(n in t)g(t,n)&&(A(e[n])&&A(t[n])?(r[n]={},j(r[n],e[n]),j(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)g(e,n)&&!g(t,n)&&A(e[n])&&(r[n]=j({},r[n]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function a(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 ne=/(\[[^\[]*\])|(\\)?([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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},ae={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=i),t&&(ae[t[0]]=function(){return a(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,a=i.length;t<a;t++)ae[i[t]]?i[t]=ae[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+=u(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)g(e,n)&&(t=d(n))&&(r[t]=e[n]);return r}var ue={};function n(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function h(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function p(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?h(e):t}function he(t,n){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,n),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(n=p(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Be(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,$e=/[+-]?\d{1,6}/,Ce=/\d+/,Se=/[+-]?\d+/,Fe=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[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 w(e,n,r){_e[e]=u(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return g(_e,e)?_e[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var _e={},Ee={};function $(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),H(n)&&(i=function(e,t){t[n]=p(e)}),r=e.length,t=0;t<r;t++)Ee[e[t]]=i}function Ie(e,i){$(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var C,S=0,F=1,k=2,M=3,_=4,E=5,Te=6,Le=7,Ge=8;function Be(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?de(e)?29:28:31-n%7%2}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),$(["M","MM"],function(e,t){t[F]=p(e)-1}),$(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[F]=r:f(n).invalidMonth=e});var Pe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=v,He=v;function Ne(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!H(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Be(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Oe(e){return null!=e?(Ne(this,e),m.updateOffset(this,!0),this):pe(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=c([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]=x(n[a]),r[a]=x(r[a]);for(a=0;a<24;a++)i[a]=x(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 Ue(e){return de(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",Se),w("YY",b,y),w("YYYY",xe,fe),w("YYYYY",$e,ye),w("YYYYYY",$e,ye),$(["YYYYY","YYYYYY"],S),$("YYYY",function(e,t){t[S]=2===e.length?m.parseTwoDigitYear(e):p(e)}),$("YY",function(e,t){t[S]=m.parseTwoDigitYear(e)}),$("Y",function(e,t){t[S]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var We=he("FullYear",!0);function ze(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 Ye(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 Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var a,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,i),n=t<=0?Ue(a=e-1)+t:t>Ue(e)?(a=e+1,t-Ue(e)):(a=e,t);return{year:a,dayOfYear:n}}function Je(e,t,n){var r,i,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+I(i=e.year()-1,t,n):a>I(e.year(),t,n)?(r=a-I(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function I(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",b),w("ww",b,y),w("W",b),w("WW",b,y),Ie(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=p(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Ie(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),Ie(["d","e","E"],function(e,t,n,r){t[r]=p(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=x(this.weekdaysMin(r,"")),n=x(this.weekdaysShort(r,"")),r=x(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 it(){return this.hours()%12||12}function at(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),$(["H","HH"],M),$(["k","kk"],function(e,t,n){e=p(e);t[M]=24===e?0:e}),$(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),$(["h","hh"],function(e,t,n){t[M]=p(e),f(n).bigHour=!0}),$("hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r)),f(n).bigHour=!0}),$("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r,2)),t[E]=p(e.substr(i)),f(n).bigHour=!0}),$("Hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r))}),$("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r,2)),t[E]=p(e.substr(i))});v=he("Hours",!0);var st,lt={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:Pe,monthsShort:Re,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},T={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=ut(e[a]).split("-")).length,n=(n=ut(e[a+1]))?n.split("-"):null;0<t;){if(r=ht(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 st}function ht(t){var e;if(void 0===T[t]&&Si&&Si.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Tn(),pt(e)}catch(e){T[t]=null}return T[t]}function pt(e,t){return e&&((t=s(t)?L(e):mt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function mt(e,t){if(null===t)return delete T[e],null;var n,r=lt;if(t.abbr=e,null!=T[e])q("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=T[e]._config;else if(null!=t.parentLocale)if(null!=T[t.parentLocale])r=T[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return T[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),pt(e),T[e]}function L(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=ht(e))return t;e=[e]}return dt(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[F]<0||11<t[F]?F:t[k]<1||t[k]>Be(t[S],t[F])?k:t[M]<0||24<t[M]||24===t[M]&&(0!==t[_]||0!==t[E]||0!==t[Te])?M:t[_]<0||59<t[_]?_:t[E]<0||59<t[E]?E:t[Te]<0||999<t[Te]?Te:-1,f(e)._overflowDayOfYear&&(t<S||k<t)&&(t=k),f(e)._overflowWeeks&&-1===t&&(t=Le),f(e)._overflowWeekday&&-1===t&&(t=Ge),f(e).overflow=t),e}var ft=/^\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)?)?$/,yt=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["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]],wt=[["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/]],xt=/^\/?Date\((-?\d+)/i,$t=/^(?:(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}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,r,i,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){i=vt[t][0],r=!1!==vt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Et(e)}else e._isValid=!1}function Ft(e,t,n,r,i,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Re.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&e.push(parseInt(a,10)),e}function kt(e){var t,n,r,i,a=$t.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Ft(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=a[8],r=a[9],i=a[10],n?Ct[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(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,u,d,h=[];if(!e._d){for(u=e,d=new Date(m.now()),n=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[k]&&null==e._a[F]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,s=4,r=Mt(d.GG,u._a[S],Je(G(),1,4).year),i=Mt(d.W,1),((a=Mt(d.E,1))<1||7<a)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Je(G(),o,s),r=Mt(d.gg,u._a[S],c.year),i=Mt(d.w,c.week),null!=d.d?((a=d.d)<0||6<a)&&(l=!0):null!=d.e?(a=d.e+o,(d.e<0||6<d.e)&&(l=!0)):a=o),i<1||i>I(r,o,s)?f(u)._overflowWeeks=!0:null!=l?f(u)._overflowWeekday=!0:(c=Ze(r,i,a,o,s),u._a[S]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=Mt(e._a[S],n[S]),(e._dayOfYear>Ue(d)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(d,0,e._dayOfYear),e._a[F]=l.getUTCMonth(),e._a[k]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[_]&&0===e._a[E]&&0===e._a[Te]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:ze).apply(null,h),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Et(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,i=""+e._i,a=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(i.match(Me(r,e))||[])[0])&&(0<(d=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(d),i=i.slice(i.indexOf(t)+t.length),o+=t.length),ae[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),d=r,p=e,null!=(h=t)&&g(Ee,d)&&Ee[d](h,p._a,p,d)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=a-o,0<i.length&&f(e).unusedInput.push(i),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(a=e._locale,c=e._a[M],null==(u=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,u):null!=a.isPM?((a=a.isPM(u))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(u=f(e).era)&&(e._a[S]=e._locale.erasConvertYear(u,e._a[S])),_t(e),gt(e)}else kt(e);else St(e);var c,u,d,h,p}function It(e){var t,n=e._i,r=e._f;{var i,a;if(e._locale=e._locale||L(e._l),null===n||void 0===r&&""===n)return W({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new J(gt(n)):(N(n)?e._d=n:o(r)?function(e){var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)a=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Et(t),U(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));j(e,n||t)}(e):r?Et(e):s(r=(n=e)._i)?n._d=new Date(m.now()):N(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(a=xt.exec(i._i))?(St(i),!1===i._isValid&&(delete i._isValid,kt(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:m.createFromInputFallback(i)))):i._d=new Date(+a[1])):o(r)?(n._a=O(r.slice(0),function(e){return parseInt(e,10)}),_t(n)):A(r)?(i=n)._d||(t=void 0===(a=ce(i._i)).day?a.date:a.day,i._a=O([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),_t(i)):H(r)?n._d=new Date(r):m.createFromInputFallback(n),U(e)||(e._d=null),e)}}function Tt(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),(A(e)&&D(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,(i=new J(gt(It(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function G(e,t,n,r){return Tt(e,t,n,r,!1)}m.createFromInputFallback=e("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(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=G.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:W()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=G.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:W()});function Lt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return G();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Gt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Bt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Gt.length;for(t in e)if(g(e,t)&&(-1===C.call(Gt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Gt[n]]){if(r)return!1;parseFloat(e[Gt[n]])!==p(e[Gt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=L(),this._bubble()}function Pt(e){return e instanceof Bt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}At("Z",":"),At("ZZ",""),w("Z",ke),w("ZZ",ke),$(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ht(ke,e)});var Dt=/([\+\-]|\d\d)/gi;function Ht(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Dt)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Nt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||N(e)?e:G(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):G(e).local()}function Ot(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function B(e,t){var n,r,i=e,a=null;return Pt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:H(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Ut.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:p(a[k])*n,h:p(a[M])*n,m:p(a[_])*n,s:p(a[E])*n,ms:p(Rt(1e3*a[Te]))*n}):(a=Wt.exec(e))?(n="-"===a[1]?-1:1,i={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=G(i.from),a=G(i.to),n=t.isValid()&&a.isValid()?(a=Nt(a,t),t.isBefore(a)?r=Yt(t,a):((r=Yt(a,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),a=new Bt(i),Pt(e)&&g(e,"_locale")&&(a._locale=e._locale),Pt(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Yt(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 Vt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(q(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),Zt(this,B(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(r=null==r||r,t&&Ne(e,pe(e,"Month")+t*n),a&&me(e,"Date",pe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&m.updateOffset(e,a||t))}B.fn=Bt.prototype,B.invalid=function(){return B(NaN)};Pe=Vt(1,"add"),Xe=Vt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||N(e)||Jt(e)||H(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!H(e)&&Jt(t)}).length),n&&r)||function(e){var t,n,r=A(e)&&!D(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"],o=a.length;for(t=0;t<o;t+=1)n=a[t],i=i||g(e,n);return r&&i}(e)||null==e;var t,n,r}function Xt(e,t){if(e.date()<t.date())return-Xt(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 qt(e){return void 0===e?this._locale._abbr:(null!=(e=L(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("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 Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(x(i[a].name)),e.push(x(i[a].abbr)),n.push(x(i[a].narrow)),r.push(x(i[a].name)),r.push(x(i[a].abbr)),r.push(x(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 sn(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var a;return null==e?Je(this,r,i).year:(t>(a=I(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=Ye(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),$(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),$(["y","yy","yyy","yyyy"],S),$(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[S]=n._locale.eraYearOrdinalParse(e,i):t[S]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",Se),w("g",Se),w("GG",b,y),w("gg",b,y),w("GGGG",xe,fe),w("gggg",xe,fe),w("GGGGG",$e,ye),w("ggggg",$e,ye),Ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=p(e)}),Ie(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",i),$("Q",function(e,t){t[F]=3*(p(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),$(["D","DD"],k),$("Do",function(e,t){t[k]=p(e.match(b)[0])});xe=he("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),$(["DDD","DDDD"],function(e,t,n){n._dayOfYear=p(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),$(["m","mm"],_);fe=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),$(["s","ss"],E);var cn,$e=he("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,i),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function un(e,t){t[Te]=p(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")$(cn,un);ye=he("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=J.prototype;function dn(e){return e}i.add=Pe,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=A(e)&&!D(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||g(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||G(),n=Nt(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,G(e)))},i.clone=function(){return new J(this)},i.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=d(t)){case"year":a=Xt(this,r)/12;break;case"month":a=Xt(this,r);break;case"quarter":a=Xt(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:h(a)},i.endOf=function(e){var t,n;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,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-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||G(e).isValid())?B({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(G(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||G(e).isValid())?B({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(G(),e)},i.get=function(e){return u(this[e=d(e)])?this[e]():this},i.invalidAt=function(){return f(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:G(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:G(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:G(e),t=l(t)?t:G(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))},i.isSame=function(e,t){var e=l(e)?e:G(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return U(this)},i.lang=Qe,i.locale=qt,i.localeData=Qt,i.max=ve,i.min=be,i.parsingFlags=function(){return j({},f(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)g(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,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-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},i.subtract=Xe,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.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()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},i.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"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.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""},i.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""},i.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""},i.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()},i.year=We,i.isLeapYear=function(){return de(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Oe,i.daysInMonth=function(){return Be(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return I(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return I(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return I(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return I(this.isoWeekYear(),1,4)},i.date=xe,i.day=i.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},i.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")},i.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},i.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")},i.hour=i.hours=v,i.minute=i.minutes=fe,i.second=i.seconds=$e,i.millisecond=i.milliseconds=ye,i.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:Ot(this);if("string"==typeof e){if(null===(e=Ht(ke,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ot(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,B(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ot(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ht(Fe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?G(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=jt,i.isUTC=jt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",xe),i.months=e("months accessor is deprecated. Use month instead",Oe),i.years=e("years accessor is deprecated. Use year instead",We),i.zone=e("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()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=It(t))._a?(e=(t._isUTC?c:G)(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&&p(e[o])!==p(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function hn(e,t,n,r){var i=L(),r=c().set(r,t);return i[n](r,e)}function pn(e,t,n){if(H(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=hn(e,i,n,"month");return r}function mn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),H(t)&&(n=t,t=void 0),t||"");var i,a=L(),o=e?a._week.dow:0,s=[];if(null!=n)return hn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=hn(t,(i+o)%7,r,"day");return s}y.calendar=function(e,t,n){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=dn,y.postformat=dn,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return u(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)g(e,n)&&(u(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)},y.eras=function(e,t){for(var n,r=this._eras||L("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},y.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]},y.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},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Ae).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Ae.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.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=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=C.call(this._shortMonthsParse,e))?i:null:-1!==(i=C.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=C.call(this._shortMonthsParse,e))||-1!==(i=C.call(this._longMonthsParse,e))?i:null:-1!==(i=C.call(this._longMonthsParse,e))||-1!==(i=C.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=c([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}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Je(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.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?Ke(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.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=c([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=C.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=C.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=C.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=C.call(this._weekdaysParse,e))||-1!==(i=C.call(this._shortWeekdaysParse,e))||-1!==(i=C.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=C.call(this._shortWeekdaysParse,e))||-1!==(i=C.call(this._weekdaysParse,e))||-1!==(i=C.call(this._minWeekdaysParse,e))?i:null:-1!==(i=C.call(this._minWeekdaysParse,e))||-1!==(i=C.call(this._weekdaysParse,e))||-1!==(i=C.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=c([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}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},pt("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===p(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",L);var gn=Math.abs;function fn(e,t,n,r){t=B(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),ge=wn("s"),Pe=wn("m"),ve=wn("h"),be=wn("d"),Xe=wn("w"),v=wn("M"),fe=wn("Q"),$e=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),We=xn("minutes"),y=xn("hours"),$n=xn("days"),Cn=xn("months"),Sn=xn("years");var Fn=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var i=B(e).abs(),a=Fn(i.as("s")),o=Fn(i.as("m")),s=Fn(i.as("h")),l=Fn(i.as("d")),c=Fn(i.as("M")),u=Fn(i.as("w")),i=Fn(i.as("y")),a=(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(a=(a=null!=n.w?a||u<=1&&["w"]||u<n.w&&["ww",u]:a)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,a[3]=0<+e,a[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,a)}var _n=Math.abs;function En(e){return(0<e)-(e<0)||+e}function In(){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),u=this.asSeconds();return u?(e=h(s/60),t=h(e/60),s%=60,e%=60,n=h(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=En(this._months)!==En(u)?"-":"",a=En(this._days)!==En(u)?"-":"",o=En(this._milliseconds)!==En(u)?"-":"",(u<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"}var P=Bt.prototype;return P.isValid=function(){return this._isValid},P.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},P.add=function(e,t){return fn(this,e,t,1)},P.subtract=function(e,t){return fn(this,e,t,-1)},P.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(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)}},P.asMilliseconds=we,P.asSeconds=ge,P.asMinutes=Pe,P.asHours=ve,P.asDays=be,P.asWeeks=Xe,P.asMonths=v,P.asQuarters=fe,P.asYears=$e,P.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},P._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*yn(vn(n)+t),n=t=0),r.milliseconds=e%1e3,e=h(e/1e3),r.seconds=e%60,e=h(e/60),r.minutes=e%60,e=h(e/60),r.hours=e%24,t+=h(e/24),n+=e=h(bn(t)),t-=yn(vn(e)),e=h(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},P.clone=function(){return B(this)},P.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},P.milliseconds=ye,P.seconds=xe,P.minutes=We,P.hours=y,P.days=$n,P.weeks=function(){return h(this.days()/7)},P.months=Cn,P.years=Sn,P.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},kn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Mn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},P.toISOString=In,P.toString=In,P.toJSON=In,P.locale=qt,P.localeData=Qt,P.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",In),P.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",Se),w("X",/[+-]?\d+(\.\d{1,3})?/),$("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),$("x",function(e,t,n){n._d=new Date(p(e))}),m.version="2.29.3",R=G,m.fn=i,m.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return G(1e3*e)},m.months=function(e,t){return pn(e,t,"months")},m.isDate=N,m.locale=pt,m.invalid=W,m.duration=B,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return G.apply(null,arguments).parseZone()},m.localeData=L,m.isDuration=Pt,m.monthsShort=function(e,t){return pn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=T[e]&&null!=T[e].parentLocale?T[e].set(Q(T[e]._config,t)):(t=Q(r=null!=(n=ht(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=T[e],T[e]=r),pt(e)):null!=T[e]&&(null!=T[e].parentLocale?(T[e]=T[e].parentLocale,e===pt()&&pt(e)):null!=T[e]&&delete T[e]),T[e]},m.locales=function(){return te(T)},m.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},m.prototype=i,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}();var Ci,Si,Fi=Ci.exports;const ki={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",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:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",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:"Abrir ",full:"Mesa cheia - aposta atrás",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 _i(e,t,n){const r=e.slice();return r[107]=t[n],r[109]=n,r}function Ei(e,t,n){const r=e.slice();return r[104]=t[n],r}function Ii(e){let n,r=!lt(e[36])&&!e[0]&&e[13],i=r&&Ti(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),de(e,n,t)},p(e,t){(r=8193&t[0]?!lt(e[36])&&!e[0]&&e[13]:r)?i?i.p(e,t):((i=Ti(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function Ti(n){let r,i,a;return{c(){(r=pe("div")).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>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Li(e){let n;return{c(){(n=pe("div")).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>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Gi(n){let r,i,a;return{c(){(r=pe("div")).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>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[68]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Bi(e){let n,r,i=e[35]("gameThumbnail.new")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.new")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Pi(e){let n,r,i=e[35]("gameThumbnail.hot")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.hot")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ri(e){let n,r,i=!e[22]&&e[20]&&e[21]&&Ai(e);function a(e){return e[22]&&e[19]&&e[19]===Ji?Hi:e[22]&&e[19]&&e[19]===Ki?Di:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ge(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),de(e,n,t),s&&s.m(e,t),de(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=Ai(e)).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.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&he(n),s&&s.d(e),e&&he(r)}}}function Ai(e){let n,r,i,a,o,s,l,c,u,d,h=e[35]("gameThumbnail.opens")+"",p=Fi.utc(e[20]).local().format(e[21])+"",m=e[45](e[34])+"",g=e[44](e[26],e[27],e[25])+"";return{c(){n=pe("div"),r=pe("div"),i=me(h),a=ge(),o=pe("span"),s=me(p),l=ge(),c=new A(!1),u=ge(),d=new A(!1),fe(r,"class","ClosedGame"),fe(r,"part","ClosedGame"),c.a=u,d.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(n,l),c.m(m,n),ue(n,u),d.m(g,n)},p(e,t){16&t[1]&&h!==(h=e[35]("gameThumbnail.opens")+"")&&ye(i,h),3145728&t[0]&&p!==(p=Fi.utc(e[20]).local().format(e[21])+"")&&ye(s,p),8&t[1]&&m!==(m=e[45](e[34])+"")&&c.p(m),234881024&t[0]&&g!==(g=e[44](e[26],e[27],e[25])+"")&&d.p(g)},d(e){e&&he(n)}}}function Di(n){let r,i,a,o,s,l,c=n[45](n[34])+"",u=n[44](n[26],n[27],n[25])+"",d=new Array(qi),h=[];for(let e=0;e<d.length;e+=1)h[e]=Ui(_i(n,d,e));return{c(){r=pe("div"),i=pe("div");for(let e=0;e<h.length;e+=1)h[e].c();a=ge(),o=new A(!1),s=ge(),l=new A(!1),fe(i,"class","LiveIcons"),fe(i,"part","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[30]),fe(r,"part",n[30])},m(e,t){de(e,r,t),ue(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[69](i),ue(r,a),o.m(c,r),ue(r,s),l.m(u,r)},p(t,n){if(536872960&n[0]|32769&n[1]){let e;for(d=new Array(qi),e=0;e<d.length;e+=1){const o=_i(t,d,e);h[e]?h[e].p(o,n):(h[e]=Ui(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}8&n[1]&&c!==(c=t[45](t[34])+"")&&o.p(c),234881024&n[0]&&u!==(u=t[44](t[26],t[27],t[25])+"")&&l.p(u),1073741824&n[0]&&fe(r,"class",t[30]),1073741824&n[0]&&fe(r,"part",t[30])},d(e){e&&he(r),L(h,e),n[69](null)}}}function Hi(e){let n,r,i,a,o,s,l=e[45](e[34])+"",c=e[44](e[26],e[27],e[25])+"";function u(e){return e[32]?zi:Wi}let d=u(e),h=d(e);return{c(){n=pe("div"),r=pe("div"),h.c(),i=ge(),a=new A(!1),o=ge(),s=new A(!1),fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),a.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){de(e,n,t),ue(n,r),h.m(r,null),ue(n,i),a.m(l,n),ue(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,null))),8&t[1]&&l!==(l=e[45](e[34])+"")&&a.p(l),234881024&t[0]&&c!==(c=e[44](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&he(n),h.d()}}}function Ni(e){let n;function r(e){return e[29]?ji:Oi}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Oi(e){let n,r,i=e[46]("LatestResult "+(0===e[109]?"First":""),e[109],e[11][e[109]],e[31][e[11][e[109]]])+"";return{c(){n=new A(!1),r=c(),n.a=r},m(e,t){n.m(i,e,t),de(e,r,t)},p(e,t){2048&t[0]|1&t[1]&&i!==(i=e[46]("LatestResult "+(0===e[109]?"First":""),e[109],e[11][e[109]],e[31][e[11][e[109]]])+"")&&n.p(i)},d(e){e&&he(r),e&&n.d()}}}function ji(e){let n,r,i,a,o,s=e[46]("LatestResult "+(0===e[109]?"First":""),"first"+e[109]+e[11][e[109]][0],e[11][e[109]][0],e[31][e[11][e[109]][0]])+"",l=e[46]("LatestResult "+(0===e[109]?"First":""),"second"+e[109]+e[11][e[109]][1],e[11][e[109]][1],e[31][e[11][e[109]][1]])+"";return{c(){n=pe("div"),r=new A(!1),i=ge(),a=new A(!1),o=ge(),r.a=i,a.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){de(e,n,t),r.m(s,n),ue(n,i),a.m(l,n),ue(n,o)},p(e,t){2048&t[0]|1&t[1]&&s!==(s=e[46]("LatestResult "+(0===e[109]?"First":""),"first"+e[109]+e[11][e[109]][0],e[11][e[109]][0],e[31][e[11][e[109]][0]])+"")&&r.p(s),2048&t[0]|1&t[1]&&l!==(l=e[46]("LatestResult "+(0===e[109]?"First":""),"second"+e[109]+e[11][e[109]][1],e[11][e[109]][1],e[31][e[11][e[109]][1]])+"")&&a.p(l)},d(e){e&&he(n)}}}function Ui(e){let n,r=e[11]&&e[11][e[109]]&&Ni(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[11]&&e[11][e[109]]?r?r.p(e,t):((r=Ni(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Wi(t){let i,a=t[24],o=[];for(let e=0;e<a.length;e+=1)o[e]=Yi(Ei(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);de(t,i,n)},p(t,n){if(285212672&n[0]|4096&n[1]){let e;for(a=t[24],e=0;e<a.length;e+=1){var r=Ei(t,a,e);o[e]?o[e].p(r,n):(o[e]=Yi(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){L(o,e),e&&he(i)}}}function zi(e){let n,r,i=e[35]("gameThumbnail.full")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.full")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Yi(e){let n,r,i,a,o,s,l;return{c(){n=pe("span"),r=k("svg"),i=k("path"),a=k("path"),o=ge(),fe(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"),fe(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"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"width","13"),fe(r,"height","14"),fe(r,"viewBox","0 0 13 14"),fe(n,"class",s=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),285212672&t[0]&&l!==(l=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&he(n)}}}function Vi(e){let n,r;return{c(){n=pe("p"),r=me(e[3]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[3])},m(e,t){de(e,n,t),ue(n,r)},p(e,t){8&t[0]&&ye(r,e[3]),8&t[0]&&fe(n,"title",e[3])},d(e){e&&he(n)}}}function Zi(n){let r,i,a,o,s,l,D,c,u,d,h,p,H,m,g,f,y,N,b,v,O,w,x,$,C,S,j,F,k,U,M,_,W,z,E=n[35]("gameThumbnail.playNow")+"",I=(n[4]||"-")+"",Y=0<parseInt(n[7]),T=n[14]&&Ii(n);function V(e,t){return 8195&t[0]&&(w=null),8195&t[0]&&(x=null),(w=null==w?!(lt(e[36])||!e[0]||!e[13]||!e[1]):w)?Gi:(x=null==x?!!(lt(e[36])&&e[0]&&e[13]&&e[1]):x)?Li:void 0}let L=V(n,[-1,-1,-1,-1]),G=L&&L(n),B=n[6]&&Bi(n),P=Y&&Pi(n),R=n[10]&&Ri(n),A=n[9]&&Vi(n);return{c(){r=pe("div"),i=pe("div"),a=pe("img"),D=ge(),c=pe("div"),u=pe("div"),T&&T.c(),d=ge(),h=pe("p"),p=me(n[3]),H=ge(),m=pe("button"),g=me(E),N=ge(),b=pe("span"),v=me(I),O=ge(),G&&G.c(),$=ge(),C=pe("div"),B&&B.c(),S=ge(),P&&P.c(),j=ge(),R&&R.c(),U=ge(),A&&A.c(),this.c=Z,ce(a.src,o=n[2])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[8]} ${n[15]?"GameContainerHovered":""} `+(n[16]?"Loaded":"")),fe(a,"part",l="GameBg "+(n[15]?"GameContainerHovered":"")+" "+(n[16]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(h,"class","GameInfoName"),fe(h,"part","GameInfoName"),fe(h,"title",n[3]),fe(m,"class","GameInfoBtn"),fe(m,"part","GameInfoBtn"),fe(u,"class",f="GameInfo "+(n[15]?"GameHovered":"")),fe(u,"part",y="GameInfo "+(n[15]?"GameHovered":"")),fe(b,"class","GameInfoVendor"),fe(b,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe(C,"class","GameExtraInfo"),fe(C,"part","GameExtraInfo"),fe(i,"class",F="GameInnerContainer "+(n[10]&&!n[22]&&n[23].value||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),fe(i,"part",k="GameInnerContainer "+(n[10]&&!n[22]||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),fe(r,"class",M="GameContainer "+n[33]),fe(r,"part",_="GameContainer "+n[33])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[65](a),ue(i,D),ue(i,c),ue(c,u),T&&T.m(u,null),ue(u,d),ue(u,h),ue(h,p),ue(u,H),ue(u,m),ue(m,g),ue(c,N),ue(c,b),ue(b,v),ue(i,O),G&&G.m(i,null),ue(i,$),ue(i,C),B&&B.m(C,null),ue(C,S),P&&P.m(C,null),ue(C,j),R&&R.m(C,null),ue(r,U),A&&A.m(r,null),n[70](r),W||(z=[K(m,"click",n[67]),K(i,"mouseenter",n[41]),K(i,"mouseleave",n[42]),K(i,"touchstart",n[39],{passive:!0}),K(i,"touchend",n[40],{passive:!0})],W=!0)},p(e,t){4&t[0]&&!ce(a.src,o=e[2])&&fe(a,"src",o),98560&t[0]&&s!==(s=`GameBg GameBg-${e[8]} ${e[15]?"GameContainerHovered":""} `+(e[16]?"Loaded":""))&&fe(a,"class",s),98304&t[0]&&l!==(l="GameBg "+(e[15]?"GameContainerHovered":"")+" "+(e[16]?"Loaded":""))&&fe(a,"part",l),e[14]?T?T.p(e,t):((T=Ii(e)).c(),T.m(u,d)):T&&(T.d(1),T=null),8&t[0]&&ye(p,e[3]),8&t[0]&&fe(h,"title",e[3]),16&t[1]&&E!==(E=e[35]("gameThumbnail.playNow")+"")&&ye(g,E),32768&t[0]&&f!==(f="GameInfo "+(e[15]?"GameHovered":""))&&fe(u,"class",f),32768&t[0]&&y!==(y="GameInfo "+(e[15]?"GameHovered":""))&&fe(u,"part",y),16&t[0]&&I!==(I=(e[4]||"-")+"")&&ye(v,I),L===(L=V(e,t))&&G?G.p(e,t):(G&&G.d(1),(G=L&&L(e))&&(G.c(),G.m(i,$))),e[6]?B?B.p(e,t):((B=Bi(e)).c(),B.m(C,S)):B&&(B.d(1),B=null),(Y=128&t[0]?0<parseInt(e[7]):Y)?P?P.p(e,t):((P=Pi(e)).c(),P.m(C,j)):P&&(P.d(1),P=null),e[10]?R?R.p(e,t):((R=Ri(e)).c(),R.m(C,null)):R&&(R.d(1),R=null),12583936&t[0]|2&t[1]&&F!==(F="GameInnerContainer "+(e[10]&&!e[22]&&e[23].value||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"class",F),4195328&t[0]|2&t[1]&&k!==(k="GameInnerContainer "+(e[10]&&!e[22]||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"part",k),e[9]?A?A.p(e,t):((A=Vi(e)).c(),A.m(r,null)):A&&(A.d(1),A=null),4&t[1]&&M!==(M="GameContainer "+e[33])&&fe(r,"class",M),4&t[1]&&_!==(_="GameContainer "+e[33])&&fe(r,"part",_)},i:Z,o:Z,d(e){e&&he(r),n[65](null),T&&T.d(),G&&G.d(),B&&B.d(),P&&P.d(),R&&R.d(),A&&A.d(),n[70](null),W=!1,J(z)}}}const Ji="blackjack",Ki="roulette",Xi="doubleballroulette",qi=5;function Qi(i,e,o){let t;ut(i,Kr,e=>o(35,t=e));let a,s,l,n,R,c,u,d,h,p,A,m,D,H,N,g,O,j,U,f,W,y,z,Y,{session:V=""}=e,{userid:Z=""}=e,{lang:J=""}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{favorites:w=""}=e,{gamethumbnail:K=""}=e,{gamename:X=""}=e,{gamevendor:r=""}=e,{gameid:x=""}=e,{gameisnew:q=""}=e,{gamepopularity:Q=""}=e,{gamefunmode:$=!1}=e,{searchitem:ee=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:te=""}=e,{showfavoredcategory:S=!1}=e,{showgamename:ne=!1}=e,{currency:F=""}=e,{gamepagemodalurl:k="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:_=""}=e,{connectlive:E=""}=e,{visibilityconnect:I=""}=e,{integratedgameframedesktop:T="false"}=e,{integratedgameframemobile:L="false"}=e,re=!1,ie=!1,ae=!1,G=window.navigator.userAgent,oe="HH:mm",se,le=[],ce="EUR",B="";const ue=[Ji],de=[Ki,Xi],he={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},pe={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"},me=(Object.keys(ki).forEach(e=>{Ir(e,ki[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+x||S||o(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+x||S||o(0,C=!1),"UserSessionID"===e.data.type&&(o(13,re=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(10,l=null)}),ge=e=>{ee&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),lt(G)&&"true"==L?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:$,gamepagemodalurl:k,isMobile:lt(G),source:"GameThumbnail"},window.location.href):lt(G)&&"false"==L&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:lt(G)},window.location.href),lt(G)||"true"!=T?lt(G)||"false"!=T||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:lt(G)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:$,gamepagemodalurl:k,isMobile:lt(G)},window.location.href)},fe=e=>{C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},ye=()=>{_&&EventSource&&!n&&r&&x&&(n=new EventSource(`${M}/encoder/lobby/updates/${r}/`+x)).addEventListener("message",ve)},be=()=>{n&&(n.close(),n=void 0)},ve=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(28,m=i),o(10,l.currentOccupiedSeats=i,l),await xe());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(D=n,o(10,l.currentRouletteNumbers=n,l),await xe());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(H=n,o(10,l.currentDoubleBallRouletteNumbers=n,l),await xe());break;case"TableOpened":case"TableClosed":o(22,u=a),o(10,l.isOpen=a,l),await xe()}}}},we=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",P=(e,t)=>e.some(e=>e===t);return dt(()=>(window.addEventListener("message",me,!1),()=>{window.removeEventListener("message",me),n&&n.removeEventListener("message",ve)})),i.$$set=e=>{"session"in e&&o(47,V=e.session),"userid"in e&&o(48,Z=e.userid),"lang"in e&&o(49,J=e.lang),"clientstyling"in e&&o(50,b=e.clientstyling),"clientstylingurl"in e&&o(51,v=e.clientstylingurl),"favorites"in e&&o(1,w=e.favorites),"gamethumbnail"in e&&o(2,K=e.gamethumbnail),"gamename"in e&&o(3,X=e.gamename),"gamevendor"in e&&o(4,r=e.gamevendor),"gameid"in e&&o(5,x=e.gameid),"gameisnew"in e&&o(6,q=e.gameisnew),"gamepopularity"in e&&o(7,Q=e.gamepopularity),"gamefunmode"in e&&o(52,$=e.gamefunmode),"searchitem"in e&&o(53,ee=e.searchitem),"gamefavorite"in e&&o(0,C=e.gamefavorite),"gamecellsize"in e&&o(8,te=e.gamecellsize),"showfavoredcategory"in e&&o(54,S=e.showfavoredcategory),"showgamename"in e&&o(9,ne=e.showgamename),"currency"in e&&o(55,F=e.currency),"gamepagemodalurl"in e&&o(56,k=e.gamepagemodalurl),"endpoint"in e&&o(57,M=e.endpoint),"livelobbyendpoint"in e&&o(58,_=e.livelobbyendpoint),"connectlive"in e&&o(59,E=e.connectlive),"visibilityconnect"in e&&o(60,I=e.visibilityconnect),"integratedgameframedesktop"in e&&o(61,T=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(62,L=e.integratedgameframemobile)},i.$$.update=()=>{if(268435456&i.$$.dirty[1]&&E&&("disconnect"===E?be():"connect"===E&&ye()),536870912&i.$$.dirty[1]&&I&&("disconnect"===I?be():"connect"===I&&"connect"===E&&ye()),i.$$.dirty[1],67305472&i.$$.dirty[1]&&V&&Z&&M&&o(13,re=!0),4&i.$$.dirty[0]&&K&&a&&o(17,a.onload=()=>{o(16,ae=!0)},a),524288&i.$$.dirty[1]&&b){let e=document.createElement("style");e.innerHTML=b,setTimeout(()=>{s.appendChild(e)})}if(2&i.$$.dirty[0]&&w&&"true"==w&&o(14,ie=!0),256&i.$$.dirty[0]|1048576&i.$$.dirty[1]&&te&&v){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)})})}if(201326592&i.$$.dirty[1]&&M&&_){let e=new URL(""+_.split("?")[0]);e.searchParams.append("platform",ct(G)),e.searchParams.append("language",J),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(10,l=e)})}if(1024&i.$$.dirty[0]&&l&&l&&(o(22,u=l.isOpen),se=l.betLimit||{},o(23,d=l.openHours),o(24,le=(e=>{A=e.totalSeats||7,o(28,m=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=A;e++)t.push(e);return{seats:t}})(l).seats),d&&d.value&&({startTime:e,originalTimeFormat:t}=d["value"],o(20,c=e),o(21,oe=t||oe)),u&&o(19,R=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();P(ue,e)?t=Ji:P(de,e)&&(t=Ki)}}return t})(l)),o(25,ce=Mi[F]),o(26,h=(se.min||{})[F]),o(27,p=(se.max||{})[F]),D=l.currentRouletteNumbers,H=l.currentDoubleBallRouletteNumbers,N=l.vendorCategory,o(29,g=N.toLowerCase()===Xi),o(11,O=(g?H:D)||[]),o(30,j="GameProp LiveProps RoulleteProps"),o(30,j+=g?" Double":""),o(31,U=P(de,N.toLowerCase())?pe:he),W=f,o(32,f=Array.isArray(m)&&m.length===A),l.dealer&&o(34,z=l.dealer.DealerName),Y=l.numberOfPlayers,o(33,B="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(33,B+=" GameBackdrop"),u&&f&&h&&p&&l.currentOccupiedSeats?o(33,B+=" GameContainerDimmed"):!1===u&&c&&o(33,B+=" GameContainerFullyDimmed"),s&&(!W&&f?(o(33,B+=" PulsatingRedShadow"),o(33,B=B.replace(" PulsatingGreenShadow",""))):W&&!f&&(o(33,B+=" PulsatingGreenShadow"),o(33,B=B.replace(" PulsatingRedShadow",""))))),6144&i.$$.dirty[0]&&y&&O){const n="FirstElementAnimated",r=y.getElementsByClassName("First")[0];r&&(r.classList.add(n),setTimeout(()=>{r.classList.remove(n)},2e3))}var e,t},[C,w,K,X,r,x,q,Q,te,ne,l,O,y,re,ie,!1,ae,a,s,R,c,oe,u,d,le,ce,h,p,m,g,j,U,f,B,z,t,G,ge,fe,()=>{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)},P,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
3
+ }`,h=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_`+s,p=G(e),{stylesheet:m,rules:g}=H.get(p)||(s=p,l={stylesheet:(l=e,f=pe("style"),ue((l=G(l)).head||l,f),f.sheet),rules:{}},H.set(s,l),l);g[h]||(g[h]=!0,m.insertRule(`@keyframes ${h} `+d,m.cssRules.length));var f=e.style.animation||"";return e.style.animation=(f?f+", ":"")+h+` ${r}ms linear ${i}ms 1 both`,O+=1,h}function U(e){N=e}function mt(e){!function(){if(N)return N;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const W=[],ct=[],p=[],z=[],Y=Promise.resolve();let V=!1;function X(){V||(V=!0,Y.then(f))}function xe(){return X(),Y}function q(e){p.push(e)}const Q=new Set;let ee,te=0;function f(){const e=N;do{for(;te<W.length;){const e=W[te];te++,U(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),J(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(q))}for(U(null),W.length=0,te=0;ct.length;)ct.pop()();for(let e=0;e<p.length;e+=1){const r=p[e];Q.has(r)||(Q.add(r),r())}}while(p.length=0,W.length);for(;z.length;)z.pop()();V=!1,Q.clear(),U(e)}function ne(e,t,n){e.dispatchEvent(function(e,{bubbles:t=!1,cancelable:n=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t,n,void 0),r}((t?"intro":"outro")+n))}const re=new Set;let ie;function ae(){ie={r:0,c:[],p:ie}}function oe(){ie.r||J(ie.c),ie=ie.p}function se(e,t){e&&e.i&&(re.delete(e),e.i(t))}function le(e,t,n,r){e&&e.o&&(re.has(e)||(re.add(e),ie.c.push(()=>{re.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const be={duration:0};function ve(l,e,t,n){let c=e(l,t),u=n?0:1,d=null,h=null,p=null;function m(){if(p){var e=l,t=p;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(", "),(O-=i)||I(()=>{O||(H.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),H.clear())}))}}function g(e,t){var n=e.b-u;return t*=Math.abs(n),{a:u,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=$,tick:i=Z,css:a}=c||be,o={start:E()+t,b:e};if(e||((o.group=ie).r+=1),!d&&!h){a&&(m(),p=j(l,u,e,n,t,r,a)),e&&i(0,1),d=g(o,n),q(()=>ne(l,e,"start"));{var s=e=>{if(h&&e>h.start&&(d=g(h,n),h=null,ne(l,d.b,"start"),a&&(m(),p=j(l,u,d.b,d.duration,0,r,c.css))),d)if(e>=d.end)i(u=d.b,1-u),ne(l,d.b,"end"),h||(d.b?m():--d.group.r||J(d.group.c)),d=null;else if(e>=d.start){const l=e-d.start;u=d.a+d.d*r(l/d.duration),i(u,1-u)}return!(!d&&!h)};let t;return 0===T.size&&I(L),void new Promise(e=>{T.add(t={c:s,f:e})})}}h=o}return{run(e){M(c)?(ee||(ee=Promise.resolve()).then(()=>{ee=null}),ee.then(()=>{c=c(),r(e)})):r(e)},end(){m(),d=h=null}}}function we(e,t){e.d(1),t.delete(e.key)}function Ce(r,e,t,n,i,a,o,s=[-1]){var l=N;U(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:F(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:F(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let u=!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),u&&(n=e,-1===(e=r).$$.dirty[0]&&(W.push(e),X(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,J(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const r=Array.from(a.childNodes);c.fragment&&c.fragment.l(r),r.forEach(he)}else c.fragment&&c.fragment.c();e.intro&&se(r.$$.fragment);{var d=r;s=e.target;o=e.anchor;t=e.customElement;const{fragment:h,on_mount:p,on_destroy:m,after_update:g}=d.$$;h&&h.m(s,o),t||q(()=>{var e=p.map(S).filter(M);m?m.push(...e):J(e),d.$$.on_mount=[]}),g.forEach(q)}f()}U(l)}let r;"function"==typeof HTMLElement&&(r=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(S).filter(M);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){J(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(J(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}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 $e,Se,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,Fe="URLSearchParams"in s,ke="Symbol"in s&&"iterator"in Symbol,Me="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),_e="FormData"in s,Ee="ArrayBuffer"in s;function Ie(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 Te(e){return e="string"!=typeof e?String(e):e}function Le(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ke&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?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 Ge(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Be(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Pe(e){var t=new FileReader,n=Be(t);return t.readAsArrayBuffer(e),n}function Re(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Ae(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Me&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:_e&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Fe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ee&&Me&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Re(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ee&&(ArrayBuffer.prototype.isPrototypeOf(e)||Se(e))?this._bodyArrayBuffer=Re(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):Fe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Me&&(this.blob=function(){var e=Ge(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?Ge(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(Pe)}),this.text=function(){var e,t,n=Ge(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=Be(e),e.readAsText(n),t;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)},_e&&(this.formData=function(){return this.text().then(Ne)}),this.json=function(){return this.text().then(JSON.parse)},this}Ee&&($e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Se=ArrayBuffer.isView||function(e){return e&&-1<$e.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Ie(e),t=Te(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[Ie(e)]},l.prototype.get=function(e){return e=Ie(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Ie(e))},l.prototype.set=function(e,t){this.map[Ie(e)]=Te(t)},l.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},l.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Le(n)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Le(t)},l.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Le(n)},ke&&(l.prototype[Symbol.iterator]=l.prototype.entries);var De=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function He(e,t){if(!(this instanceof He))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof He){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(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 l(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<De.indexOf(n)?n:e),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||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ne(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Oe(e,t){if(!(this instanceof Oe))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 l(t.headers),this.url=t.url||"",this._initBody(e)}He.prototype.clone=function(){return new He(this,{body:this._bodyInit})},Ae.call(He.prototype),Ae.call(Oe.prototype),Oe.prototype.clone=function(){return new Oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},Oe.error=function(){var e=new Oe(null,{status:0,statusText:""});return e.type="error",e};var je=[301,302,303,307,308],Ue=(Oe.redirect=function(e,t){if(-1===je.indexOf(t))throw new RangeError("Invalid status code");return new Oe(null,{status:t,headers:{location:e}})},s.DOMException);try{new Ue}catch(o){(Ue=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Ue.prototype.constructor=Ue}function We(r,o){return new Promise(function(i,e){var t=new He(r,o);if(t.signal&&t.signal.aborted)return e(new Ue("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 l,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 e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){i(new Oe(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 Ue("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&s.location.href?s.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&&(Me?a.responseType="blob":Ee&&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 l?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,Te(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 Tn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}We.polyfill=!0,s.fetch||(s.fetch=We,s.Headers=l,s.Request=He,s.Response=Oe);var ze=self.fetch.bind(self),Ye=function(e,t){return(Ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Ve(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ye(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function 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 Je(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 Ke(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Xe(e){return"function"==typeof e}function qe(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 Qe=qe(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 et(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}rt.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(Xe(a))try{a()}catch(e){i=e instanceof Qe?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Ze(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{at(u)}catch(e){i=null!=i?i:[],e instanceof Qe?i=Ke(Ke([],Je(i)),Je(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 Qe(i)}},rt.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)at(e);else{if(e instanceof rt){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},rt.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},rt.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},rt.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&et(t,e)},rt.prototype.remove=function(e){var t=this._finalizers;t&&et(t,e),e instanceof rt&&e._removeParent(this)},rt.EMPTY=((e=new rt).closed=!0,e);var tt=rt,nt=tt.EMPTY;function rt(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function it(e){return e instanceof tt||e&&"closed"in e&&Xe(e.remove)&&Xe(e.add)&&Xe(e.unsubscribe)}function at(e){Xe(e)?e():e.unsubscribe()}var ot=void 0,st=!1,lt=!1,gt={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=gt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,Ke([e,t],Je(n))):setTimeout.apply(void 0,Ke([e,t],Je(n)))},clearTimeout:function(e){var t=gt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ft(){}var yt=null;function bt(e){if(st){var t=!yt;if(t&&(yt={errorThrown:!1,error:null}),e(),t){var t=yt,n=t.errorThrown,t=t.error;if(yt=null,n)throw t}}else e()}Ve(Ct,vt=tt),Ct.create=function(e,t,n){return new kt(e,t,n)},Ct.prototype.next=function(e){this.isStopped||this._next(e)},Ct.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ct.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ct.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,vt.prototype.unsubscribe.call(this),this.destination=null)},Ct.prototype._next=function(e){this.destination.next(e)},Ct.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ct.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var vt,wt=Ct,xt=Function.prototype.bind;function Ct(e){var t=vt.call(this)||this;return t.isStopped=!1,e?it(t.destination=e)&&e.add(t):t.destination=It,t}function $t(e,t){return xt.call(e,t)}_t.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Et(e)}},_t.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Et(e)}else Et(e)},_t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Et(e)}};var St,Ft=_t,kt=(Ve(Mt,St=wt),Mt);function Mt(e,t,n){var r=St.call(this)||this,n=Xe(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&lt?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&$t(e.next,t),error:e.error&&$t(e.error,t),complete:e.complete&&$t(e.complete,t)}):e;return r.destination=new Ft(n),r}function _t(e){this.partialObserver=e}function Et(e){var t=e;gt.setTimeout(function(){throw t})}var It={closed:!0,next:ft,error:function(e){throw e},complete:ft},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function Tt(e){return e}Gt.prototype.lift=function(e){var t=new Gt;return t.source=this,t.operator=e,t},Gt.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof wt||r&&Xe(r.next)&&Xe(r.error)&&Xe(r.complete)&&it(r)?e:new kt(e,t,n);return bt(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},Gt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Gt.prototype.forEach=function(r,e){var i=this;return new(e=Bt(e))(function(e,t){var n=new kt({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},Gt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Gt.prototype[e]=function(){return this},Gt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Tt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Gt.prototype.toPromise=function(e){var r=this;return new(e=Bt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Gt.create=function(e){return new Gt(e)};var Lt=Gt;function Gt(e){e&&(this._subscribe=e)}function Bt(e){return null!=(e=null!=e?e:ot)?e:Promise}var Pt,Rt,At,Dt=qe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Ve(i,At=Lt),i.prototype.lift=function(e){var t=new Ht(this,this);return t.operator=e,t},i.prototype._throwIfClosed=function(){if(this.closed)throw new Dt},i.prototype.next=function(i){var a=this;bt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=Ze(a.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},i.prototype.error=function(t){var n=this;bt(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)}})},i.prototype.complete=function(){var t=this;bt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},i.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(i.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),i.prototype._trySubscribe=function(e){return this._throwIfClosed(),At.prototype._trySubscribe.call(this,e)},i.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},i.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?nt:(this.currentObservers=null,i.push(e),new tt(function(){t.currentObservers=null,et(i,e)}))},i.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},i.prototype.asObservable=function(){var e=new Lt;return e.source=this,e},i.create=function(e,t){return new Ht(e,t)},i),Ht=(Ve(Ut,Rt=e),Ut.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Ut.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Ut.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Ut.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:nt},Ut),Nt={now:function(){return(Nt.delegate||Date).now()},delegate:void 0},Ot=(Ve(jt,Pt=e),jt.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(),Pt.prototype.next.call(this,e)},jt.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},jt.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)}},jt);function jt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Nt);var r=Pt.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 Ut(e,t){var n=Rt.call(this)||this;return n.destination=e,n.source=t,n}function i(){var e=At.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Wt=[],zt={};const Yt=[];function Vt(r,i=Z){let a;const o=new Set;function s(e){if(t(r,e)&&(r=e,a)){const e=!Yt.length;for(const e of o)e[1](),Yt.push(e,r);if(e){for(let e=0;e<Yt.length;e+=2)Yt[e][0](Yt[e+1]);Yt.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 Zt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Vt(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),u?t(e):a=M(e)?e:Z)},e=c.map((e,t)=>d(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){J(e),a()}}).subscribe}}function Jt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Kt));var t}var Kt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Xt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nn(Array.isArray(e)?[]:{},e,t):e}function qt(e,t,n){return e.concat(t).map(function(e){return Xt(e,n)})}function Qt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function en(e,t){try{return t in e}catch(e){return!1}}function tn(r,i,a){var o={};return a.isMergeableObject(r)&&Qt(r).forEach(function(e){o[e]=Xt(r[e],a)}),Qt(i).forEach(function(t){var e,n;(!en(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(en(r,t)&&a.isMergeableObject(i[t])?o[t]=function(e){if(!e.customMerge)return nn;e=e.customMerge(t);return"function"==typeof e?e:nn}(a)(r[t],i[t],a):o[t]=Xt(i[t],a))}),o}function nn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||qt,n.isMergeableObject=n.isMergeableObject||Jt,n.cloneUnlessOtherwiseSpecified=Xt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):tn(e,t,n):Xt(t,n)}nn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return nn(e,t,n)},{});throw new Error("first argument should be an array")};var rn=nn,an=function(e,t){return(an=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 on(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}an(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,sn,b=function(){return(b=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 ln(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function cn(e){return e.type===y.literal}function un(e){return e.type===y.number}function dn(e){return e.type===y.date}function hn(e){return e.type===y.time}function pn(e){return e.type===y.select}function mn(e){return e.type===y.plural}function gn(e){return e.type===y.tag}function fn(e){return e&&"object"==typeof e&&e.type===sn.number}function yn(e){return e&&"object"==typeof e&&e.type===sn.dateTime}(e=g=g||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=sn=sn||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,bn=/(?:[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 vn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,wn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,xn=/^(@+)?(\+|#+)?[rs]?$/g,Cn=/(\*)(0+)|(#+)(0+)|(0+)/g,$n=/^(0+)$/;function Sn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(xn,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 Fn(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 kn(e){return Fn(e)||{}}function Mn(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=b(b(b({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return b(b({},e),kn(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return b(b({},e),kn(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(Cn,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($n.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(wn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(wn,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),""});var a=i.options[0];"w"===a?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=b(b({},o),Sn(a)))}else xn.test(i.stem)?o=b(b({},o),Sn(i.stem)):((a=Fn(i.stem))&&(o=b(b({},o),a)),(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)),!$n.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=b(b({},o),r)))}return o}var _n={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var En=new RegExp("^".concat(e.source,"*")),In=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Ln=!!String.fromCodePoint,Gn=!!Object.fromEntries,Bn=!!String.prototype.codePointAt,Pn=!!String.prototype.trimStart,Rn=!!String.prototype.trimEnd,An=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dn=!0;try{Dn="a"===(null==(ar=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ar[0])}catch(o){Dn=!1}var Hn,Nn,On=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},jn=Ln?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},Un=Gn?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},Wn=Bn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},zn=Pn?function(e){return e.trimStart()}:function(e){return e.replace(En,"")},Yn=Rn?function(e){return e.trimEnd()}:function(e){return e.replace(In,"")};function Vn(e,t){return new RegExp(e,t)}Nn=Dn?(Hn=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Hn.lastIndex=t,null!=(t=Hn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=Wn(e,t);if(void 0===i||Kn(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 jn.apply(void 0,r)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.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(g.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Jn(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:y.pound,location:v(a,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Jn(this.char()))return this.error(g.INVALID_TAG,v(e,this.clonePosition()));var i=this.clonePosition();return r!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,v(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,v(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(g.INVALID_TAG,v(n,this.clonePosition()))},a.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())},a.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=v(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Jn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.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 jn.apply(void 0,t)},a.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(),jn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,v(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Nn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},a.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(g.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=Yn(m.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var u=v(r,this.clonePosition());if(l&&On(null==l?void 0:l.style,"::",0)){var d=zn(l.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?m:{val:{type:y.number,value:n,location:u,style:m.val},err:null};if(0===d.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,u);var h=d,p=(this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(_n[t||""]||_n[n||""]||_n["".concat(n,"-001")]||_n["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===i?"H":i}return n}(d,this.locale)),{type:sn.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},h.replace(bn,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?y.date:y.time,value:n,location:u,style:p},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:u,style:null!=(d=null==l?void 0:l.style)?d:null},err:null};case"plural":case"selectordinal":case"select":h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,v(h,b({},h)));this.bumpSpace();var m,p=this.parseIdentifierIfPossible(),u=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),p=this.parseIdentifierIfPossible(),u=m.val}l=this.tryParsePluralOrSelectOptions(e,o,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;d=v(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:Un(l.val),location:d},err:null}:{val:{type:y.plural,value:n,options:Un(l.val),offset:u,pluralType:"plural"===o?"cardinal":"ordinal",location:d},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,v(a,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.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(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(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}},a.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(vn).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(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:sn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Mn(n):{}},err:null}},a.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 u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;a.push([s,{value:c.val,location:v(u,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(g.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},a.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=v(r,this.clonePosition());return i?An(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Wn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.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))},a.prototype.bumpIf=function(e){if(On(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Kn(this.char());)this.bump()},a.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Zn=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Jn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Kn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Xn(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Zn(e,t).parse();if(e.err)throw(n=SyntaxError(g[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,pn(e)||mn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else un(e)&&fn(e.style)||(dn(e)||hn(e))&&yn(e.style)?delete e.style.location:gn(e)&&n(e.children)})}(e.val),e.val}function qn(e,t){var n=t&&t.cache?t.cache:or,r=t&&t.serializer?t.serializer:nr;return(t&&t.strategy?t.strategy:function(e,t){return tr(e,this,1===e.length?Qn:er,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Qn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function er(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function tr(e,t,n,r,i){return n.bind(t,e,r,i)}var nr=function(){return JSON.stringify(arguments)};function rr(){this.cache=Object.create(null)}rr.prototype.get=function(e){return this.cache[e]},rr.prototype.set=function(e,t){this.cache[e]=t};var ir,ar,or={create:function(){return new rr}},sr={variadic:function(e,t){return tr(e,this,er,t.cache.create(),t.serializer)},monadic:function(e,t){return tr(e,this,Qn,t.cache.create(),t.serializer)}};(ar=ir=ir||{}).MISSING_VALUE="MISSING_VALUE",ar.INVALID_VALUE="INVALID_VALUE",ar.MISSING_INTL_API="MISSING_INTL_API";on(vr,dr=Error),vr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var x,lr,cr,ur,dr,hr=vr,pr=(on(br,ur=hr),br),mr=(on(yr,cr=hr),yr),gr=(on(fr,lr=hr),fr);function fr(e,t){return lr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ir.MISSING_VALUE,t)||this}function yr(e,t,n){return cr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ir.INVALID_VALUE,n)||this}function br(e,t,n,r){return ur.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ir.INVALID_VALUE,r)||this}function vr(e,t,n){e=dr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function wr(e,t,n,r,i,a,o){if(1===e.length&&cn(e[0]))return[{type:x.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(cn(u))s.push({type:x.literal,value:u.value});else if(u.type===y.pound)"number"==typeof a&&s.push({type:x.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new gr(d,o);d=i[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?x.literal:x.object,value:d});else if(dn(u)){var h="string"==typeof u.style?r.date[u.style]:yn(u.style)?u.style.parsedOptions:void 0;s.push({type:x.literal,value:n.getDateTimeFormat(t,h).format(d)})}else if(hn(u))h="string"==typeof u.style?r.time[u.style]:yn(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:x.literal,value:n.getDateTimeFormat(t,h).format(d)});else if(un(u))(h="string"==typeof u.style?r.number[u.style]:fn(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),s.push({type:x.literal,value:n.getNumberFormat(t,h).format(d)});else{if(gn(u)){var p=u.children,m=u.value,g=i[m];if("function"!=typeof g)throw new mr(m,"function",o);m=g(wr(p,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?x.literal:x.object,value:e}}))}if(pn(u)){if(!(f=u.options[d]||u.options.other))throw new pr(u.value,d,Object.keys(u.options),o);s.push.apply(s,wr(f.value,t,n,r,i))}else if(mn(u)){if(!(f=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new hr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ir.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),f=u.options[g]||u.options.other}if(!f)throw new pr(u.value,d,Object.keys(u.options),o);s.push.apply(s,wr(f.value,t,n,r,i,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===x.literal&&t.type===x.literal?n.value+=t.value:e.push(t),e},[])}function xr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=x=x||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty($r,"defaultLocale",{get:function(){return $r.memoizedDefaultLocale||($r.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),$r.memoizedDefaultLocale},enumerable:!1,configurable:!0}),$r.memoizedDefaultLocale=null,$r.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},$r.__parse=Xn,$r.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"}}};var Cr=$r;function $r(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=$r.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===x.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 wr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=$r.resolveLocale(t),"string"==typeof e){if(this.message=e,!$r.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=$r.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}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=$r.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?b(b(b({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),r[t]||{}),e},{})):n),e},b({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,ln([void 0],t,!1)))},{cache:xr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:sr.variadic}),getDateTimeFormat:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,ln([void 0],t,!1)))},{cache:xr(t.dateTime),strategy:sr.variadic}),getPluralRules:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,ln([void 0],t,!1)))},{cache:xr(t.pluralRules),strategy:sr.variadic})}}const Sr={},Fr=(e,t,n)=>n&&(t in Sr||(Sr[t]={}),e in Sr[t]||(Sr[t][e]=n),n),kr=(t,n)=>{if(null!=n){if(n in Sr&&t in Sr[n])return Sr[n][t];var r=jr(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!Er(e))return null;e=function(e){return Mr[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}(r[e],t);if(i)return Fr(t,n,i)}}};let Mr;const _r=Vt({});function Er(e){return e in Mr}function Ir(t,...n){delete Sr[t],_r.update(e=>(e[t]=rn.all([e[t]||{},...n]),e))}Zt([_r],([e])=>Object.keys(e)),_r.subscribe(e=>Mr=e);const Tr={};function Lr(e){return Tr[e]}function Gr(e){return null!=e&&jr(e).some(e=>{return null==(e=Lr(e))?void 0:e.size})}const Br={};function Pr(e){if(!Gr(e))return e in Br?Br[e]:Promise.resolve();const t=jr(e).map(e=>{var t=Lr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Br[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return Tr[t].delete(n),0===Tr[t].size&&delete Tr[t],e().then(e=>e.default||e)}));return n.then(e=>Ir(r,...e))}})).then(()=>{if(Gr(e))return Pr(e);delete Br[e]}),Br[e]}function Rr(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 Ar={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Dr=Vt(!1);let Hr;const Nr=Vt(null);function Or(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function jr(e,t=Ar.fallbackLocale){e=Or(e);return t?[...new Set([...e,...Or(t)])]:e}function Ur(){return null!=Hr?Hr:void 0}Nr.subscribe(e=>{Hr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ut=Object.assign(Object.assign({},Nr),{set:t=>{if(t&&function(e){if(null!=e){var t=jr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Er(n))return n}}}(t)&&Gr(t)){var n=Ar["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ur()&&n?e=window.setTimeout(()=>Dr.set(!0),n):Dr.set(!0),Pr(t).then(()=>{Nr.set(t)}).finally(()=>{clearTimeout(e),Dr.set(!1)})}return Nr.set(t)}}),Wr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},zr=(e,t)=>{var n=Ar["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yr=Wr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=zr("number",n)),new Intl.NumberFormat(t,e)}),Vr=Wr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=zr("date",n):0===Object.keys(e).length&&(e=zr("date","short")),new Intl.DateTimeFormat(t,e)}),Zr=Wr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=zr("time",n):0===Object.keys(e).length&&(e=zr("time","short")),new Intl.DateTimeFormat(t,e)}),Jr=Wr((e,t=Ur())=>new Cr(e,t,Ar.formats,{ignoreTag:Ar.ignoreTag})),Kr=Zt([ut,_r],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:a,locale:o=Ur(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=kr(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=Ar).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!a)return l;let c=l;try{c=Jr(l,o).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),dt=(Zt([ut],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Rr(e,["locale"]);return Zr(Object.assign({locale:t},e))})(t).format(e)),Zt([ut],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Rr(e,["locale"]);return Vr(Object.assign({locale:t},e))})(t).format(e)),Zt([ut],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Rr(e,["locale"]);return Yr(Object.assign({locale:t},e))})(t).format(e)),Zt([ut,_r],()=>(e,t=Ur())=>kr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Wt.indexOf(e)&&(t=new Ot(t),zt[e]=t,Wt.push(e)),zt[e]}},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))),ht=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Xr(e){var t=window.navigator.userAgent;return dt(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 qr(r,i){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),ze(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Qr(e){ut.set(e)}const ei={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"}},zh:{headerItem:{login:"登錄",register:"登記",deposit:"訂金"}},fr:{headerItem:{login:"Connexion",register:"Registre",deposit:"Dépôt"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"}},es:{headerItem:{login:"Iniciar sesión",register:"Registro",deposit:"Depósito"}},pt:{headerItem:{login:"Entrar",register:"Registro",deposit:"Depósito"}}};function ti(e,t,n){const r=e.slice();return r[43]=t[n],r[45]=n,r}function ni(e,t,n){const r=e.slice();return r[11]=t[n],r}function ri(t){let r,i=[],n=new Map,a=t[8];const o=e=>e[43].id;for(let e=0;e<a.length;e+=1){var s=ti(t,a,e),l=o(s);n.set(l,i[e]=di(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);de(t,r,n)},p(e,t){11115&t[0]&&(a=e[8],i=function(t,n,r,i,a,o,s,l,e,c,u,d){let h=t.length,p=o.length,m=h;const g={};for(;m--;)g[t[m].key]=m;const f=[],y=new Map,b=new Map;for(m=p;m--;){const t=d(a,o,m),l=r(t);let e=s.get(l);e?i&&e.p(t,n):(e=c(l,t)).c(),y.set(l,f[m]=e),l in g&&b.set(l,Math.abs(m-g[l]))}const v=new Set,w=new Set;function x(e){se(e,1),e.m(l,u),s.set(e.key,e),u=e.first,p--}for(;h&&p;){const n=f[p-1],r=t[h-1],i=n.key,a=r.key;n===r?(u=n.first,h--,p--):y.has(a)?!s.has(i)||v.has(i)?x(n):w.has(a)?h--:b.get(i)>b.get(a)?(w.add(i),x(n)):(v.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,we,di,r,ti))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&he(r)}}}function ii(e){let n,r,i,a,o=e[43].name+"",s="FAVORITES"===e[43].id?"("+e[0]+")":"";return{c(){n=pe("a"),r=me(o),i=ge(),a=me(s),fe(n,"href","#")},m(e,t){de(e,n,t),ue(n,r),ue(n,i),ue(n,a)},p(e,t){256&t[0]&&o!==(o=e[43].name+"")&&ye(r,o),257&t[0]&&s!==(s="FAVORITES"===e[43].id?"("+e[0]+")":"")&&ye(a,s)},d(e){e&&he(n)}}}function ai(e){let n,r,i=e[43].label+"";return{c(){n=pe("a"),r=me(i),fe(n,"href","#")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){256&t[0]&&i!==(i=e[43].label+"")&&ye(r,i)},d(e){e&&he(n)}}}function oi(e){let n,r=0<e[11]?.count&&si(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){0<e[11]?.count?r?r.p(e,t):((r=si(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function si(e){let n,r=e[11]&&"true"==e[3]&&li(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[11]&&"true"==e[3]?r?r.p(e,t):((r=li(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function li(t){let i,a=t[11]?.items,o=[];for(let e=0;e<a.length;e+=1)o[e]=ui(ni(t,a,e));return{c(){i=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class","DropDown")},m(e,t){de(e,i,t);for(let e=0;e<o.length;e+=1)o[e].m(i,null)},p(t,n){if(10496&n[0]){let e;for(a=t[11]?.items,e=0;e<a.length;e+=1){var r=ni(t,a,e);o[e]?o[e].p(r,n):(o[e]=ui(r),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&he(i),R(o,e)}}}function ci(n){let r,i,a,o,s,l,c=n[11]?.name+"";function u(...e){return n[28](n[11],n[45],...e)}return{c(){r=pe("li"),i=pe("a"),a=me(c),o=ge(),fe(i,"href","#")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),s||(l=K(r,"click",u),s=!0)},p(e,t){n=e,2048&t[0]&&c!==(c=n[11]?.name+"")&&ye(a,c)},d(e){e&&he(r),s=!1,l()}}}function ui(e){let n,r=e[11].games.count&&ci(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[11].games.count?r?r.p(e,t):((r=ci(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function di(e,n){let r,i,a,o,s,l;function c(e){return"headerMain"===e[1]?ai:ii}let u=c(n),d=u(n),h=1==n[9][n[45]]&&oi(n);function p(...e){return n[29](n[43],n[45],...e)}return{key:e,first:null,c(){r=pe("li"),d.c(),i=ge(),h&&h.c(),a=ge(),fe(r,"class",o="CarouselItem "+(n[5]==n[45]||n[6]==n[45]?"active":"")),fe(r,"part","CarouselItem"),this.first=r},m(e,t){de(e,r,t),d.m(r,null),ue(r,i),h&&h.m(r,null),ue(r,a),s||(l=K(r,"click",p),s=!0)},p(e,t){u===(u=c(n=e))&&d?d.p(n,t):(d.d(1),(d=u(n))&&(d.c(),d.m(r,i))),1==n[9][n[45]]?h?h.p(n,t):((h=oi(n)).c(),h.m(r,a)):h&&(h.d(1),h=null),352&t[0]&&o!==(o="CarouselItem "+(n[5]==n[45]||n[6]==n[45]?"active":""))&&fe(r,"class",o)},d(e){e&&he(r),d.d(),h&&h.d(),s=!1,l()}}}function hi(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w=0<n[8].length&&ri(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("div")).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=ge(),s=pe("div"),l=pe("ul"),(c=pe("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',u=ge(),w&&w.c(),d=ge(),(h=pe("div")).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,fe(a,"class","CarouselLeftArrow"),fe(a,"part","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(l,"part","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(h,"class","CarouselRightArrow"),fe(h,"part","CarouselRightArrow"),fe(i,"class",p="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),fe(i,"part",m="CarouselContainer "+(n[12]?"CarouselContainerMobile":"")+" "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),fe(i,"style",g="headerMain"===n[1]?"max-width: auto":`max-width: ${n[2]}px`),fe(r,"class",f="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":"")),fe(r,"part",y="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),ue(s,l),ue(l,c),ue(l,u),w&&w.m(l,null),n[30](l),n[31](s),ue(i,d),ue(i,h),n[33](r),b||(v=[K(a,"click",n[27]),K(h,"click",n[32])],b=!0)},p(e,t){0<e[8].length?w?w.p(e,t):((w=ri(e)).c(),w.m(l,null)):w&&(w.d(1),w=null),2&t[0]&&p!==(p="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&fe(i,"class",p),2&t[0]&&m!==(m="CarouselContainer "+(e[12]?"CarouselContainerMobile":"")+" "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&fe(i,"part",m),6&t[0]&&g!==(g="headerMain"===e[1]?"max-width: auto":`max-width: ${e[2]}px`)&&fe(i,"style",g),2&t[0]&&f!==(f="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&fe(r,"class",f),2&t[0]&&y!==(y="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&fe(r,"part",y)},i:Z,o:Z,d(e){e&&he(r),w&&w.d(),n[30](null),n[31](null),n[33](null),b=!1,J(v)}}}function pi(t,e,i){let{endpoint:a=""}=e,{datasource:o=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:s="defaultEvent"}=e,{favoritesnumber:r="0"}=e,{location:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{identity:d=""}=e,{containermaxwidth:h=""}=e,{isprimarymenu:p=!1}=e,{issecondarymenu:m=!1}=e,{lang:g=""}=e,{activeindex:f="0"}=e,{showsubgroups:y="false"}=e;var b,v;({withLocale:b,translations:v}={withLocale:"en",translations:{}}),ut.subscribe(e=>{null==e&&(_r.set(v),ut.set(b))}),Object.keys(ei).forEach(e=>{Ir(e,ei[e])});let w,x,C,$,S,F,k=window.navigator.userAgent,R="PC"!==ht(k),M=[],_=[],E=(e,t)=>{B(),i(5,x=t),i(5,x),i(6,C=x),G(e,t,"navigation")},I=()=>{F.scrollBy({left:-250,behavior:"smooth"}),"true"==y&&P()},T=()=>{F.scrollBy({left:250,behavior:"smooth"}),"true"==y&&P()};const L=e=>{"SliderData"==e.data.type&&e.data.identity==d&&(i(8,M=e.data.data),i(9,_=new Array(M.length).fill(!1)),"true"==y&&P())},G=(t,n,r)=>{var e;"secondaryMenu"==l&&a&&o&&g&&t.id&&(e=new URL(`${a}/casino/groups/${o}/${t.id}/subGroups?language=`+g),fetch(e.href).then(e=>e.json()).then(e=>{i(11,S=e),("false"==y||"navigation"==r&&S.count<=0)&&window.postMessage({type:s,itemId:t.id,index:n,item:t},window.location.href)}).then(()=>{w.querySelectorAll(".DropDown")&&B()}))},B=()=>{const t=w.querySelectorAll(".DropDown");document.activeElement.blur(),F.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+F.scrollLeft+"px)";F.classList.remove("isScrolling")},P=()=>{M.forEach((e,t)=>{var n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(i(9,_[t]=!0,_),G(e,t))})};return mt(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",L,!1),setTimeout(()=>{F.addEventListener("scroll",B)},500),()=>{window.removeEventListener("message",L),w.removeEventListener("scroll",B)})),t.$$set=e=>{"endpoint"in e&&i(16,a=e.endpoint),"datasource"in e&&i(17,o=e.datasource),"onclickeventname"in e&&i(18,n=e.onclickeventname),"actionevent"in e&&i(19,s=e.actionevent),"favoritesnumber"in e&&i(0,r=e.favoritesnumber),"location"in e&&i(1,l=e.location),"clientstyling"in e&&i(20,c=e.clientstyling),"clientstylingurl"in e&&i(21,u=e.clientstylingurl),"identity"in e&&i(22,d=e.identity),"containermaxwidth"in e&&i(2,h=e.containermaxwidth),"isprimarymenu"in e&&i(23,p=e.isprimarymenu),"issecondarymenu"in e&&i(24,m=e.issecondarymenu),"lang"in e&&i(25,g=e.lang),"activeindex"in e&&i(26,f=e.activeindex),"showsubgroups"in e&&i(3,y=e.showsubgroups)},t.$$.update=()=>{if(67108864&t.$$.dirty[0]&&f&&(i(5,x=parseInt(f,10)),C||i(6,C=x),"true"==y&&P()),1048576&t.$$.dirty[0]&&c){let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{$.appendChild(e)})}if(2097152&t.$$.dirty[0]&&u){let t=document.createElement("style"),e=new URL(u);u&&fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}var e;33554432&t.$$.dirty[0]&&g&&(e=g,ut.set(e))},[r,l,h,y,w,x,C,$,M,_,F,S,R,E,I,T,a,o,n,s,c,u,d,p,m,g,f,()=>I(),(e,t,n)=>{E(e,t),n.stopPropagation()},(e,t,n)=>{E(e,t),n.preventDefault()},function(e){ct[e?"unshift":"push"](()=>{w=e,i(4,w)})},function(e){ct[e?"unshift":"push"](()=>{F=e,i(10,F)})},()=>T(),function(e){ct[e?"unshift":"push"](()=>{$=e,i(7,$)})}]}function mi(n){let r,i,a,o;return{c(){r=pe("div"),w(i=pe("casino-slider"),"lang",n[2]),w(i,"datasource",n[1]),w(i,"endpoint",n[0]),w(i,"identity",bi),w(i,"favoritesnumber",n[13]),w(i,"showsubgroups",n[8]),w(i,"clientstyling",n[3]),w(i,"clientstylingurl",n[4]),w(i,"containermaxwidth",n[5]),w(i,"activeindex",n[10]),w(i,"actionevent",n[6]),w(i,"location",n[7]),fe(r,"class","CasinoCategoriesContainer"),fe(r,"part","CasinoCategoriesContainer")},m(e,t){de(e,r,t),ue(r,i),a||(o=_(n[15].call(null,i)),a=!0)},p(e,t){4&t[0]&&w(i,"lang",e[2]),2&t[0]&&w(i,"datasource",e[1]),1&t[0]&&w(i,"endpoint",e[0]),8192&t[0]&&w(i,"favoritesnumber",e[13]),256&t[0]&&w(i,"showsubgroups",e[8]),8&t[0]&&w(i,"clientstyling",e[3]),16&t[0]&&w(i,"clientstylingurl",e[4]),32&t[0]&&w(i,"containermaxwidth",e[5]),1024&t[0]&&w(i,"activeindex",e[10]),64&t[0]&&w(i,"actionevent",e[6]),128&t[0]&&w(i,"location",e[7])},d(e){e&&he(r),a=!1,o()}}}function gi(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function fi(e){let n;return{c(){fe(n=pe("div"),"class","CasinoCategoriesLoading"),fe(n,"part","CasinoCategoriesLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function yi(n){let r;function i(e){return e[9]||e[14]?fi:e[11]?gi:mi}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),o.m(r,null),n[23](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[23](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends r{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 ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul li.active,.CarouselContainer ul li:focus,.CarouselContainer ul li:focus-within{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.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 ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;padding:7px 10px;color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems li:hover>a,.CarouselContainer .CarouselItems a:hover,.CarouselContainer .CarouselItems li:focus>a,.CarouselContainer .CarouselItems a:focus{background:var(--emfe-w-color-contrast, #07072A)}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-color-primary, #D0046C)}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within{background:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:84px;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}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:\"\";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},pi,hi,t,{endpoint:16,datasource:17,onclickeventname:18,actionevent:19,favoritesnumber:0,location:1,clientstyling:20,clientstylingurl:21,identity:22,containermaxwidth:2,isprimarymenu:23,issecondarymenu:24,lang:25,activeindex:26,showsubgroups:3},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups"]}get endpoint(){return this.$$.ctx[16]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[17]}set datasource(e){this.$$set({datasource:e}),f()}get onclickeventname(){return this.$$.ctx[18]}set onclickeventname(e){this.$$set({onclickeventname:e}),f()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),f()}get favoritesnumber(){return this.$$.ctx[0]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),f()}get location(){return this.$$.ctx[1]}set location(e){this.$$set({location:e}),f()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get identity(){return this.$$.ctx[22]}set identity(e){this.$$set({identity:e}),f()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get isprimarymenu(){return this.$$.ctx[23]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),f()}get issecondarymenu(){return this.$$.ctx[24]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get activeindex(){return this.$$.ctx[26]}set activeindex(e){this.$$set({activeindex:e}),f()}get showsubgroups(){return this.$$.ctx[3]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}});let bi="CasinoSliderData";function vi(e,t,n){let r,i,a,{endpoint:o=""}=t,{datasource:s=""}=t,{lang:l=""}=t,{userid:c=""}=t,{session:u=""}=t,{mostplayed:d=""}=t,{mostplayedrounds:h=""}=t,{favorites:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{containermaxwidth:f=""}=t,{activecategory:y=""}=t,{actionevent:b=""}=t,{sessioncheck:v=""}=t,{location:w="secondaryMenu"}=t,{showsubgroups:x="false"}=t,C=0,$=!0,S=[],F=!1,k=window.navigator.userAgent,M=!1,_=!1,E=!1;const I=e=>{if(e.data)switch(e.data.type){case"UpdateCategoryFavoriteGames":case"ShowFavoriteSection":var t=Xr(e.data.receivedFavoriteResults.items);n(13,a=t.length)}};return mt(()=>(window.addEventListener("message",I,!1),()=>{window.removeEventListener("message",I)})),e.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"lang"in e&&n(2,l=e.lang),"userid"in e&&n(16,c=e.userid),"session"in e&&n(17,u=e.session),"mostplayed"in e&&n(18,d=e.mostplayed),"mostplayedrounds"in e&&n(19,h=e.mostplayedrounds),"favorites"in e&&n(20,p=e.favorites),"clientstyling"in e&&n(3,m=e.clientstyling),"clientstylingurl"in e&&n(4,g=e.clientstylingurl),"containermaxwidth"in e&&n(5,f=e.containermaxwidth),"activecategory"in e&&n(21,y=e.activecategory),"actionevent"in e&&n(6,b=e.actionevent),"sessioncheck"in e&&n(22,v=e.sessioncheck),"location"in e&&n(7,w=e.location),"showsubgroups"in e&&n(8,x=e.showsubgroups)},e.$$.update=()=>{if(7&e.$$.dirty[0]&&o&&s&&l&&(o||(r="Endpoint is missing! Please provide a valid endpointURL.",n(11,F=!0),n(9,$=!1),console.error(r)),s||(r="Datasource is missing! Please provide a valid datasource.",n(11,F=!0),n(9,$=!1),console.error(r)),(!l||l.length<2)&&(r="Language is missing! Please provide a valid language (alpha2code)",n(11,F=!0),n(9,$=!1),console.error(r)),!F)){let e=new URL(o+"/casino/groups/"+s);e.searchParams.append("datasource",s),e.searchParams.append("platform",ht(k)),e.searchParams.append("language",l),fetch(e).then(e=>e.json()).then(e=>{e=e.items.filter(e=>0<e.games.total);(S=(S=[]).concat(e)).unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(9,$=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(11,F=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(11,F=!0),console.error("There was an error while fetching the categories",e)})}if(131073&e.$$.dirty[0]&&u&&o&&"true"==v&&qr(o,u).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),1180160&e.$$.dirty[0]&&u&&p&&!$&&(0==M&&"true"==p&&S.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),M=!0),458753&e.$$.dirty[0]&&u&&o&&c&&d&&d&&(n(14,E=!0),(()=>{if(d){let e=new URL(`${o}/player/${c}/games/most-played`),t=ht(k);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==_&&"true"==d&&e&&S.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(14,E=!1),xe(),_=!0})),2097664&e.$$.dirty[0]&&!$&&y&&n(10,C=S.map(e=>e.id).indexOf(decodeURI(y))),8&e.$$.dirty[0]&&m){let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)}if(16&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(13,a=0),[o,s,l,m,g,f,b,w,x,$,C,F,i,a,E,e=>{window.postMessage({type:"SliderData",identity:bi,data:S},window.location.href)},c,u,d,h,p,y,v,function(e){ct[e?"unshift":"push"](()=>{i=e,n(12,i)})}]}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends r{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:var(--emfe-w-color-black, #000000)}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},vi,yi,t,{endpoint:0,datasource:1,lang:2,userid:16,session:17,mostplayed:18,mostplayedrounds:19,favorites:20,clientstyling:3,clientstylingurl:4,containermaxwidth:5,activecategory:21,actionevent:6,sessioncheck:22,location:7,showsubgroups:8},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","mostplayedrounds","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","location","showsubgroups"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),f()}get userid(){return this.$$.ctx[16]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[17]}set session(e){this.$$set({session:e}),f()}get mostplayed(){return this.$$.ctx[18]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[19]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get favorites(){return this.$$.ctx[20]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get containermaxwidth(){return this.$$.ctx[5]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get activecategory(){return this.$$.ctx[21]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),f()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),f()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}});const wi={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},zh:{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",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:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"Error 500 - Error Interno del Servidor",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tómate un descanso de 1 día del juego.",breakButton:"Tómese un descanso de 24 horas del juego",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Limpio",noGamesPlayed:"No has probado ningún juego!"}},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:"Resetiraj",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:"Visszaállítás",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:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},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:"Ponastavitev",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:"Resetuj",noGamesPlayed:"You have no games played!"}}},xi={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},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:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},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",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{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:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{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."}}};$i=Ci={path:void 0,exports:{},require:function(e,t){return Tn(null==t&&Ci.path)}},Ci.exports,$i.exports=function(){var R;function m(){return R.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function A(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function D(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function s(e){return void 0===e}function H(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function N(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function O(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return Tt(e,t,n,r,!0).utc()}function f(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 U(e){if(null==e._isValid){var t=f(e),n=z.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 W(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var z=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},Y=m.momentProperties=[],V=!1;function Z(e,t){var n,r,i,a=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(i=t[r=Y[n]])||(e[r]=i);return e}function J(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,m.updateOffset(this),V=!1)}function l(e){return e instanceof J||null!=e&&null!=e._isAMomentObject}function K(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return j(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,a),s){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}K(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var X={};function q(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),X[e]||(K(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=j({},e);for(n in t)g(t,n)&&(A(e[n])&&A(t[n])?(r[n]={},j(r[n],e[n]),j(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)g(e,n)&&!g(t,n)&&A(e[n])&&(r[n]=j({},r[n]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function a(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 ne=/(\[[^\[]*\])|(\\)?([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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},ae={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=i),t&&(ae[t[0]]=function(){return a(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,a=i.length;t<a;t++)ae[i[t]]?i[t]=ae[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+=u(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)g(e,n)&&(t=d(n))&&(r[t]=e[n]);return r}var ue={};function n(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function h(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function p(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?h(e):t}function he(t,n){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,n),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(n=p(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Be(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,Ce=/[+-]?\d{1,6}/,$e=/\d+/,Se=/[+-]?\d+/,Fe=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[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 w(e,n,r){_e[e]=u(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return g(_e,e)?_e[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var _e={},Ee={};function C(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),H(n)&&(i=function(e,t){t[n]=p(e)}),r=e.length,t=0;t<r;t++)Ee[e[t]]=i}function Ie(e,i){C(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var $,S=0,F=1,k=2,M=3,_=4,E=5,Te=6,Le=7,Ge=8;function Be(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?de(e)?29:28:31-n%7%2}$=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),C(["M","MM"],function(e,t){t[F]=p(e)-1}),C(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[F]=r:f(n).invalidMonth=e});var Pe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=v,He=v;function Ne(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!H(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Be(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Oe(e){return null!=e?(Ne(this,e),m.updateOffset(this,!0),this):pe(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=c([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]=x(n[a]),r[a]=x(r[a]);for(a=0;a<24;a++)i[a]=x(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 Ue(e){return de(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",Se),w("YY",b,y),w("YYYY",xe,fe),w("YYYYY",Ce,ye),w("YYYYYY",Ce,ye),C(["YYYYY","YYYYYY"],S),C("YYYY",function(e,t){t[S]=2===e.length?m.parseTwoDigitYear(e):p(e)}),C("YY",function(e,t){t[S]=m.parseTwoDigitYear(e)}),C("Y",function(e,t){t[S]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var We=he("FullYear",!0);function ze(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 Ye(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 Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var a,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,i),n=t<=0?Ue(a=e-1)+t:t>Ue(e)?(a=e+1,t-Ue(e)):(a=e,t);return{year:a,dayOfYear:n}}function Je(e,t,n){var r,i,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+I(i=e.year()-1,t,n):a>I(e.year(),t,n)?(r=a-I(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function I(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",b),w("ww",b,y),w("W",b),w("WW",b,y),Ie(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=p(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Ie(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),Ie(["d","e","E"],function(e,t,n,r){t[r]=p(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=x(this.weekdaysMin(r,"")),n=x(this.weekdaysShort(r,"")),r=x(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 it(){return this.hours()%12||12}function at(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),C(["H","HH"],M),C(["k","kk"],function(e,t,n){e=p(e);t[M]=24===e?0:e}),C(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),C(["h","hh"],function(e,t,n){t[M]=p(e),f(n).bigHour=!0}),C("hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r)),f(n).bigHour=!0}),C("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r,2)),t[E]=p(e.substr(i)),f(n).bigHour=!0}),C("Hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r))}),C("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r,2)),t[E]=p(e.substr(i))});v=he("Hours",!0);var st,lt={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:Pe,monthsShort:Re,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},T={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=ut(e[a]).split("-")).length,n=(n=ut(e[a+1]))?n.split("-"):null;0<t;){if(r=ht(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 st}function ht(t){var e;if(void 0===T[t]&&$i&&$i.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Tn(),pt(e)}catch(e){T[t]=null}return T[t]}function pt(e,t){return e&&((t=s(t)?L(e):mt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function mt(e,t){if(null===t)return delete T[e],null;var n,r=lt;if(t.abbr=e,null!=T[e])q("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=T[e]._config;else if(null!=t.parentLocale)if(null!=T[t.parentLocale])r=T[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return T[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),pt(e),T[e]}function L(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=ht(e))return t;e=[e]}return dt(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[F]<0||11<t[F]?F:t[k]<1||t[k]>Be(t[S],t[F])?k:t[M]<0||24<t[M]||24===t[M]&&(0!==t[_]||0!==t[E]||0!==t[Te])?M:t[_]<0||59<t[_]?_:t[E]<0||59<t[E]?E:t[Te]<0||999<t[Te]?Te:-1,f(e)._overflowDayOfYear&&(t<S||k<t)&&(t=k),f(e)._overflowWeeks&&-1===t&&(t=Le),f(e)._overflowWeekday&&-1===t&&(t=Ge),f(e).overflow=t),e}var ft=/^\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)?)?$/,yt=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["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]],wt=[["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/]],xt=/^\/?Date\((-?\d+)/i,Ct=/^(?:(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}))$/,$t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,r,i,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){i=vt[t][0],r=!1!==vt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Et(e)}else e._isValid=!1}function Ft(e,t,n,r,i,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Re.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&e.push(parseInt(a,10)),e}function kt(e){var t,n,r,i,a=Ct.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Ft(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=a[8],r=a[9],i=a[10],n?$t[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(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,u,d,h=[];if(!e._d){for(u=e,d=new Date(m.now()),n=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[k]&&null==e._a[F]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,s=4,r=Mt(d.GG,u._a[S],Je(G(),1,4).year),i=Mt(d.W,1),((a=Mt(d.E,1))<1||7<a)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Je(G(),o,s),r=Mt(d.gg,u._a[S],c.year),i=Mt(d.w,c.week),null!=d.d?((a=d.d)<0||6<a)&&(l=!0):null!=d.e?(a=d.e+o,(d.e<0||6<d.e)&&(l=!0)):a=o),i<1||i>I(r,o,s)?f(u)._overflowWeeks=!0:null!=l?f(u)._overflowWeekday=!0:(c=Ze(r,i,a,o,s),u._a[S]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=Mt(e._a[S],n[S]),(e._dayOfYear>Ue(d)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(d,0,e._dayOfYear),e._a[F]=l.getUTCMonth(),e._a[k]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[_]&&0===e._a[E]&&0===e._a[Te]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:ze).apply(null,h),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Et(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,i=""+e._i,a=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(i.match(Me(r,e))||[])[0])&&(0<(d=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(d),i=i.slice(i.indexOf(t)+t.length),o+=t.length),ae[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),d=r,p=e,null!=(h=t)&&g(Ee,d)&&Ee[d](h,p._a,p,d)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=a-o,0<i.length&&f(e).unusedInput.push(i),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(a=e._locale,c=e._a[M],null==(u=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,u):null!=a.isPM?((a=a.isPM(u))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(u=f(e).era)&&(e._a[S]=e._locale.erasConvertYear(u,e._a[S])),_t(e),gt(e)}else kt(e);else St(e);var c,u,d,h,p}function It(e){var t,n=e._i,r=e._f;{var i,a;if(e._locale=e._locale||L(e._l),null===n||void 0===r&&""===n)return W({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new J(gt(n)):(N(n)?e._d=n:o(r)?function(e){var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)a=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Et(t),U(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));j(e,n||t)}(e):r?Et(e):s(r=(n=e)._i)?n._d=new Date(m.now()):N(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(a=xt.exec(i._i))?(St(i),!1===i._isValid&&(delete i._isValid,kt(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:m.createFromInputFallback(i)))):i._d=new Date(+a[1])):o(r)?(n._a=O(r.slice(0),function(e){return parseInt(e,10)}),_t(n)):A(r)?(i=n)._d||(t=void 0===(a=ce(i._i)).day?a.date:a.day,i._a=O([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),_t(i)):H(r)?n._d=new Date(r):m.createFromInputFallback(n),U(e)||(e._d=null),e)}}function Tt(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),(A(e)&&D(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,(i=new J(gt(It(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function G(e,t,n,r){return Tt(e,t,n,r,!1)}m.createFromInputFallback=e("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(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=G.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:W()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=G.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:W()});function Lt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return G();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Gt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Bt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Gt.length;for(t in e)if(g(e,t)&&(-1===$.call(Gt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Gt[n]]){if(r)return!1;parseFloat(e[Gt[n]])!==p(e[Gt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=L(),this._bubble()}function Pt(e){return e instanceof Bt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}At("Z",":"),At("ZZ",""),w("Z",ke),w("ZZ",ke),C(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ht(ke,e)});var Dt=/([\+\-]|\d\d)/gi;function Ht(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Dt)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Nt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||N(e)?e:G(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):G(e).local()}function Ot(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function B(e,t){var n,r,i=e,a=null;return Pt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:H(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Ut.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:p(a[k])*n,h:p(a[M])*n,m:p(a[_])*n,s:p(a[E])*n,ms:p(Rt(1e3*a[Te]))*n}):(a=Wt.exec(e))?(n="-"===a[1]?-1:1,i={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=G(i.from),a=G(i.to),n=t.isValid()&&a.isValid()?(a=Nt(a,t),t.isBefore(a)?r=Yt(t,a):((r=Yt(a,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),a=new Bt(i),Pt(e)&&g(e,"_locale")&&(a._locale=e._locale),Pt(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Yt(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 Vt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(q(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),Zt(this,B(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(r=null==r||r,t&&Ne(e,pe(e,"Month")+t*n),a&&me(e,"Date",pe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&m.updateOffset(e,a||t))}B.fn=Bt.prototype,B.invalid=function(){return B(NaN)};Pe=Vt(1,"add"),Xe=Vt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||N(e)||Jt(e)||H(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!H(e)&&Jt(t)}).length),n&&r)||function(e){var t,n,r=A(e)&&!D(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"],o=a.length;for(t=0;t<o;t+=1)n=a[t],i=i||g(e,n);return r&&i}(e)||null==e;var t,n,r}function Xt(e,t){if(e.date()<t.date())return-Xt(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 qt(e){return void 0===e?this._locale._abbr:(null!=(e=L(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("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 Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(x(i[a].name)),e.push(x(i[a].abbr)),n.push(x(i[a].narrow)),r.push(x(i[a].name)),r.push(x(i[a].abbr)),r.push(x(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 sn(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var a;return null==e?Je(this,r,i).year:(t>(a=I(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=Ye(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),C(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),w("y",$e),w("yy",$e),w("yyy",$e),w("yyyy",$e),w("yo",function(e,t){return t._eraYearOrdinalRegex||$e}),C(["y","yy","yyy","yyyy"],S),C(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[S]=n._locale.eraYearOrdinalParse(e,i):t[S]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",Se),w("g",Se),w("GG",b,y),w("gg",b,y),w("GGGG",xe,fe),w("gggg",xe,fe),w("GGGGG",Ce,ye),w("ggggg",Ce,ye),Ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=p(e)}),Ie(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",i),C("Q",function(e,t){t[F]=3*(p(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),C(["D","DD"],k),C("Do",function(e,t){t[k]=p(e.match(b)[0])});xe=he("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),C(["DDD","DDDD"],function(e,t,n){n._dayOfYear=p(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),C(["m","mm"],_);fe=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),C(["s","ss"],E);var cn,Ce=he("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,i),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,$e);function un(e,t){t[Te]=p(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")C(cn,un);ye=he("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=J.prototype;function dn(e){return e}i.add=Pe,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=A(e)&&!D(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||g(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||G(),n=Nt(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,G(e)))},i.clone=function(){return new J(this)},i.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=d(t)){case"year":a=Xt(this,r)/12;break;case"month":a=Xt(this,r);break;case"quarter":a=Xt(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:h(a)},i.endOf=function(e){var t,n;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,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-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||G(e).isValid())?B({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(G(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||G(e).isValid())?B({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(G(),e)},i.get=function(e){return u(this[e=d(e)])?this[e]():this},i.invalidAt=function(){return f(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:G(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:G(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:G(e),t=l(t)?t:G(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))},i.isSame=function(e,t){var e=l(e)?e:G(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return U(this)},i.lang=Qe,i.locale=qt,i.localeData=Qt,i.max=ve,i.min=be,i.parsingFlags=function(){return j({},f(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)g(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,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-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},i.subtract=Xe,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.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()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},i.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"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.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""},i.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""},i.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""},i.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()},i.year=We,i.isLeapYear=function(){return de(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Oe,i.daysInMonth=function(){return Be(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return I(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return I(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return I(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return I(this.isoWeekYear(),1,4)},i.date=xe,i.day=i.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},i.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")},i.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},i.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")},i.hour=i.hours=v,i.minute=i.minutes=fe,i.second=i.seconds=Ce,i.millisecond=i.milliseconds=ye,i.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:Ot(this);if("string"==typeof e){if(null===(e=Ht(ke,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ot(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,B(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ot(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ht(Fe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?G(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=jt,i.isUTC=jt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",xe),i.months=e("months accessor is deprecated. Use month instead",Oe),i.years=e("years accessor is deprecated. Use year instead",We),i.zone=e("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()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=It(t))._a?(e=(t._isUTC?c:G)(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&&p(e[o])!==p(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function hn(e,t,n,r){var i=L(),r=c().set(r,t);return i[n](r,e)}function pn(e,t,n){if(H(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=hn(e,i,n,"month");return r}function mn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),H(t)&&(n=t,t=void 0),t||"");var i,a=L(),o=e?a._week.dow:0,s=[];if(null!=n)return hn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=hn(t,(i+o)%7,r,"day");return s}y.calendar=function(e,t,n){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=dn,y.postformat=dn,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return u(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)g(e,n)&&(u(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)},y.eras=function(e,t){for(var n,r=this._eras||L("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},y.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]},y.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},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Ae).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Ae.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.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=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=$.call(this._shortMonthsParse,e))?i:null:-1!==(i=$.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=$.call(this._shortMonthsParse,e))||-1!==(i=$.call(this._longMonthsParse,e))?i:null:-1!==(i=$.call(this._longMonthsParse,e))||-1!==(i=$.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=c([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}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Je(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.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?Ke(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.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=c([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=$.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=$.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=$.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=$.call(this._weekdaysParse,e))||-1!==(i=$.call(this._shortWeekdaysParse,e))||-1!==(i=$.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=$.call(this._shortWeekdaysParse,e))||-1!==(i=$.call(this._weekdaysParse,e))||-1!==(i=$.call(this._minWeekdaysParse,e))?i:null:-1!==(i=$.call(this._minWeekdaysParse,e))||-1!==(i=$.call(this._weekdaysParse,e))||-1!==(i=$.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=c([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}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},pt("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===p(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",L);var gn=Math.abs;function fn(e,t,n,r){t=B(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),ge=wn("s"),Pe=wn("m"),ve=wn("h"),be=wn("d"),Xe=wn("w"),v=wn("M"),fe=wn("Q"),Ce=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),We=xn("minutes"),y=xn("hours"),Cn=xn("days"),$n=xn("months"),Sn=xn("years");var Fn=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var i=B(e).abs(),a=Fn(i.as("s")),o=Fn(i.as("m")),s=Fn(i.as("h")),l=Fn(i.as("d")),c=Fn(i.as("M")),u=Fn(i.as("w")),i=Fn(i.as("y")),a=(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(a=(a=null!=n.w?a||u<=1&&["w"]||u<n.w&&["ww",u]:a)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,a[3]=0<+e,a[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,a)}var _n=Math.abs;function En(e){return(0<e)-(e<0)||+e}function In(){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),u=this.asSeconds();return u?(e=h(s/60),t=h(e/60),s%=60,e%=60,n=h(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=En(this._months)!==En(u)?"-":"",a=En(this._days)!==En(u)?"-":"",o=En(this._milliseconds)!==En(u)?"-":"",(u<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"}var P=Bt.prototype;return P.isValid=function(){return this._isValid},P.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},P.add=function(e,t){return fn(this,e,t,1)},P.subtract=function(e,t){return fn(this,e,t,-1)},P.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(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)}},P.asMilliseconds=we,P.asSeconds=ge,P.asMinutes=Pe,P.asHours=ve,P.asDays=be,P.asWeeks=Xe,P.asMonths=v,P.asQuarters=fe,P.asYears=Ce,P.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},P._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*yn(vn(n)+t),n=t=0),r.milliseconds=e%1e3,e=h(e/1e3),r.seconds=e%60,e=h(e/60),r.minutes=e%60,e=h(e/60),r.hours=e%24,t+=h(e/24),n+=e=h(bn(t)),t-=yn(vn(e)),e=h(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},P.clone=function(){return B(this)},P.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},P.milliseconds=ye,P.seconds=xe,P.minutes=We,P.hours=y,P.days=Cn,P.weeks=function(){return h(this.days()/7)},P.months=$n,P.years=Sn,P.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},kn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Mn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},P.toISOString=In,P.toString=In,P.toJSON=In,P.locale=qt,P.localeData=Qt,P.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",In),P.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",Se),w("X",/[+-]?\d+(\.\d{1,3})?/),C("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),C("x",function(e,t,n){n._d=new Date(p(e))}),m.version="2.29.3",R=G,m.fn=i,m.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return G(1e3*e)},m.months=function(e,t){return pn(e,t,"months")},m.isDate=N,m.locale=pt,m.invalid=W,m.duration=B,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return G.apply(null,arguments).parseZone()},m.localeData=L,m.isDuration=Pt,m.monthsShort=function(e,t){return pn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=T[e]&&null!=T[e].parentLocale?T[e].set(Q(T[e]._config,t)):(t=Q(r=null!=(n=ht(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=T[e],T[e]=r),pt(e)):null!=T[e]&&(null!=T[e].parentLocale?(T[e]=T[e].parentLocale,e===pt()&&pt(e)):null!=T[e]&&delete T[e]),T[e]},m.locales=function(){return te(T)},m.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},m.prototype=i,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}();var Ci,$i,Si=Ci.exports;const Fi={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",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:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",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:"Abrir ",full:"Mesa cheia - aposta atrás",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"}}},ki={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 Mi(e,t,n){const r=e.slice();return r[107]=t[n],r[109]=n,r}function _i(e,t,n){const r=e.slice();return r[104]=t[n],r}function Ei(e){let n,r=!dt(e[36])&&!e[0]&&e[13],i=r&&Ii(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),de(e,n,t)},p(e,t){(r=8193&t[0]?!dt(e[36])&&!e[0]&&e[13]:r)?i?i.p(e,t):((i=Ii(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function Ii(n){let r,i,a;return{c(){(r=pe("div")).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>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ti(e){let n;return{c(){(n=pe("div")).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>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Li(n){let r,i,a;return{c(){(r=pe("div")).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>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[68]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Gi(e){let n,r,i=e[35]("gameThumbnail.new")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.new")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Bi(e){let n,r,i=e[35]("gameThumbnail.hot")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.hot")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Pi(e){let n,r,i=!e[22]&&e[20]&&e[21]&&Ri(e);function a(e){return e[22]&&e[19]&&e[19]===Zi?Di:e[22]&&e[19]&&e[19]===Ji?Ai:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ge(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),de(e,n,t),s&&s.m(e,t),de(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=Ri(e)).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.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&he(n),s&&s.d(e),e&&he(r)}}}function Ri(e){let n,r,i,a,o,s,l,c,u,d,h=e[35]("gameThumbnail.opens")+"",p=Si.utc(e[20]).local().format(e[21])+"",m=e[45](e[34])+"",g=e[44](e[26],e[27],e[25])+"";return{c(){n=pe("div"),r=pe("div"),i=me(h),a=ge(),o=pe("span"),s=me(p),l=ge(),c=new D(!1),u=ge(),d=new D(!1),fe(r,"class","ClosedGame"),fe(r,"part","ClosedGame"),c.a=u,d.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(n,l),c.m(m,n),ue(n,u),d.m(g,n)},p(e,t){16&t[1]&&h!==(h=e[35]("gameThumbnail.opens")+"")&&ye(i,h),3145728&t[0]&&p!==(p=Si.utc(e[20]).local().format(e[21])+"")&&ye(s,p),8&t[1]&&m!==(m=e[45](e[34])+"")&&c.p(m),234881024&t[0]&&g!==(g=e[44](e[26],e[27],e[25])+"")&&d.p(g)},d(e){e&&he(n)}}}function Ai(n){let r,i,a,o,s,l,c=n[45](n[34])+"",u=n[44](n[26],n[27],n[25])+"",d=new Array(Xi),h=[];for(let e=0;e<d.length;e+=1)h[e]=ji(Mi(n,d,e));return{c(){r=pe("div"),i=pe("div");for(let e=0;e<h.length;e+=1)h[e].c();a=ge(),o=new D(!1),s=ge(),l=new D(!1),fe(i,"class","LiveIcons"),fe(i,"part","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[30]),fe(r,"part",n[30])},m(e,t){de(e,r,t),ue(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[69](i),ue(r,a),o.m(c,r),ue(r,s),l.m(u,r)},p(t,n){if(536872960&n[0]|32769&n[1]){let e;for(d=new Array(Xi),e=0;e<d.length;e+=1){const o=Mi(t,d,e);h[e]?h[e].p(o,n):(h[e]=ji(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}8&n[1]&&c!==(c=t[45](t[34])+"")&&o.p(c),234881024&n[0]&&u!==(u=t[44](t[26],t[27],t[25])+"")&&l.p(u),1073741824&n[0]&&fe(r,"class",t[30]),1073741824&n[0]&&fe(r,"part",t[30])},d(e){e&&he(r),R(h,e),n[69](null)}}}function Di(e){let n,r,i,a,o,s,l=e[45](e[34])+"",c=e[44](e[26],e[27],e[25])+"";function u(e){return e[32]?Wi:Ui}let d=u(e),h=d(e);return{c(){n=pe("div"),r=pe("div"),h.c(),i=ge(),a=new D(!1),o=ge(),s=new D(!1),fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),a.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){de(e,n,t),ue(n,r),h.m(r,null),ue(n,i),a.m(l,n),ue(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,null))),8&t[1]&&l!==(l=e[45](e[34])+"")&&a.p(l),234881024&t[0]&&c!==(c=e[44](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&he(n),h.d()}}}function Hi(e){let n;function r(e){return e[29]?Oi:Ni}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Ni(e){let n,r,i=e[46]("LatestResult "+(0===e[109]?"First":""),e[109],e[11][e[109]],e[31][e[11][e[109]]])+"";return{c(){n=new D(!1),r=c(),n.a=r},m(e,t){n.m(i,e,t),de(e,r,t)},p(e,t){2048&t[0]|1&t[1]&&i!==(i=e[46]("LatestResult "+(0===e[109]?"First":""),e[109],e[11][e[109]],e[31][e[11][e[109]]])+"")&&n.p(i)},d(e){e&&he(r),e&&n.d()}}}function Oi(e){let n,r,i,a,o,s=e[46]("LatestResult "+(0===e[109]?"First":""),"first"+e[109]+e[11][e[109]][0],e[11][e[109]][0],e[31][e[11][e[109]][0]])+"",l=e[46]("LatestResult "+(0===e[109]?"First":""),"second"+e[109]+e[11][e[109]][1],e[11][e[109]][1],e[31][e[11][e[109]][1]])+"";return{c(){n=pe("div"),r=new D(!1),i=ge(),a=new D(!1),o=ge(),r.a=i,a.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){de(e,n,t),r.m(s,n),ue(n,i),a.m(l,n),ue(n,o)},p(e,t){2048&t[0]|1&t[1]&&s!==(s=e[46]("LatestResult "+(0===e[109]?"First":""),"first"+e[109]+e[11][e[109]][0],e[11][e[109]][0],e[31][e[11][e[109]][0]])+"")&&r.p(s),2048&t[0]|1&t[1]&&l!==(l=e[46]("LatestResult "+(0===e[109]?"First":""),"second"+e[109]+e[11][e[109]][1],e[11][e[109]][1],e[31][e[11][e[109]][1]])+"")&&a.p(l)},d(e){e&&he(n)}}}function ji(e){let n,r=e[11]&&e[11][e[109]]&&Hi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[11]&&e[11][e[109]]?r?r.p(e,t):((r=Hi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Ui(t){let i,a=t[24],o=[];for(let e=0;e<a.length;e+=1)o[e]=zi(_i(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);de(t,i,n)},p(t,n){if(285212672&n[0]|4096&n[1]){let e;for(a=t[24],e=0;e<a.length;e+=1){var r=_i(t,a,e);o[e]?o[e].p(r,n):(o[e]=zi(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){R(o,e),e&&he(i)}}}function Wi(e){let n,r,i=e[35]("gameThumbnail.full")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.full")+"")&&ye(r,i)},d(e){e&&he(n)}}}function zi(e){let n,r,i,a,o,s,l;return{c(){n=pe("span"),r=k("svg"),i=k("path"),a=k("path"),o=ge(),fe(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"),fe(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"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"width","13"),fe(r,"height","14"),fe(r,"viewBox","0 0 13 14"),fe(n,"class",s=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),285212672&t[0]&&l!==(l=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&he(n)}}}function Yi(e){let n,r;return{c(){n=pe("p"),r=me(e[3]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[3])},m(e,t){de(e,n,t),ue(n,r)},p(e,t){8&t[0]&&ye(r,e[3]),8&t[0]&&fe(n,"title",e[3])},d(e){e&&he(n)}}}function Vi(n){let r,i,a,o,s,l,D,c,u,d,h,p,H,m,g,f,y,N,b,v,O,w,x,C,$,S,j,F,k,U,M,_,W,z,E=n[35]("gameThumbnail.playNow")+"",I=(n[4]||"-")+"",Y=0<parseInt(n[7]),T=n[14]&&Ei(n);function V(e,t){return 8195&t[0]&&(w=null),8195&t[0]&&(x=null),(w=null==w?!(dt(e[36])||!e[0]||!e[13]||!e[1]):w)?Li:(x=null==x?!!(dt(e[36])&&e[0]&&e[13]&&e[1]):x)?Ti:void 0}let L=V(n,[-1,-1,-1,-1]),G=L&&L(n),B=n[6]&&Gi(n),P=Y&&Bi(n),R=n[10]&&Pi(n),A=n[9]&&Yi(n);return{c(){r=pe("div"),i=pe("div"),a=pe("img"),D=ge(),c=pe("div"),u=pe("div"),T&&T.c(),d=ge(),h=pe("p"),p=me(n[3]),H=ge(),m=pe("button"),g=me(E),N=ge(),b=pe("span"),v=me(I),O=ge(),G&&G.c(),C=ge(),$=pe("div"),B&&B.c(),S=ge(),P&&P.c(),j=ge(),R&&R.c(),U=ge(),A&&A.c(),this.c=Z,ce(a.src,o=n[2])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[8]} ${n[15]?"GameContainerHovered":""} `+(n[16]?"Loaded":"")),fe(a,"part",l="GameBg "+(n[15]?"GameContainerHovered":"")+" "+(n[16]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(h,"class","GameInfoName"),fe(h,"part","GameInfoName"),fe(h,"title",n[3]),fe(m,"class","GameInfoBtn"),fe(m,"part","GameInfoBtn"),fe(u,"class",f="GameInfo "+(n[15]?"GameHovered":"")),fe(u,"part",y="GameInfo "+(n[15]?"GameHovered":"")),fe(b,"class","GameInfoVendor"),fe(b,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe($,"class","GameExtraInfo"),fe($,"part","GameExtraInfo"),fe(i,"class",F="GameInnerContainer "+(n[10]&&!n[22]&&n[23].value||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),fe(i,"part",k="GameInnerContainer "+(n[10]&&!n[22]||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),fe(r,"class",M="GameContainer "+n[33]),fe(r,"part",_="GameContainer "+n[33])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[65](a),ue(i,D),ue(i,c),ue(c,u),T&&T.m(u,null),ue(u,d),ue(u,h),ue(h,p),ue(u,H),ue(u,m),ue(m,g),ue(c,N),ue(c,b),ue(b,v),ue(i,O),G&&G.m(i,null),ue(i,C),ue(i,$),B&&B.m($,null),ue($,S),P&&P.m($,null),ue($,j),R&&R.m($,null),ue(r,U),A&&A.m(r,null),n[70](r),W||(z=[K(m,"click",n[67]),K(i,"mouseenter",n[41]),K(i,"mouseleave",n[42]),K(i,"touchstart",n[39],{passive:!0}),K(i,"touchend",n[40],{passive:!0})],W=!0)},p(e,t){4&t[0]&&!ce(a.src,o=e[2])&&fe(a,"src",o),98560&t[0]&&s!==(s=`GameBg GameBg-${e[8]} ${e[15]?"GameContainerHovered":""} `+(e[16]?"Loaded":""))&&fe(a,"class",s),98304&t[0]&&l!==(l="GameBg "+(e[15]?"GameContainerHovered":"")+" "+(e[16]?"Loaded":""))&&fe(a,"part",l),e[14]?T?T.p(e,t):((T=Ei(e)).c(),T.m(u,d)):T&&(T.d(1),T=null),8&t[0]&&ye(p,e[3]),8&t[0]&&fe(h,"title",e[3]),16&t[1]&&E!==(E=e[35]("gameThumbnail.playNow")+"")&&ye(g,E),32768&t[0]&&f!==(f="GameInfo "+(e[15]?"GameHovered":""))&&fe(u,"class",f),32768&t[0]&&y!==(y="GameInfo "+(e[15]?"GameHovered":""))&&fe(u,"part",y),16&t[0]&&I!==(I=(e[4]||"-")+"")&&ye(v,I),L===(L=V(e,t))&&G?G.p(e,t):(G&&G.d(1),(G=L&&L(e))&&(G.c(),G.m(i,C))),e[6]?B?B.p(e,t):((B=Gi(e)).c(),B.m($,S)):B&&(B.d(1),B=null),(Y=128&t[0]?0<parseInt(e[7]):Y)?P?P.p(e,t):((P=Bi(e)).c(),P.m($,j)):P&&(P.d(1),P=null),e[10]?R?R.p(e,t):((R=Pi(e)).c(),R.m($,null)):R&&(R.d(1),R=null),12583936&t[0]|2&t[1]&&F!==(F="GameInnerContainer "+(e[10]&&!e[22]&&e[23].value||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"class",F),4195328&t[0]|2&t[1]&&k!==(k="GameInnerContainer "+(e[10]&&!e[22]||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"part",k),e[9]?A?A.p(e,t):((A=Yi(e)).c(),A.m(r,null)):A&&(A.d(1),A=null),4&t[1]&&M!==(M="GameContainer "+e[33])&&fe(r,"class",M),4&t[1]&&_!==(_="GameContainer "+e[33])&&fe(r,"part",_)},i:Z,o:Z,d(e){e&&he(r),n[65](null),T&&T.d(),G&&G.d(),B&&B.d(),P&&P.d(),R&&R.d(),A&&A.d(),n[70](null),W=!1,J(z)}}}const Zi="blackjack",Ji="roulette",Ki="doubleballroulette",Xi=5;function qi(i,e,o){let t;pt(i,Kr,e=>o(35,t=e));let a,s,l,n,R,c,u,d,h,p,A,m,D,H,N,g,O,j,U,f,W,y,z,Y,{session:V=""}=e,{userid:Z=""}=e,{lang:J=""}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{favorites:w=""}=e,{gamethumbnail:K=""}=e,{gamename:X=""}=e,{gamevendor:r=""}=e,{gameid:x=""}=e,{gameisnew:q=""}=e,{gamepopularity:Q=""}=e,{gamefunmode:C=!1}=e,{searchitem:ee=!1}=e,{gamefavorite:$=!1}=e,{gamecellsize:te=""}=e,{showfavoredcategory:S=!1}=e,{showgamename:ne=!1}=e,{currency:F=""}=e,{gamepagemodalurl:k="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:_=""}=e,{connectlive:E=""}=e,{visibilityconnect:I=""}=e,{integratedgameframedesktop:T="false"}=e,{integratedgameframemobile:L="false"}=e,re=!1,ie=!1,ae=!1,G=window.navigator.userAgent,oe="HH:mm",se,le=[],ce="EUR",B="";const ue=[Zi],de=[Ji,Ki],he={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},pe={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"},me=(Object.keys(Fi).forEach(e=>{Ir(e,Fi[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+x||S||o(0,$=!0),e.data.type!=="RemoveFavoriteThumbnail_"+x||S||o(0,$=!1),"UserSessionID"===e.data.type&&(o(13,re=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(10,l=null)}),ge=e=>{ee&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),dt(G)&&"true"==L?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:C,gamepagemodalurl:k,isMobile:dt(G),source:"GameThumbnail"},window.location.href):dt(G)&&"false"==L&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:dt(G)},window.location.href),dt(G)||"true"!=T?dt(G)||"false"!=T||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:dt(G)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:C,gamepagemodalurl:k,isMobile:dt(G)},window.location.href)},fe=e=>{$?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},ye=()=>{_&&EventSource&&!n&&r&&x&&(n=new EventSource(`${M}/encoder/lobby/updates/${r}/`+x)).addEventListener("message",ve)},be=()=>{n&&(n.close(),n=void 0)},ve=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(28,m=i),o(10,l.currentOccupiedSeats=i,l),await xe());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(D=n,o(10,l.currentRouletteNumbers=n,l),await xe());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(H=n,o(10,l.currentDoubleBallRouletteNumbers=n,l),await xe());break;case"TableOpened":case"TableClosed":o(22,u=a),o(10,l.isOpen=a,l),await xe()}}}},we=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",P=(e,t)=>e.some(e=>e===t);return mt(()=>(window.addEventListener("message",me,!1),()=>{window.removeEventListener("message",me),n&&n.removeEventListener("message",ve)})),i.$$set=e=>{"session"in e&&o(47,V=e.session),"userid"in e&&o(48,Z=e.userid),"lang"in e&&o(49,J=e.lang),"clientstyling"in e&&o(50,b=e.clientstyling),"clientstylingurl"in e&&o(51,v=e.clientstylingurl),"favorites"in e&&o(1,w=e.favorites),"gamethumbnail"in e&&o(2,K=e.gamethumbnail),"gamename"in e&&o(3,X=e.gamename),"gamevendor"in e&&o(4,r=e.gamevendor),"gameid"in e&&o(5,x=e.gameid),"gameisnew"in e&&o(6,q=e.gameisnew),"gamepopularity"in e&&o(7,Q=e.gamepopularity),"gamefunmode"in e&&o(52,C=e.gamefunmode),"searchitem"in e&&o(53,ee=e.searchitem),"gamefavorite"in e&&o(0,$=e.gamefavorite),"gamecellsize"in e&&o(8,te=e.gamecellsize),"showfavoredcategory"in e&&o(54,S=e.showfavoredcategory),"showgamename"in e&&o(9,ne=e.showgamename),"currency"in e&&o(55,F=e.currency),"gamepagemodalurl"in e&&o(56,k=e.gamepagemodalurl),"endpoint"in e&&o(57,M=e.endpoint),"livelobbyendpoint"in e&&o(58,_=e.livelobbyendpoint),"connectlive"in e&&o(59,E=e.connectlive),"visibilityconnect"in e&&o(60,I=e.visibilityconnect),"integratedgameframedesktop"in e&&o(61,T=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(62,L=e.integratedgameframemobile)},i.$$.update=()=>{if(268435456&i.$$.dirty[1]&&E&&("disconnect"===E?be():"connect"===E&&ye()),536870912&i.$$.dirty[1]&&I&&("disconnect"===I?be():"connect"===I&&"connect"===E&&ye()),i.$$.dirty[1],67305472&i.$$.dirty[1]&&V&&Z&&M&&o(13,re=!0),4&i.$$.dirty[0]&&K&&a&&o(17,a.onload=()=>{o(16,ae=!0)},a),524288&i.$$.dirty[1]&&b){let e=document.createElement("style");e.innerHTML=b,setTimeout(()=>{s.appendChild(e)})}if(2&i.$$.dirty[0]&&w&&"true"==w&&o(14,ie=!0),256&i.$$.dirty[0]|1048576&i.$$.dirty[1]&&te&&v){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)})})}if(201326592&i.$$.dirty[1]&&M&&_){let e=new URL(""+_.split("?")[0]);e.searchParams.append("platform",ht(G)),e.searchParams.append("language",J),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(10,l=e)})}if(1024&i.$$.dirty[0]&&l&&l&&(o(22,u=l.isOpen),se=l.betLimit||{},o(23,d=l.openHours),o(24,le=(e=>{A=e.totalSeats||7,o(28,m=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=A;e++)t.push(e);return{seats:t}})(l).seats),d&&d.value&&({startTime:e,originalTimeFormat:t}=d["value"],o(20,c=e),o(21,oe=t||oe)),u&&o(19,R=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();P(ue,e)?t=Zi:P(de,e)&&(t=Ji)}}return t})(l)),o(25,ce=ki[F]),o(26,h=(se.min||{})[F]),o(27,p=(se.max||{})[F]),D=l.currentRouletteNumbers,H=l.currentDoubleBallRouletteNumbers,N=l.vendorCategory,o(29,g=N.toLowerCase()===Ki),o(11,O=(g?H:D)||[]),o(30,j="GameProp LiveProps RoulleteProps"),o(30,j+=g?" Double":""),o(31,U=P(de,N.toLowerCase())?pe:he),W=f,o(32,f=Array.isArray(m)&&m.length===A),l.dealer&&o(34,z=l.dealer.DealerName),Y=l.numberOfPlayers,o(33,B="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(33,B+=" GameBackdrop"),u&&f&&h&&p&&l.currentOccupiedSeats?o(33,B+=" GameContainerDimmed"):!1===u&&c&&o(33,B+=" GameContainerFullyDimmed"),s&&(!W&&f?(o(33,B+=" PulsatingRedShadow"),o(33,B=B.replace(" PulsatingGreenShadow",""))):W&&!f&&(o(33,B+=" PulsatingGreenShadow"),o(33,B=B.replace(" PulsatingRedShadow",""))))),6144&i.$$.dirty[0]&&y&&O){const n="FirstElementAnimated",r=y.getElementsByClassName("First")[0];r&&(r.classList.add(n),setTimeout(()=>{r.classList.remove(n)},2e3))}var e,t},[$,w,K,X,r,x,q,Q,te,ne,l,O,y,re,ie,!1,ae,a,s,R,c,oe,u,d,le,ce,h,p,m,g,j,U,f,B,z,t,G,ge,fe,()=>{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)},P,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
4
4
  <span>
5
5
  ${n}
6
6
  </span>
@@ -29,5 +29,5 @@
29
29
  <span id=${t} class="${e}">
30
30
  ${n}
31
31
  </span>
32
- `},V,Z,J,b,v,$,ee,S,F,k,M,_,E,I,T,L,he,pe,function(e){ot[e?"unshift":"push"](()=>{a=e,o(17,a)})},()=>fe(x),()=>ge(x),()=>fe(x),function(e){ot[e?"unshift":"push"](()=>{y=e,o(12,y)})},function(e){ot[e?"unshift":"push"](()=>{s=e,o(18,s)})}]}function ea(e,t,n){const r=e.slice();return r[77]=t[n],r[79]=n,r}function ta(e,t,n){const r=e.slice();return r[77]=t[n],r[80]=t,r[79]=n,r}function na(e,t,n){const r=e.slice();return r[77]=t[n],r[79]=n,r}function ra(e){let n;function r(e){return e[14]?sa:e[24]?oa:void 0}let i=r(e),a=i&&i(e);return{c(){n=pe("div"),a&&a.c()},m(e,t){de(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.c(),a.m(n,null)))},d(e){e&&he(n),a&&a.d()}}}function ia(e){let n,r,i;function a(e){return e[18]?Fa:e[15].length?Ca:Sa}let o=a(e),s=o(e);function l(e){return e[15]?Ma:ka}let c=l(e),u=c(e);return{c(){n=pe("div"),r=pe("div"),s.c(),i=ge(),u.c(),fe(r,"class","CasinoGamesHeader Searched "+(lt(e[30])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(lt(e[30])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){de(e,n,t),ue(n,r),s.m(r,null),ue(n,i),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),(u=c(e))&&(u.c(),u.m(n,null)))},d(e){e&&he(n),s.d(),u.d()}}}function aa(e){let n;function r(e){return e[20]?Ta:Ia}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function oa(n){let r,i,a,o,s,l,c,u,d=n[29]("gamesCategorySection.favorites")+"";function h(e){return e[28]?ca:la}let p=h(n),m=p(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(d),s=ge(),l=pe("ul"),m.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(l,"class",c=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(l,"part",u=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),n[50](a),ue(r,s),ue(r,l),m.m(l,null),n[51](l)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.favorites")+"")&&ye(o,d),p===(p=h(e))&&m?m.p(e,t):(m.d(1),(m=p(e))&&(m.c(),m.m(l,null))),268435456&t[0]&&c!==(c=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"class",c),268435456&t[0]&&u!==(u=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"part",u)},d(e){e&&he(r),n[50](null),m.d(),n[51](null)}}}function sa(n){let r,i,a,o,s,l,c=n[14].name+"",u=n[16]&&va(n);function d(e){return 0!==e[15].length?xa:wa}let h=d(n),p=h(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(c),s=ge(),u&&u.c(),l=ge(),p.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),n[46](a),ue(i,s),u&&u.m(i,null),ue(r,l),p.m(r,null)},p(e,t){16384&t[0]&&c!==(c=e[14].name+"")&&ye(o,c),e[16]?u?u.p(e,t):((u=va(e)).c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(r,null)))},d(e){e&&he(r),n[46](null),u&&u.d(),p.d()}}}function la(e){let n,r,i=e[29]("gamesCategorySection.waiting")+"";return{c(){n=pe("p"),r=me(i)},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.waiting")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ca(t){let r,i=t[28].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=ba(ea(t,i,e));let o=null;return i.length||(o=ua(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);de(t,r,n),o&&o.m(t,n)},p(t,n){if(2097156095&n[0]){let e;for(i=t[28].items,e=0;e<i.length;e+=1){const o=ea(t,i,e);a[e]?a[e].p(o,n):(a[e]=ba(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=ua(t)).c(),o.m(r.parentNode,r))}},d(e){L(a,e),e&&he(r),o&&o.d(e)}}}function ua(e){let n,r,i,a,o,s,l,c,t,u,d=e[29]("gamesCategorySection.noFavoritesTitle")+"",h=(m=e,lt(m[30])?ha:da),p=h(e);var m;return{c(){n=pe("p"),r=k("svg"),i=k("path"),a=ge(),o=pe("span"),s=me(d),l=ge(),p.c(),c=ge(),B(i,"fill","white"),fe(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"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","50px"),fe(r,"y","50px"),fe(r,"viewBox","0 0 512.001 512.001"),B(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(lt(e[30])?"NoFavoriteGamesMobile":"")),fe(n,"part",u="NoFavoriteGames "+(lt(e[30])?"NoFavoriteGamesMobile":""))},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(n,a),ue(n,o),ue(o,s),ue(n,l),p.m(n,null),ue(n,c)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,d),p.p(e,t)},d(e){e&&he(n),p.d()}}}function da(e){let n,r,i=e[29]("gamesCategorySection.noFavorites")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavorites")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ha(e){let n,r,i=e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,i)},d(e){e&&he(n)}}}function pa(e){let n,r=e[77].gameModel.isFavorite&&ma(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[77].gameModel.isFavorite?r?r.p(e,t):((r=ma(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ma(e){let n,r=function(e){let n,r,i;function a(e,t){return 268435456&t[0]&&(r=null),(n=null==n?!!lt(e[30]):n)?fa:(r=null==r?!!e[77].gameModel.platform.includes("PC"):r)?ga: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),de(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.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&he(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function ga(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(x+(e[77].cellSize||"1x1"))),w(n,"part",i=""+(x+(e[77].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[77].gameModel.thumbnail),w(n,"gamename",o=e[77].gameModel.name),w(n,"gamevendor",s=e[77].gameModel.vendor.name),w(n,"gameisnew",l=e[77].gameModel.isNew),w(n,"gamepopularity",c=e[77].gameModel.popularity),w(n,"gamecellsize",u=e[77].cellSize),w(n,"gameid",d=e[77].gameModel.id),w(n,"gamefunmode",h=e[77].gameModel.hasFunMode),w(n,"gamefavorite",p=e[77].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",m=1==e[26][e[77].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[77].gameModel.details?e[77].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(x+(e[77].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&i!==(i=""+(x+(e[77].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[77].gameModel.thumbnail)&&w(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[77].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[77].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[77].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[77].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&u!==(u=e[77].cellSize)&&w(n,"gamecellsize",u),268435456&t[0]&&d!==(d=e[77].gameModel.id)&&w(n,"gameid",d),268435456&t[0]&&h!==(h=e[77].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[77].gameModel.isFavorite)&&w(n,"gamefavorite",p),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&m!==(m=1==e[26][e[77].id]?"connect":"disconnect")&&w(n,"connectlive",m),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function fa(e){let n,r=e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"),i=r&&ya(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),de(e,n,t)},p(e,t){(r=268435456&t[0]?e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"):r)?i?i.p(e,t):((i=ya(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function ya(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(x+(e[77].cellSize||"1x1"))),w(n,"part",i=""+(x+(e[77].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[77].gameModel.thumbnail),w(n,"gamename",o=e[77].gameModel.name),w(n,"gamevendor",s=e[77].gameModel.vendor.name),w(n,"gameisnew",l=e[77].gameModel.isNew),w(n,"gamepopularity",c=e[77].gameModel.popularity),w(n,"gamecellsize",u=e[77].cellSize),w(n,"gameid",d=e[77].gameModel.id),w(n,"gamefunmode",h=e[77].gameModel.hasFunMode),w(n,"gamefavorite",p=e[77].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",m=1==e[26][e[77].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[77].gameModel.details?e[77].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(x+(e[77].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&i!==(i=""+(x+(e[77].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[77].gameModel.thumbnail)&&w(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[77].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[77].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[77].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[77].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&u!==(u=e[77].cellSize)&&w(n,"gamecellsize",u),268435456&t[0]&&d!==(d=e[77].gameModel.id)&&w(n,"gameid",d),268435456&t[0]&&h!==(h=e[77].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[77].gameModel.isFavorite)&&w(n,"gamefavorite",p),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&m!==(m=1==e[26][e[77].id]?"connect":"disconnect")&&w(n,"connectlive",m),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function ba(e){let n,r=e[77].gameModel&&pa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[77].gameModel?r?r.p(e,t):((r=pa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function va(n){let r,i,a,o,s,l,c,u,d=n[29]("gamesCategorySection.viewAll")+"",h=n[14].games.total+"";return{c(){r=pe("a"),i=pe("span"),a=me(d),o=me(" ("),s=me(h),l=me(")"),fe(i,"class","CategoryLoadMore"),fe(i,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),ue(i,l),c||(u=K(r,"click",n[47]),c=!0)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.viewAll")+"")&&ye(a,d),16384&t[0]&&h!==(h=e[14].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,u()}}}function wa(e){let n;return{c(){(n=pe("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function xa(n){let r,e,i,a=n[15],o=[];for(let e=0;e<a.length;e+=1)o[e]=$a(ta(n,a,e));return{c(){r=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",i=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){de(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[49](r)},p(t,n){if(201367551&n[0]){let e;for(a=t[15],e=0;e<a.length;e+=1){const i=ta(t,a,e);o[e]?o[e].p(i,n):(o[e]=$a(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}285212672&n[0]&&e!==(e=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),285212672&n[0]&&i!==(i=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",i)},d(e){e&&he(r),L(o,e),n[49](null)}}}function $a(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=n[79];const b=()=>n[48](r,y),v=()=>n[48](null,y);return{c(){w(r=pe("casino-game-thumbnail"),"session",n[2]),w(r,"userid",n[3]),w(r,"lang",n[1]),w(r,"class",i=""+(x+(n[77].cellSize||"1x1"))),w(r,"part",a=""+(x+(n[77].cellSize||"1x1"))),w(r,"favorites",n[4]),w(r,"gamethumbnail",o=n[77].thumbnail),w(r,"gamename",s=n[77].name),w(r,"gamevendor",l=n[77].vendor.name),w(r,"gameisnew",c=n[77].isNew),w(r,"gamepopularity",u=n[77].popularity),w(r,"gamecellsize",d=n[77].cellSize),w(r,"gameid",h=n[77].id),w(r,"gamefunmode",p=n[77].hasFunMode),w(r,"gamefavorite",m=n[77].isFavorite),w(r,"connectlive",g=1==n[26][n[77].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[27]),w(r,"currency",n[7]),w(r,"livelobbyendpoint",f=n[77].details?n[77].href:""),w(r,"clientstyling",n[5]),w(r,"clientstylingurl",n[6]),w(r,"endpoint",n[0]),w(r,"livecasino",n[8]),w(r,"gamepagemodalurl",n[9]),w(r,"integratedgameframedesktop",n[10]),w(r,"integratedgameframemobile",n[11])},m(e,t){de(e,r,t),b()},p(e,t){n=e,4&t[0]&&w(r,"session",n[2]),8&t[0]&&w(r,"userid",n[3]),2&t[0]&&w(r,"lang",n[1]),32768&t[0]&&i!==(i=""+(x+(n[77].cellSize||"1x1")))&&w(r,"class",i),32768&t[0]&&a!==(a=""+(x+(n[77].cellSize||"1x1")))&&w(r,"part",a),16&t[0]&&w(r,"favorites",n[4]),32768&t[0]&&o!==(o=n[77].thumbnail)&&w(r,"gamethumbnail",o),32768&t[0]&&s!==(s=n[77].name)&&w(r,"gamename",s),32768&t[0]&&l!==(l=n[77].vendor.name)&&w(r,"gamevendor",l),32768&t[0]&&c!==(c=n[77].isNew)&&w(r,"gameisnew",c),32768&t[0]&&u!==(u=n[77].popularity)&&w(r,"gamepopularity",u),32768&t[0]&&d!==(d=n[77].cellSize)&&w(r,"gamecellsize",d),32768&t[0]&&h!==(h=n[77].id)&&w(r,"gameid",h),32768&t[0]&&p!==(p=n[77].hasFunMode)&&w(r,"gamefunmode",p),32768&t[0]&&m!==(m=n[77].isFavorite)&&w(r,"gamefavorite",m),67141632&t[0]&&g!==(g=1==n[26][n[77].id]?"connect":"disconnect")&&w(r,"connectlive",g),134217728&t[0]&&w(r,"visibilityconnect",n[27]),128&t[0]&&w(r,"currency",n[7]),32768&t[0]&&f!==(f=n[77].details?n[77].href:"")&&w(r,"livelobbyendpoint",f),32&t[0]&&w(r,"clientstyling",n[5]),64&t[0]&&w(r,"clientstylingurl",n[6]),1&t[0]&&w(r,"endpoint",n[0]),256&t[0]&&w(r,"livecasino",n[8]),512&t[0]&&w(r,"gamepagemodalurl",n[9]),1024&t[0]&&w(r,"integratedgameframedesktop",n[10]),2048&t[0]&&w(r,"integratedgameframemobile",n[11]),y!==n[79]&&(v(),y=n[79],b())},d(e){e&&he(r),v()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function Ca(e){let n,r,i=e[29]("gamesCategorySection.searchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.searchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Sa(e){let n,r,i=e[29]("gamesCategorySection.noResults")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noResults")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Fa(e){let n,r,i=e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ka(e){let n;return{c(){(n=pe("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ma(t){let r,i,a=!t[21]&&_a(t),o=t[15],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ea(na(t,o,e));return{c(){a&&a.c(),r=ge(),i=pe("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),de(e,r,t),de(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[21]?a&&(a.d(1),a=null):a?a.p(t,n):((a=_a(t)).c(),a.m(r.parentNode,r)),561151&n[0]){let e;for(o=t[15],e=0;e<o.length;e+=1){const a=na(t,o,e);s[e]?s[e].p(a,n):(s[e]=Ea(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&&he(r),e&&he(i),L(s,e)}}}function _a(e){let n,r,t,i,a=e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){n=pe("p"),r=me(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(lt(e[30])?"NoRecentSearchesMobile":"")),fe(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(lt(e[30])?"NoRecentSearchesMobile":""))},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noRecentSearch")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ea(e){let n,r,i,a,o,s,l,c,u,d,h,p,m;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(x+(e[77].cellSize||"1x1"))),w(n,"part",i=""+(x+(e[77].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"searchitem",e[19]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[77].thumbnail),w(n,"gamename",o=e[77].name),w(n,"gamevendor",s=e[77].vendor.name),w(n,"gameisnew",l=e[77].isNew),w(n,"gamepopularity",c=e[77].popularity),w(n,"gamecellsize",u=e[77].cellSize),w(n,"gameid",d=e[77].id),w(n,"gamefunmode",h=e[77].hasFunMode),w(n,"gamefavorite",p=e[77].isFavorite),w(n,"currency",e[7]),w(n,"livelobbyendpoint",m=e[77].details?e[77].href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){32768&t[0]&&r!==(r=""+(x+(e[77].cellSize||"1x1")))&&w(n,"class",r),32768&t[0]&&i!==(i=""+(x+(e[77].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),524288&t[0]&&w(n,"searchitem",e[19]),16&t[0]&&w(n,"favorites",e[4]),32768&t[0]&&a!==(a=e[77].thumbnail)&&w(n,"gamethumbnail",a),32768&t[0]&&o!==(o=e[77].name)&&w(n,"gamename",o),32768&t[0]&&s!==(s=e[77].vendor.name)&&w(n,"gamevendor",s),32768&t[0]&&l!==(l=e[77].isNew)&&w(n,"gameisnew",l),32768&t[0]&&c!==(c=e[77].popularity)&&w(n,"gamepopularity",c),32768&t[0]&&u!==(u=e[77].cellSize)&&w(n,"gamecellsize",u),32768&t[0]&&d!==(d=e[77].id)&&w(n,"gameid",d),32768&t[0]&&h!==(h=e[77].hasFunMode)&&w(n,"gamefunmode",h),32768&t[0]&&p!==(p=e[77].isFavorite)&&w(n,"gamefavorite",p),128&t[0]&&w(n,"currency",e[7]),32768&t[0]&&m!==(m=e[77].details?e[77].href:"")&&w(n,"livelobbyendpoint",m),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ia(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ta(e){let n;return{c(){(n=pe("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function La(n){let r;function i(e){return e[13]?aa:e[17]?ia:ra}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){de(e,r,t),o.m(r,null),n[52](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[52](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends i{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:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Qi,Zi,t,{session:47,userid:48,lang:49,clientstyling:50,clientstylingurl:51,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:52,searchitem:53,gamefavorite:0,gamecellsize:8,showfavoredcategory:54,showgamename:9,currency:55,gamepagemodalurl:56,endpoint:57,livelobbyendpoint:58,connectlive:59,visibilityconnect:60,integratedgameframedesktop:61,integratedgameframemobile:62,MONEY_WHEEL_COLOR_MAP:63,ROULETTE_COLOR_MAP:64},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[49]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),f()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[53]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[54]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[56]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[57]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[58]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[59]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[60]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[61]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[62]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[63]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[64]}});const x="game-tile-";function Ga(e,t,s){let R;ut(e,Kr,e=>s(29,R=e));let n,i,a,r,A,o,l,c,u,d,{categoryindex:D=""}=t,{endpoint:h=""}=t,{datasource:p=""}=t,{lang:m=""}=t,{session:H=""}=t,{userid:N=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{currency:O=""}=t,{categoryid:b=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:W=""}=t,{gamepagemodalurl:z="false"}=t,{enablecasinowinners:Y="true"}=t,{integratedgameframedesktop:V="false"}=t,{integratedgameframemobile:Z="false"}=t,{tabsorder:J=""}=t,{enableautoscroll:K=""}=t,{once:X=!0}=t,{top:q=0}=t,{bottom:Q=0}=t,{left:ee=0}=t,{right:te=0}=t,v=!1,w=!0,ne=window.navigator.userAgent,x=[],$=!0,C=40,S=!1,F=!1,re=!1,k=!1,M=!1,_=!0,E=!1,I=!1,T=!1,L=new Array(1e4),G={},ie="",B={items:[],count:0,name:""},ae=(Object.keys($i).forEach(e=>{Ir(e,$i[e])}),void 0!==document.hidden?u="hidden":void 0!==document.msHidden?u="msHidden":void 0!==document.webkitHidden&&(u="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>C&&le(b),s(26,G[t]=1,G)):s(26,G[t]=0,G)})}));const oe=(e,r,i,t=0)=>{let a=new URL(`${h}/casino/groups/${p}/`+b),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",ct(ne)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",m),window.postMessage({type:"CategoryVendors",categoryid:b},window.location.href),o&&o[b])if(o[b].length&&!1===w&&!1===E){let t="";s(20,M=!0),o[b].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(20,M=!1);fetch(a).then(e=>e.json()).then(e=>{s(45,d=!0),s(13,v=!1),A=e.games.total,t(e)},e=>{s(13,v=!0),console.error(e),n(e)})})},se=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(17,S=!1),w=!1,s(16,$=!1),I=!0,s(15,x=t.data.mostPlayedGames),s(14,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(17,S=!0),I=!1,s(18,F=!0),0<t.data.searchData.length?(s(15,x=t.data.searchData),s(21,_=!0),x&&x.forEach(e=>{e.isFavorite=P(e.id)})):(s(15,x=[]),s(21,_=!1));break;case"OutOfRecentSearches":s(17,S=!1),s(18,F=!1);break;case"SearchData":s(17,S=!0),I=!1,s(18,F=!1),s(15,x=t.data.searchData.items||[]),s(19,k=!0),t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=P(e.id)});break;case"CategoryData_"+b:s(17,S=!1),w=!0,s(16,$=!0),s(19,k=!1),I=!1,T=!1,t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),oe(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(14,a=e),s(15,x=a.games.items),x&&x.forEach(e=>{e.isFavorite=P(e.id)})});break;case"CategoryChange":C=20;break;case"CategoryUpdate":s(17,S=!1),w=!1,s(19,k=!1),I=!1,T=!0,s(32,b=t.data.itemId),"MOSTPLAYED"!==b&&s(16,$=!1),oe(0,0,C).then(e=>{s(14,a=e),a.games.items.forEach(e=>{e.isFavorite=P(e.id)}),s(15,x=a.games.items),s(16,$=!1),x.length<10&&(re=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:re},window.location.href)},500))});break;case"FavoriteUpdate":I=!1,w=!0,s(15,x=a.games.items),x.forEach(e=>{e.isFavorite=P(e.id)});break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items,E?w||I||window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(28,B.items=Xr(e,B.items),B),s(28,B.name="Favorites",B),s(24,E=!0));break;case"UserSessionID":if(n=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&n&&0<n.length){var r=`${h}/player/${i}/favorites/`;let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{l=e?e.items:[],x.forEach(e=>{e.isFavorite=P(e.id)});e=x;s(15,x=void 0),s(15,x=e),t(l)}).catch(e=>{console.error(e),n(e)})})}}},le=e=>{(C+=1)<=A&&oe(0,0,C).then(e=>{s(14,a=e),a.games.items.length>x.length&&(s(15,x=a.games.items),x.forEach(e=>{e.isFavorite=P(e.id)}))})},P=t=>!!l&&-1!==l.findIndex(e=>e.id==t),ce=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return dt(()=>(window.addEventListener("visibilitychange",e=>{document[u]?s(27,ie="disconnect"):s(27,ie="connect")}),window.addEventListener("message",se,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",se),window.removeEventListener("visibilitychange",se)})),e.$$set=e=>{"categoryindex"in e&&s(33,D=e.categoryindex),"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(34,p=e.datasource),"lang"in e&&s(1,m=e.lang),"session"in e&&s(2,H=e.session),"userid"in e&&s(3,N=e.userid),"favorites"in e&&s(4,g=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"currency"in e&&s(7,O=e.currency),"categoryid"in e&&s(32,b=e.categoryid),"categorygames"in e&&s(35,j=e.categorygames),"livecasino"in e&&s(8,U=e.livecasino),"visiblegames"in e&&s(36,W=e.visiblegames),"gamepagemodalurl"in e&&s(9,z=e.gamepagemodalurl),"enablecasinowinners"in e&&s(37,Y=e.enablecasinowinners),"integratedgameframedesktop"in e&&s(10,V=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,Z=e.integratedgameframemobile),"tabsorder"in e&&s(38,J=e.tabsorder),"enableautoscroll"in e&&s(39,K=e.enableautoscroll),"once"in e&&s(40,X=e.once),"top"in e&&s(41,q=e.top),"bottom"in e&&s(42,Q=e.bottom),"left"in e&&s(43,ee=e.left),"right"in e&&s(44,te=e.right)},e.$$.update=()=>{if(4096&e.$$.dirty[0]|16384&e.$$.dirty[1]&&d&&L&&T&&L.forEach((e,t)=>{e&&(e.elems_index=t,ae.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&f){let e=document.createElement("style");e.innerHTML=f,setTimeout(()=>{c.appendChild(e)})}if(64&e.$$.dirty[0]&&y){let t=document.createElement("style");fetch(new URL(y)).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&setTimeout(()=>{c.appendChild(t)},1)})}},[h,m,H,N,g,f,y,O,U,z,V,Z,L,v,a,x,$,S,F,k,M,_,r,o,E,c,G,ie,B,R,ne,ce,b,D,p,j,W,Y,J,K,X,q,Q,ee,te,d,function(e){ot[e?"unshift":"push"](()=>{o=e,s(23,o)})},e=>ce(a.id,a),function(e,t){ot[e?"unshift":"push"](()=>{L[t]=e,s(12,L)})},function(e){ot[e?"unshift":"push"](()=>{r=e,s(22,r)})},function(e){ot[e?"unshift":"push"](()=>{o=e,s(23,o)})},function(e){ot[e?"unshift":"push"](()=>{r=e,s(22,r)})},function(e){ot[e?"unshift":"push"](()=>{c=e,s(25,c)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends i{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}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ga,La,t,{categoryindex:33,endpoint:0,datasource:34,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:32,categorygames:35,livecasino:8,visiblegames:36,gamepagemodalurl:9,enablecasinowinners:37,integratedgameframedesktop:10,integratedgameframemobile:11,tabsorder:38,enableautoscroll:39,once:40,top:41,bottom:42,left:43,right:44},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","enablecasinowinners","integratedgameframedesktop","integratedgameframemobile","tabsorder","enableautoscroll","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[33]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[34]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[32]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[35]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[36]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[37]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get tabsorder(){return this.$$.ctx[38]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[39]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get once(){return this.$$.ctx[40]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[41]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[42]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[43]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[44]}set right(e){this.$$set({right:e}),f()}});const Ba={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Pa(e,t,n){const r=e.slice();return r[23]=t[n],r[25]=n,r}function Ra(n){let r,i,a,o,s,l,c,u=!n[5]&&Aa(n),d=n[5]&&Ha(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("span")).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=ge(),u&&u.c(),s=ge(),d&&d.c(),fe(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),u&&u.m(i,null),ue(i,s),d&&d.m(i,null),l||(c=K(a,"click",n[9]),l=!0)},p(e,t){e[5]?u&&(u.d(1),u=null):u?u.p(e,t):((u=Aa(e)).c(),u.m(i,s)),e[5]?d?d.p(e,t):((d=Ha(e)).c(),d.m(i,null)):d&&(d.d(1),d=null)},d(e){e&&he(r),u&&u.d(),d&&d.d(),l=!1,c()}}}function Aa(t){let n,r,i,a,o,s,e=t[6]("randomGame.randomGameLoading")+"",l=t[2],c=[];for(let e=0;e<l.length;e+=1)c[e]=Da(Pa(t,l,e));return{c(){n=pe("div"),r=pe("main"),i=pe("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ge(),o=pe("p"),s=me(e),fe(i,"class","items"),fe(i,"part","items"),B(i,"transform","translateY("+t[4]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);ue(n,a),ue(n,o),ue(o,s)},p(t,n){if(4&n){let e;for(l=t[2],e=0;e<l.length;e+=1){var r=Pa(t,l,e);c[e]?c[e].p(r,n):(c[e]=Da(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}16&n&&B(i,"transform","translateY("+t[4]+"px)"),64&n&&e!==(e=t[6]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),L(c,e)}}}function Da(e){let n,r,i,a,o,s;return{c(){n=pe("div"),r=pe("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,i=e[23].thumbnail)||fe(r,"src",i),fe(r,"alt",a=e[23].name),fe(r,"title",o=e[23].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){de(e,n,t),ue(n,r),ue(n,s)},p(e,t){4&t&&!ce(r.src,i=e[23].thumbnail)&&fe(r,"src",i),4&t&&a!==(a=e[23].name)&&fe(r,"alt",a),4&t&&o!==(o=e[23].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function Ha(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,$,C=n[1].name+"",S=n[1].vendor.name+"",F=n[6]("randomGame.playNowRandomGame")+"";return{c(){r=pe("div"),i=pe("div"),a=pe("img"),c=ge(),(u=pe("button")).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>',d=ge(),h=pe("div"),p=pe("p"),m=me(C),g=ge(),f=pe("p"),y=me(S),b=ge(),v=pe("button"),w=me(F),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[1].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[1].name),fe(a,"title",l=n[1].name),fe(u,"class","RandomTryAgain"),fe(u,"part","RandomTryAgain"),fe(i,"class","item"),fe(i,"part","item"),fe(p,"class","RandomGameTitle"),fe(p,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,c),ue(i,u),ue(r,d),ue(r,h),ue(h,p),ue(p,m),ue(h,g),ue(h,f),ue(f,y),ue(h,b),ue(h,v),ue(v,w),x||($=[K(u,"click",n[14]),K(v,"click",n[15])],x=!0)},p(e,t){2&t&&!ce(a.src,o=e[1].thumbnail)&&fe(a,"src",o),2&t&&s!==(s=e[1].name)&&fe(a,"alt",s),2&t&&l!==(l=e[1].name)&&fe(a,"title",l),2&t&&C!==(C=e[1].name+"")&&ye(m,C),2&t&&S!==(S=e[1].vendor.name+"")&&ye(y,S),64&t&&F!==(F=e[6]("randomGame.playNowRandomGame")+"")&&ye(w,F)},d(e){e&&he(r),x=!1,J($)}}}function Na(n){let r,i,a,o,s,l,c,u,d,h,p,m=n[6]("randomGame.playRandomGame")+"",g=n[3]&&Ra(n);return{c(){r=pe("div"),i=pe("div"),g&&g.c(),a=ge(),o=pe("div"),s=pe("button"),l=pe("span"),c=me(m),u=ge(),d=pe("span"),this.c=Z,fe(l,"class","RandomButtonText"),fe(l,"part","RandomButtonText"),fe(d,"class","RandomButtonIcon"),fe(d,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(o,"class","RandomButtonWrapper"),fe(o,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),ue(r,i),g&&g.m(i,null),ue(i,a),ue(i,o),ue(o,s),ue(s,l),ue(l,c),ue(s,u),ue(s,d),d.innerHTML=n[0],h||(p=K(s,"click",n[16]),h=!0)},p(e,[t]){e[3]?g?g.p(e,t):((g=Ra(e)).c(),g.m(i,a)):g&&(g.d(1),g=null),64&t&&m!==(m=e[6]("randomGame.playRandomGame")+"")&&ye(c,m),1&t&&(d.innerHTML=e[0])},i:Z,o:Z,d(e){e&&he(r),g&&g.d(),h=!1,p()}}}function Oa(t,e,n){let r;ut(t,Kr,e=>n(6,r=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,{randombuttonicon:c=""}=e,u=[],d="",h=!1,p=0,m=0,g=!1,f=window.navigator.userAgent;var y,b;({withLocale:y,translations:b}={withLocale:"en",translations:{}}),st.subscribe(e=>{null==e&&(_r.set(b),st.set(y))}),Object.keys(Ba).forEach(e=>{Ir(e,Ba[e])});const v=()=>{n(2,i=(e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e})(i)),n(4,p=0),m=0,n(5,g=!1),n(1,d=u[Math.floor(Math.random()*u.length)]),n(3,h=!0);let e=setInterval(()=>{n(4,p-=100),20==++m&&(n(5,g=!0),clearInterval(e))},100)},w=()=>{window.postMessage({type:s,gameId:d.gId||d.id},window.location.href),n(3,h=!1)};return t.$$set=e=>{"endpoint"in e&&n(10,a=e.endpoint),"datasource"in e&&n(11,o=e.datasource),"gameevent"in e&&n(12,s=e.gameevent),"lang"in e&&n(13,l=e.lang),"randombuttonicon"in e&&n(0,c=e.randombuttonicon)},t.$$.update=()=>{if(8192&t.$$.dirty&&l&&(e=l,st.set(e)),3072&t.$$.dirty&&a&&o){let e=new URL(a+"/casino/games");e.searchParams.append("platform",ct(f)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,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=>{u=e.items,n(2,i=u.slice(0,19))})}var e},[c,d,i,h,p,g,r,v,w,()=>{n(3,h=!1)},a,o,s,l,()=>v(),()=>w(),()=>v()]}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends i{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);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.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;-webkit-backface-visibility:hidden}.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}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Oa,Na,t,{endpoint:10,datasource:11,gameevent:12,lang:13,randombuttonicon:0},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[12]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}});const ja={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Hat soeben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function Ua(e,t,n){const r=e.slice();return r[57]=t[n],r}function Wa(e,t,n){const r=e.slice();return r[60]=t[n],r}function za(n){let i,r,a,o,s,l,c,u,e,d,h,p,m,g,f,y,b,v,w,x,$=n[14],C=[];for(let e=0;e<$.length;e+=1)C[e]=Ja(Wa(n,$,e));let S=n[7],F=[];for(let e=0;e<S.length;e+=1)F[e]=Ka(Ua(n,S,e));return{c(){i=pe("div"),r=pe("div"),a=pe("div");for(let e=0;e<C.length;e+=1)C[e].c();o=ge(),s=pe("div"),l=pe("button"),c=k("svg"),u=k("path"),d=ge(),h=pe("button"),p=k("svg"),m=k("path"),y=ge(),b=pe("div");for(let e=0;e<F.length;e+=1)F[e].c();fe(a,"class","WinnerButtonsContainer"),fe(u,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(u,"id","Path_36"),fe(u,"data-name","Path 36"),fe(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(u,"transform","translate(14.656 0) rotate(90)"),fe(u,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(m,"style",g=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(m,"id","Path_36"),fe(m,"data-name","Path 36"),fe(m,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(m,"transform","translate(0 24.656) rotate(-90)"),fe(m,"fill","#fff"),fe(p,"id","Component_46_2"),fe(p,"data-name","Component 46 – 2"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(p,"width","15"),fe(p,"height","15"),fe(p,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){de(e,i,t),ue(i,r),ue(r,a);for(let e=0;e<C.length;e+=1)C[e].m(a,null);ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(s,d),ue(s,h),ue(h,p),ue(p,m),ue(i,y),ue(i,b);for(let e=0;e<F.length;e+=1)F[e].m(b,null);n[38](b),w||(x=[K(l,"click",n[35]),K(h,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for($=t[14],e=0;e<$.length;e+=1){var r=Wa(t,$,e);C[e]?C[e].p(r,n):(C[e]=Ja(r),C[e].c(),C[e].m(a,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=$.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(u,"style",e),384&n[0]&&g!==(g=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(m,"style",g),8&n[0]&&f!==(f="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&fe(s,"class",f),435348&n[0]){let e;for(S=t[7],e=0;e<S.length;e+=1){const a=Ua(t,S,e);F[e]?F[e].p(a,n):(F[e]=Ka(a),F[e].c(),F[e].m(b,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=S.length}512&n[0]&&v!==(v="CasinoWinners "+(t[9]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),L(C,e),L(F,e),n[38](null),w=!1,J(x)}}}function Ya(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Va(n){let r,i,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=pe("button"),i=me(l),fe(r,"class",a="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){de(e,r,t),ue(r,i),o||(s=K(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(i,l),65&t[0]&&a!==(a="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",a)},d(e){e&&he(r),o=!1,s()}}}function Za(n){let r,i,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=pe("button"),i=me(c),a=ge(),fe(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){de(e,r,t),ue(r,i),ue(r,a),s||(l=K(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(i,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function Ja(e){let n,r,i="recent"==e[60]&&Va(e),a="top"==e[60]&&Za(e);return{c(){i&&i.c(),n=ge(),a&&a.c(),r=c()},m(e,t){i&&i.m(e,t),de(e,n,t),a&&a.m(e,t),de(e,r,t)},p(e,t){"recent"==e[60]?i?i.p(e,t):((i=Va(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[60]?a?a.p(e,t):((a=Za(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){i&&i.d(e),e&&he(n),a&&a.d(e),e&&he(r)}}}function Ka(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,$,C,S,F,k,M=n[57].gameName+"",_=n[17](n[57].username)+"",E=n[15]("Translations.won")+"",I=n[57].specifiedCurrencyAmount.toFixed(2)+"",T=(n[4]?n[10]:n[2])+"";function L(){return n[37](n[57])}return{c(){r=pe("div"),i=pe("div"),a=pe("img"),l=ge(),c=pe("p"),u=me(M),d=ge(),h=pe("p"),p=me(_),m=ge(),g=pe("p"),f=me(E),y=ge(),b=pe("p"),v=me(I),w=ge(),x=pe("span"),$=me(T),C=ge(),ce(a.src,o=n[57]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[57]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(i,"class","WinnerCard"),fe(r,"class",S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,l),ue(i,c),ue(c,u),ue(i,d),ue(i,h),ue(h,p),ue(i,m),ue(i,g),ue(g,f),ue(i,y),ue(i,b),ue(b,v),ue(b,w),ue(b,x),ue(x,$),ue(r,C),F||(k=K(a,"click",L),F=!0)},p(e,t){n=e,128&t[0]&&!ce(a.src,o=n[57]?.gameModel?.thumbnail)&&fe(a,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&fe(a,"alt",s),128&t[0]&&M!==(M=n[57].gameName+"")&&ye(u,M),128&t[0]&&_!==(_=n[17](n[57].username)+"")&&ye(p,_),32768&t[0]&&E!==(E=n[15]("Translations.won")+"")&&ye(f,E),128&t[0]&&I!==(I=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,I),1044&t[0]&&T!==(T=(n[4]?n[10]:n[2])+"")&&ye($,T),8192&t[0]&&S!==(S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",S)},d(e){e&&he(r),F=!1,k()}}}function Xa(n){let r;function i(e){return e[12]?Ya:za}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[39](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[39](null)}}}function qa(t,e,r){let n;ut(t,Kr,e=>r(15,n=e));let i,a,o,s,l,c,u,d,h,p,{endpoint:m=""}=e,{session:g=""}=e,{periodrecent:f="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:b="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:w="1"}=e,{lang:x="en"}=e,{isrecentavailable:$="true"}=e,{istopavailable:C="true"}=e,{defaultcurrency:S=""}=e,{clientstyling:F=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:M=""}=e,{tabsorder:_=""}=e,E=[],I=0,T=0,R=window.navigator.userAgent,L=!0,G=!1;Object.keys(ja).forEach(e=>{Ir(e,ja[e])});const A=()=>{const e=new URL(`${m}/casino/${a}-winners`);e.searchParams.append("limit","recent"==a?b:v),e.searchParams.append("specifiedCurrency",p),e.searchParams.append("period","recent"==a?f:y),e.searchParams.append("language",x),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{r(7,E=[]),r(7,E=e.items.map(e=>e)),r(12,L=!1),setTimeout(()=>{r(8,T=Math.round(i.offsetWidth/225)),H(),"true"==M&&(I=0,T<u?d=setInterval(()=>{P()},3e3):clearInterval(d))})})},B=e=>{a!==e&&(r(6,a=e),r(7,E=[]),A())},D=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},H=n=>{const e=[...i.children];u=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==a?setTimeout(()=>{r(13,G=!0)},10):r(13,G=!1)},N=()=>{H(I)},O=()=>{var e=E.length;T>=E.length||(0===I?I=e-T:I-T<0?I=0:I-=T,N())},P=()=>{var e=E.length;T>=E.length||("true"==M&&(I===e-T?I=0:I++),"false"==M&&(I===e-T?I=0:e-T<I+T?I=e-T:I+=T),N())};return dt(()=>(r(9,o=lt(R)),()=>{clearInterval(d)})),t.$$set=e=>{"endpoint"in e&&r(22,m=e.endpoint),"session"in e&&r(23,g=e.session),"periodrecent"in e&&r(24,f=e.periodrecent),"periodtop"in e&&r(25,y=e.periodtop),"numberusersrecent"in e&&r(26,b=e.numberusersrecent),"numberuserstop"in e&&r(27,v=e.numberuserstop),"amountlimit"in e&&r(21,w=e.amountlimit),"lang"in e&&r(28,x=e.lang),"isrecentavailable"in e&&r(0,$=e.isrecentavailable),"istopavailable"in e&&r(1,C=e.istopavailable),"defaultcurrency"in e&&r(2,S=e.defaultcurrency),"clientstyling"in e&&r(29,F=e.clientstyling),"clientstylingurl"in e&&r(30,k=e.clientstylingurl),"enableautoscroll"in e&&r(3,M=e.enableautoscroll),"tabsorder"in e&&r(31,_=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&$&&C&&f&&y&&b&&v&&w&&x&&_&&null!=s&&(r(14,h=_.split(",")),r(6,a=h[0]),"false"==$&&r(21,w=""),r(32,p=s?l:S)),4194304&t.$$.dirty[0]&&m&&qr(m,g).then(e=>{e.Guid,r(10,l=e.Currency),r(4,s=!0)},e=>{r(4,s=!1)}),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&m&&p&&M&&A(),268435456&t.$$.dirty[0]&&x&&(e=x,st.set(e)),536870912&t.$$.dirty[0]&&F){let e=document.createElement("style");e.innerHTML=F,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&k){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e},[$,C,S,M,s,i,a,E,T,o,l,c,L,G,h,n,B,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),D,O,P,w,m,g,f,y,b,v,x,F,k,_,p,()=>B("recent"),()=>B("top"),()=>O(),()=>P(),e=>D(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){ot[e?"unshift":"push"](()=>{i=e,r(5,i)})},function(e){ot[e?"unshift":"push"](()=>{c=e,r(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends i{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}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:192px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:192px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},qa,Xa,t,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),f()}});const Qa={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando por favor espere..."}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function eo(e,t,n){const r=e.slice();return r[45]=t[n],r[47]=n,r}function to(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v;function w(e){return e[5]?io:ao}let x=w(n),$=x(n);return{c(){r=pe("div"),i=pe("div"),a=pe("div"),o=pe("div"),s=pe("img"),c=ge(),u=pe("div"),$.c(),d=ge(),h=pe("div"),p=pe("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(u,"class","displayContainer"),ce(p.src,m=n[11])||fe(p,"src",m),fe(p,"alt",""),fe(h,"class","title"),fe(a,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),B(a,"background","url("+n[10]+")"),fe(i,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(o,s),ue(a,c),ue(a,u),$.m(u,null),ue(a,d),ue(a,h),ue(h,p),n[31](r),b||(v=K(i,"click",n[30]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&$?$.p(e,t):($.d(1),($=x(e))&&($.c(),$.m(u,null))),2048&t[0]&&!ce(p.src,m=e[11])&&fe(p,"src",m),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(a,"class",g),1024&t[0]&&B(a,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&he(r),$.d(),n[31](null),b=!1,v()}}}function no(e){let n,r,i=e[14]("jackpotBanners.loadingText")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","loadingPrompt")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16384&t[0]&&i!==(i=e[14]("jackpotBanners.loadingText")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ro(e){let n;return{c(){(n=pe("p")).textContent="500 Server error"},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function io(e){let n,r,i,a,o,s,A,l,c,D,H,u,N,O,d,h,p,m,g,j,f,y,U,W,b,z,Y,v,w,x,$,C,S,V,F,k,Z,J,M,K,X,_,E,I,T,L,q,G,B,Q,ee,P,te,R=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ie=e[7][1]+"",ae=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=pe("img"),s=pe("span"),A=me(R),l=pe("span"),c=pe("span"),D=me(ne),H=ge(),u=pe("span"),N=me(e[1]),O=ge(),d=pe("div"),h=pe("div"),p=pe("img"),g=pe("span"),j=me(re),f=pe("span"),y=pe("span"),U=me(ie),W=ge(),b=pe("span"),z=me(e[1]),Y=ge(),v=pe("div"),w=pe("div"),x=pe("div"),$=pe("img"),S=pe("span"),V=me(ae),F=pe("span"),k=pe("span"),Z=me(oe),J=ge(),M=pe("span"),K=me(e[1]),X=ge(),_=pe("div"),E=pe("div"),I=pe("img"),L=pe("span"),q=me(se),G=pe("span"),B=pe("span"),Q=me(le),ee=ge(),P=pe("span"),te=me(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[9][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(u,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(p,"class","displayCardIcon"),ce(p.src,m=e[9][1])||fe(p,"src",m),fe(p,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(d,"class","displayCard"),fe(n,"class","pairWrapper"),fe($,"class","displayCardIcon"),ce($.src,C=e[9][2])||fe($,"src",C),fe($,"alt",""),fe(S,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(k,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(F,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(I,"class","displayCardIcon"),ce(I.src,T=e[9][3])||fe(I,"src",T),fe(I,"alt",""),fe(L,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(B,"class","jackpotValue"),fe(P,"class","jackpot-currency"),fe(G,"class","cardTextWrapper"),fe(_,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(i,a),ue(i,s),ue(s,A),ue(r,l),ue(l,c),ue(c,D),ue(l,H),ue(l,u),ue(u,N),ue(n,O),ue(n,d),ue(d,h),ue(h,p),ue(h,g),ue(g,j),ue(d,f),ue(f,y),ue(y,U),ue(f,W),ue(f,b),ue(b,z),de(e,Y,t),de(e,v,t),ue(v,w),ue(w,x),ue(x,$),ue(x,S),ue(S,V),ue(w,F),ue(F,k),ue(k,Z),ue(F,J),ue(F,M),ue(M,K),ue(v,X),ue(v,_),ue(_,E),ue(E,I),ue(E,L),ue(L,q),ue(_,G),ue(G,B),ue(B,Q),ue(G,ee),ue(G,P),ue(P,te)},p(e,t){512&t[0]&&!ce(a.src,o=e[9][0])&&fe(a,"src",o),256&t[0]&&R!==(R=e[8][0]+"")&&ye(A,R),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(D,ne),2&t[0]&&ye(N,e[1]),512&t[0]&&!ce(p.src,m=e[9][1])&&fe(p,"src",m),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ie!==(ie=e[7][1]+"")&&ye(U,ie),2&t[0]&&ye(z,e[1]),512&t[0]&&!ce($.src,C=e[9][2])&&fe($,"src",C),256&t[0]&&ae!==(ae=e[8][2]+"")&&ye(V,ae),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(K,e[1]),512&t[0]&&!ce(I.src,T=e[9][3])&&fe(I,"src",T),256&t[0]&&se!==(se=e[8][3]+"")&&ye(q,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&he(n),e&&he(Y),e&&he(v)}}}function ao(t){let i,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=oo(eo(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);de(t,i,n)},p(t,n){if(898&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var r=eo(t,a,e);o[e]?o[e].p(r,n):(o[e]=oo(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){L(o,e),e&&he(i)}}}function oo(e){let n,r,i,a,o,s,l,c,u,d,h,p,m=e[8][e[47]]+"",g=(e[7][e[47]]??"")+"";return{c(){n=pe("div"),r=pe("div"),i=pe("img"),o=pe("span"),s=me(m),l=pe("span"),c=pe("span"),u=me(g),d=ge(),h=pe("span"),p=me(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,a=e[9][e[47]])||fe(i,"src",a),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(h,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,o),ue(o,s),ue(n,l),ue(l,c),ue(c,u),ue(l,d),ue(l,h),ue(h,p)},p(e,t){512&t[0]&&!ce(i.src,a=e[9][e[47]])&&fe(i,"src",a),256&t[0]&&m!==(m=e[8][e[47]]+"")&&ye(s,m),128&t[0]&&g!==(g=(e[7][e[47]]??"")+"")&&ye(u,g),2&t[0]&&ye(p,e[1])},d(e){e&&he(n)}}}function so(e){let n;function r(e){return e[13]?ro:e[3]?no:to}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function lo(t,e,n){let r;ut(t,Kr,e=>n(14,r=e));let i,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:u=""}=e,{caticon3:d=""}=e,{iconlabels:h=""}=e,{backgroundsrc:p=""}=e,{currency:m=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{endpoint:w=""}=e,{gameid:x=""}=e,R=window.navigator.userAgent,$=!1,C=!1,S="",F=[],k=[],M=[],_=[],E="",I="",T=!1,L=!0,G=!1;Object.keys(Qa).forEach(e=>{Ir(e,Qa[e])});const B=["typeSpread","typeLeft"],P=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href)};return t.$$set=e=>{"visualstructure"in e&&n(0,o=e.visualstructure),"title"in e&&n(16,s=e.title),"caticon0"in e&&n(17,l=e.caticon0),"caticon1"in e&&n(18,c=e.caticon1),"caticon2"in e&&n(19,u=e.caticon2),"caticon3"in e&&n(20,d=e.caticon3),"iconlabels"in e&&n(21,h=e.iconlabels),"backgroundsrc"in e&&n(22,p=e.backgroundsrc),"currency"in e&&n(1,m=e.currency),"backgroundsrcmobile"in e&&n(23,g=e.backgroundsrcmobile),"titlelogopath"in e&&n(24,f=e.titlelogopath),"lang"in e&&n(25,y=e.lang),"clientstyling"in e&&n(26,b=e.clientstyling),"clientstylingurl"in e&&n(27,v=e.clientstylingurl),"endpoint"in e&&n(28,w=e.endpoint),"gameid"in e&&n(29,x=e.gameid)},t.$$.update=()=>{if(67108868&t.$$.dirty[0]&&i&&b){let e=document.createElement("style");e.innerHTML=b,i.appendChild(e)}if(134217732&t.$$.dirty[0]&&i&&v){n(12,T=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&(setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{n(12,T=!1)},500))})}if((33554442&t.$$.dirty[0]&&m&&y&&!L&&(n(4,$=lt(R)&&1<window.innerHeight/window.innerWidth),n(5,C=.75<(e=window.innerHeight/window.innerWidth)&&e<1.6),n(7,k=F.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),n(8,M=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),B.includes(o.trim())?n(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${B[0]}"`),n(0,o=B[0])),n(10,E=g&&$&&!C?g:p),n(11,I=f),n(9,_=[l,c,u,d])),301989890&t.$$.dirty[0]&&w&&y&&m)&&(w&&y&&m)){let e=new URL(w);e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",m),fetch(e.href).then(e=>e.json()).then(e=>{n(3,L=!1),a=e,"998"!=x&&"999"!=x||((e=null==(e=null==a?void 0:a.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),n(6,S=a.items[0].vendorLogo))}).catch(e=>{n(13,G=!0),n(3,L=!1),console.error(e)})}var e;33554432&t.$$.dirty[0]&&y&&(e=y,st.set(e))},[o,m,i,L,$,C,S,k,M,_,E,I,T,G,r,P,s,l,c,u,d,h,p,g,f,y,b,v,w,x,()=>P(),function(e){ot[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function co(e,t,n){const r=e.slice();return r[152]=t[n],r[154]=n,r}function uo(n){let r,i,a,o,s,l="PC"!==ct(n[68])&&"false"===n[10]&&n[64],c=l&&po();function u(e){return"false"===e[10]?go:mo}let d=u(n),h=d(n),p="true"==n[15]&&0==n[54]&&Eo(n);function m(e){return e[44]?Po:e[52]?Bo:e[55]?Go:e[50]?Lo:e[56]?To:e[51]?void 0:Io}let g=m(n),f=g&&g(n),y=n[46]&&"true"==n[13]&&jo(n);return{c(){r=pe("section"),c&&c.c(),i=ge(),h.c(),a=ge(),p&&p.c(),o=ge(),f&&f.c(),s=ge(),y&&y.c(),fe(r,"class","CategoriesLobby"),fe(r,"part","CategoriesLobby"),B(r,"max-width",n[12]+"px")},m(e,t){de(e,r,t),c&&c.m(r,null),ue(r,i),h.m(r,null),ue(r,a),p&&p.m(r,null),ue(r,o),f&&f.m(r,null),ue(r,s),y&&y.m(r,null),n[97](r)},p(e,t){(l=1024&t[0]|4&t[2]?"PC"!==ct(e[68])&&"false"===e[10]&&e[64]:l)?c||((c=po()).c(),c.m(r,i)):c&&(c.d(1),c=null),d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,a))),"true"==e[15]&&0==e[54]?p?p.p(e,t):((p=Eo(e)).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.c(),f.m(r,s))),e[46]&&"true"==e[13]?y?y.p(e,t):((y=jo(e)).c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&B(r,"max-width",e[12]+"px")},d(e){e&&he(r),c&&c.d(),h.d(),p&&p.d(),f&&f.d(),y&&y.d(),n[97](null)}}}function ho(e){let n,r,i=e[67]("casinoPage.500")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){32&t[2]&&i!==(i=e[67]("casinoPage.500")+"")&&ye(r,i)},d(e){e&&he(n)}}}function po(){let n;return{c(){fe(n=pe("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function mo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w=n[67]("casinoPage.searchGames")+"",x="PC"===ct(n[68])&&n[42].length||"PC"!==ct(n[68]),$=!n[64]&&fo(),C=x&&yo(n),S=!n[50]&&!n[55]&&!n[64]&&!n[56]&&!n[51]&&!n[54]&&!n[52]&&!n[53]&&bo(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),$&&$.c(),c=ge(),u=pe("input"),h=ge(),C&&C.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===ct(n[68])?n[67]("casinoPage.search"):n[67]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[55]||n[50]||n[56]||n[53]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[55]||n[50]||n[56]||n[53]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ct(n[68])?"CategoriesHeaderMobileSection":"")+" "+(n[64]?"SearchMobileActive":"")+" "+(n[64]||n[52]&&"PC"!==ct(n[68])&&!Wo?"CategoriesHeaderSearchActive":"")+(n[58]&&n[64]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ct(n[68])?"CategoriesHeaderMobileSection":"")+" "+(n[64]?"SearchMobileActive":"")+" "+(n[64]||n[52]&&"PC"!==ct(n[68])&&!Wo?"CategoriesHeaderSearchActive":"")+(n[58]&&n[64]?"SearchStickTop":"")),B(r,"top",n[58]&&n[64]?zo+"px":"")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(i,s),ue(i,l),$&&$.m(l,null),ue(l,c),ue(l,u),n[90](u),G(u,n[42]),ue(l,h),C&&C.m(l,null),ue(r,g),S&&S.m(r,null),n[95](r),b||(v=[K(u,"focus",n[70]),K(u,"blur",n[71]),K(u,"input",n[91]),K(u,"focus",n[72])],b=!0)},p(e,t){32&t[2]&&w!==(w=e[67]("casinoPage.searchGames")+"")&&ye(o,w),e[64]?$&&($.d(1),$=null):$||(($=fo()).c(),$.m(l,c)),32&t[2]&&d!==(d="PC"===ct(e[68])?e[67]("casinoPage.search"):e[67]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),2048&t[1]&&G(u,e[42]),(x=2048&t[1]?"PC"===ct(e[68])&&e[42].length||"PC"!==ct(e[68]):x)?C?C.p(e,t):((C=yo(e)).c(),C.m(l,null)):C&&(C.d(1),C=null),55050240&t[1]&&p!==(p="SearchContainer "+(e[55]||e[50]||e[56]||e[53]?"":"SearchTruncated"))&&fe(i,"class",p),55050240&t[1]&&m!==(m="SearchContainer "+(e[55]||e[50]||e[56]||e[53]?"":"SearchTruncated"))&&fe(i,"part",m),e[50]||e[55]||e[64]||e[56]||e[51]||e[54]||e[52]||e[53]?S&&(S.d(1),S=null):S?S.p(e,t):((S=bo(e)).c(),S.m(r,null)),136314880&t[1]|4&t[2]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ct(e[68])?"CategoriesHeaderMobileSection":"")+" "+(e[64]?"SearchMobileActive":"")+" "+(e[64]||e[52]&&"PC"!==ct(e[68])&&!Wo?"CategoriesHeaderSearchActive":"")+(e[58]&&e[64]?"SearchStickTop":""))&&fe(r,"class",f),136314880&t[1]|4&t[2]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ct(e[68])?"CategoriesHeaderMobileSection":"")+" "+(e[64]?"SearchMobileActive":"")+" "+(e[64]||e[52]&&"PC"!==ct(e[68])&&!Wo?"CategoriesHeaderSearchActive":"")+(e[58]&&e[64]?"SearchStickTop":""))&&fe(r,"part",y),134217728&t[1]|4&t[2]&&B(r,"top",e[58]&&e[64]?zo+"px":"")},d(e){e&&he(r),$&&$.d(),n[90](null),C&&C.d(),S&&S.d(),n[95](null),b=!1,J(v)}}}function go(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w=n[67]("casinoPage.searchGames")+"",x="PC"===ct(n[68])&&n[42].length||"PC"!==ct(n[68]),$=!n[64]&&Co(),C=x&&So(n),S=!n[50]&&!n[55]&&!n[64]&&!n[56]&&!n[51]&&!n[52]&&!n[54]&&!n[53]&&Fo(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),$&&$.c(),c=ge(),u=pe("input"),h=ge(),C&&C.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===ct(n[68])?n[67]("casinoPage.search"):n[67]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[55]||n[50]||n[56]||n[53]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[55]||n[50]||n[56]||n[53]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==ct(n[68])?"CategoriesHeaderMobileSection":"")+" "+(n[64]?"SearchMobileActive":"")+" "+(n[64]||n[52]&&"PC"!==ct(n[68])&&!Wo?"CategoriesHeaderSearchActive":"")+" "+(n[58]&&n[64]?"SearchStickTop":"")),B(r,"top",n[58]&&n[64]?zo+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==ct(n[68])?"CategoriesHeaderMobileSection":"")+" "+(n[64]?"SearchMobileActive":"")+" "+(n[64]||n[52]&&"PC"!==ct(n[68])&&!Wo?"CategoriesHeaderSearchActive":"")+" "+(n[58]&&n[64]?"SearchStickTop":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(i,s),ue(i,l),$&&$.m(l,null),ue(l,c),ue(l,u),n[84](u),G(u,n[42]),ue(l,h),C&&C.m(l,null),ue(r,g),S&&S.m(r,null),n[89](r),b||(v=[K(u,"focus",n[70]),K(u,"blur",n[71]),K(u,"input",n[85]),K(u,"focus",n[72])],b=!0)},p(e,t){32&t[2]&&w!==(w=e[67]("casinoPage.searchGames")+"")&&ye(o,w),e[64]?$&&($.d(1),$=null):$||(($=Co()).c(),$.m(l,c)),32&t[2]&&d!==(d="PC"===ct(e[68])?e[67]("casinoPage.search"):e[67]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),2048&t[1]&&G(u,e[42]),(x=2048&t[1]?"PC"===ct(e[68])&&e[42].length||"PC"!==ct(e[68]):x)?C?C.p(e,t):((C=So(e)).c(),C.m(l,null)):C&&(C.d(1),C=null),55050240&t[1]&&p!==(p="SearchContainer "+(e[55]||e[50]||e[56]||e[53]?"":"SearchTruncated"))&&fe(i,"class",p),55050240&t[1]&&m!==(m="SearchContainer "+(e[55]||e[50]||e[56]||e[53]?"":"SearchTruncated"))&&fe(i,"part",m),e[50]||e[55]||e[64]||e[56]||e[51]||e[52]||e[54]||e[53]?S&&(S.d(1),S=null):S?S.p(e,t):((S=Fo(e)).c(),S.m(r,null)),136314880&t[1]|4&t[2]&&f!==(f="CategoriesHeaderSection "+("PC"!==ct(e[68])?"CategoriesHeaderMobileSection":"")+" "+(e[64]?"SearchMobileActive":"")+" "+(e[64]||e[52]&&"PC"!==ct(e[68])&&!Wo?"CategoriesHeaderSearchActive":"")+" "+(e[58]&&e[64]?"SearchStickTop":""))&&fe(r,"class",f),134217728&t[1]|4&t[2]&&B(r,"top",e[58]&&e[64]?zo+"px":""),136314880&t[1]|4&t[2]&&y!==(y="CategoriesHeaderSection "+("PC"!==ct(e[68])?"CategoriesHeaderMobileSection":"")+" "+(e[64]?"SearchMobileActive":"")+" "+(e[64]||e[52]&&"PC"!==ct(e[68])&&!Wo?"CategoriesHeaderSearchActive":"")+" "+(e[58]&&e[64]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),$&&$.d(),n[84](null),C&&C.d(),S&&S.d(),n[89](null),b=!1,J(v)}}}function fo(){let n;return{c(){(n=pe("div")).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>',fe(n,"class","SearchIcon"),fe(n,"part","SearchWrapper")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function yo(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===ct(n[68])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===ct(n[68])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[92]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function bo(e){let n,r,i=e[65]&&vo(e),a=(!e[52]||!e[51])&&wo(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),i&&i.m(n,null),ue(n,r),a&&a.m(n,null)},p(e,t){e[65]?i?i.p(e,t):((i=vo(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[52]&&e[51]?a&&(a.d(1),a=null):a?a.p(e,t):((a=wo(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function vo(n){let r,i,a,o,s,l,c,u,d,h=n[67]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(h),o=ge(),(s=pe("span")).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>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[65]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[65]?"FiltersActive":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),u||(d=K(r,"click",n[93]),u=!0)},p(e,t){32&t[2]&&h!==(h=e[67]("casinoPage.clear")+"")&&ye(a,h),8&t[2]&&l!==(l="ClearFilterButtonWrapper "+(e[65]?"FiltersActive":""))&&fe(r,"class",l),8&t[2]&&c!==(c="ClearFilterButtonWrapper "+(e[65]?"FiltersActive":""))&&fe(r,"part",c)},d(e){e&&he(r),u=!1,d()}}}function wo(e){let n,r=!e[56]&&xo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[56]?r&&(r.d(1),r=null):r?r.p(e,t):((r=xo(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function xo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f=n[67]("casinoPage.filters")+"",y=0<n[65]&&$o(n);return{c(){r=pe("div"),i=pe("div"),a=me(f),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),u=k("style"),d=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),y&&y.c(),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(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"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,p),y&&y.m(s,null),m||(g=K(r,"click",n[94]),m=!0)},p(e,t){32&t[2]&&f!==(f=e[67]("casinoPage.filters")+"")&&ye(a,f),0<e[65]?y?y.p(e,t):((y=$o(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),m=!1,g()}}}function $o(e){let n,r,i;return{c(){n=pe("div"),r=pe("span"),i=me(e[65]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){de(e,n,t),ue(n,r),ue(r,i)},p(e,t){8&t[2]&&ye(i,e[65])},d(e){e&&he(n)}}}function Co(){let n;return{c(){(n=pe("div")).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>',fe(n,"class","SearchIcon"),fe(n,"part","SearchIcon")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function So(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===ct(n[68])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===ct(n[68])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[86]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function Fo(e){let n,r,i=e[65]&&ko(e),a=(!e[52]||!e[51])&&Mo(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),i&&i.m(n,null),ue(n,r),a&&a.m(n,null)},p(e,t){e[65]?i?i.p(e,t):((i=ko(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[52]&&e[51]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Mo(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function ko(n){let r,i,a,o,s,l,c,u=n[67]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(u),o=ge(),(s=pe("span")).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>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),l||(c=K(r,"click",n[87]),l=!0)},p(e,t){32&t[2]&&u!==(u=e[67]("casinoPage.clear")+"")&&ye(a,u)},d(e){e&&he(r),l=!1,c()}}}function Mo(e){let n,r=!e[56]&&_o(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[56]?r&&(r.d(1),r=null):r?r.p(e,t):((r=_o(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function _o(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v=n[67]("casinoPage.filters")+"";return{c(){r=pe("div"),i=pe("div"),a=me(v),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),u=k("style"),d=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),m=pe("div"),g=pe("span"),f=me(n[65]),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(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"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(g,"class","NumberOfFilters"),fe(g,"part","NumberOfFilters"),fe(m,"class","NumberOfFiltersContainer"),fe(m,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,p),ue(s,m),ue(m,g),ue(g,f),y||(b=K(r,"click",n[88]),y=!0)},p(e,t){32&t[2]&&v!==(v=e[67]("casinoPage.filters")+"")&&ye(a,v),8&t[2]&&ye(f,e[65])},d(e){e&&he(r),y=!1,b()}}}function Eo(e){let n;return{c(){w(n=pe("casino-random-game"),"datasource",e[1]),w(n,"endpoint",e[0]),w(n,"lang",e[3]),w(n,"gameevent",e[43]),w(n,"randombuttonicon",e[40])},m(e,t){de(e,n,t)},p(e,t){2&t[0]&&w(n,"datasource",e[1]),1&t[0]&&w(n,"endpoint",e[0]),8&t[0]&&w(n,"lang",e[3]),4096&t[1]&&w(n,"gameevent",e[43]),512&t[1]&&w(n,"randombuttonicon",e[40])},d(e){e&&he(n)}}}function Io(e){let n;return{c(){w(n=pe("casino-games-category-section"),"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"favorites",e[11]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"session",e[4]),w(n,"categoryid",e[61]),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"enablecasinowinners",e[18]),w(n,"integratedgameframedesktop",e[23]),w(n,"integratedgameframemobile",e[24])},m(e,t){de(e,n,t)},p(e,t){32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),2048&t[0]&&w(n,"favorites",e[11]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),16&t[0]&&w(n,"session",e[4]),1073741824&t[1]&&w(n,"categoryid",e[61]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),262144&t[0]&&w(n,"enablecasinowinners",e[18]),8388608&t[0]&&w(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&w(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function To(e){let n;function r(e){return e[57]?Ao:Ro}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Lo(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"favorites",n[11]),w(r,"categoryid","FAVORITES"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[18]),w(r,"integratedgameframedesktop",n[23]),w(r,"integratedgameframemobile",n[24])},m(e,t){de(e,r,t),a||(o=m(i=n[69].call(null,r,(n[0],n[47],n[48],n[47]))),a=!0)},p(e,t){16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),262144&t[0]&&w(r,"enablecasinowinners",e[18]),8388608&t[0]&&w(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&w(r,"integratedgameframemobile",e[24]),i&&F(i.update)&&1&t[0]|196608&t[1]&&i.update.call(null,(e[0],e[47],e[48],e[47]))},d(e){e&&he(r),a=!1,o()}}}function Go(t){let i,a=t[60],o=[];for(let e=0;e<a.length;e+=1)o[e]=Oo(co(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);de(t,i,n)},p(t,n){if(2147437567&n[0]|536871423&n[1]){let e;for(a=t[60],e=0;e<a.length;e+=1){var r=co(t,a,e);o[e]?o[e].p(r,n):(o[e]=Oo(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){L(o,e),e&&he(i)}}}function Bo(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"categoryid","Search"),w(r,"favorites",n[11]),w(r,"categoryindex","0"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[18]),w(r,"enableautoscroll",n[20]),w(r,"tabsorder",n[19]),w(r,"isrecentavailable",n[22]),w(r,"istopavailable",n[21]),w(r,"integratedgameframedesktop",n[23]),w(r,"integratedgameframemobile",n[24])},m(e,t){de(e,r,t),a||(o=m(i=n[77].call(null,r,n[59])),a=!0)},p(e,t){1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),262144&t[0]&&w(r,"enablecasinowinners",e[18]),1048576&t[0]&&w(r,"enableautoscroll",e[20]),524288&t[0]&&w(r,"tabsorder",e[19]),4194304&t[0]&&w(r,"isrecentavailable",e[22]),2097152&t[0]&&w(r,"istopavailable",e[21]),8388608&t[0]&&w(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&w(r,"integratedgameframemobile",e[24]),i&&F(i.update)&&268435456&t[1]&&i.update.call(null,e[59])},d(e){e&&he(r),a=!1,o()}}}function Po(e){let n,r,i=e[67]("casinoPage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){32&t[2]&&i!==(i=e[67]("casinoPage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ro(e){let n;return{c(){w(n=pe("casino-games-category-section"),"session",e[4]),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"favorites",e[11]),w(n,"categoryid","MOSTPLAYED"),w(n,"categoryindex","1"),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"enablecasinowinners",e[18]),w(n,"integratedgameframedesktop",e[23]),w(n,"integratedgameframemobile",e[24])},m(e,t){de(e,n,t)},p(e,t){16&t[0]&&w(n,"session",e[4]),32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),2048&t[0]&&w(n,"favorites",e[11]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),262144&t[0]&&w(n,"enablecasinowinners",e[18]),8388608&t[0]&&w(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&w(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function Ao(e){let n,r,i=e[67]("casinoPage.noGamesPlayed")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){32&t[2]&&i!==(i=e[67]("casinoPage.noGamesPlayed")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Do(e){let n,r;return{c(){n=pe("div"),w(r=pe("casino-winners"),"session",e[4]),w(r,"periodrecent",e[25]),w(r,"periodtop",e[26]),w(r,"numberusersrecent",e[27]),w(r,"numberuserstop",e[28]),w(r,"amountlimit",e[29]),w(r,"isrecentavailable",e[22]),w(r,"istopavailable",e[21]),w(r,"defaultcurrency",e[30]),w(r,"enableautoscroll",e[20]),w(r,"tabsorder",e[19]),w(r,"lang",e[3]),w(r,"clientstyling",e[6]),w(r,"clientstylingurl",e[7]),w(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[0]&&w(r,"session",e[4]),33554432&t[0]&&w(r,"periodrecent",e[25]),67108864&t[0]&&w(r,"periodtop",e[26]),134217728&t[0]&&w(r,"numberusersrecent",e[27]),268435456&t[0]&&w(r,"numberuserstop",e[28]),536870912&t[0]&&w(r,"amountlimit",e[29]),4194304&t[0]&&w(r,"isrecentavailable",e[22]),2097152&t[0]&&w(r,"istopavailable",e[21]),1073741824&t[0]&&w(r,"defaultcurrency",e[30]),1048576&t[0]&&w(r,"enableautoscroll",e[20]),524288&t[0]&&w(r,"tabsorder",e[19]),8&t[0]&&w(r,"lang",e[3]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),1&t[0]&&w(r,"endpoint",e[0])},d(e){e&&he(n)}}}function Ho(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),w(i=pe("jackpot-banner"),"title","Jackpot Cards"),w(i,"currency",a=e[2]||"RON"),w(i,"gameid","998"),w(i,"endpoint",e[0]),w(i,"lang",e[3]),w(i,"backgroundsrc","/assets/background0.jpg"),w(i,"backgroundsrcmobile","/assets/background0.jpg"),w(i,"titlelogopath","/assets/jackpots_logo.svg"),w(i,"caticon0","/assets/icon0.svg"),w(i,"caticon1","/assets/icon1.svg"),w(i,"caticon2","/assets/icon2.svg"),w(i,"caticon3","/assets/icon3.svg"),w(i,"iconlabels",e[38]),w(i,"visualstructure","typeSpread")},m(e,t){de(e,n,t),de(e,r,t),de(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&w(i,"currency",a),1&t[0]&&w(i,"endpoint",e[0]),8&t[0]&&w(i,"lang",e[3]),128&t[1]&&w(i,"iconlabels",e[38])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function No(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),w(i=pe("jackpot-banner"),"title","Egypt Quest"),w(i,"currency",a=e[2]||"RON"),w(i,"gameid","999"),w(i,"endpoint",e[0]),w(i,"lang",e[3]),w(i,"backgroundsrc",e[35]),w(i,"backgroundsrcmobile",e[36]),w(i,"titlelogopath",e[37]),w(i,"caticon0",e[31]),w(i,"caticon1",e[32]),w(i,"caticon2",e[33]),w(i,"caticon3",e[34]),w(i,"iconlabels",e[38]),w(i,"visualstructure",e[39])},m(e,t){de(e,n,t),de(e,r,t),de(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&w(i,"currency",a),1&t[0]&&w(i,"endpoint",e[0]),8&t[0]&&w(i,"lang",e[3]),16&t[1]&&w(i,"backgroundsrc",e[35]),32&t[1]&&w(i,"backgroundsrcmobile",e[36]),64&t[1]&&w(i,"titlelogopath",e[37]),1&t[1]&&w(i,"caticon0",e[31]),2&t[1]&&w(i,"caticon1",e[32]),4&t[1]&&w(i,"caticon2",e[33]),8&t[1]&&w(i,"caticon3",e[34]),128&t[1]&&w(i,"iconlabels",e[38]),256&t[1]&&w(i,"visualstructure",e[39])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function Oo(n){let r,i,a,o,e,s,l,c,u="true"===n[18]&&1===n[154]&&Do(n);function d(e){return 4===e[154]&&"true"==e[17]?No:6===e[154]&&"true"==e[17]?Ho:void 0}let h=d(n),p=h&&h(n);return{c(){u&&u.c(),r=ge(),p&&p.c(),i=ge(),w(a=pe("casino-games-category-section"),"session",n[4]),w(a,"userid",n[5]),w(a,"endpoint",n[0]),w(a,"datasource",n[1]),w(a,"lang",n[3]),w(a,"currency",n[2]),w(a,"categoryid",o=n[152]),w(a,"categoryindex",e=n[154]),w(a,"categorygames","9"),w(a,"favorites",n[11]),w(a,"class","CategoryContainer"),B(a,"background-color",n[154]%2!=0?n[8]:"transparent"),w(a,"clientstyling",n[6]),w(a,"clientstylingurl",n[7]),w(a,"livecasino",n[14]),w(a,"visiblegames",n[9]),w(a,"gamepagemodalurl",n[16]),w(a,"enablecasinowinners",n[18]),w(a,"integratedgameframedesktop",n[23]),w(a,"integratedgameframemobile",n[24])},m(e,t){u&&u.m(e,t),de(e,r,t),p&&p.m(e,t),de(e,i,t),de(e,a,t),l||(c=m(s=n[76].call(null,a,n[152])),l=!0)},p(e,t){"true"===(n=e)[18]&&1===n[154]?u?u.p(n,t):((u=Do(n)).c(),u.m(r.parentNode,r)):u&&(u.d(1),u=null),h===(h=d(n))&&p?p.p(n,t):(p&&p.d(1),(p=h&&h(n))&&(p.c(),p.m(i.parentNode,i))),16&t[0]&&w(a,"session",n[4]),32&t[0]&&w(a,"userid",n[5]),1&t[0]&&w(a,"endpoint",n[0]),2&t[0]&&w(a,"datasource",n[1]),8&t[0]&&w(a,"lang",n[3]),4&t[0]&&w(a,"currency",n[2]),536870912&t[1]&&o!==(o=n[152])&&w(a,"categoryid",o),2048&t[0]&&w(a,"favorites",n[11]),256&t[0]&&B(a,"background-color",n[154]%2!=0?n[8]:"transparent"),64&t[0]&&w(a,"clientstyling",n[6]),128&t[0]&&w(a,"clientstylingurl",n[7]),16384&t[0]&&w(a,"livecasino",n[14]),512&t[0]&&w(a,"visiblegames",n[9]),65536&t[0]&&w(a,"gamepagemodalurl",n[16]),262144&t[0]&&w(a,"enablecasinowinners",n[18]),8388608&t[0]&&w(a,"integratedgameframedesktop",n[23]),16777216&t[0]&&w(a,"integratedgameframemobile",n[24]),s&&F(s.update)&&536870912&t[1]&&s.update.call(null,n[152])},d(e){u&&u.d(e),e&&he(r),p&&p.d(e),e&&he(i),e&&he(a),l=!1,c()}}}function jo(n){let r,i,a,e,t,o,s,l=n[67]("casinoPage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==ct(n[68])?"PanicButtonMobile ":"")),fe(i,"part",t="PanicButton "+("PC"!==ct(n[68])?"PanicButtonMobile":"")),P(i,"PanicButtonAnimation",n[49]),fe(r,"class",o="PanicSection "+("PC"!==ct(n[68])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==ct(n[68])?"PanicSectionMobile":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[96](i)},p(e,t){32&t[2]&&l!==(l=e[67]("casinoPage.breakButton")+"")&&ye(a,l),262144&t[1]&&P(i,"PanicButtonAnimation",e[49])},d(e){e&&he(r),n[96](null)}}}function Uo(e){let n;function r(e){return e[45]?ho:uo}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends i{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},lo,so,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),f()}});let Wo=!1;const zo=0;function Yo(e,t,c){let R;ut(e,Kr,e=>c(67,R=e));let A,{endpoint:u=""}=t,{datasource:a=""}=t,{currency:D=""}=t,{lang:o=""}=t,{session:s=""}=t,{userid:n=""}=t,{clientstyling:l=""}=t,{clientstylingurl:d=""}=t,{categorybackground:H=""}=t,N=t["visiblegames"],{alternativesearch:O="false"}=t,{favorites:h=""}=t,{mostplayed:j=""}=t,{containermaxwidth:U="1300"}=t,{lobbyid:p="casinodefault"}=t,{haspanicbutton:W="false"}=t,{mostplayedrounds:z=""}=t,{activecategory:m=""}=t,{livecasino:Y="false"}=t,{playrandomgame:V="false"}=t,{gamepagemodalurl:Z="false"}=t,{enablejackpotbanner:J=""}=t,{enablecasinowinners:K=""}=t,{tabsorder:X=""}=t,{enableautoscroll:q=""}=t,{istopavailable:Q=""}=t,{isrecentavailable:ee=""}=t,{integratedgameframedesktop:te="false"}=t,{integratedgameframemobile:ne="false"}=t,{periodrecent:re=""}=t,{periodtop:ie=""}=t,{numberusersrecent:ae=""}=t,{numberuserstop:oe=""}=t,{amountlimit:se=""}=t,{defaultcurrency:le=""}=t,{caticon0:ce=""}=t,{caticon1:ue=""}=t,{caticon2:de=""}=t,{caticon3:he=""}=t,{backgroundsrc:pe=""}=t,{backgroundsrcmobile:me=""}=t,{titlelogopath:ge=""}=t,{iconlabels:fe=""}=t,{visualstructure:ye=""}=t,{randombuttonicon:be=""}=t,g=window.navigator.userAgent;A=lt(g)?"OpenGameFrame":"ShowGameModal";let f,y,b,ve,v,w,x,we,xe,$e,r,$,C,Ce,S=!1,F=!1,Se=!1,k="",Fe=!1,ke=0,i=!1,Me=!1,_e=!0,Ee=!1,Ie=!1,Te=!1,Le=!1,M=!0,_=!1,Ge=!1,Be=!1,E=!0,Pe=[],I="",Re={},Ae,De,T=[],He=!1,L=[],Ne=0,G="",Oe=!1;var je,Ue;({withLocale:je,translations:Ue}={withLocale:"en",translations:{}}),st.subscribe(e=>{null==e&&(_r.set(Ue),st.set(je))}),Object.keys(xi).forEach(e=>{Ir(e,xi[e])});const We=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(48,y=n.data.session),c(47,f=n.data.userID),f&&f.length&&y&&0<y.length&&B(u,y,f);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":o=`${u}/player/${f}/favorites`,s=y,f,l=n.data.id,n.data.triggerFactor,T.includes(l)&&(T=T.filter(e=>e!=l)),fetch(o+"/"+l,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+l},window.location.href),ze(o,s)});break;case"SetFavoredGame":{var r=`${u}/player/${f}/favorites`;var i=y;f;var a=n.data.id;n.data.triggerFactor;T.includes(a)||T.push(a);let e={items:T},t={method:"POST",headers:{"X-SessionID":i,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),ze(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&B(u,y,f);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(L=(L=Ze(`searchedGamesWds_${p}`))?L.split(","):[]).indexOf(t)){let e;L.push(t),e=L.join(","),document.cookie=`searchedGamesWds_${p}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),P();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),P();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:G},window.location.href),P();break;case"CategoryVendors":G=n.data.categoryid,P();break;case"GameHovered":Ie=!0;break;case"GameBlur":Ie=!1}var e,o,s,l};let B=(e,t,n)=>{"true"==h&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),Ye(r.items)),r)).then(e=>(i&&Ve(),e)).catch(e=>{console.error(e)})},ze=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,i&&Ve(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const Ye=(e=[])=>(T=[],0<e.length&&e.forEach(e=>{T.push(e.id)}),T);const Ve=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},Ze=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},Je=()=>{if(u&&a&&o&&(c(54,Le=!0),I.length<2)){let e=Ze("searchedGamesWds_"+p),t=[],n=(e&&(t=e.split(",")),1!=M||_e||(c(53,Te=M),c(55,M=!1)),[]),r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(u+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",a),e.searchParams.append("platform",ct(g)),n.push(((e,r)=>new Promise((t,n)=>{c(44,S=!0),r&&0<=Object.keys(Re).indexOf(r)?(c(44,S=!1),t(Re[r])):fetch(e).then(e=>e.json()).then(e=>{c(44,S=!1),Re[e[0].id]=e[0],t(e[0])}).catch(e=>{c(45,F=!0),c(44,S=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(59,v=e),qe(0,v)})}else qe(0,{})}},Ke=()=>{c(54,Le=!1),I.length<2&&!Ie&&(c(52,Ee=!1),c(59,v=[]),c(51,Me=!1),c(55,M=Te),c(53,Te=!1),!1===M&&window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},P=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&G&&(e[G]?c(65,Ne=e[G].length):c(65,Ne=0))},Xe=()=>{c(83,E=!0),c(42,I=""),c(59,v=[]),c(51,Me=!1),Ke()},qe=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Qe=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},et=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},tt=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},nt=()=>{we&&(xe=we.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>xe||130<xe?c(58,Be=!0):c(58,Be=!1)},rt=()=>{c(61,w=m);var e={data:{itemId:w}};switch(c(52,Ee=!1),c(42,I=""),Ae=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(55,M=!0),c(50,i=!1),c(61,w=""),c(56,_=!1);break;case"FAVORITES":c(55,M=!1),c(50,i=!0),c(56,_=!1),c(61,w="");break;case"MOSTPLAYED":"true"==j&&(c(44,S=!0),(e=>{let t=new URL(`${u}/player/${f}/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),Ce=Y?t:t.href,new Promise((t,n)=>{fetch(Ce).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:ct(g),rounds:10}).then(e=>{if(c(44,S=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(u+"/casino/games/"+e.gameId);t.searchParams.append("datasource",a),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{De=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:De},window.location.href)})}else c(57,Ge=!0)}),c(61,w=""),c(55,M=!1),c(50,i=!1),c(56,_=!0));break;default:c(55,M=!1),c(50,i=!1),c(56,_=!1),c(61,w=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500)}},it=e=>{ke=0,ve=setInterval(()=>{ke+=1,c(49,Fe=!0),3<=ke&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(ve))},1e3)},at=e=>{ke<3&&c(49,Fe=!1),clearInterval(ve)};return dt(()=>(window.addEventListener("scroll",nt,!1),window.addEventListener("message",We,!1),()=>{window.removeEventListener("scroll",nt),window.removeEventListener("message",We),c(49,Fe=!1),null!=b&&b.removeEventListener("mousedown",it),null!=b&&b.removeEventListener("touchstart",it),null!=b&&b.removeEventListener("mouseup",at),null!=b&&b.removeEventListener("touchend",at)})),e.$$set=e=>{"endpoint"in e&&c(0,u=e.endpoint),"datasource"in e&&c(1,a=e.datasource),"currency"in e&&c(2,D=e.currency),"lang"in e&&c(3,o=e.lang),"session"in e&&c(4,s=e.session),"userid"in e&&c(5,n=e.userid),"clientstyling"in e&&c(6,l=e.clientstyling),"clientstylingurl"in e&&c(7,d=e.clientstylingurl),"categorybackground"in e&&c(8,H=e.categorybackground),"visiblegames"in e&&c(9,N=e.visiblegames),"alternativesearch"in e&&c(10,O=e.alternativesearch),"favorites"in e&&c(11,h=e.favorites),"mostplayed"in e&&c(78,j=e.mostplayed),"containermaxwidth"in e&&c(12,U=e.containermaxwidth),"lobbyid"in e&&c(79,p=e.lobbyid),"haspanicbutton"in e&&c(13,W=e.haspanicbutton),"mostplayedrounds"in e&&c(80,z=e.mostplayedrounds),"activecategory"in e&&c(81,m=e.activecategory),"livecasino"in e&&c(14,Y=e.livecasino),"playrandomgame"in e&&c(15,V=e.playrandomgame),"gamepagemodalurl"in e&&c(16,Z=e.gamepagemodalurl),"enablejackpotbanner"in e&&c(17,J=e.enablejackpotbanner),"enablecasinowinners"in e&&c(18,K=e.enablecasinowinners),"tabsorder"in e&&c(19,X=e.tabsorder),"enableautoscroll"in e&&c(20,q=e.enableautoscroll),"istopavailable"in e&&c(21,Q=e.istopavailable),"isrecentavailable"in e&&c(22,ee=e.isrecentavailable),"integratedgameframedesktop"in e&&c(23,te=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(24,ne=e.integratedgameframemobile),"periodrecent"in e&&c(25,re=e.periodrecent),"periodtop"in e&&c(26,ie=e.periodtop),"numberusersrecent"in e&&c(27,ae=e.numberusersrecent),"numberuserstop"in e&&c(28,oe=e.numberuserstop),"amountlimit"in e&&c(29,se=e.amountlimit),"defaultcurrency"in e&&c(30,le=e.defaultcurrency),"caticon0"in e&&c(31,ce=e.caticon0),"caticon1"in e&&c(32,ue=e.caticon1),"caticon2"in e&&c(33,de=e.caticon2),"caticon3"in e&&c(34,he=e.caticon3),"backgroundsrc"in e&&c(35,pe=e.backgroundsrc),"backgroundsrcmobile"in e&&c(36,me=e.backgroundsrcmobile),"titlelogopath"in e&&c(37,ge=e.titlelogopath),"iconlabels"in e&&c(38,fe=e.iconlabels),"visualstructure"in e&&c(39,ye=e.visualstructure),"randombuttonicon"in e&&c(40,be=e.randombuttonicon)},e.$$.update=()=>{if(2048&e.$$.dirty[1]&&I&&(2<=I.length?c(83,E=!0):c(83,E=!1)),11&e.$$.dirty[0]|2048&e.$$.dirty[1]|3145728&e.$$.dirty[2])if(2<=I.length){c(52,Ee=!0);let e=new URL(u+"/casino/games");e.searchParams.append("datasource",a),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",ct(g)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+I),r=e,new Promise((t,n)=>{c(44,S=!0),fetch(r).then(e=>e.json()).then(e=>{c(44,S=!1),t(e)}).catch(e=>{c(45,F=!0),c(44,S=!1),console.error(e),n(e)})}).then(e=>{c(59,v=e),tt(0,e)})}else E||Je(),_e&&c(82,_e=!1);var r,i,t;if((8&e.$$.dirty[0]|524288&e.$$.dirty[2]&&o&&m&&rt(),49&e.$$.dirty[0]&&s&&n&&u&&(c(46,Se=!0),c(48,y=s),c(47,f=n),f&&f.length&&y&&0<y.length&&B(u,y,f)),1035&e.$$.dirty[0]&&u&&a&&o&&O)&&(u||(k="Endpoint is missing! Please provide a valid endpointURL.",c(45,F=!0),c(44,S=!1),console.error(k)),a||(k="Datasource is missing! Please provide a valid datasource.",c(45,F=!0),c(44,S=!1),console.error(k)),(!o||o.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",c(45,F=!0),c(44,S=!1),console.error(k)),!F)){c(44,S=!0),"true"==h&&B(u,y,f),t=o,st.set(t);let e=new URL(u+"/casino/groups/"+a);e.searchParams.append("language",o),e.searchParams.append("platform",ct(g)),i=e,new Promise((t,n)=>{c(44,S=!0),fetch(i).then(e=>e.json()).then(e=>{c(44,S=!1),t(e)}).catch(e=>{c(45,F=!0),c(44,S=!1),console.error(e),n(e)})}).then(e=>{e&&($e=e.items.filter(e=>0<e.games.total),c(60,Pe=$e.map(e=>e.id)),c(44,S=!1))}),"PC"!==ct(g)&&($.addEventListener("focusin",e=>{c(64,He=!0)}),$.addEventListener("focusout",e=>{c(64,He=!1)})),P(),(we=x)&&(xe=we.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&e.$$.dirty[0]&&o&&(Oe&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500),Oe=!1),64&e.$$.dirty[0]&&l){let e=document.createElement("style");e.innerHTML=l,C.appendChild(e)}if(128&e.$$.dirty[0]&&d){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,C&&setTimeout(()=>{C.appendChild(t)},1)})}1024&e.$$.dirty[1]&&b&&(null!=b&&b.addEventListener("mousedown",it,!1),null!=b&&b.addEventListener("touchstart",it,!1),null!=b&&b.addEventListener("mouseup",at,!1),null!=b&&b.addEventListener("touchend",at,!1))},[u,a,D,o,s,n,l,d,H,N,O,h,U,W,Y,V,Z,J,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,ue,de,he,pe,me,ge,fe,ye,be,b,I,A,S,F,Se,f,y,Fe,i,Me,Ee,Te,Le,M,_,Ge,Be,v,Pe,w,x,$,He,Ne,C,R,g,B,Je,Ke,()=>{window.postMessage({type:"scroll"},window.location.href)},Xe,Qe,et,(e,t)=>{G=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:N,receivedFavoriteResults:r},window.location.href)},tt,j,p,z,m,_e,E,function(e){ot[e?"unshift":"push"](()=>{$=e,c(63,$)})},function(){I=this.value,c(42,I)},()=>Xe(),()=>et(),()=>{Qe()},function(e){ot[e?"unshift":"push"](()=>{x=e,c(62,x)})},function(e){ot[e?"unshift":"push"](()=>{$=e,c(63,$)})},function(){I=this.value,c(42,I)},()=>Xe(),()=>et(),()=>{Qe()},function(e){ot[e?"unshift":"push"](()=>{x=e,c(62,x)})},function(e){ot[e?"unshift":"push"](()=>{b=e,c(41,b)})},function(e){ot[e?"unshift":"push"](()=>{C=e,c(66,C)})}]}function Vo(e,{delay:t=0,duration:n=400,easing:r=$}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function Zo(n){let r,i,a,o,s,l,c,t,u,d,h;return{c(){r=pe("div"),(i=pe("div")).innerHTML="<slot></slot>",a=ge(),o=pe("span"),(s=pe("slot")).innerHTML='<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>',fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(s,"name","close"),fe(o,"class",l="ModalCloseBtn "+("true"==n[1]&&n[2]?"ModalPanicCloseButton":"")),fe(o,"part","ModalCloseBtn"),fe(o,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),q(()=>n[17].call(r))},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),n[16](r),c=R(r,n[17].bind(r)),u=!0,d||(h=K(o,"click",n[8]),d=!0)},p(e,t){n=e,(!u||6&t&&l!==(l="ModalCloseBtn "+("true"==n[1]&&n[2]?"ModalPanicCloseButton":"")))&&fe(o,"class",l)},i(e){u||(q(()=>{(t=t||ve(r,Vo,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||ve(r,Vo,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&he(r),n[16](null),c(),e&&t&&t.end(),d=!1,h()}}}function Jo(n){let r,i,a=n[7]&&Zo(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),a&&a.m(r,null),n[18](r),i=!0},p(e,[t]){e[7]?a?(a.p(e,t),128&t&&se(a,1)):((a=Zo(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[18](null)}}}function Ko(e,t,n){let r,i,a,o,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{endpoint:h=""}=t,{haspanicbutton:p="false"}=t,{gamepagemodalurl:m="false"}=t,{sessioncheck:g="true"}=t,f=window.navigator.userAgent,y=!1,b=!1,v=!1;const w=e=>{var t;"ModalClosed"==e.data.type&&n(7,v=!1),"ShowGameModal"===e.data.type&&(n(7,v=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,v=!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:r?getComputedStyle(r).width:null,modalHeight:r?getComputedStyle(r).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(b=e.data.detailsObtained)},x=e=>{var t;b&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return dt(()=>(n(2,y=lt(f)),window.addEventListener("message",w,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",w),window.removeEventListener("resize",w)})),e.$$set=e=>{"duration"in e&&n(0,s=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,u=e.clientstyling),"clientstylingurl"in e&&n(12,d=e.clientstylingurl),"endpoint"in e&&n(13,h=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,m=e.gamepagemodalurl),"sessioncheck"in e&&n(15,g=e.sessioncheck)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&h&&"true"==g&&qr(h,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2048&e.$$.dirty&&u){let e=document.createElement("style");e.innerHTML=u,v&&setTimeout(()=>{r.appendChild(e)})}if(4096&e.$$.dirty&&d){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[s,p,y,r,i,void 0,void 0,v,()=>{n(7,v=!1),n(2,y=lt(f)),window.postMessage({type:"ModalClosed",gamepagemodalurl:m,mobileView:y},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},l,c,u,d,h,m,g,function(e){ot[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){ot[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends i{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}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[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;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:18px}.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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Yo,Uo,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:78,containermaxwidth:12,lobbyid:79,haspanicbutton:13,mostplayedrounds:80,activecategory:81,livecasino:14,playrandomgame:15,gamepagemodalurl:16,enablejackpotbanner:17,enablecasinowinners:18,tabsorder:19,enableautoscroll:20,istopavailable:21,isrecentavailable:22,integratedgameframedesktop:23,integratedgameframemobile:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:29,defaultcurrency:30,caticon0:31,caticon1:32,caticon2:33,caticon3:34,backgroundsrc:35,backgroundsrcmobile:36,titlelogopath:37,iconlabels:38,visualstructure:39,randombuttonicon:40},null,[-1,-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino","playrandomgame","gamepagemodalurl","enablejackpotbanner","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","randombuttonicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[78]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[79]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[80]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get activecategory(){return this.$$.ctx[81]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get gamepagemodalurl(){return this.$$.ctx[16]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablejackpotbanner(){return this.$$.ctx[17]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get enablecasinowinners(){return this.$$.ctx[18]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[19]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[20]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[21]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[22]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[23]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[24]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[29]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[30]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get caticon0(){return this.$$.ctx[31]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[32]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[33]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[34]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[35]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[36]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[37]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[38]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[39]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get randombuttonicon(){return this.$$.ctx[40]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends i{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 .ModalPanicCloseButton{margin-top:45px}.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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ko,Jo,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const Xo={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function qo(){"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,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.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,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var Qo=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},es=function(e,...t){try{return qo(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function ts(n){let r,i,a=n[10]&&is(n);return{c(){r=pe("div"),i=pe("div"),a&&a.c(),fe(i,"class","CasinoGamePageContainer"),fe(i,"part","CasinoGamePageContainer"),B(i,"background","rgba(0, 0, 0, 0.5)"),fe(r,"class","GamePageBackground"),B(r,"background",n[13]?"":`url(${n[9].backgroundImageUrl})`),B(r,"background-size","cover")},m(e,t){de(e,r,t),ue(r,i),a&&a.m(i,null),n[82](i),n[83](r)},p(e,t){e[10]?a?a.p(e,t):((a=is(e)).c(),a.m(i,null)):a&&(a.d(1),a=null),8704&t[0]&&B(r,"background",e[13]?"":`url(${e[9].backgroundImageUrl})`)},d(e){e&&he(r),a&&a.d(),n[82](null),n[83](null)}}}function ns(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function rs(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function is(e){let n;function r(e){return e[20]?ls:e[5]?ss:e[11]?os:as}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function as(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x=n[9].name+"",$=n[25]("gamePage.signIn")+"",C=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me($),p=ge(),m=pe("button"),g=me(C),f=ge(),y=pe("p"),b=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(r,f),ue(r,y),ue(y,b),v||(w=[K(d,"click",n[80]),K(m,"click",n[81])],v=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&$!==($=e[25]("gamePage.signIn")+"")&&ye(h,$),33554432&t[0]&&C!==(C=e[25]("gamePage.register")+"")&&ye(g,C),8&t[0]&&ye(b,e[3])},d(e){e&&he(r),v=!1,J(w)}}}function os(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,$=n[25]("gamePage.signIn")+"",C=n[25]("gamePage.register")+"";function S(e){return e[17]?us:cs}let F=S(n),k=F(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("div"),u=pe("button"),d=me($),h=ge(),p=pe("button"),m=me(C),g=ge(),f=pe("p"),y=pe("span"),b=me(n[3]),v=ge(),k.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(p,"class","RegisterButton"),fe(p,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),B(r,"width",n[18]),B(r,"height",n[19]),P(r,"FullsScreenLayout",n[17])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[71](a),ue(i,s),ue(i,l),ue(l,c),ue(c,u),ue(u,d),ue(c,h),ue(c,p),ue(p,m),ue(l,g),ue(l,f),ue(f,y),ue(y,b),n[74](f),ue(l,v),k.m(l,null),n[77](l),n[78](i),n[79](r),w||(x=[K(u,"click",n[72]),K(p,"click",n[73])],w=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),33554432&t[0]&&$!==($=e[25]("gamePage.signIn")+"")&&ye(d,$),33554432&t[0]&&C!==(C=e[25]("gamePage.register")+"")&&ye(m,C),8&t[0]&&ye(b,e[3]),F===(F=S(e))&&k?k.p(e,t):(k.d(1),(k=F(e))&&(k.c(),k.m(l,null))),16777216&t[0]&&fe(i,"style",e[24]),262144&t[0]&&B(r,"width",e[18]),524288&t[0]&&B(r,"height",e[19]),131072&t[0]&&P(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[71](null),n[74](null),k.d(),n[77](null),n[78](null),n[79](null),w=!1,J(x)}}}function ss(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x=n[25]("gamePage.deposit")+"",$="true"===n[1]&&ds(n);function C(e){return e[17]?ps:hs}let S=C(n),F=S(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("button"),u=me(x),d=ge(),h=pe("p"),p=pe("span"),m=me(n[3]),g=ge(),$&&$.c(),f=ge(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(h,"class","Time"),fe(h,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),B(r,"width",n[18]),B(r,"height",n[19]),P(r,"FullsScreenLayout",n[17])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[62](a),ue(i,s),ue(i,l),ue(l,c),ue(c,u),ue(l,d),ue(l,h),ue(h,p),ue(p,m),n[64](h),ue(l,g),$&&$.m(l,null),ue(l,f),F.m(l,null),n[68](l),n[69](i),n[70](r),v||(w=K(c,"click",n[63]),v=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),33554432&t[0]&&x!==(x=e[25]("gamePage.deposit")+"")&&ye(u,x),8&t[0]&&ye(m,e[3]),"true"===e[1]?$?$.p(e,t):(($=ds(e)).c(),$.m(l,f)):$&&($.d(1),$=null),S===(S=C(e))&&F?F.p(e,t):(F.d(1),(F=S(e))&&(F.c(),F.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),16777216&t[0]&&fe(i,"style",e[24]),262144&t[0]&&B(r,"width",e[18]),524288&t[0]&&B(r,"height",e[19]),131072&t[0]&&P(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[62](null),n[64](null),$&&$.d(),F.d(),n[68](null),n[69](null),n[70](null),v=!1,w()}}}function ls(e){let n;function r(e){return e[5]?fs:e[12]?gs:ms}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function cs(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[76]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function us(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[75]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ds(n){let r,i,a,o=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class","Button"),fe(i,"part","Button"),P(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[65](i)},p(e,t){33554432&t[0]&&o!==(o=e[25]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&P(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[65](null)}}}function hs(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[67]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ps(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ms(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x=n[9].name+"",$=n[25]("gamePage.signIn")+"",C=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me($),p=ge(),m=pe("button"),g=me(C),f=ge(),y=pe("p"),b=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(r,f),ue(r,y),ue(y,b),v||(w=[K(d,"click",n[60]),K(m,"click",n[61])],v=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&$!==($=e[25]("gamePage.signIn")+"")&&ye(h,$),33554432&t[0]&&C!==(C=e[25]("gamePage.register")+"")&&ye(g,C),8&t[0]&&ye(b,e[3])},d(e){e&&he(r),v=!1,J(w)}}}function gs(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,$,C,S=n[9].name+"",F=n[25]("gamePage.signIn")+"",k=n[25]("gamePage.register")+"",M=n[25]("gamePage.playForFun")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(S),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(F),p=ge(),m=pe("button"),g=me(k),f=ge(),y=pe("button"),b=me(M),v=ge(),w=pe("p"),x=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(u,f),ue(u,y),ue(y,b),ue(r,v),ue(r,w),ue(w,x),$||(C=[K(d,"click",n[57]),K(m,"click",n[58]),K(y,"click",n[59])],$=!0)},p(e,t){512&t[0]&&S!==(S=e[9].name+"")&&ye(a,S),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&F!==(F=e[25]("gamePage.signIn")+"")&&ye(h,F),33554432&t[0]&&k!==(k=e[25]("gamePage.register")+"")&&ye(g,k),33554432&t[0]&&M!==(M=e[25]("gamePage.playForFun")+"")&&ye(b,M),8&t[0]&&ye(x,e[3])},d(e){e&&he(r),$=!1,J(C)}}}function fs(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,$,C=n[9].name+"",S=n[25]("gamePage.deposit")+"",F=n[25]("gamePage.playNow")+"",k="true"==n[0]&&ys(n),M="true"===n[1]&&ws(n);return{c(){k&&k.c(),r=ge(),i=pe("div"),a=pe("h3"),o=me(C),s=ge(),l=pe("img"),u=ge(),d=pe("div"),h=pe("button"),p=me(S),m=ge(),g=pe("button"),f=me(F),y=ge(),M&&M.c(),b=ge(),v=pe("p"),w=me(n[3]),ce(l.src,c=n[9].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(h,"class","DepositButton"),fe(h,"part","DepositButton"),fe(g,"class","PlayNowButton"),fe(g,"part","PlayNowButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){k&&k.m(e,t),de(e,r,t),de(e,i,t),ue(i,a),ue(a,o),ue(i,s),ue(i,l),ue(i,u),ue(i,d),ue(d,h),ue(h,p),ue(d,m),ue(d,g),ue(g,f),ue(i,y),M&&M.m(i,null),ue(i,b),ue(i,v),ue(v,w),x||($=[K(h,"click",n[54]),K(g,"click",n[55])],x=!0)},p(e,t){"true"==e[0]?k?k.p(e,t):((k=ys(e)).c(),k.m(r.parentNode,r)):k&&(k.d(1),k=null),512&t[0]&&C!==(C=e[9].name+"")&&ye(o,C),512&t[0]&&!ce(l.src,c=e[9].thumbnail)&&fe(l,"src",c),33554432&t[0]&&S!==(S=e[25]("gamePage.deposit")+"")&&ye(p,S),33554432&t[0]&&F!==(F=e[25]("gamePage.playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):((M=ws(e)).c(),M.m(i,b)):M&&(M.d(1),M=null),8&t[0]&&ye(w,e[3])},d(e){k&&k.d(e),e&&he(r),e&&he(i),M&&M.d(),x=!1,J($)}}}function ys(e){let n;function r(e){return e[9].isFavored?vs:bs}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function bs(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),B(a=k("path"),"fill","white"),fe(a,"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"),fe(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","20px"),fe(i,"y","20px"),fe(i,"viewBox","0 0 512.001 512.001"),B(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),l||(c=K(r,"click",n[53]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function vs(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),B(a=k("path"),"fill","white"),fe(a,"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"),fe(i,"version","1.1"),fe(i,"class","FavoredIcon"),fe(i,"part","FavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"viewBox","0 0 19.481 19.481"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"enable-background","new 0 0 19.481 19.481"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),l||(c=K(r,"click",n[52]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function ws(n){let r,i,a,e,t,o,s,l=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==ct(n[26])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==ct(n[26])?"PanicButtonMobile":"")),P(i,"PanicButtonAnimation",n[8]),fe(r,"class",o="PanicSection "+("PC"!==ct(n[26])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==ct(n[26])?"PanicSectionMobile":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[56](i)},p(e,t){33554432&t[0]&&l!==(l=e[25]("gamePage.breakButton")+"")&&ye(a,l),256&t[0]&&P(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[56](null)}}}function xs(e){let n;function r(e){return e[7]?rs:e[6]?ns:ts}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function $s(t,e,i){let R;ut(t,Kr,e=>i(25,R=e));let A,n,r,a,D,o,s,l,c,H,N,u,d,O,j,h,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:U=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{favorites:W=""}=e,{loginurl:x=""}=e,{registerurl:$=""}=e,{depositurl:C=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:z=""}=e,{haspanicbutton:Y="false"}=e,{playforfun:M="true"}=e,{checksession:V="true"}=e,{integratedgameframedesktop:Z="false"}=e,{integratedgameframemobile:J="false"}=e,{gameid:K=""}=e,_=!1,X=!1,q=!0,Q=!1,ee=0,E=!1,te=!1,ne=!1,I=!0,T=!1,L=window.navigator.userAgent,re=!1,ie=[],ae=!1,oe="false",se;var le,ce;({withLocale:le,translations:ce}={withLocale:"en",translations:{}}),st.subscribe(e=>{null==e&&(_r.set(ce),st.set(le))}),Object.keys(Xo).forEach(e=>{Ir(e,Xo[e])});const ue=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i(7,q=!1),r&&0<r.length&&(i(5,_=!0),i(7,q=!1),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,e},de=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),i(13,I=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(9,o=ue(e[0])),o.launchUrl&&(i(10,E=!0),i(11,te="true"==M&&o.hasFunMode),i(12,ne="true"==M&&o.hasAnonymousFunMode))},e=>{console.error("There was an error",e),i(6,X=!0)}).then(()=>{s&&(I||(i(18,H=o.width),i(19,N=o.height),O=o.width+"px",j=o.height+"px",u=o.width,d=o.height),ye())}),window.postMessage({type:"RequestModalSize"},window.location.href)},he=()=>{null!=a&&a.addEventListener("mousedown",Se,!1),null!=a&&a.addEventListener("touchstart",Se,!1),null!=a&&a.addEventListener("mouseup",Fe,!1),null!=a&&a.addEventListener("touchend",Fe,!1)},pe=()=>{i(8,Q=!1),null!=a&&a.removeEventListener("mousedown",Se),null!=a&&a.removeEventListener("touchstart",Se),null!=a&&a.removeEventListener("mouseup",Fe),null!=a&&a.removeEventListener("touchend",Fe)},me=e=>{switch(e.data.type){case"GameLaunchID":de(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":i(51,oe="true");break;case"LaunchGameFrame":fe(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":i(51,oe="false"),pe(),lt(L)?setTimeout(()=>{i(10,E="true"===J)},500):setTimeout(()=>{i(10,E="true"===Z)},500);break;case"UserSessionID":if(0<e.data.session.length){r=e.data.session,e.data.userID,i(5,_=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",r),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),i(9,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":i(18,H=e.data.modalContainerSize.modalWidth),i(19,N=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ie=e.data.receivedFavoriteResults.items)}},ge=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!0,o))},fe=(e,r)=>{let t=new URL(f+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;i(9,o=ue(e[0])),o.launchUrl&&i(9,o.isFavored=(e=o,t=r,i(12,ne="true"==M&&e.hasAnonymousFunMode),i(11,te="true"==M&&t),i(10,E=!0),n=e.id,-1!==ie.findIndex(e=>e.id==n)),o)})},ye=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));u=parseInt(o.width),d=parseInt(o.height),u=t*n,O=u?Math.floor(u)+"px":"1280px",j=d?Math.floor(d)+"px":"720px",ke()},be=e=>{if(!ae)return lt(L)?ve(J):ve(Z);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};es("OPEN_GAME",e)},ve=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:o.id},window.location.href)},we=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:E},window.location.href),E&&(s&&ye(),window.addEventListener("ModalSize",me,!1))},G=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},B=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)},xe=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)};function $e(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!T||P()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",$e,!1),document.addEventListener("mozfullscreenchange",$e,!1),document.addEventListener("fullscreenchange",$e,!1),document.addEventListener("MSFullscreenChange",$e,!1));const P=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(T?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(17,T=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(17,T=!0)))},Ce=(setInterval(()=>{i(3,A=z?Fi().format(z):Fi().format("LTS"))},100),()=>{"true"==V?qr(f,b).then(e=>{r=e.Guid,e.UserID,i(5,_=!0)},e=>{i(5,_=!1),console.error("err on session",e)}):(r=b,i(5,_=!0))}),Se=e=>{ee=0,D=setInterval(()=>{ee+=1,i(8,Q=!0),3<=ee&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(D))},1e3)},Fe=e=>{ee<3&&i(8,Q=!1),clearInterval(D)},ke=()=>{var e=T?"100%":O,t=T?"100%":j,n=T||!I?"none":o.width?Math.floor(o.width)+"px":"1280px",r=T||!I?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(24,se=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),T||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,r=parseInt(getComputedStyle(s).height);g=g||r*Math.max(n,.5),i(14,s.style.height=g+"px",s),i(15,l.style.height=g+"px",l),e&&i(16,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return dt(()=>(window.addEventListener("resize",we,!1),window.addEventListener("message",me,!1),ae=!!Qo(L),()=>{pe(),window.removeEventListener("resize",we),window.removeEventListener("message",me)})),t.$$set=e=>{"endpoint"in e&&i(33,f=e.endpoint),"lang"in e&&i(34,y=e.lang),"session"in e&&i(35,b=e.session),"userid"in e&&i(36,U=e.userid),"clientstyling"in e&&i(37,v=e.clientstyling),"clientstylingurl"in e&&i(38,w=e.clientstylingurl),"favorites"in e&&i(0,W=e.favorites),"loginurl"in e&&i(39,x=e.loginurl),"registerurl"in e&&i(40,$=e.registerurl),"depositurl"in e&&i(41,C=e.depositurl),"loginevent"in e&&i(42,S=e.loginevent),"registerevent"in e&&i(43,F=e.registerevent),"depositevent"in e&&i(44,k=e.depositevent),"clockformat"in e&&i(45,z=e.clockformat),"haspanicbutton"in e&&i(1,Y=e.haspanicbutton),"playforfun"in e&&i(46,M=e.playforfun),"checksession"in e&&i(47,V=e.checksession),"integratedgameframedesktop"in e&&i(48,Z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(49,J=e.integratedgameframemobile),"gameid"in e&&i(50,K=e.gameid)},t.$$.update=()=>{if(8&t.$$.dirty[1]&&y&&(e=y,st.set(e),i(20,re=lt(L))),524300&t.$$.dirty[1]&&f&&K&&y&&de(K,!0),52&t.$$.dirty[1]&&b&&U&&f&&Ce(),65556&t.$$.dirty[1]&&"false"==V&&b&&f&&Ce(),64&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,h.appendChild(e)}if(128&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==oe&&a&&he(),4&t.$$.dirty[0]&&a&&he()},[W,Y,a,A,n,_,X,q,Q,o,E,te,ne,I,s,l,c,T,H,N,re,h,p,m,"",R,L,ge,be,G,B,xe,P,f,y,b,U,v,w,x,$,C,S,F,k,z,M,V,Z,J,K,oe,()=>ge(o.id),()=>ge(o.id),()=>xe(),()=>{be(o)},function(e){ot[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>G(),()=>B(),()=>{be(o)},()=>G(),()=>B(),function(e){ot[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>xe(),function(e){ot[e?"unshift":"push"](()=>{m=e,i(23,m)})},function(e){ot[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>P(),()=>P(),function(e){ot[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){ot[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){ot[e?"unshift":"push"](()=>{s=e,i(14,s)})},function(e){ot[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>G(),()=>B(),function(e){ot[e?"unshift":"push"](()=>{m=e,i(23,m)})},()=>P(),()=>P(),function(e){ot[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){ot[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){ot[e?"unshift":"push"](()=>{s=e,i(14,s)})},()=>G(),()=>B(),function(e){ot[e?"unshift":"push"](()=>{h=e,i(21,h)})},function(e){ot[e?"unshift":"push"](()=>{c=e,i(16,c)})}]}function Cs(n){let r,i,a,o,s,l,c,u,t,d,h,p;return{c(){r=pe("div"),i=pe("div"),(a=pe("span")).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=ge(),s=pe("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(r,"class","FilterModalWindow"),fe(r,"id","FilterModal"),fe(r,"part","FilterModalWindow"),q(()=>n[15].call(r))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),n[14](r),u=R(r,n[15].bind(r)),d=!0,h||(p=K(a,"click",n[7]),h=!0)},p(e,t){n=e,(!d||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"class",l),(!d||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"part",c)},i(e){d||(q(()=>{(t=t||ve(r,Vo,{transitionDuration:n[1]},!0)).run(1)}),d=!0)},o(e){(t=t||ve(r,Vo,{transitionDuration:n[1]},!1)).run(0),d=!1},d(e){e&&he(r),n[14](null),u(),e&&t&&t.end(),h=!1,p()}}}function Ss(n){let r,i,a=n[0]&&Cs(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),a&&a.m(r,null),n[16](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&se(a,1)):((a=Cs(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[16](null)}}}function Fs(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,{sessioncheck:m="true"}=t,g=window.navigator.userAgent,f=!1;const y=()=>{n(0,s=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},b=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&&(y(),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 dt(()=>(window.addEventListener("message",b,!1),lt(g)&&n(2,f=!0),()=>{window.removeEventListener("message",b)})),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,u=e.userid),"clientstyling"in e&&n(10,d=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint),"sessioncheck"in e&&n(13,m=e.sessioncheck)},e.$$.update=()=>{if(4864&e.$$.dirty&&c&&u&&p&&"true"==m&&qr(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&d){let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{r.appendChild(e)})}2048&e.$$.dirty&&h&&v(),2049&e.$$.dirty&&s&&h&&v()},[s,l,f,r,i,void 0,void 0,y,c,u,d,h,p,m,function(e){ot[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){ot[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends i{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{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.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{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.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}.GamesContainer{width:calc(100% - 4px);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%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.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}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},$s,xs,t,{endpoint:33,lang:34,session:35,userid:36,clientstyling:37,clientstylingurl:38,favorites:0,loginurl:39,registerurl:40,depositurl:41,loginevent:42,registerevent:43,depositevent:44,clockformat:45,haspanicbutton:1,playforfun:46,checksession:47,integratedgameframedesktop:48,integratedgameframemobile:49,gameid:50},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[35]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[36]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[37]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[38]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[39]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[40]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[41]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[42]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[43]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[44]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[45]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[46]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[47]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[48]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[49]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Fs,Ss,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12,sessioncheck:13},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[13]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const ks={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},zh:{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},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:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtrar",filterModalSubtitle:"Puedes seleccionar varias opciones",filterClear:"Restablecer filtro",filterApply:"Terminado"}},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:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},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 Ms(e,t,n){const r=e.slice();return r[32]=t[n],r}function _s(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,$,C,S=n[6]("filters.filterModalTitle")+"",F=n[6]("filters.filterModalSubtitle")+"",k=n[6]("filters.filterApply")+"",M=n[0]&&Is(n),_=n[3]&&Gs(n);return{c(){r=pe("div"),i=pe("section"),a=pe("div"),o=pe("h4"),s=me(S),l=ge(),c=pe("h5"),u=me(F),d=ge(),h=pe("section"),M&&M.c(),p=ge(),m=pe("section"),_&&_.c(),g=ge(),f=pe("div"),y=me(k),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(i,"class","FilterHeaderSection"),fe(i,"part","FilterHeaderSection"),fe(h,"class","FilterContentSection"),fe(h,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(m,"class","FilterFooterSection"),fe(m,"part","FilterFooterSection"),fe(r,"class",w="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),fe(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(o,s),ue(a,l),ue(a,c),ue(c,u),ue(r,d),ue(r,h),M&&M.m(h,null),ue(r,p),ue(r,m),_&&_.m(m,null),ue(m,g),ue(m,f),ue(f,y),$||(C=K(f,"click",n[19]),$=!0)},p(e,t){64&t[0]&&S!==(S=e[6]("filters.filterModalTitle")+"")&&ye(s,S),64&t[0]&&F!==(F=e[6]("filters.filterModalSubtitle")+"")&&ye(u,F),e[0]?M?M.p(e,t):((M=Is(e)).c(),M.m(h,null)):M&&(M.d(1),M=null),e[3]?_?_.p(e,t):((_=Gs(e)).c(),_.m(m,g)):_&&(_.d(1),_=null),64&t[0]&&k!==(k=e[6]("filters.filterApply")+"")&&ye(y,k),4&t[0]&&b!==(b="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),2&t[0]&&w!==(w="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"class",w),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"part",x)},d(e){e&&he(r),M&&M.d(),_&&_.d(),$=!1,C()}}}function Es(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Is(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ls(Ms(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);de(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=Ms(t,a,e);o[e]?o[e].p(r,n):(o[e]=Ls(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){L(o,e),e&&he(i)}}}function Ts(){let n;return{c(){(n=pe("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ls(n){let r,i,a,o,s,l,c,u,d,h,p=n[32].isFilterSelected&&Ts();function m(){return n[17](n[32])}return{c(){r=pe("div"),i=pe("img"),s=ge(),p&&p.c(),l=ge(),fe(i,"class","VendorImage"),fe(i,"part","VendorImage"),ce(i.src,a=n[32].image)||fe(i,"src",a),fe(i,"alt",o=n[32].name),fe(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),fe(r,"part",u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){de(e,r,t),ue(r,i),ue(r,s),p&&p.m(r,null),ue(r,l),d||(h=K(r,"click",m),d=!0)},p(e,t){n=e,1&t[0]&&!ce(i.src,a=n[32].image)&&fe(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&fe(i,"alt",o),n[32].isFilterSelected?p||((p=Ts()).c(),p.m(r,l)):p&&(p.d(1),p=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"class",c),1&t[0]&&u!==(u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"part",u)},d(e){e&&he(r),p&&p.d(),d=!1,h()}}}function Gs(e){let n,r=e[3].length&&Bs(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):((r=Bs(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Bs(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=pe("div"),i=me(s),fe(r,"class","ClearFiltersButton"),fe(r,"part","ClearFiltersButton")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ye(i,s)},d(e){e&&he(r),a=!1,o()}}}function Ps(n){let r;function i(e){return e[4]?Es:_s}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(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.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[20](null)}}}function Rs(e,t,i){let n;ut(e,Kr,e=>i(6,n=e));let r,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),b=[],v={},w=!1,x=(v[f]&&(v={[f]:[]}),[]);var $,C;({withLocale:$,translations:C}={withLocale:"en",translations:{}}),st.subscribe(e=>{null==e&&(_r.set(C),st.set($))}),Object.keys(ks).forEach(e=>{Ir(e,ks[e])});const S=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(f&&((y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")))&&i(3,b=y[f])),!b){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${a}/casino/vendors?filter=games(groups=${f})&datasource=${o}&platform=`+ct(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=b;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,b=x),i(2,g=!1);break;case"AvailableVendors":i(0,h=t.data.venArray),i(3,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(0,h=t.data.venArray),h&&i(3,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":M(),window.postMessage({type:"ApplyFilters"},window.location.href),i(2,g=!1);break;case"FiltersModalClosed":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,b=y[f]);break;case"ModalLoader":i(4,w=!1)}var r},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(b.push(t.id),i(2,g=!k(b,x))):(b.includes(t.id)&&i(3,b=b.filter(e=>e!==t.id)),i(2,g=!(!b.length&&k(b,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},k=(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},M=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=k(b,x)),i(3,b=[]),null!==e&&((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},_=()=>{i(4,w=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return dt(()=>(window.addEventListener("message",S,!1),lt(m)&&i(1,p=!0),()=>{window.removeEventListener("message",S)})),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,u=e.clientstyling),"clientstylingurl"in e&&i(16,d=e.clientstylingurl)},e.$$.update=()=>{if(32768&e.$$.dirty[0]&&u){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(65536&e.$$.dirty[0]&&d){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})}},[h,p,g,b,w,r,n,F,M,_,a,o,s,l,c,u,d,e=>F(e),()=>M(),()=>_(),function(e){ot[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends i{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;height:127px;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:120px;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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Rs,Ps,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});const As={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function Ds(n){let r;function i(e){return e[5]?js:e[10]?Os:void 0}let a=i(n),o=a&&a(n);return{c(){r=pe("div"),o&&o.c(),fe(r,"class","CasinoIntegratedGamePage"),fe(r,"part","CasinoIntegratedGamePage")},m(e,t){de(e,r,t),o&&o.m(r,null),n[65](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(r,null)))},d(e){e&&he(r),o&&o.d(),n[65](null)}}}function Hs(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ns(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Os(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,$,C,S,F,k,M,_=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function I(e){return e[16]?Ws:Us}let T=I(n),L=T(n),G="true"==n[1]&&!n[16]&&zs();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),u=pe("div"),d=ge(),h=pe("div"),p=pe("div"),m=pe("iframe"),f=ge(),y=pe("div"),b=pe("div"),v=pe("button"),w=me(_),x=ge(),$=pe("button"),C=me(E),S=ge(),L.c(),F=ge(),G&&G.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(m,"title","Games"),fe(m,"class","GamesContainer"),fe(m,"part","GamesContainer"),fe(m,"aria-hidden","false"),ce(m.src,g=n[9].launchUrl)||fe(m,"src",g),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe($,"class","RegisterButton"),fe($,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(p,"id","IframeGame"),fe(p,"part","IframeGame"),B(p,"width",n[16]?"100%":n[17]),B(p,"height",n[16]?"100%":n[18]),B(p,"max-width",n[16]||!n[11]?"none":n[9].width?Math.floor(n[9].width)+"px":"1280px"),B(p,"max-height",n[16]||!n[11]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),fe(h,"part","IframeContainer"),P(h,"FullsScreenLayout",n[16])},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(s,l),n[56](o),ue(r,c),ue(r,u),de(e,d,t),de(e,h,t),ue(h,p),ue(p,m),n[57](m),ue(p,f),ue(p,y),ue(y,b),ue(b,v),ue(v,w),ue(b,x),ue(b,$),ue($,C),ue(y,S),L.m(y,null),n[62](y),n[63](p),ue(h,F),G&&G.m(h,null),n[64](h),k||(M=[K(i,"click",n[55]),K(v,"click",n[58]),K($,"click",n[59])],k=!0)},p(e,t){8&t[0]&&ye(l,e[3]),512&t[0]&&!ce(m.src,g=e[9].launchUrl)&&fe(m,"src",g),4194304&t[0]&&_!==(_=e[22]("gamePage.signIn")+"")&&ye(w,_),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ye(C,E),T===(T=I(e))&&L?L.p(e,t):(L.d(1),(L=T(e))&&(L.c(),L.m(y,null))),196608&t[0]&&B(p,"width",e[16]?"100%":e[17]),327680&t[0]&&B(p,"height",e[16]?"100%":e[18]),68096&t[0]&&B(p,"max-width",e[16]||!e[11]?"none":e[9].width?Math.floor(e[9].width)+"px":"1280px"),68096&t[0]&&B(p,"max-height",e[16]||!e[11]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?G&&(G.d(1),G=null):G||((G=zs()).c(),G.m(h,null)),65536&t[0]&&P(h,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[56](null),e&&he(d),e&&he(h),n[57](null),L.d(),n[62](null),n[63](null),G&&G.d(),n[64](null),k=!1,J(M)}}}function js(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,$,C,S,F=n[22]("gamePage.deposit")+"",k="true"===n[0]&&Ys(n);function M(e){return e[16]?Zs:Vs}let _=M(n),E=_(n),I="true"==n[1]&&!n[16]&&Js();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),u=pe("button"),d=me(F),h=ge(),p=pe("div"),m=pe("div"),g=pe("iframe"),v=ge(),w=pe("div"),k&&k.c(),x=ge(),E.c(),$=ge(),I&&I.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(u,"class","DepositButton"),fe(u,"part","DepositButton"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"id","IframeGame"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,f=n[9].launchUrl)||fe(g,"src",f),fe(g,"width",y=n[13]+"px"),fe(g,"height",b=n[14]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(m,"id","IframeGame"),fe(m,"part","IframeGame"),B(m,"width",n[16]?"100%":n[17]),B(m,"height",n[16]?"100%":n[18]),B(m,"max-width",n[16]?"none":n[9].width?n[9].width+"px":"1280px"),B(m,"max-height",n[16]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(p,"id","IframeContainer"),fe(p,"part","IframeContainer"),P(p,"FullsScreenLayout",n[16])},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(s,l),n[46](o),ue(r,c),ue(r,u),ue(u,d),de(e,h,t),de(e,p,t),ue(p,m),ue(m,g),n[48](g),ue(m,v),ue(m,w),k&&k.m(w,null),ue(w,x),E.m(w,null),n[52](w),n[53](m),ue(p,$),I&&I.m(p,null),n[54](p),C||(S=[K(i,"click",n[45]),K(u,"click",n[47])],C=!0)},p(e,t){8&t[0]&&ye(l,e[3]),4194304&t[0]&&F!==(F=e[22]("gamePage.deposit")+"")&&ye(d,F),512&t[0]&&!ce(g.src,f=e[9].launchUrl)&&fe(g,"src",f),8192&t[0]&&y!==(y=e[13]+"px")&&fe(g,"width",y),16384&t[0]&&b!==(b=e[14]+"px")&&fe(g,"height",b),"true"===e[0]?k?k.p(e,t):((k=Ys(e)).c(),k.m(w,x)):k&&(k.d(1),k=null),_===(_=M(e))&&E?E.p(e,t):(E.d(1),(E=_(e))&&(E.c(),E.m(w,null))),196608&t[0]&&B(m,"width",e[16]?"100%":e[17]),327680&t[0]&&B(m,"height",e[16]?"100%":e[18]),66048&t[0]&&B(m,"max-width",e[16]?"none":e[9].width?e[9].width+"px":"1280px"),66048&t[0]&&B(m,"max-height",e[16]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?I&&(I.d(1),I=null):I||((I=Js()).c(),I.m(p,null)),65536&t[0]&&P(p,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[46](null),e&&he(h),e&&he(p),n[48](null),k&&k.d(),E.d(),n[52](null),n[53](null),I&&I.d(),n[54](null),C=!1,J(S)}}}function Us(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[61]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ws(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[60]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function zs(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ys(n){let r,i,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class",e="PanicButton "+("PC"!==ct(n[23])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==ct(n[23])?"PanicButtonMobile":"")),P(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[49](i)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&P(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[49](null)}}}function Vs(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[51]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Zs(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[50]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Js(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ks(e){let n;function r(e){return e[7]?Ns:e[6]?Hs:Ds}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function Xs(t,e,r){let R;ut(t,Kr,e=>r(22,R=e));let A,n,i,a,D,o,s,l,c,u,d,h,H,N,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:O=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{loginurl:x=""}=e,{registerurl:$=""}=e,{depositurl:C=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:M=""}=e,{haspanicbutton:j="false"}=e,{playforfun:_="true"}=e,{checksession:U="true"}=e,{gamebanneractive:W="false"}=e,{gameid:E=""}=e,I=!1,z=!1,Y=!0,T=!1,L=0,V=!1,Z=!1,J=!0,G=!1,K=window.navigator.userAgent;var X,q;({withLocale:X,translations:q}={withLocale:"en",translations:{}}),st.subscribe(e=>{null==e&&(_r.set(q),st.set(X))}),Object.keys(As).forEach(e=>{Ir(e,As[e])});const Q=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),r(11,J=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{r(9,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(r(5,I=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,p.scrollIntoView(),e})(e[0])),o.launchUrl&&(V=!0,r(10,Z="true"==_&&o.hasFunMode),"true"==_&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),r(6,z=!0)}).then(()=>{s&&(ee(),J||(r(17,H=o.width),r(18,N=o.height),d=o.width,h=o.height))})},ee=()=>{let e=getComputedStyle(s),t=getComputedStyle(u);r(13,l=parseInt(e.width.slice(0,-2))),r(14,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);d=parseInt(t.width),h=parseInt(t.height),l/n>c-m.clientHeight-g.clientHeight?(h=c-m.clientHeight-g.clientHeight,d=c*n):(d=l,h=l/n),r(17,H=d?Math.floor(d)+"px":"1280px"),r(18,N=h?Math.floor(h)+"px":"720px")},te=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:V},window.location.href),V&&s&&ee()},ne=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},re=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)},ie=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)};function B(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!G||P()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",B,!1),document.addEventListener("mozfullscreenchange",B,!1),document.addEventListener("fullscreenchange",B,!1),document.addEventListener("MSFullscreenChange",B,!1));const P=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(G?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(16,G=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(16,G=!0)))},ae=setInterval(()=>{r(3,A=M?Fi().format(M):Fi().format("LTS"))},100),oe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},se=e=>{L=0,D=setInterval(()=>{L+=1,r(8,T=!0),3<=L&&clearInterval(D)},1e3)},le=e=>{L<3&&r(8,T=!1),clearInterval(D)};return dt(()=>(window.addEventListener("resize",te,!1),Qo(K),()=>{r(8,T=!1),null!=a&&a.removeEventListener("mousedown",se),null!=a&&a.removeEventListener("touchstart",se),null!=a&&a.removeEventListener("mouseup",le),null!=a&&a.removeEventListener("touchend",le),window.removeEventListener("resize",te),clearInterval(ae)})),t.$$set=e=>{"endpoint"in e&&r(29,f=e.endpoint),"lang"in e&&r(30,y=e.lang),"session"in e&&r(31,b=e.session),"userid"in e&&r(32,O=e.userid),"clientstyling"in e&&r(33,v=e.clientstyling),"clientstylingurl"in e&&r(34,w=e.clientstylingurl),"loginurl"in e&&r(35,x=e.loginurl),"registerurl"in e&&r(36,$=e.registerurl),"depositurl"in e&&r(37,C=e.depositurl),"loginevent"in e&&r(38,S=e.loginevent),"registerevent"in e&&r(39,F=e.registerevent),"depositevent"in e&&r(40,k=e.depositevent),"clockformat"in e&&r(41,M=e.clockformat),"haspanicbutton"in e&&r(0,j=e.haspanicbutton),"playforfun"in e&&r(42,_=e.playforfun),"checksession"in e&&r(43,U=e.checksession),"gamebanneractive"in e&&r(1,W=e.gamebanneractive),"gameid"in e&&r(44,E=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,st.set(e),lt(K),r(7,Y=!1)),1610612736&t.$$.dirty[0]|8192&t.$$.dirty[1]&&f&&E&&y&&Q(E),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&b&&O&&f&&("true"==U?qr(f,b).then(e=>{i=e.Guid,e.UserID,r(5,I=!0)},e=>{r(5,I=!1),console.error("err on session",e)}):i=b),4&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,p.appendChild(e)}if(8&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,p&&setTimeout(()=>{p.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&a&&(null!=a&&a.addEventListener("mousedown",se,!1),null!=a&&a.addEventListener("touchstart",se,!1),null!=a&&a.addEventListener("mouseup",le,!1),null!=a&&a.addEventListener("touchend",le,!1))},[j,W,a,A,n,I,z,Y,T,o,Z,J,s,l,c,u,G,H,N,p,m,g,R,K,ne,re,ie,P,oe,f,y,b,O,v,w,x,$,C,S,F,k,M,_,U,E,()=>oe(),function(e){ot[e?"unshift":"push"](()=>{g=e,r(21,g)})},()=>ie(),function(e){ot[e?"unshift":"push"](()=>{n=e,r(4,n)})},function(e){ot[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>P(),()=>P(),function(e){ot[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){ot[e?"unshift":"push"](()=>{u=e,r(15,u)})},function(e){ot[e?"unshift":"push"](()=>{s=e,r(12,s)})},()=>oe(),function(e){ot[e?"unshift":"push"](()=>{g=e,r(21,g)})},function(e){ot[e?"unshift":"push"](()=>{n=e,r(4,n)})},()=>ne(),()=>re(),()=>P(),()=>P(),function(e){ot[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){ot[e?"unshift":"push"](()=>{u=e,r(15,u)})},function(e){ot[e?"unshift":"push"](()=>{s=e,r(12,s)})},function(e){ot[e?"unshift":"push"](()=>{p=e,r(19,p)})}]}function qs(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g="true"==e[19]&&el(e);return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=ge(),o=pe("div"),s=ge(),l=pe("casino-categories-slider"),c=ge(),u=pe("casino-page"),d=ge(),g&&g.c(),h=ge(),p=pe("casino-filter-modal"),m=pe("casino-filter-page"),fe(i,"class","HeaderPlaceholder"),fe(i,"part","HeaderPlaceholder"),B(i,"height",e[54]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),w(l,"endpoint",e[47]),w(l,"datasource",e[48]),w(l,"lang",e[49]),w(l,"session",e[53]),w(l,"userid",e[2]),w(l,"sessioncheck","false"),w(l,"actionevent",e[16]),w(l,"mostplayed",e[10]),w(l,"mostplayedrounds",e[11]),w(l,"favorites",e[12]),w(l,"activecategory",e[1]),w(l,"clientstyling",e[3]),w(l,"clientstylingurl",e[4]),w(l,"containermaxwidth",e[14]),w(l,"showsubgroups",e[45]),w(u,"session",e[53]),w(u,"userid",e[2]),w(u,"endpoint",e[47]),w(u,"datasource",e[48]),w(u,"lang",e[49]),w(u,"visiblegames",e[21]),w(u,"playrandomgame",e[20]),w(u,"activecategory",e[1]),w(u,"alternativesearch",e[13]),w(u,"favorites",e[12]),w(u,"mostplayedrounds",e[11]),w(u,"mostplayed",e[10]),w(u,"clientstyling",e[3]),w(u,"clientstylingurl",e[4]),w(u,"lobbyid",e[6]),w(u,"containermaxwidth",e[14]),w(u,"haspanicbutton",e[15]),w(u,"livecasino",e[17]),w(u,"currency",e[0]),w(u,"gamepagemodalurl",e[24]),w(u,"randombuttonicon",e[46]),w(u,"enablejackpotbanner",e[25]),w(u,"enablecasinowinners",e[26]),w(u,"periodrecent",e[31]),w(u,"periodtop",e[32]),w(u,"numberusersrecent",e[33]),w(u,"numberuserstop",e[34]),w(u,"amountlimit",e[35]),w(u,"isrecentavailable",e[30]),w(u,"istopavailable",e[29]),w(u,"integratedgameframedesktop",e[22]),w(u,"integratedgameframemobile",e[23]),w(u,"defaultcurrency",e[36]),w(u,"enableautoscroll",e[28]),w(u,"tabsorder",e[27]),w(u,"backgroundsrc",e[41]),w(u,"backgroundsrcmobile",e[42]),w(u,"titlelogopath",e[43]),w(u,"caticon0",e[37]),w(u,"caticon1",e[38]),w(u,"caticon2",e[39]),w(u,"caticon3",e[40]),w(u,"iconlabels",e[44]),w(m,"session",e[53]),w(m,"userid",e[2]),w(m,"endpoint",e[47]),w(m,"datasource",e[48]),w(m,"lang",e[49]),w(m,"clientstylingurl",e[4]),w(m,"clientstyling",e[3]),w(p,"clientstylingurl",e[4]),w(p,"session",e[53]),w(p,"userid",e[2]),w(p,"endpoint",e[47]),w(p,"datasource",e[48]),w(p,"lang",e[49]),w(p,"sessioncheck","false"),w(p,"clientstyling",e[3]),fe(r,"class","WidgetsSection"),fe(r,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(r,o),ue(r,s),ue(r,l),ue(r,c),ue(r,u),ue(r,d),g&&g.m(r,null),ue(r,h),ue(r,p),ue(p,m)},p(e,t){8388608&t[1]&&B(i,"height",e[54]+"px"),65536&t[1]&&w(l,"endpoint",e[47]),131072&t[1]&&w(l,"datasource",e[48]),262144&t[1]&&w(l,"lang",e[49]),4194304&t[1]&&w(l,"session",e[53]),4&t[0]&&w(l,"userid",e[2]),65536&t[0]&&w(l,"actionevent",e[16]),1024&t[0]&&w(l,"mostplayed",e[10]),2048&t[0]&&w(l,"mostplayedrounds",e[11]),4096&t[0]&&w(l,"favorites",e[12]),2&t[0]&&w(l,"activecategory",e[1]),8&t[0]&&w(l,"clientstyling",e[3]),16&t[0]&&w(l,"clientstylingurl",e[4]),16384&t[0]&&w(l,"containermaxwidth",e[14]),16384&t[1]&&w(l,"showsubgroups",e[45]),4194304&t[1]&&w(u,"session",e[53]),4&t[0]&&w(u,"userid",e[2]),65536&t[1]&&w(u,"endpoint",e[47]),131072&t[1]&&w(u,"datasource",e[48]),262144&t[1]&&w(u,"lang",e[49]),2097152&t[0]&&w(u,"visiblegames",e[21]),1048576&t[0]&&w(u,"playrandomgame",e[20]),2&t[0]&&w(u,"activecategory",e[1]),8192&t[0]&&w(u,"alternativesearch",e[13]),4096&t[0]&&w(u,"favorites",e[12]),2048&t[0]&&w(u,"mostplayedrounds",e[11]),1024&t[0]&&w(u,"mostplayed",e[10]),8&t[0]&&w(u,"clientstyling",e[3]),16&t[0]&&w(u,"clientstylingurl",e[4]),64&t[0]&&w(u,"lobbyid",e[6]),16384&t[0]&&w(u,"containermaxwidth",e[14]),32768&t[0]&&w(u,"haspanicbutton",e[15]),131072&t[0]&&w(u,"livecasino",e[17]),1&t[0]&&w(u,"currency",e[0]),16777216&t[0]&&w(u,"gamepagemodalurl",e[24]),32768&t[1]&&w(u,"randombuttonicon",e[46]),33554432&t[0]&&w(u,"enablejackpotbanner",e[25]),67108864&t[0]&&w(u,"enablecasinowinners",e[26]),1&t[1]&&w(u,"periodrecent",e[31]),2&t[1]&&w(u,"periodtop",e[32]),4&t[1]&&w(u,"numberusersrecent",e[33]),8&t[1]&&w(u,"numberuserstop",e[34]),16&t[1]&&w(u,"amountlimit",e[35]),1073741824&t[0]&&w(u,"isrecentavailable",e[30]),536870912&t[0]&&w(u,"istopavailable",e[29]),4194304&t[0]&&w(u,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(u,"integratedgameframemobile",e[23]),32&t[1]&&w(u,"defaultcurrency",e[36]),268435456&t[0]&&w(u,"enableautoscroll",e[28]),134217728&t[0]&&w(u,"tabsorder",e[27]),1024&t[1]&&w(u,"backgroundsrc",e[41]),2048&t[1]&&w(u,"backgroundsrcmobile",e[42]),4096&t[1]&&w(u,"titlelogopath",e[43]),64&t[1]&&w(u,"caticon0",e[37]),128&t[1]&&w(u,"caticon1",e[38]),256&t[1]&&w(u,"caticon2",e[39]),512&t[1]&&w(u,"caticon3",e[40]),8192&t[1]&&w(u,"iconlabels",e[44]),"true"==e[19]?g?g.p(e,t):((g=el(e)).c(),g.m(r,h)):g&&(g.d(1),g=null),4194304&t[1]&&w(m,"session",e[53]),4&t[0]&&w(m,"userid",e[2]),65536&t[1]&&w(m,"endpoint",e[47]),131072&t[1]&&w(m,"datasource",e[48]),262144&t[1]&&w(m,"lang",e[49]),16&t[0]&&w(m,"clientstylingurl",e[4]),8&t[0]&&w(m,"clientstyling",e[3]),16&t[0]&&w(p,"clientstylingurl",e[4]),4194304&t[1]&&w(p,"session",e[53]),4&t[0]&&w(p,"userid",e[2]),65536&t[1]&&w(p,"endpoint",e[47]),131072&t[1]&&w(p,"datasource",e[48]),262144&t[1]&&w(p,"lang",e[49]),8&t[0]&&w(p,"clientstyling",e[3])},d(e){e&&he(n),g&&g.d()}}}function Qs(e){let n,r;return{c(){n=pe("p"),r=me(e[52]),B(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2097152&t[1]&&ye(r,e[52])},d(e){e&&he(n)}}}function el(e){let n,r;return{c(){n=pe("casino-modal"),w(r=pe("casino-game-page"),"session",e[53]),w(r,"userid",e[2]),w(r,"endpoint",e[47]),w(r,"datasource",e[48]),w(r,"lang",e[49]),w(r,"loginevent",e[7]),w(r,"registerevent",e[8]),w(r,"depositevent",e[9]),w(r,"checksession","false"),w(r,"playforfun",e[18]),w(r,"favorites",e[12]),w(r,"clientstyling",e[3]),w(r,"clientstylingurl",e[4]),w(r,"clockformat",e[5]),w(r,"haspanicbutton",e[15]),w(r,"currency",e[0]),w(r,"integratedgameframedesktop",e[22]),w(r,"integratedgameframemobile",e[23]),w(n,"session",e[53]),w(n,"userid",e[2]),w(n,"endpoint",e[47]),w(n,"datasource",e[48]),w(n,"lang",e[49]),w(n,"sessioncheck","false"),w(n,"clientstyling",e[3]),w(n,"clientstylingurl",e[4]),w(n,"gamepagemodalurl",e[24]),w(n,"haspanicbutton",e[15])},m(e,t){de(e,n,t),ue(n,r)},p(e,t){4194304&t[1]&&w(r,"session",e[53]),4&t[0]&&w(r,"userid",e[2]),65536&t[1]&&w(r,"endpoint",e[47]),131072&t[1]&&w(r,"datasource",e[48]),262144&t[1]&&w(r,"lang",e[49]),128&t[0]&&w(r,"loginevent",e[7]),256&t[0]&&w(r,"registerevent",e[8]),512&t[0]&&w(r,"depositevent",e[9]),262144&t[0]&&w(r,"playforfun",e[18]),4096&t[0]&&w(r,"favorites",e[12]),8&t[0]&&w(r,"clientstyling",e[3]),16&t[0]&&w(r,"clientstylingurl",e[4]),32&t[0]&&w(r,"clockformat",e[5]),32768&t[0]&&w(r,"haspanicbutton",e[15]),1&t[0]&&w(r,"currency",e[0]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),4194304&t[1]&&w(n,"session",e[53]),4&t[0]&&w(n,"userid",e[2]),65536&t[1]&&w(n,"endpoint",e[47]),131072&t[1]&&w(n,"datasource",e[48]),262144&t[1]&&w(n,"lang",e[49]),8&t[0]&&w(n,"clientstyling",e[3]),16&t[0]&&w(n,"clientstylingurl",e[4]),16777216&t[0]&&w(n,"gamepagemodalurl",e[24]),32768&t[0]&&w(n,"haspanicbutton",e[15])},d(e){e&&he(n)}}}function tl(n){let r,i,a;function o(e){return e[51]?Qs:qs}let s=o(n),l=s(n);return{c(){r=pe("div"),l.c(),this.c=Z,fe(r,"class",i=n[50]?"DisplayNone":""),fe(r,"part",a=n[50]?"DisplayNone":"")},m(e,t){de(e,r,t),l.m(r,null),n[67](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(r,null))),524288&t[1]&&i!==(i=e[50]?"DisplayNone":"")&&fe(r,"class",i),524288&t[1]&&a!==(a=e[50]?"DisplayNone":"")&&fe(r,"part",a)},i:Z,o:Z,d(e){e&&he(r),l.d(),n[67](null)}}}function nl(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:u=""}=t,{userid:d=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y=""}=t,{loginurl:b=""}=t,{registerurl:v=""}=t,{depositurl:w=""}=t,{loginevent:x=""}=t,{registerevent:$=""}=t,{depositevent:C=""}=t,{mostplayed:S=""}=t,{mostplayedrounds:F=""}=t,{favorites:k=""}=t,{desktopoffset:M="0"}=t,{mobileoffset:_="0"}=t,{alternativesearch:E="false"}=t,{containermaxwidth:R=""}=t,{haspanicbutton:A="false"}=t,{activecategory:I="LOBBY"}=t,{actionevent:D="CategoryChange"}=t,{livecasino:H="false"}=t,{playforfun:N="true"}=t,{gamemodal:O="true"}=t,{playrandomgame:j="false"}=t,{visiblegames:U="10"}=t,{integratedgameframedesktop:W="false"}=t,{integratedgameframemobile:z="false"}=t,{gamepagemodalurl:Y="false"}=t,{enablejackpotbanner:V=""}=t,{enablecasinowinners:Z=""}=t,{tabsorder:J=""}=t,{enableautoscroll:K=""}=t,{istopavailable:X=""}=t,{isrecentavailable:q=""}=t,{periodrecent:Q=""}=t,{periodtop:ee=""}=t,{numberusersrecent:te=""}=t,{numberuserstop:ne=""}=t,{amountlimit:re=""}=t,{defaultcurrency:ie=""}=t,{caticon0:ae=""}=t,{caticon1:oe=""}=t,{caticon2:se=""}=t,{caticon3:le=""}=t,{backgroundsrc:ce=""}=t,{backgroundsrcmobile:ue=""}=t,{titlelogopath:de=""}=t,{iconlabels:he=""}=t,{visualstructure:pe=""}=t,{showsubgroups:me=""}=t,{randombuttonicon:ge=""}=t,T=!1,L=!1,G="Loading, please wait ...",B="",fe=window.navigator.userAgent,P=0,ye=!1;var be,ve;({withLocale:be,translations:ve}={withLocale:"en",translations:{}}),st.subscribe(e=>{null==e&&(_r.set(ve),st.set(be))});const we=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":(ye=e.data.scrollTop)&&(P||n(54,P="PC"===ct(fe)?parseInt(M):parseInt(_)),window.scrollTo({top:P}));break;case"UserSessionID":n(53,B=e.data.session),e.data.userID;break;case"CategoryChange":n(1,I=e.data.itemId)}};return dt(()=>(window.addEventListener("message",we,!1),n(54,P="PC"===ct(fe)?parseInt(M):parseInt(_)),()=>{window.removeEventListener("message",we)})),e.$$set=e=>{"endpoint"in e&&n(56,s=e.endpoint),"datasource"in e&&n(57,l=e.datasource),"lang"in e&&n(58,c=e.lang),"session"in e&&n(59,u=e.session),"userid"in e&&n(2,d=e.userid),"opsession"in e&&n(60,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(0,y=e.currency),"loginurl"in e&&n(61,b=e.loginurl),"registerurl"in e&&n(62,v=e.registerurl),"depositurl"in e&&n(63,w=e.depositurl),"loginevent"in e&&n(7,x=e.loginevent),"registerevent"in e&&n(8,$=e.registerevent),"depositevent"in e&&n(9,C=e.depositevent),"mostplayed"in e&&n(10,S=e.mostplayed),"mostplayedrounds"in e&&n(11,F=e.mostplayedrounds),"favorites"in e&&n(12,k=e.favorites),"desktopoffset"in e&&n(64,M=e.desktopoffset),"mobileoffset"in e&&n(65,_=e.mobileoffset),"alternativesearch"in e&&n(13,E=e.alternativesearch),"containermaxwidth"in e&&n(14,R=e.containermaxwidth),"haspanicbutton"in e&&n(15,A=e.haspanicbutton),"activecategory"in e&&n(1,I=e.activecategory),"actionevent"in e&&n(16,D=e.actionevent),"livecasino"in e&&n(17,H=e.livecasino),"playforfun"in e&&n(18,N=e.playforfun),"gamemodal"in e&&n(19,O=e.gamemodal),"playrandomgame"in e&&n(20,j=e.playrandomgame),"visiblegames"in e&&n(21,U=e.visiblegames),"integratedgameframedesktop"in e&&n(22,W=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(23,z=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(24,Y=e.gamepagemodalurl),"enablejackpotbanner"in e&&n(25,V=e.enablejackpotbanner),"enablecasinowinners"in e&&n(26,Z=e.enablecasinowinners),"tabsorder"in e&&n(27,J=e.tabsorder),"enableautoscroll"in e&&n(28,K=e.enableautoscroll),"istopavailable"in e&&n(29,X=e.istopavailable),"isrecentavailable"in e&&n(30,q=e.isrecentavailable),"periodrecent"in e&&n(31,Q=e.periodrecent),"periodtop"in e&&n(32,ee=e.periodtop),"numberusersrecent"in e&&n(33,te=e.numberusersrecent),"numberuserstop"in e&&n(34,ne=e.numberuserstop),"amountlimit"in e&&n(35,re=e.amountlimit),"defaultcurrency"in e&&n(36,ie=e.defaultcurrency),"caticon0"in e&&n(37,ae=e.caticon0),"caticon1"in e&&n(38,oe=e.caticon1),"caticon2"in e&&n(39,se=e.caticon2),"caticon3"in e&&n(40,le=e.caticon3),"backgroundsrc"in e&&n(41,ce=e.backgroundsrc),"backgroundsrcmobile"in e&&n(42,ue=e.backgroundsrcmobile),"titlelogopath"in e&&n(43,de=e.titlelogopath),"iconlabels"in e&&n(44,he=e.iconlabels),"visualstructure"in e&&n(66,pe=e.visualstructure),"showsubgroups"in e&&n(45,me=e.showsubgroups),"randombuttonicon"in e&&n(46,ge=e.randombuttonicon)},e.$$.update=()=>{if(134217728&e.$$.dirty[1]&&c&&Qr(c),4&e.$$.dirty[0]|301989888&e.$$.dirty[1]&&u&&d&&s&&qr(s,u).then(e=>{n(53,B=e.Guid),e.UserID,n(0,y=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),5120&e.$$.dirty[0]|234881024&e.$$.dirty[1]&&s&&l&&c&&S&&k&&(s||(n(52,G="Endpoint is missing! Please provide a valid endpointURL."),n(51,L=!0),console.error(G)),l||(n(52,G="Datasource is missing! Please provide a valid datasource."),n(51,L=!0),console.error(G)),(!c||c.length<2)&&(n(52,G="Language is missing! Please provide a valid language (alpha2code)"),n(51,L=!0),console.error(G)),Qr(c),n(47,r=s),n(48,i=l),n(49,a=c),n(51,L=!1)),536870912&e.$$.dirty[1]&&h&&n(53,B=h),8&e.$$.dirty[0]&&p){let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)}if(16&e.$$.dirty[0]&&m){n(50,T=!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(50,T=!1)},500))})}},[y,I,d,p,m,g,f,x,$,C,S,F,k,E,R,A,D,H,N,O,j,U,W,z,Y,V,Z,J,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,ue,de,he,me,ge,r,i,a,T,L,G,B,P,o,s,l,c,u,h,b,v,w,M,_,pe,function(e){ot[e?"unshift":"push"](()=>{o=e,n(55,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends i{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'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.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}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.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:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Xs,Ks,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,loginurl:35,registerurl:36,depositurl:37,loginevent:38,registerevent:39,depositevent:40,clockformat:41,haspanicbutton:0,playforfun:42,checksession:43,gamebanneractive:1,gameid:44},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get loginurl(){return this.$$.ctx[35]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[36]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[37]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[38]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[39]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[40]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[41]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[42]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[43]}set checksession(e){this.$$set({checksession:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[44]}set gameid(e){this.$$set({gameid:e}),f()}});class rl extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},nl,tl,t,{endpoint:56,datasource:57,lang:58,session:59,userid:2,opsession:60,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:0,loginurl:61,registerurl:62,depositurl:63,loginevent:7,registerevent:8,depositevent:9,mostplayed:10,mostplayedrounds:11,favorites:12,desktopoffset:64,mobileoffset:65,alternativesearch:13,containermaxwidth:14,haspanicbutton:15,activecategory:1,actionevent:16,livecasino:17,playforfun:18,gamemodal:19,playrandomgame:20,visiblegames:21,integratedgameframedesktop:22,integratedgameframemobile:23,gamepagemodalurl:24,enablejackpotbanner:25,enablecasinowinners:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,periodrecent:31,periodtop:32,numberusersrecent:33,numberuserstop:34,amountlimit:35,defaultcurrency:36,caticon0:37,caticon1:38,caticon2:39,caticon3:40,backgroundsrc:41,backgroundsrcmobile:42,titlelogopath:43,iconlabels:44,visualstructure:66,showsubgroups:45,randombuttonicon:46},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}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","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","enablejackpotbanner","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","showsubgroups","randombuttonicon"]}get endpoint(){return this.$$.ctx[56]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[57]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[58]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[59]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[60]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get loginurl(){return this.$$.ctx[61]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[62]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[63]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[7]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[8]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[9]}set depositevent(e){this.$$set({depositevent:e}),f()}get mostplayed(){return this.$$.ctx[10]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[11]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get favorites(){return this.$$.ctx[12]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[64]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[65]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[14]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[15]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[16]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[17]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[18]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[19]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[20]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[21]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[22]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[23]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablejackpotbanner(){return this.$$.ctx[25]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get enablecasinowinners(){return this.$$.ctx[26]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get periodrecent(){return this.$$.ctx[31]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[32]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[33]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[34]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[35]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[36]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get caticon0(){return this.$$.ctx[37]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[38]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[39]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[40]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[41]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[42]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[43]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[44]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[66]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get showsubgroups(){return this.$$.ctx[45]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get randombuttonicon(){return this.$$.ctx[46]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",rl),rl});
32
+ `},V,Z,J,b,v,C,ee,S,F,k,M,_,E,I,T,L,he,pe,function(e){ct[e?"unshift":"push"](()=>{a=e,o(17,a)})},()=>fe(x),()=>ge(x),()=>fe(x),function(e){ct[e?"unshift":"push"](()=>{y=e,o(12,y)})},function(e){ct[e?"unshift":"push"](()=>{s=e,o(18,s)})}]}function Qi(e,t,n){const r=e.slice();return r[77]=t[n],r[79]=n,r}function ea(e,t,n){const r=e.slice();return r[77]=t[n],r[80]=t,r[79]=n,r}function ta(e,t,n){const r=e.slice();return r[77]=t[n],r[79]=n,r}function na(e){let n;function r(e){return e[14]?oa:e[24]?aa:void 0}let i=r(e),a=i&&i(e);return{c(){n=pe("div"),a&&a.c()},m(e,t){de(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.c(),a.m(n,null)))},d(e){e&&he(n),a&&a.d()}}}function ra(e){let n,r,i;function a(e){return e[18]?Sa:e[15].length?Ca:$a}let o=a(e),s=o(e);function l(e){return e[15]?ka:Fa}let c=l(e),u=c(e);return{c(){n=pe("div"),r=pe("div"),s.c(),i=ge(),u.c(),fe(r,"class","CasinoGamesHeader Searched "+(dt(e[30])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(dt(e[30])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){de(e,n,t),ue(n,r),s.m(r,null),ue(n,i),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),(u=c(e))&&(u.c(),u.m(n,null)))},d(e){e&&he(n),s.d(),u.d()}}}function ia(e){let n;function r(e){return e[20]?Ia:Ea}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function aa(n){let r,i,a,o,s,l,c,u,d=n[29]("gamesCategorySection.favorites")+"";function h(e){return e[28]?la:sa}let p=h(n),m=p(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(d),s=ge(),l=pe("ul"),m.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(l,"class",c=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(l,"part",u=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),n[50](a),ue(r,s),ue(r,l),m.m(l,null),n[51](l)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.favorites")+"")&&ye(o,d),p===(p=h(e))&&m?m.p(e,t):(m.d(1),(m=p(e))&&(m.c(),m.m(l,null))),268435456&t[0]&&c!==(c=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"class",c),268435456&t[0]&&u!==(u=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"part",u)},d(e){e&&he(r),n[50](null),m.d(),n[51](null)}}}function oa(n){let r,i,a,o,s,l,c=n[14].name+"",u=n[16]&&ba(n);function d(e){return 0!==e[15].length?wa:va}let h=d(n),p=h(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(c),s=ge(),u&&u.c(),l=ge(),p.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),n[46](a),ue(i,s),u&&u.m(i,null),ue(r,l),p.m(r,null)},p(e,t){16384&t[0]&&c!==(c=e[14].name+"")&&ye(o,c),e[16]?u?u.p(e,t):((u=ba(e)).c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(r,null)))},d(e){e&&he(r),n[46](null),u&&u.d(),p.d()}}}function sa(e){let n,r,i=e[29]("gamesCategorySection.waiting")+"";return{c(){n=pe("p"),r=me(i)},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.waiting")+"")&&ye(r,i)},d(e){e&&he(n)}}}function la(t){let r,i=t[28].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=ya(Qi(t,i,e));let o=null;return i.length||(o=ca(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);de(t,r,n),o&&o.m(t,n)},p(t,n){if(2097156095&n[0]){let e;for(i=t[28].items,e=0;e<i.length;e+=1){const o=Qi(t,i,e);a[e]?a[e].p(o,n):(a[e]=ya(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=ca(t)).c(),o.m(r.parentNode,r))}},d(e){R(a,e),e&&he(r),o&&o.d(e)}}}function ca(e){let n,r,i,a,o,s,l,c,t,u,d=e[29]("gamesCategorySection.noFavoritesTitle")+"",h=(m=e,dt(m[30])?da:ua),p=h(e);var m;return{c(){n=pe("p"),r=k("svg"),i=k("path"),a=ge(),o=pe("span"),s=me(d),l=ge(),p.c(),c=ge(),B(i,"fill","white"),fe(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"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","50px"),fe(r,"y","50px"),fe(r,"viewBox","0 0 512.001 512.001"),B(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(dt(e[30])?"NoFavoriteGamesMobile":"")),fe(n,"part",u="NoFavoriteGames "+(dt(e[30])?"NoFavoriteGamesMobile":""))},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(n,a),ue(n,o),ue(o,s),ue(n,l),p.m(n,null),ue(n,c)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,d),p.p(e,t)},d(e){e&&he(n),p.d()}}}function ua(e){let n,r,i=e[29]("gamesCategorySection.noFavorites")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavorites")+"")&&ye(r,i)},d(e){e&&he(n)}}}function da(e){let n,r,i=e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ha(e){let n,r=e[77].gameModel.isFavorite&&pa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[77].gameModel.isFavorite?r?r.p(e,t):((r=pa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function pa(e){let n,r=function(e){let n,r,i;function a(e,t){return 268435456&t[0]&&(r=null),(n=null==n?!!dt(e[30]):n)?ga:(r=null==r?!!e[77].gameModel.platform.includes("PC"):r)?ma: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),de(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.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&he(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function ma(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(C+(e[77].cellSize||"1x1"))),w(n,"part",i=""+(C+(e[77].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[77].gameModel.thumbnail),w(n,"gamename",o=e[77].gameModel.name),w(n,"gamevendor",s=e[77].gameModel.vendor.name),w(n,"gameisnew",l=e[77].gameModel.isNew),w(n,"gamepopularity",c=e[77].gameModel.popularity),w(n,"gamecellsize",u=e[77].cellSize),w(n,"gameid",d=e[77].gameModel.id),w(n,"gamefunmode",h=e[77].gameModel.hasFunMode),w(n,"gamefavorite",p=e[77].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",m=1==e[26][e[77].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[77].gameModel.details?e[77].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(C+(e[77].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&i!==(i=""+(C+(e[77].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[77].gameModel.thumbnail)&&w(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[77].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[77].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[77].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[77].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&u!==(u=e[77].cellSize)&&w(n,"gamecellsize",u),268435456&t[0]&&d!==(d=e[77].gameModel.id)&&w(n,"gameid",d),268435456&t[0]&&h!==(h=e[77].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[77].gameModel.isFavorite)&&w(n,"gamefavorite",p),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&m!==(m=1==e[26][e[77].id]?"connect":"disconnect")&&w(n,"connectlive",m),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function ga(e){let n,r=e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"),i=r&&fa(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),de(e,n,t)},p(e,t){(r=268435456&t[0]?e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"):r)?i?i.p(e,t):((i=fa(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function fa(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(C+(e[77].cellSize||"1x1"))),w(n,"part",i=""+(C+(e[77].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[77].gameModel.thumbnail),w(n,"gamename",o=e[77].gameModel.name),w(n,"gamevendor",s=e[77].gameModel.vendor.name),w(n,"gameisnew",l=e[77].gameModel.isNew),w(n,"gamepopularity",c=e[77].gameModel.popularity),w(n,"gamecellsize",u=e[77].cellSize),w(n,"gameid",d=e[77].gameModel.id),w(n,"gamefunmode",h=e[77].gameModel.hasFunMode),w(n,"gamefavorite",p=e[77].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",m=1==e[26][e[77].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[77].gameModel.details?e[77].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(C+(e[77].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&i!==(i=""+(C+(e[77].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[77].gameModel.thumbnail)&&w(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[77].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[77].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[77].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[77].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&u!==(u=e[77].cellSize)&&w(n,"gamecellsize",u),268435456&t[0]&&d!==(d=e[77].gameModel.id)&&w(n,"gameid",d),268435456&t[0]&&h!==(h=e[77].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[77].gameModel.isFavorite)&&w(n,"gamefavorite",p),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&m!==(m=1==e[26][e[77].id]?"connect":"disconnect")&&w(n,"connectlive",m),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function ya(e){let n,r=e[77].gameModel&&ha(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[77].gameModel?r?r.p(e,t):((r=ha(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ba(n){let r,i,a,o,s,l,c,u,d=n[29]("gamesCategorySection.viewAll")+"",h=n[14].games.total+"";return{c(){r=pe("a"),i=pe("span"),a=me(d),o=me(" ("),s=me(h),l=me(")"),fe(i,"class","CategoryLoadMore"),fe(i,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),ue(i,l),c||(u=K(r,"click",n[47]),c=!0)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.viewAll")+"")&&ye(a,d),16384&t[0]&&h!==(h=e[14].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,u()}}}function va(e){let n;return{c(){(n=pe("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function wa(n){let r,e,i,a=n[15],o=[];for(let e=0;e<a.length;e+=1)o[e]=xa(ea(n,a,e));return{c(){r=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",i=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){de(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[49](r)},p(t,n){if(201367551&n[0]){let e;for(a=t[15],e=0;e<a.length;e+=1){const i=ea(t,a,e);o[e]?o[e].p(i,n):(o[e]=xa(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}285212672&n[0]&&e!==(e=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),285212672&n[0]&&i!==(i=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",i)},d(e){e&&he(r),R(o,e),n[49](null)}}}function xa(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=n[79];const b=()=>n[48](r,y),v=()=>n[48](null,y);return{c(){w(r=pe("casino-game-thumbnail"),"session",n[2]),w(r,"userid",n[3]),w(r,"lang",n[1]),w(r,"class",i=""+(C+(n[77].cellSize||"1x1"))),w(r,"part",a=""+(C+(n[77].cellSize||"1x1"))),w(r,"favorites",n[4]),w(r,"gamethumbnail",o=n[77].thumbnail),w(r,"gamename",s=n[77].name),w(r,"gamevendor",l=n[77].vendor.name),w(r,"gameisnew",c=n[77].isNew),w(r,"gamepopularity",u=n[77].popularity),w(r,"gamecellsize",d=n[77].cellSize),w(r,"gameid",h=n[77].id),w(r,"gamefunmode",p=n[77].hasFunMode),w(r,"gamefavorite",m=n[77].isFavorite),w(r,"connectlive",g=1==n[26][n[77].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[27]),w(r,"currency",n[7]),w(r,"livelobbyendpoint",f=n[77].details?n[77].href:""),w(r,"clientstyling",n[5]),w(r,"clientstylingurl",n[6]),w(r,"endpoint",n[0]),w(r,"livecasino",n[8]),w(r,"gamepagemodalurl",n[9]),w(r,"integratedgameframedesktop",n[10]),w(r,"integratedgameframemobile",n[11])},m(e,t){de(e,r,t),b()},p(e,t){n=e,4&t[0]&&w(r,"session",n[2]),8&t[0]&&w(r,"userid",n[3]),2&t[0]&&w(r,"lang",n[1]),32768&t[0]&&i!==(i=""+(C+(n[77].cellSize||"1x1")))&&w(r,"class",i),32768&t[0]&&a!==(a=""+(C+(n[77].cellSize||"1x1")))&&w(r,"part",a),16&t[0]&&w(r,"favorites",n[4]),32768&t[0]&&o!==(o=n[77].thumbnail)&&w(r,"gamethumbnail",o),32768&t[0]&&s!==(s=n[77].name)&&w(r,"gamename",s),32768&t[0]&&l!==(l=n[77].vendor.name)&&w(r,"gamevendor",l),32768&t[0]&&c!==(c=n[77].isNew)&&w(r,"gameisnew",c),32768&t[0]&&u!==(u=n[77].popularity)&&w(r,"gamepopularity",u),32768&t[0]&&d!==(d=n[77].cellSize)&&w(r,"gamecellsize",d),32768&t[0]&&h!==(h=n[77].id)&&w(r,"gameid",h),32768&t[0]&&p!==(p=n[77].hasFunMode)&&w(r,"gamefunmode",p),32768&t[0]&&m!==(m=n[77].isFavorite)&&w(r,"gamefavorite",m),67141632&t[0]&&g!==(g=1==n[26][n[77].id]?"connect":"disconnect")&&w(r,"connectlive",g),134217728&t[0]&&w(r,"visibilityconnect",n[27]),128&t[0]&&w(r,"currency",n[7]),32768&t[0]&&f!==(f=n[77].details?n[77].href:"")&&w(r,"livelobbyendpoint",f),32&t[0]&&w(r,"clientstyling",n[5]),64&t[0]&&w(r,"clientstylingurl",n[6]),1&t[0]&&w(r,"endpoint",n[0]),256&t[0]&&w(r,"livecasino",n[8]),512&t[0]&&w(r,"gamepagemodalurl",n[9]),1024&t[0]&&w(r,"integratedgameframedesktop",n[10]),2048&t[0]&&w(r,"integratedgameframemobile",n[11]),y!==n[79]&&(v(),y=n[79],b())},d(e){e&&he(r),v()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function Ca(e){let n,r,i=e[29]("gamesCategorySection.searchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.searchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function $a(e){let n,r,i=e[29]("gamesCategorySection.noResults")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noResults")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Sa(e){let n,r,i=e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Fa(e){let n;return{c(){(n=pe("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function ka(t){let r,i,a=!t[21]&&Ma(t),o=t[15],s=[];for(let e=0;e<o.length;e+=1)s[e]=_a(ta(t,o,e));return{c(){a&&a.c(),r=ge(),i=pe("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),de(e,r,t),de(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[21]?a&&(a.d(1),a=null):a?a.p(t,n):((a=Ma(t)).c(),a.m(r.parentNode,r)),561151&n[0]){let e;for(o=t[15],e=0;e<o.length;e+=1){const a=ta(t,o,e);s[e]?s[e].p(a,n):(s[e]=_a(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&&he(r),e&&he(i),R(s,e)}}}function Ma(e){let n,r,t,i,a=e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){n=pe("p"),r=me(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(dt(e[30])?"NoRecentSearchesMobile":"")),fe(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(dt(e[30])?"NoRecentSearchesMobile":""))},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noRecentSearch")+"")&&ye(r,a)},d(e){e&&he(n)}}}function _a(e){let n,r,i,a,o,s,l,c,u,d,h,p,m;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(C+(e[77].cellSize||"1x1"))),w(n,"part",i=""+(C+(e[77].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"searchitem",e[19]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[77].thumbnail),w(n,"gamename",o=e[77].name),w(n,"gamevendor",s=e[77].vendor.name),w(n,"gameisnew",l=e[77].isNew),w(n,"gamepopularity",c=e[77].popularity),w(n,"gamecellsize",u=e[77].cellSize),w(n,"gameid",d=e[77].id),w(n,"gamefunmode",h=e[77].hasFunMode),w(n,"gamefavorite",p=e[77].isFavorite),w(n,"currency",e[7]),w(n,"livelobbyendpoint",m=e[77].details?e[77].href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){32768&t[0]&&r!==(r=""+(C+(e[77].cellSize||"1x1")))&&w(n,"class",r),32768&t[0]&&i!==(i=""+(C+(e[77].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),524288&t[0]&&w(n,"searchitem",e[19]),16&t[0]&&w(n,"favorites",e[4]),32768&t[0]&&a!==(a=e[77].thumbnail)&&w(n,"gamethumbnail",a),32768&t[0]&&o!==(o=e[77].name)&&w(n,"gamename",o),32768&t[0]&&s!==(s=e[77].vendor.name)&&w(n,"gamevendor",s),32768&t[0]&&l!==(l=e[77].isNew)&&w(n,"gameisnew",l),32768&t[0]&&c!==(c=e[77].popularity)&&w(n,"gamepopularity",c),32768&t[0]&&u!==(u=e[77].cellSize)&&w(n,"gamecellsize",u),32768&t[0]&&d!==(d=e[77].id)&&w(n,"gameid",d),32768&t[0]&&h!==(h=e[77].hasFunMode)&&w(n,"gamefunmode",h),32768&t[0]&&p!==(p=e[77].isFavorite)&&w(n,"gamefavorite",p),128&t[0]&&w(n,"currency",e[7]),32768&t[0]&&m!==(m=e[77].details?e[77].href:"")&&w(n,"livelobbyendpoint",m),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ea(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ia(e){let n;return{c(){(n=pe("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ta(n){let r;function i(e){return e[13]?ia:e[17]?ra:na}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){de(e,r,t),o.m(r,null),n[52](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[52](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends r{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:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.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>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},qi,Vi,t,{session:47,userid:48,lang:49,clientstyling:50,clientstylingurl:51,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:52,searchitem:53,gamefavorite:0,gamecellsize:8,showfavoredcategory:54,showgamename:9,currency:55,gamepagemodalurl:56,endpoint:57,livelobbyendpoint:58,connectlive:59,visibilityconnect:60,integratedgameframedesktop:61,integratedgameframemobile:62,MONEY_WHEEL_COLOR_MAP:63,ROULETTE_COLOR_MAP:64},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[49]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),f()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[53]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[54]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[56]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[57]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[58]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[59]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[60]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[61]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[62]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[63]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[64]}});const C="game-tile-";function La(e,t,s){let R;pt(e,Kr,e=>s(29,R=e));let n,i,a,r,A,o,l,c,u,d,{categoryindex:D=""}=t,{endpoint:h=""}=t,{datasource:p=""}=t,{lang:m=""}=t,{session:H=""}=t,{userid:N=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{currency:O=""}=t,{categoryid:b=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:W=""}=t,{gamepagemodalurl:z="false"}=t,{enablecasinowinners:Y="true"}=t,{integratedgameframedesktop:V="false"}=t,{integratedgameframemobile:Z="false"}=t,{tabsorder:J=""}=t,{enableautoscroll:K=""}=t,{once:X=!0}=t,{top:q=0}=t,{bottom:Q=0}=t,{left:ee=0}=t,{right:te=0}=t,v=!1,w=!0,ne=window.navigator.userAgent,x=[],C=!0,$=40,S=!1,F=!1,re=!1,k=!1,M=!1,_=!0,E=!1,I=!1,T=!1,L=new Array(1e4),G={},ie="",B={items:[],count:0,name:""},ae=(Object.keys(xi).forEach(e=>{Ir(e,xi[e])}),void 0!==document.hidden?u="hidden":void 0!==document.msHidden?u="msHidden":void 0!==document.webkitHidden&&(u="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>$&&le(b),s(26,G[t]=1,G)):s(26,G[t]=0,G)})}));const oe=(e,r,i,t=0)=>{let n,a="",o=(a=1<(b.match(/\$/g)||[]).length?(n=b.split("$").slice(0,2).join("$"),new URL(`${h}/casino/groups/${p}/${n}/subGroups`)):new URL(`${h}/casino/groups/${p}/`+b),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",ht(ne)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",m),window.postMessage({type:"CategoryVendors",categoryid:b},window.location.href),o&&o[b])if(o[b].length&&!1===w&&!1===E){let t="";s(20,M=!0),o[b].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(20,M=!1);fetch(a).then(e=>e.json()).then(e=>{1<(b.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==b)return e})[0]),s(45,d=!0),s(13,v=!1),A=e.games.total,t(e)},e=>{s(13,v=!0),console.error(e),n(e)})})},se=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(17,S=!1),w=!1,s(16,C=!1),I=!0,s(15,x=t.data.mostPlayedGames),s(14,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(17,S=!0),I=!1,s(18,F=!0),0<t.data.searchData.length?(s(15,x=t.data.searchData),s(21,_=!0),x&&x.forEach(e=>{e.isFavorite=P(e.id)})):(s(15,x=[]),s(21,_=!1));break;case"OutOfRecentSearches":s(17,S=!1),s(18,F=!1);break;case"SearchData":s(17,S=!0),I=!1,s(18,F=!1),s(15,x=t.data.searchData.items||[]),s(19,k=!0),t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=P(e.id)});break;case"CategoryData_"+b:s(17,S=!1),w=!0,s(16,C=!0),s(19,k=!1),I=!1,T=!1,t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),oe(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(14,a=e),s(15,x=a.games.items),x&&x.forEach(e=>{e.isFavorite=P(e.id)})});break;case"CategoryChange":$=20;break;case"CategoryUpdate":s(17,S=!1),w=!1,s(19,k=!1),I=!1,T=!0,s(32,b=t.data.itemId),"MOSTPLAYED"!==b&&s(16,C=!1),oe(0,0,$).then(e=>{s(14,a=e),a.games.items.forEach(e=>{e.isFavorite=P(e.id)}),s(15,x=a.games.items),s(16,C=!1),x.length<10&&(re=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:re},window.location.href)},500))});break;case"FavoriteUpdate":I=!1,w=!0,s(15,x=a.games.items),x.forEach(e=>{e.isFavorite=P(e.id)});break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items,E?w||I||window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(28,B.items=Xr(e,B.items),B),s(28,B.name="Favorites",B),s(24,E=!0));break;case"UserSessionID":if(n=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&n&&0<n.length){var r=`${h}/player/${i}/favorites/`;let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{l=e?e.items:[],x.forEach(e=>{e.isFavorite=P(e.id)});e=x;s(15,x=void 0),s(15,x=e),t(l)}).catch(e=>{console.error(e),n(e)})})}}},le=e=>{($+=1)<=A&&oe(0,0,$).then(e=>{s(14,a=e),a.games.items.length>x.length&&(s(15,x=a.games.items),x.forEach(e=>{e.isFavorite=P(e.id)}))})},P=t=>!!l&&-1!==l.findIndex(e=>e.id==t),ce=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return mt(()=>(window.addEventListener("visibilitychange",e=>{document[u]?s(27,ie="disconnect"):s(27,ie="connect")}),window.addEventListener("message",se,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",se),window.removeEventListener("visibilitychange",se)})),e.$$set=e=>{"categoryindex"in e&&s(33,D=e.categoryindex),"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(34,p=e.datasource),"lang"in e&&s(1,m=e.lang),"session"in e&&s(2,H=e.session),"userid"in e&&s(3,N=e.userid),"favorites"in e&&s(4,g=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"currency"in e&&s(7,O=e.currency),"categoryid"in e&&s(32,b=e.categoryid),"categorygames"in e&&s(35,j=e.categorygames),"livecasino"in e&&s(8,U=e.livecasino),"visiblegames"in e&&s(36,W=e.visiblegames),"gamepagemodalurl"in e&&s(9,z=e.gamepagemodalurl),"enablecasinowinners"in e&&s(37,Y=e.enablecasinowinners),"integratedgameframedesktop"in e&&s(10,V=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,Z=e.integratedgameframemobile),"tabsorder"in e&&s(38,J=e.tabsorder),"enableautoscroll"in e&&s(39,K=e.enableautoscroll),"once"in e&&s(40,X=e.once),"top"in e&&s(41,q=e.top),"bottom"in e&&s(42,Q=e.bottom),"left"in e&&s(43,ee=e.left),"right"in e&&s(44,te=e.right)},e.$$.update=()=>{if(4096&e.$$.dirty[0]|16384&e.$$.dirty[1]&&d&&L&&T&&L.forEach((e,t)=>{e&&(e.elems_index=t,ae.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&f){let e=document.createElement("style");e.innerHTML=f,setTimeout(()=>{c.appendChild(e)})}if(64&e.$$.dirty[0]&&y){let t=document.createElement("style");fetch(new URL(y)).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&setTimeout(()=>{c.appendChild(t)},1)})}},[h,m,H,N,g,f,y,O,U,z,V,Z,L,v,a,x,C,S,F,k,M,_,r,o,E,c,G,ie,B,R,ne,ce,b,D,p,j,W,Y,J,K,X,q,Q,ee,te,d,function(e){ct[e?"unshift":"push"](()=>{o=e,s(23,o)})},e=>ce(a.id,a),function(e,t){ct[e?"unshift":"push"](()=>{L[t]=e,s(12,L)})},function(e){ct[e?"unshift":"push"](()=>{r=e,s(22,r)})},function(e){ct[e?"unshift":"push"](()=>{o=e,s(23,o)})},function(e){ct[e?"unshift":"push"](()=>{r=e,s(22,r)})},function(e){ct[e?"unshift":"push"](()=>{c=e,s(25,c)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends r{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}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},La,Ta,t,{categoryindex:33,endpoint:0,datasource:34,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:32,categorygames:35,livecasino:8,visiblegames:36,gamepagemodalurl:9,enablecasinowinners:37,integratedgameframedesktop:10,integratedgameframemobile:11,tabsorder:38,enableautoscroll:39,once:40,top:41,bottom:42,left:43,right:44},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","enablecasinowinners","integratedgameframedesktop","integratedgameframemobile","tabsorder","enableautoscroll","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[33]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[34]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[32]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[35]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[36]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[37]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get tabsorder(){return this.$$.ctx[38]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[39]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get once(){return this.$$.ctx[40]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[41]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[42]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[43]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[44]}set right(e){this.$$set({right:e}),f()}});const Ga={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Ba(e,t,n){const r=e.slice();return r[23]=t[n],r[25]=n,r}function Pa(n){let r,i,a,o,s,l,c,u=!n[5]&&Ra(n),d=n[5]&&Da(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("span")).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=ge(),u&&u.c(),s=ge(),d&&d.c(),fe(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),u&&u.m(i,null),ue(i,s),d&&d.m(i,null),l||(c=K(a,"click",n[9]),l=!0)},p(e,t){e[5]?u&&(u.d(1),u=null):u?u.p(e,t):((u=Ra(e)).c(),u.m(i,s)),e[5]?d?d.p(e,t):((d=Da(e)).c(),d.m(i,null)):d&&(d.d(1),d=null)},d(e){e&&he(r),u&&u.d(),d&&d.d(),l=!1,c()}}}function Ra(t){let n,r,i,a,o,s,e=t[6]("randomGame.randomGameLoading")+"",l=t[2],c=[];for(let e=0;e<l.length;e+=1)c[e]=Aa(Ba(t,l,e));return{c(){n=pe("div"),r=pe("main"),i=pe("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ge(),o=pe("p"),s=me(e),fe(i,"class","items"),fe(i,"part","items"),B(i,"transform","translateY("+t[4]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);ue(n,a),ue(n,o),ue(o,s)},p(t,n){if(4&n){let e;for(l=t[2],e=0;e<l.length;e+=1){var r=Ba(t,l,e);c[e]?c[e].p(r,n):(c[e]=Aa(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}16&n&&B(i,"transform","translateY("+t[4]+"px)"),64&n&&e!==(e=t[6]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),R(c,e)}}}function Aa(e){let n,r,i,a,o,s;return{c(){n=pe("div"),r=pe("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,i=e[23].thumbnail)||fe(r,"src",i),fe(r,"alt",a=e[23].name),fe(r,"title",o=e[23].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){de(e,n,t),ue(n,r),ue(n,s)},p(e,t){4&t&&!ce(r.src,i=e[23].thumbnail)&&fe(r,"src",i),4&t&&a!==(a=e[23].name)&&fe(r,"alt",a),4&t&&o!==(o=e[23].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function Da(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$=n[1].name+"",S=n[1].vendor.name+"",F=n[6]("randomGame.playNowRandomGame")+"";return{c(){r=pe("div"),i=pe("div"),a=pe("img"),c=ge(),(u=pe("button")).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>',d=ge(),h=pe("div"),p=pe("p"),m=me($),g=ge(),f=pe("p"),y=me(S),b=ge(),v=pe("button"),w=me(F),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[1].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[1].name),fe(a,"title",l=n[1].name),fe(u,"class","RandomTryAgain"),fe(u,"part","RandomTryAgain"),fe(i,"class","item"),fe(i,"part","item"),fe(p,"class","RandomGameTitle"),fe(p,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,c),ue(i,u),ue(r,d),ue(r,h),ue(h,p),ue(p,m),ue(h,g),ue(h,f),ue(f,y),ue(h,b),ue(h,v),ue(v,w),x||(C=[K(u,"click",n[14]),K(v,"click",n[15])],x=!0)},p(e,t){2&t&&!ce(a.src,o=e[1].thumbnail)&&fe(a,"src",o),2&t&&s!==(s=e[1].name)&&fe(a,"alt",s),2&t&&l!==(l=e[1].name)&&fe(a,"title",l),2&t&&$!==($=e[1].name+"")&&ye(m,$),2&t&&S!==(S=e[1].vendor.name+"")&&ye(y,S),64&t&&F!==(F=e[6]("randomGame.playNowRandomGame")+"")&&ye(w,F)},d(e){e&&he(r),x=!1,J(C)}}}function Ha(n){let r,i,a,o,s,l,c,u,d,h,p,m=n[6]("randomGame.playRandomGame")+"",g=n[3]&&Pa(n);return{c(){r=pe("div"),i=pe("div"),g&&g.c(),a=ge(),o=pe("div"),s=pe("button"),l=pe("span"),c=me(m),u=ge(),d=pe("span"),this.c=Z,fe(l,"class","RandomButtonText"),fe(l,"part","RandomButtonText"),fe(d,"class","RandomButtonIcon"),fe(d,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(o,"class","RandomButtonWrapper"),fe(o,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),ue(r,i),g&&g.m(i,null),ue(i,a),ue(i,o),ue(o,s),ue(s,l),ue(l,c),ue(s,u),ue(s,d),d.innerHTML=n[0],h||(p=K(s,"click",n[16]),h=!0)},p(e,[t]){e[3]?g?g.p(e,t):((g=Pa(e)).c(),g.m(i,a)):g&&(g.d(1),g=null),64&t&&m!==(m=e[6]("randomGame.playRandomGame")+"")&&ye(c,m),1&t&&(d.innerHTML=e[0])},i:Z,o:Z,d(e){e&&he(r),g&&g.d(),h=!1,p()}}}function Na(t,e,n){let r;pt(t,Kr,e=>n(6,r=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,{randombuttonicon:c=""}=e,u=[],d="",h=!1,p=0,m=0,g=!1,f=window.navigator.userAgent;var y,b;({withLocale:y,translations:b}={withLocale:"en",translations:{}}),ut.subscribe(e=>{null==e&&(_r.set(b),ut.set(y))}),Object.keys(Ga).forEach(e=>{Ir(e,Ga[e])});const v=()=>{n(2,i=(e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e})(i)),n(4,p=0),m=0,n(5,g=!1),n(1,d=u[Math.floor(Math.random()*u.length)]),n(3,h=!0);let e=setInterval(()=>{n(4,p-=100),20==++m&&(n(5,g=!0),clearInterval(e))},100)},w=()=>{window.postMessage({type:s,gameId:d.gId||d.id},window.location.href),n(3,h=!1)};return t.$$set=e=>{"endpoint"in e&&n(10,a=e.endpoint),"datasource"in e&&n(11,o=e.datasource),"gameevent"in e&&n(12,s=e.gameevent),"lang"in e&&n(13,l=e.lang),"randombuttonicon"in e&&n(0,c=e.randombuttonicon)},t.$$.update=()=>{if(8192&t.$$.dirty&&l&&(e=l,ut.set(e)),3072&t.$$.dirty&&a&&o){let e=new URL(a+"/casino/games");e.searchParams.append("platform",ht(f)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,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=>{u=e.items,n(2,i=u.slice(0,19))})}var e},[c,d,i,h,p,g,r,v,w,()=>{n(3,h=!1)},a,o,s,l,()=>v(),()=>w(),()=>v()]}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends r{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);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.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;-webkit-backface-visibility:hidden}.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}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Na,Ha,t,{endpoint:10,datasource:11,gameevent:12,lang:13,randombuttonicon:0},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[12]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}});const Oa={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Hat soeben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function ja(e,t,n){const r=e.slice();return r[57]=t[n],r}function Ua(e,t,n){const r=e.slice();return r[60]=t[n],r}function Wa(n){let i,r,a,o,s,l,c,u,e,d,h,p,m,g,f,y,b,v,w,x,C=n[14],$=[];for(let e=0;e<C.length;e+=1)$[e]=Za(Ua(n,C,e));let S=n[7],F=[];for(let e=0;e<S.length;e+=1)F[e]=Ja(ja(n,S,e));return{c(){i=pe("div"),r=pe("div"),a=pe("div");for(let e=0;e<$.length;e+=1)$[e].c();o=ge(),s=pe("div"),l=pe("button"),c=k("svg"),u=k("path"),d=ge(),h=pe("button"),p=k("svg"),m=k("path"),y=ge(),b=pe("div");for(let e=0;e<F.length;e+=1)F[e].c();fe(a,"class","WinnerButtonsContainer"),fe(u,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(u,"id","Path_36"),fe(u,"data-name","Path 36"),fe(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(u,"transform","translate(14.656 0) rotate(90)"),fe(u,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(m,"style",g=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(m,"id","Path_36"),fe(m,"data-name","Path 36"),fe(m,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(m,"transform","translate(0 24.656) rotate(-90)"),fe(m,"fill","#fff"),fe(p,"id","Component_46_2"),fe(p,"data-name","Component 46 – 2"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(p,"width","15"),fe(p,"height","15"),fe(p,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){de(e,i,t),ue(i,r),ue(r,a);for(let e=0;e<$.length;e+=1)$[e].m(a,null);ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(s,d),ue(s,h),ue(h,p),ue(p,m),ue(i,y),ue(i,b);for(let e=0;e<F.length;e+=1)F[e].m(b,null);n[38](b),w||(x=[K(l,"click",n[35]),K(h,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for(C=t[14],e=0;e<C.length;e+=1){var r=Ua(t,C,e);$[e]?$[e].p(r,n):($[e]=Za(r),$[e].c(),$[e].m(a,null))}for(;e<$.length;e+=1)$[e].d(1);$.length=C.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(u,"style",e),384&n[0]&&g!==(g=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(m,"style",g),8&n[0]&&f!==(f="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&fe(s,"class",f),435348&n[0]){let e;for(S=t[7],e=0;e<S.length;e+=1){const a=ja(t,S,e);F[e]?F[e].p(a,n):(F[e]=Ja(a),F[e].c(),F[e].m(b,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=S.length}512&n[0]&&v!==(v="CasinoWinners "+(t[9]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),R($,e),R(F,e),n[38](null),w=!1,J(x)}}}function za(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ya(n){let r,i,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=pe("button"),i=me(l),fe(r,"class",a="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){de(e,r,t),ue(r,i),o||(s=K(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(i,l),65&t[0]&&a!==(a="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",a)},d(e){e&&he(r),o=!1,s()}}}function Va(n){let r,i,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=pe("button"),i=me(c),a=ge(),fe(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){de(e,r,t),ue(r,i),ue(r,a),s||(l=K(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(i,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function Za(e){let n,r,i="recent"==e[60]&&Ya(e),a="top"==e[60]&&Va(e);return{c(){i&&i.c(),n=ge(),a&&a.c(),r=c()},m(e,t){i&&i.m(e,t),de(e,n,t),a&&a.m(e,t),de(e,r,t)},p(e,t){"recent"==e[60]?i?i.p(e,t):((i=Ya(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[60]?a?a.p(e,t):((a=Va(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){i&&i.d(e),e&&he(n),a&&a.d(e),e&&he(r)}}}function Ja(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M=n[57].gameName+"",_=n[17](n[57].username)+"",E=n[15]("Translations.won")+"",I=n[57].specifiedCurrencyAmount.toFixed(2)+"",T=(n[4]?n[10]:n[2])+"";function L(){return n[37](n[57])}return{c(){r=pe("div"),i=pe("div"),a=pe("img"),l=ge(),c=pe("p"),u=me(M),d=ge(),h=pe("p"),p=me(_),m=ge(),g=pe("p"),f=me(E),y=ge(),b=pe("p"),v=me(I),w=ge(),x=pe("span"),C=me(T),$=ge(),ce(a.src,o=n[57]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[57]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(i,"class","WinnerCard"),fe(r,"class",S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,l),ue(i,c),ue(c,u),ue(i,d),ue(i,h),ue(h,p),ue(i,m),ue(i,g),ue(g,f),ue(i,y),ue(i,b),ue(b,v),ue(b,w),ue(b,x),ue(x,C),ue(r,$),F||(k=K(a,"click",L),F=!0)},p(e,t){n=e,128&t[0]&&!ce(a.src,o=n[57]?.gameModel?.thumbnail)&&fe(a,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&fe(a,"alt",s),128&t[0]&&M!==(M=n[57].gameName+"")&&ye(u,M),128&t[0]&&_!==(_=n[17](n[57].username)+"")&&ye(p,_),32768&t[0]&&E!==(E=n[15]("Translations.won")+"")&&ye(f,E),128&t[0]&&I!==(I=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,I),1044&t[0]&&T!==(T=(n[4]?n[10]:n[2])+"")&&ye(C,T),8192&t[0]&&S!==(S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",S)},d(e){e&&he(r),F=!1,k()}}}function Ka(n){let r;function i(e){return e[12]?za:Wa}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[39](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[39](null)}}}function Xa(t,e,r){let n;pt(t,Kr,e=>r(15,n=e));let i,a,o,s,l,c,u,d,h,p,{endpoint:m=""}=e,{session:g=""}=e,{periodrecent:f="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:b="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:w="1"}=e,{lang:x="en"}=e,{isrecentavailable:C="true"}=e,{istopavailable:$="true"}=e,{defaultcurrency:S=""}=e,{clientstyling:F=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:M=""}=e,{tabsorder:_=""}=e,E=[],I=0,T=0,R=window.navigator.userAgent,L=!0,G=!1;Object.keys(Oa).forEach(e=>{Ir(e,Oa[e])});const A=()=>{const e=new URL(`${m}/casino/${a}-winners`);e.searchParams.append("limit","recent"==a?b:v),e.searchParams.append("specifiedCurrency",p),e.searchParams.append("period","recent"==a?f:y),e.searchParams.append("language",x),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{r(7,E=[]),r(7,E=e.items.map(e=>e)),r(12,L=!1),setTimeout(()=>{r(8,T=Math.round(i.offsetWidth/225)),H(),"true"==M&&(I=0,T<u?d=setInterval(()=>{P()},3e3):clearInterval(d))})})},B=e=>{a!==e&&(r(6,a=e),r(7,E=[]),A())},D=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},H=n=>{const e=[...i.children];u=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==a?setTimeout(()=>{r(13,G=!0)},10):r(13,G=!1)},N=()=>{H(I)},O=()=>{var e=E.length;T>=E.length||(0===I?I=e-T:I-T<0?I=0:I-=T,N())},P=()=>{var e=E.length;T>=E.length||("true"==M&&(I===e-T?I=0:I++),"false"==M&&(I===e-T?I=0:e-T<I+T?I=e-T:I+=T),N())};return mt(()=>(r(9,o=dt(R)),()=>{clearInterval(d)})),t.$$set=e=>{"endpoint"in e&&r(22,m=e.endpoint),"session"in e&&r(23,g=e.session),"periodrecent"in e&&r(24,f=e.periodrecent),"periodtop"in e&&r(25,y=e.periodtop),"numberusersrecent"in e&&r(26,b=e.numberusersrecent),"numberuserstop"in e&&r(27,v=e.numberuserstop),"amountlimit"in e&&r(21,w=e.amountlimit),"lang"in e&&r(28,x=e.lang),"isrecentavailable"in e&&r(0,C=e.isrecentavailable),"istopavailable"in e&&r(1,$=e.istopavailable),"defaultcurrency"in e&&r(2,S=e.defaultcurrency),"clientstyling"in e&&r(29,F=e.clientstyling),"clientstylingurl"in e&&r(30,k=e.clientstylingurl),"enableautoscroll"in e&&r(3,M=e.enableautoscroll),"tabsorder"in e&&r(31,_=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&C&&$&&f&&y&&b&&v&&w&&x&&_&&null!=s&&(r(14,h=_.split(",")),r(6,a=h[0]),"false"==C&&r(21,w=""),r(32,p=s?l:S)),4194304&t.$$.dirty[0]&&m&&qr(m,g).then(e=>{e.Guid,r(10,l=e.Currency),r(4,s=!0)},e=>{r(4,s=!1)}),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&m&&p&&M&&A(),268435456&t.$$.dirty[0]&&x&&(e=x,ut.set(e)),536870912&t.$$.dirty[0]&&F){let e=document.createElement("style");e.innerHTML=F,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&k){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e},[C,$,S,M,s,i,a,E,T,o,l,c,L,G,h,n,B,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),D,O,P,w,m,g,f,y,b,v,x,F,k,_,p,()=>B("recent"),()=>B("top"),()=>O(),()=>P(),e=>D(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){ct[e?"unshift":"push"](()=>{i=e,r(5,i)})},function(e){ct[e?"unshift":"push"](()=>{c=e,r(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends r{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}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Xa,Ka,t,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),f()}});const qa={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando por favor espere..."}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function Qa(e,t,n){const r=e.slice();return r[45]=t[n],r[47]=n,r}function eo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v;function w(e){return e[5]?ro:io}let x=w(n),C=x(n);return{c(){r=pe("div"),i=pe("div"),a=pe("div"),o=pe("div"),s=pe("img"),c=ge(),u=pe("div"),C.c(),d=ge(),h=pe("div"),p=pe("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(u,"class","displayContainer"),ce(p.src,m=n[11])||fe(p,"src",m),fe(p,"alt",""),fe(h,"class","title"),fe(a,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),B(a,"background","url("+n[10]+")"),fe(i,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(o,s),ue(a,c),ue(a,u),C.m(u,null),ue(a,d),ue(a,h),ue(h,p),n[31](r),b||(v=K(i,"click",n[30]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&C?C.p(e,t):(C.d(1),(C=x(e))&&(C.c(),C.m(u,null))),2048&t[0]&&!ce(p.src,m=e[11])&&fe(p,"src",m),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(a,"class",g),1024&t[0]&&B(a,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&he(r),C.d(),n[31](null),b=!1,v()}}}function to(e){let n,r,i=e[14]("jackpotBanners.loadingText")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","loadingPrompt")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16384&t[0]&&i!==(i=e[14]("jackpotBanners.loadingText")+"")&&ye(r,i)},d(e){e&&he(n)}}}function no(e){let n;return{c(){(n=pe("p")).textContent="500 Server error"},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function ro(e){let n,r,i,a,o,s,A,l,c,D,H,u,N,O,d,h,p,m,g,j,f,y,U,W,b,z,Y,v,w,x,C,$,S,V,F,k,Z,J,M,K,X,_,E,I,T,L,q,G,B,Q,ee,P,te,R=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ie=e[7][1]+"",ae=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=pe("img"),s=pe("span"),A=me(R),l=pe("span"),c=pe("span"),D=me(ne),H=ge(),u=pe("span"),N=me(e[1]),O=ge(),d=pe("div"),h=pe("div"),p=pe("img"),g=pe("span"),j=me(re),f=pe("span"),y=pe("span"),U=me(ie),W=ge(),b=pe("span"),z=me(e[1]),Y=ge(),v=pe("div"),w=pe("div"),x=pe("div"),C=pe("img"),S=pe("span"),V=me(ae),F=pe("span"),k=pe("span"),Z=me(oe),J=ge(),M=pe("span"),K=me(e[1]),X=ge(),_=pe("div"),E=pe("div"),I=pe("img"),L=pe("span"),q=me(se),G=pe("span"),B=pe("span"),Q=me(le),ee=ge(),P=pe("span"),te=me(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[9][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(u,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(p,"class","displayCardIcon"),ce(p.src,m=e[9][1])||fe(p,"src",m),fe(p,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(d,"class","displayCard"),fe(n,"class","pairWrapper"),fe(C,"class","displayCardIcon"),ce(C.src,$=e[9][2])||fe(C,"src",$),fe(C,"alt",""),fe(S,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(k,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(F,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(I,"class","displayCardIcon"),ce(I.src,T=e[9][3])||fe(I,"src",T),fe(I,"alt",""),fe(L,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(B,"class","jackpotValue"),fe(P,"class","jackpot-currency"),fe(G,"class","cardTextWrapper"),fe(_,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(i,a),ue(i,s),ue(s,A),ue(r,l),ue(l,c),ue(c,D),ue(l,H),ue(l,u),ue(u,N),ue(n,O),ue(n,d),ue(d,h),ue(h,p),ue(h,g),ue(g,j),ue(d,f),ue(f,y),ue(y,U),ue(f,W),ue(f,b),ue(b,z),de(e,Y,t),de(e,v,t),ue(v,w),ue(w,x),ue(x,C),ue(x,S),ue(S,V),ue(w,F),ue(F,k),ue(k,Z),ue(F,J),ue(F,M),ue(M,K),ue(v,X),ue(v,_),ue(_,E),ue(E,I),ue(E,L),ue(L,q),ue(_,G),ue(G,B),ue(B,Q),ue(G,ee),ue(G,P),ue(P,te)},p(e,t){512&t[0]&&!ce(a.src,o=e[9][0])&&fe(a,"src",o),256&t[0]&&R!==(R=e[8][0]+"")&&ye(A,R),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(D,ne),2&t[0]&&ye(N,e[1]),512&t[0]&&!ce(p.src,m=e[9][1])&&fe(p,"src",m),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ie!==(ie=e[7][1]+"")&&ye(U,ie),2&t[0]&&ye(z,e[1]),512&t[0]&&!ce(C.src,$=e[9][2])&&fe(C,"src",$),256&t[0]&&ae!==(ae=e[8][2]+"")&&ye(V,ae),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(K,e[1]),512&t[0]&&!ce(I.src,T=e[9][3])&&fe(I,"src",T),256&t[0]&&se!==(se=e[8][3]+"")&&ye(q,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&he(n),e&&he(Y),e&&he(v)}}}function io(t){let i,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=ao(Qa(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);de(t,i,n)},p(t,n){if(898&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var r=Qa(t,a,e);o[e]?o[e].p(r,n):(o[e]=ao(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){R(o,e),e&&he(i)}}}function ao(e){let n,r,i,a,o,s,l,c,u,d,h,p,m=e[8][e[47]]+"",g=(e[7][e[47]]??"")+"";return{c(){n=pe("div"),r=pe("div"),i=pe("img"),o=pe("span"),s=me(m),l=pe("span"),c=pe("span"),u=me(g),d=ge(),h=pe("span"),p=me(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,a=e[9][e[47]])||fe(i,"src",a),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(h,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,o),ue(o,s),ue(n,l),ue(l,c),ue(c,u),ue(l,d),ue(l,h),ue(h,p)},p(e,t){512&t[0]&&!ce(i.src,a=e[9][e[47]])&&fe(i,"src",a),256&t[0]&&m!==(m=e[8][e[47]]+"")&&ye(s,m),128&t[0]&&g!==(g=(e[7][e[47]]??"")+"")&&ye(u,g),2&t[0]&&ye(p,e[1])},d(e){e&&he(n)}}}function oo(e){let n;function r(e){return e[13]?no:e[3]?to:eo}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function so(t,e,n){let r;pt(t,Kr,e=>n(14,r=e));let i,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:u=""}=e,{caticon3:d=""}=e,{iconlabels:h=""}=e,{backgroundsrc:p=""}=e,{currency:m=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{endpoint:w=""}=e,{gameid:x=""}=e,R=window.navigator.userAgent,C=!1,$=!1,S="",F=[],k=[],M=[],_=[],E="",I="",T=!1,L=!0,G=!1;Object.keys(qa).forEach(e=>{Ir(e,qa[e])});const B=["typeSpread","typeLeft"],P=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href)};return t.$$set=e=>{"visualstructure"in e&&n(0,o=e.visualstructure),"title"in e&&n(16,s=e.title),"caticon0"in e&&n(17,l=e.caticon0),"caticon1"in e&&n(18,c=e.caticon1),"caticon2"in e&&n(19,u=e.caticon2),"caticon3"in e&&n(20,d=e.caticon3),"iconlabels"in e&&n(21,h=e.iconlabels),"backgroundsrc"in e&&n(22,p=e.backgroundsrc),"currency"in e&&n(1,m=e.currency),"backgroundsrcmobile"in e&&n(23,g=e.backgroundsrcmobile),"titlelogopath"in e&&n(24,f=e.titlelogopath),"lang"in e&&n(25,y=e.lang),"clientstyling"in e&&n(26,b=e.clientstyling),"clientstylingurl"in e&&n(27,v=e.clientstylingurl),"endpoint"in e&&n(28,w=e.endpoint),"gameid"in e&&n(29,x=e.gameid)},t.$$.update=()=>{if(67108868&t.$$.dirty[0]&&i&&b){let e=document.createElement("style");e.innerHTML=b,i.appendChild(e)}if(134217732&t.$$.dirty[0]&&i&&v){n(12,T=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&(setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{n(12,T=!1)},500))})}if((33554442&t.$$.dirty[0]&&m&&y&&!L&&(n(4,C=dt(R)&&1<window.innerHeight/window.innerWidth),n(5,$=.75<(e=window.innerHeight/window.innerWidth)&&e<1.6),n(7,k=F.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),n(8,M=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),B.includes(o.trim())?n(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${B[0]}"`),n(0,o=B[0])),n(10,E=g&&C&&!$?g:p),n(11,I=f),n(9,_=[l,c,u,d])),301989890&t.$$.dirty[0]&&w&&y&&m)&&(w&&y&&m)){let e=new URL(w);e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",m),fetch(e.href).then(e=>e.json()).then(e=>{n(3,L=!1),a=e,"998"!=x&&"999"!=x||((e=null==(e=null==a?void 0:a.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),n(6,S=a.items[0].vendorLogo))}).catch(e=>{n(13,G=!0),n(3,L=!1),console.error(e)})}var e;33554432&t.$$.dirty[0]&&y&&(e=y,ut.set(e))},[o,m,i,L,C,$,S,k,M,_,E,I,T,G,r,P,s,l,c,u,d,h,p,g,f,y,b,v,w,x,()=>P(),function(e){ct[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function lo(e,t,n){const r=e.slice();return r[155]=t[n],r[157]=n,r}function co(n){let r,i,a,o,s,l="PC"!==ht(n[71])&&"false"===n[10]&&n[67],c=l&&ho();function u(e){return"false"===e[10]?mo:po}let d=u(n),h=d(n),p="true"==n[15]&&0==n[57]&&_o(n);function m(e){return e[47]?Bo:e[55]?Go:e[58]?Lo:e[53]?To:e[59]?Io:e[54]?void 0:Eo}let g=m(n),f=g&&g(n),y=n[49]&&"true"==n[13]&&Uo(n);return{c(){r=pe("section"),c&&c.c(),i=ge(),h.c(),a=ge(),p&&p.c(),o=ge(),f&&f.c(),s=ge(),y&&y.c(),fe(r,"class","CategoriesLobby"),fe(r,"part","CategoriesLobby"),B(r,"max-width",n[12]+"px")},m(e,t){de(e,r,t),c&&c.m(r,null),ue(r,i),h.m(r,null),ue(r,a),p&&p.m(r,null),ue(r,o),f&&f.m(r,null),ue(r,s),y&&y.m(r,null),n[100](r)},p(e,t){(l=1024&t[0]|32&t[2]?"PC"!==ht(e[71])&&"false"===e[10]&&e[67]:l)?c||((c=ho()).c(),c.m(r,i)):c&&(c.d(1),c=null),d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,a))),"true"==e[15]&&0==e[57]?p?p.p(e,t):((p=_o(e)).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.c(),f.m(r,s))),e[49]&&"true"==e[13]?y?y.p(e,t):((y=Uo(e)).c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&B(r,"max-width",e[12]+"px")},d(e){e&&he(r),c&&c.d(),h.d(),p&&p.d(),f&&f.d(),y&&y.d(),n[100](null)}}}function uo(e){let n,r,i=e[70]("casinoPage.500")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){256&t[2]&&i!==(i=e[70]("casinoPage.500")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ho(){let n;return{c(){fe(n=pe("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function po(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w=n[70]("casinoPage.searchGames")+"",x="PC"===ht(n[71])&&n[45].length||"PC"!==ht(n[71]),C=!n[67]&&go(),$=x&&fo(n),S=!n[53]&&!n[58]&&!n[67]&&!n[59]&&!n[54]&&!n[57]&&!n[55]&&!n[56]&&yo(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),u=pe("input"),h=ge(),$&&$.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===ht(n[71])?n[70]("casinoPage.search"):n[70]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[58]||n[53]||n[59]||n[56]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[58]||n[53]||n[59]||n[56]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ht(n[71])?"CategoriesHeaderMobileSection":"")+" "+(n[67]?"SearchMobileActive":"")+" "+(n[67]||n[55]&&"PC"!==ht(n[71])&&!zo?"CategoriesHeaderSearchActive":"")+(n[61]&&n[67]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ht(n[71])?"CategoriesHeaderMobileSection":"")+" "+(n[67]?"SearchMobileActive":"")+" "+(n[67]||n[55]&&"PC"!==ht(n[71])&&!zo?"CategoriesHeaderSearchActive":"")+(n[61]&&n[67]?"SearchStickTop":"")),B(r,"top",n[61]&&n[67]?Yo+"px":"")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(i,s),ue(i,l),C&&C.m(l,null),ue(l,c),ue(l,u),n[93](u),A(u,n[45]),ue(l,h),$&&$.m(l,null),ue(r,g),S&&S.m(r,null),n[98](r),b||(v=[K(u,"focus",n[73]),K(u,"blur",n[74]),K(u,"input",n[94]),K(u,"focus",n[75])],b=!0)},p(e,t){256&t[2]&&w!==(w=e[70]("casinoPage.searchGames")+"")&&ye(o,w),e[67]?C&&(C.d(1),C=null):C||((C=go()).c(),C.m(l,c)),256&t[2]&&d!==(d="PC"===ht(e[71])?e[70]("casinoPage.search"):e[70]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),16384&t[1]&&A(u,e[45]),(x=16384&t[1]?"PC"===ht(e[71])&&e[45].length||"PC"!==ht(e[71]):x)?$?$.p(e,t):(($=fo(e)).c(),$.m(l,null)):$&&($.d(1),$=null),440401920&t[1]&&p!==(p="SearchContainer "+(e[58]||e[53]||e[59]||e[56]?"":"SearchTruncated"))&&fe(i,"class",p),440401920&t[1]&&m!==(m="SearchContainer "+(e[58]||e[53]||e[59]||e[56]?"":"SearchTruncated"))&&fe(i,"part",m),e[53]||e[58]||e[67]||e[59]||e[54]||e[57]||e[55]||e[56]?S&&(S.d(1),S=null):S?S.p(e,t):((S=yo(e)).c(),S.m(r,null)),1090519040&t[1]|32&t[2]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ht(e[71])?"CategoriesHeaderMobileSection":"")+" "+(e[67]?"SearchMobileActive":"")+" "+(e[67]||e[55]&&"PC"!==ht(e[71])&&!zo?"CategoriesHeaderSearchActive":"")+(e[61]&&e[67]?"SearchStickTop":""))&&fe(r,"class",f),1090519040&t[1]|32&t[2]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ht(e[71])?"CategoriesHeaderMobileSection":"")+" "+(e[67]?"SearchMobileActive":"")+" "+(e[67]||e[55]&&"PC"!==ht(e[71])&&!zo?"CategoriesHeaderSearchActive":"")+(e[61]&&e[67]?"SearchStickTop":""))&&fe(r,"part",y),1073741824&t[1]|32&t[2]&&B(r,"top",e[61]&&e[67]?Yo+"px":"")},d(e){e&&he(r),C&&C.d(),n[93](null),$&&$.d(),S&&S.d(),n[98](null),b=!1,J(v)}}}function mo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w=n[70]("casinoPage.searchGames")+"",x="PC"===ht(n[71])&&n[45].length||"PC"!==ht(n[71]),C=!n[67]&&Co(),$=x&&$o(n),S=!n[53]&&!n[58]&&!n[67]&&!n[59]&&!n[54]&&!n[55]&&!n[57]&&!n[56]&&So(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),u=pe("input"),h=ge(),$&&$.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===ht(n[71])?n[70]("casinoPage.search"):n[70]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[58]||n[53]||n[59]||n[56]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[58]||n[53]||n[59]||n[56]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==ht(n[71])?"CategoriesHeaderMobileSection":"")+" "+(n[67]?"SearchMobileActive":"")+" "+(n[67]||n[55]&&"PC"!==ht(n[71])&&!zo?"CategoriesHeaderSearchActive":"")+" "+(n[61]&&n[67]?"SearchStickTop":"")),B(r,"top",n[61]&&n[67]?Yo+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==ht(n[71])?"CategoriesHeaderMobileSection":"")+" "+(n[67]?"SearchMobileActive":"")+" "+(n[67]||n[55]&&"PC"!==ht(n[71])&&!zo?"CategoriesHeaderSearchActive":"")+" "+(n[61]&&n[67]?"SearchStickTop":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(i,s),ue(i,l),C&&C.m(l,null),ue(l,c),ue(l,u),n[87](u),A(u,n[45]),ue(l,h),$&&$.m(l,null),ue(r,g),S&&S.m(r,null),n[92](r),b||(v=[K(u,"focus",n[73]),K(u,"blur",n[74]),K(u,"input",n[88]),K(u,"focus",n[75])],b=!0)},p(e,t){256&t[2]&&w!==(w=e[70]("casinoPage.searchGames")+"")&&ye(o,w),e[67]?C&&(C.d(1),C=null):C||((C=Co()).c(),C.m(l,c)),256&t[2]&&d!==(d="PC"===ht(e[71])?e[70]("casinoPage.search"):e[70]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),16384&t[1]&&A(u,e[45]),(x=16384&t[1]?"PC"===ht(e[71])&&e[45].length||"PC"!==ht(e[71]):x)?$?$.p(e,t):(($=$o(e)).c(),$.m(l,null)):$&&($.d(1),$=null),440401920&t[1]&&p!==(p="SearchContainer "+(e[58]||e[53]||e[59]||e[56]?"":"SearchTruncated"))&&fe(i,"class",p),440401920&t[1]&&m!==(m="SearchContainer "+(e[58]||e[53]||e[59]||e[56]?"":"SearchTruncated"))&&fe(i,"part",m),e[53]||e[58]||e[67]||e[59]||e[54]||e[55]||e[57]||e[56]?S&&(S.d(1),S=null):S?S.p(e,t):((S=So(e)).c(),S.m(r,null)),1090519040&t[1]|32&t[2]&&f!==(f="CategoriesHeaderSection "+("PC"!==ht(e[71])?"CategoriesHeaderMobileSection":"")+" "+(e[67]?"SearchMobileActive":"")+" "+(e[67]||e[55]&&"PC"!==ht(e[71])&&!zo?"CategoriesHeaderSearchActive":"")+" "+(e[61]&&e[67]?"SearchStickTop":""))&&fe(r,"class",f),1073741824&t[1]|32&t[2]&&B(r,"top",e[61]&&e[67]?Yo+"px":""),1090519040&t[1]|32&t[2]&&y!==(y="CategoriesHeaderSection "+("PC"!==ht(e[71])?"CategoriesHeaderMobileSection":"")+" "+(e[67]?"SearchMobileActive":"")+" "+(e[67]||e[55]&&"PC"!==ht(e[71])&&!zo?"CategoriesHeaderSearchActive":"")+" "+(e[61]&&e[67]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),C&&C.d(),n[87](null),$&&$.d(),S&&S.d(),n[92](null),b=!1,J(v)}}}function go(){let n;return{c(){(n=pe("div")).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>',fe(n,"class","SearchIcon"),fe(n,"part","SearchWrapper")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function fo(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===ht(n[71])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===ht(n[71])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[95]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function yo(e){let n,r,i=e[68]&&bo(e),a=(!e[55]||!e[54])&&vo(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),i&&i.m(n,null),ue(n,r),a&&a.m(n,null)},p(e,t){e[68]?i?i.p(e,t):((i=bo(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[55]&&e[54]?a&&(a.d(1),a=null):a?a.p(e,t):((a=vo(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function bo(n){let r,i,a,o,s,l,c,u,d,h=n[70]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(h),o=ge(),(s=pe("span")).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>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[68]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[68]?"FiltersActive":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),u||(d=K(r,"click",n[96]),u=!0)},p(e,t){256&t[2]&&h!==(h=e[70]("casinoPage.clear")+"")&&ye(a,h),64&t[2]&&l!==(l="ClearFilterButtonWrapper "+(e[68]?"FiltersActive":""))&&fe(r,"class",l),64&t[2]&&c!==(c="ClearFilterButtonWrapper "+(e[68]?"FiltersActive":""))&&fe(r,"part",c)},d(e){e&&he(r),u=!1,d()}}}function vo(e){let n,r=!e[59]&&wo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[59]?r&&(r.d(1),r=null):r?r.p(e,t):((r=wo(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function wo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f=n[70]("casinoPage.filters")+"",y=0<n[68]&&xo(n);return{c(){r=pe("div"),i=pe("div"),a=me(f),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),u=k("style"),d=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),y&&y.c(),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(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"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,p),y&&y.m(s,null),m||(g=K(r,"click",n[97]),m=!0)},p(e,t){256&t[2]&&f!==(f=e[70]("casinoPage.filters")+"")&&ye(a,f),0<e[68]?y?y.p(e,t):((y=xo(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),m=!1,g()}}}function xo(e){let n,r,i;return{c(){n=pe("div"),r=pe("span"),i=me(e[68]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){de(e,n,t),ue(n,r),ue(r,i)},p(e,t){64&t[2]&&ye(i,e[68])},d(e){e&&he(n)}}}function Co(){let n;return{c(){(n=pe("div")).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>',fe(n,"class","SearchIcon"),fe(n,"part","SearchIcon")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function $o(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===ht(n[71])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===ht(n[71])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[89]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function So(e){let n,r,i=e[68]&&Fo(e),a=(!e[55]||!e[54])&&ko(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),i&&i.m(n,null),ue(n,r),a&&a.m(n,null)},p(e,t){e[68]?i?i.p(e,t):((i=Fo(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[55]&&e[54]?a&&(a.d(1),a=null):a?a.p(e,t):((a=ko(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function Fo(n){let r,i,a,o,s,l,c,u=n[70]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(u),o=ge(),(s=pe("span")).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>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),l||(c=K(r,"click",n[90]),l=!0)},p(e,t){256&t[2]&&u!==(u=e[70]("casinoPage.clear")+"")&&ye(a,u)},d(e){e&&he(r),l=!1,c()}}}function ko(e){let n,r=!e[59]&&Mo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[59]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Mo(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function Mo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v=n[70]("casinoPage.filters")+"";return{c(){r=pe("div"),i=pe("div"),a=me(v),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),u=k("style"),d=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),m=pe("div"),g=pe("span"),f=me(n[68]),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(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"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(g,"class","NumberOfFilters"),fe(g,"part","NumberOfFilters"),fe(m,"class","NumberOfFiltersContainer"),fe(m,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,p),ue(s,m),ue(m,g),ue(g,f),y||(b=K(r,"click",n[91]),y=!0)},p(e,t){256&t[2]&&v!==(v=e[70]("casinoPage.filters")+"")&&ye(a,v),64&t[2]&&ye(f,e[68])},d(e){e&&he(r),y=!1,b()}}}function _o(e){let n;return{c(){w(n=pe("casino-random-game"),"datasource",e[1]),w(n,"endpoint",e[0]),w(n,"lang",e[3]),w(n,"gameevent",e[46]),w(n,"randombuttonicon",e[43])},m(e,t){de(e,n,t)},p(e,t){2&t[0]&&w(n,"datasource",e[1]),1&t[0]&&w(n,"endpoint",e[0]),8&t[0]&&w(n,"lang",e[3]),32768&t[1]&&w(n,"gameevent",e[46]),4096&t[1]&&w(n,"randombuttonicon",e[43])},d(e){e&&he(n)}}}function Eo(e){let n;return{c(){w(n=pe("casino-games-category-section"),"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"favorites",e[11]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"session",e[4]),w(n,"categoryid",e[64]),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"enablecasinowinners",e[17]),w(n,"integratedgameframedesktop",e[22]),w(n,"integratedgameframemobile",e[23])},m(e,t){de(e,n,t)},p(e,t){32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),2048&t[0]&&w(n,"favorites",e[11]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),16&t[0]&&w(n,"session",e[4]),4&t[2]&&w(n,"categoryid",e[64]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),131072&t[0]&&w(n,"enablecasinowinners",e[17]),4194304&t[0]&&w(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function Io(e){let n;function r(e){return e[60]?Ro:Po}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function To(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"favorites",n[11]),w(r,"categoryid","FAVORITES"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[17]),w(r,"integratedgameframedesktop",n[22]),w(r,"integratedgameframemobile",n[23])},m(e,t){de(e,r,t),a||(o=_(i=n[72].call(null,r,(n[0],n[50],n[51],n[50]))),a=!0)},p(e,t){16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),131072&t[0]&&w(r,"enablecasinowinners",e[17]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),i&&M(i.update)&&1&t[0]|1572864&t[1]&&i.update.call(null,(e[0],e[50],e[51],e[50]))},d(e){e&&he(r),a=!1,o()}}}function Lo(t){let i,a=t[63],o=[];for(let e=0;e<a.length;e+=1)o[e]=jo(lo(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);de(t,i,n)},p(t,n){if(2147437567&n[0]|4095&n[1]|2&n[2]){let e;for(a=t[63],e=0;e<a.length;e+=1){var r=lo(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){R(o,e),e&&he(i)}}}function Go(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"categoryid","Search"),w(r,"favorites",n[11]),w(r,"categoryindex","0"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[17]),w(r,"enableautoscroll",n[19]),w(r,"tabsorder",n[18]),w(r,"isrecentavailable",n[21]),w(r,"istopavailable",n[20]),w(r,"integratedgameframedesktop",n[22]),w(r,"integratedgameframemobile",n[23])},m(e,t){de(e,r,t),a||(o=_(i=n[80].call(null,r,n[62])),a=!0)},p(e,t){1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),131072&t[0]&&w(r,"enablecasinowinners",e[17]),524288&t[0]&&w(r,"enableautoscroll",e[19]),262144&t[0]&&w(r,"tabsorder",e[18]),2097152&t[0]&&w(r,"isrecentavailable",e[21]),1048576&t[0]&&w(r,"istopavailable",e[20]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),i&&M(i.update)&&1&t[2]&&i.update.call(null,e[62])},d(e){e&&he(r),a=!1,o()}}}function Bo(e){let n,r,i=e[70]("casinoPage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){256&t[2]&&i!==(i=e[70]("casinoPage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Po(e){let n;return{c(){w(n=pe("casino-games-category-section"),"session",e[4]),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"favorites",e[11]),w(n,"categoryid","MOSTPLAYED"),w(n,"categoryindex","1"),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"enablecasinowinners",e[17]),w(n,"integratedgameframedesktop",e[22]),w(n,"integratedgameframemobile",e[23])},m(e,t){de(e,n,t)},p(e,t){16&t[0]&&w(n,"session",e[4]),32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),2048&t[0]&&w(n,"favorites",e[11]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),131072&t[0]&&w(n,"enablecasinowinners",e[17]),4194304&t[0]&&w(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function Ro(e){let n,r,i=e[70]("casinoPage.noGamesPlayed")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){256&t[2]&&i!==(i=e[70]("casinoPage.noGamesPlayed")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ao(e){let n,r;return{c(){n=pe("div"),w(r=pe("casino-winners"),"session",e[4]),w(r,"periodrecent",e[24]),w(r,"periodtop",e[25]),w(r,"numberusersrecent",e[26]),w(r,"numberuserstop",e[27]),w(r,"amountlimit",e[28]),w(r,"isrecentavailable",e[21]),w(r,"istopavailable",e[20]),w(r,"defaultcurrency",e[29]),w(r,"enableautoscroll",e[19]),w(r,"tabsorder",e[18]),w(r,"lang",e[3]),w(r,"clientstyling",e[6]),w(r,"clientstylingurl",e[7]),w(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[0]&&w(r,"session",e[4]),16777216&t[0]&&w(r,"periodrecent",e[24]),33554432&t[0]&&w(r,"periodtop",e[25]),67108864&t[0]&&w(r,"numberusersrecent",e[26]),134217728&t[0]&&w(r,"numberuserstop",e[27]),268435456&t[0]&&w(r,"amountlimit",e[28]),2097152&t[0]&&w(r,"isrecentavailable",e[21]),1048576&t[0]&&w(r,"istopavailable",e[20]),536870912&t[0]&&w(r,"defaultcurrency",e[29]),524288&t[0]&&w(r,"enableautoscroll",e[19]),262144&t[0]&&w(r,"tabsorder",e[18]),8&t[0]&&w(r,"lang",e[3]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),1&t[0]&&w(r,"endpoint",e[0])},d(e){e&&he(n)}}}function Do(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),w(i=pe("jackpot-banner"),"title","Jackpot Cards"),w(i,"currency",a=e[2]||"RON"),w(i,"gameid","998"),w(i,"endpoint",e[0]),w(i,"lang",e[3]),w(i,"backgroundsrc","/assets/background0.jpg"),w(i,"backgroundsrcmobile","/assets/background0.jpg"),w(i,"titlelogopath","/assets/jackpots_logo.svg"),w(i,"caticon0","/assets/icon0.svg"),w(i,"caticon1","/assets/icon1.svg"),w(i,"caticon2","/assets/icon2.svg"),w(i,"caticon3","/assets/icon3.svg"),w(i,"iconlabels",e[38]),w(i,"visualstructure","typeSpread")},m(e,t){de(e,n,t),de(e,r,t),de(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&w(i,"currency",a),1&t[0]&&w(i,"endpoint",e[0]),8&t[0]&&w(i,"lang",e[3]),128&t[1]&&w(i,"iconlabels",e[38])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function Ho(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),w(i=pe("jackpot-banner"),"title","Egypt Quest"),w(i,"currency",a=e[2]||"RON"),w(i,"gameid","999"),w(i,"endpoint",e[0]),w(i,"lang",e[3]),w(i,"backgroundsrc",e[35]),w(i,"backgroundsrcmobile",e[36]),w(i,"titlelogopath",e[37]),w(i,"caticon0",e[31]),w(i,"caticon1",e[32]),w(i,"caticon2",e[33]),w(i,"caticon3",e[34]),w(i,"iconlabels",e[38]),w(i,"visualstructure",e[39])},m(e,t){de(e,n,t),de(e,r,t),de(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&w(i,"currency",a),1&t[0]&&w(i,"endpoint",e[0]),8&t[0]&&w(i,"lang",e[3]),16&t[1]&&w(i,"backgroundsrc",e[35]),32&t[1]&&w(i,"backgroundsrcmobile",e[36]),64&t[1]&&w(i,"titlelogopath",e[37]),1&t[1]&&w(i,"caticon0",e[31]),2&t[1]&&w(i,"caticon1",e[32]),4&t[1]&&w(i,"caticon2",e[33]),8&t[1]&&w(i,"caticon3",e[34]),128&t[1]&&w(i,"iconlabels",e[38]),256&t[1]&&w(i,"visualstructure",e[39])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function No(e){let n,r;return{c(){w(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"type","vendor"),w(n,"titletype","logo"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7])},m(e,t){de(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&w(n,"endpoint",r),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Oo(e){let n,r;return{c(){w(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"type",e[41]),w(n,"titletype",e[42]),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7])},m(e,t){de(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&w(n,"endpoint",r),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),1024&t[1]&&w(n,"type",e[41]),2048&t[1]&&w(n,"titletype",e[42]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function jo(n){let r,i,a,o,s,e,l,c,u,d="true"===n[17]&&1===n[157]&&Ao(n);function h(e){return 4===e[157]&&"true"==e[30]?Ho:6===e[157]&&"true"==e[30]?Do:void 0}let p=h(n),m=p&&p(n);function g(e){return 7==e[157]&&"true"==e[40]?Oo:e[157]==e[63].length-1&&"true"==e[40]?No:void 0}let f=g(n),y=f&&f(n);return{c(){d&&d.c(),r=ge(),m&&m.c(),i=ge(),y&&y.c(),a=ge(),w(o=pe("casino-games-category-section"),"session",n[4]),w(o,"userid",n[5]),w(o,"endpoint",n[0]),w(o,"datasource",n[1]),w(o,"lang",n[3]),w(o,"currency",n[2]),w(o,"categoryid",s=n[155]),w(o,"categoryindex",e=n[157]),w(o,"categorygames","9"),w(o,"favorites",n[11]),w(o,"class","CategoryContainer"),B(o,"background-color",n[157]%2!=0?n[8]:"transparent"),w(o,"clientstyling",n[6]),w(o,"clientstylingurl",n[7]),w(o,"livecasino",n[14]),w(o,"visiblegames",n[9]),w(o,"gamepagemodalurl",n[16]),w(o,"enablecasinowinners",n[17]),w(o,"integratedgameframedesktop",n[22]),w(o,"integratedgameframemobile",n[23])},m(e,t){d&&d.m(e,t),de(e,r,t),m&&m.m(e,t),de(e,i,t),y&&y.m(e,t),de(e,a,t),de(e,o,t),c||(u=_(l=n[79].call(null,o,n[155])),c=!0)},p(e,t){"true"===(n=e)[17]&&1===n[157]?d?d.p(n,t):((d=Ao(n)).c(),d.m(r.parentNode,r)):d&&(d.d(1),d=null),p===(p=h(n))&&m?m.p(n,t):(m&&m.d(1),(m=p&&p(n))&&(m.c(),m.m(i.parentNode,i))),f===(f=g(n))&&y?y.p(n,t):(y&&y.d(1),(y=f&&f(n))&&(y.c(),y.m(a.parentNode,a))),16&t[0]&&w(o,"session",n[4]),32&t[0]&&w(o,"userid",n[5]),1&t[0]&&w(o,"endpoint",n[0]),2&t[0]&&w(o,"datasource",n[1]),8&t[0]&&w(o,"lang",n[3]),4&t[0]&&w(o,"currency",n[2]),2&t[2]&&s!==(s=n[155])&&w(o,"categoryid",s),2048&t[0]&&w(o,"favorites",n[11]),256&t[0]&&B(o,"background-color",n[157]%2!=0?n[8]:"transparent"),64&t[0]&&w(o,"clientstyling",n[6]),128&t[0]&&w(o,"clientstylingurl",n[7]),16384&t[0]&&w(o,"livecasino",n[14]),512&t[0]&&w(o,"visiblegames",n[9]),65536&t[0]&&w(o,"gamepagemodalurl",n[16]),131072&t[0]&&w(o,"enablecasinowinners",n[17]),4194304&t[0]&&w(o,"integratedgameframedesktop",n[22]),8388608&t[0]&&w(o,"integratedgameframemobile",n[23]),l&&M(l.update)&&2&t[2]&&l.update.call(null,n[155])},d(e){d&&d.d(e),e&&he(r),m&&m.d(e),e&&he(i),y&&y.d(e),e&&he(a),e&&he(o),c=!1,u()}}}function Uo(n){let r,i,a,e,t,o,s,l=n[70]("casinoPage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==ht(n[71])?"PanicButtonMobile ":"")),fe(i,"part",t="PanicButton "+("PC"!==ht(n[71])?"PanicButtonMobile":"")),P(i,"PanicButtonAnimation",n[52]),fe(r,"class",o="PanicSection "+("PC"!==ht(n[71])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==ht(n[71])?"PanicSectionMobile":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[99](i)},p(e,t){256&t[2]&&l!==(l=e[70]("casinoPage.breakButton")+"")&&ye(a,l),2097152&t[1]&&P(i,"PanicButtonAnimation",e[52])},d(e){e&&he(r),n[99](null)}}}function Wo(e){let n;function r(e){return e[48]?uo:co}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},so,oo,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),f()}});let zo=!1;const Yo=0;function Vo(e,t,c){let R;pt(e,Kr,e=>c(70,R=e));let A,{endpoint:u=""}=t,{datasource:a=""}=t,{currency:D=""}=t,{lang:o=""}=t,{session:s=""}=t,{userid:n=""}=t,{clientstyling:l=""}=t,{clientstylingurl:d=""}=t,{categorybackground:H=""}=t,N=t["visiblegames"],{alternativesearch:O="false"}=t,{favorites:h=""}=t,{mostplayed:j=""}=t,{containermaxwidth:U="1300"}=t,{lobbyid:p="casinodefault"}=t,{haspanicbutton:W="false"}=t,{mostplayedrounds:z=""}=t,{activecategory:m=""}=t,{livecasino:Y="false"}=t,{playrandomgame:V="false"}=t,{gamepagemodalurl:Z="false"}=t,{enablecasinowinners:J=""}=t,{tabsorder:K=""}=t,{enableautoscroll:X=""}=t,{istopavailable:q=""}=t,{isrecentavailable:Q=""}=t,{integratedgameframedesktop:ee="false"}=t,{integratedgameframemobile:te="false"}=t,{periodrecent:ne=""}=t,{periodtop:re=""}=t,{numberusersrecent:ie=""}=t,{numberuserstop:ae=""}=t,{amountlimit:oe=""}=t,{defaultcurrency:se=""}=t,{enablejackpotbanner:le=""}=t,{caticon0:ce=""}=t,{caticon1:ue=""}=t,{caticon2:de=""}=t,{caticon3:he=""}=t,{backgroundsrc:pe=""}=t,{backgroundsrcmobile:me=""}=t,{titlelogopath:ge=""}=t,{iconlabels:fe=""}=t,{visualstructure:ye=""}=t,{enablecollections:be=""}=t,{type:ve=""}=t,{titletype:we=""}=t,{randombuttonicon:xe=""}=t,g=window.navigator.userAgent;A=dt(g)?"OpenGameFrame":"ShowGameModal";let f,y,b,Ce,v,w,x,$e,Se,Fe,r,C,$,ke,S=!1,F=!1,Me=!1,k="",_e=!1,Ee=0,i=!1,Ie=!1,Te=!0,Le=!1,Ge=!1,Be=!1,Pe=!1,M=!0,_=!1,Re=!1,Ae=!1,E=!0,De=[],I="",He={},Ne,Oe,T=[],je=!1,L=[],Ue=0,G="",We=!1;var ze,Ye;({withLocale:ze,translations:Ye}={withLocale:"en",translations:{}}),ut.subscribe(e=>{null==e&&(_r.set(Ye),ut.set(ze))}),Object.keys(wi).forEach(e=>{Ir(e,wi[e])});const Ve=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(51,y=n.data.session),c(50,f=n.data.userID),f&&f.length&&y&&0<y.length&&B(u,y,f);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":o=`${u}/player/${f}/favorites`,s=y,f,l=n.data.id,n.data.triggerFactor,T.includes(l)&&(T=T.filter(e=>e!=l)),fetch(o+"/"+l,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+l},window.location.href),Ze(o,s)});break;case"SetFavoredGame":{var r=`${u}/player/${f}/favorites`;var i=y;f;var a=n.data.id;n.data.triggerFactor;T.includes(a)||T.push(a);let e={items:T},t={method:"POST",headers:{"X-SessionID":i,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),Ze(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&B(u,y,f);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(L=(L=Xe(`searchedGamesWds_${p}`))?L.split(","):[]).indexOf(t)){let e;L.push(t),e=L.join(","),document.cookie=`searchedGamesWds_${p}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),P();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),P();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:G},window.location.href),P();break;case"CategoryVendors":G=n.data.categoryid,P();break;case"GameHovered":Ge=!0;break;case"GameBlur":Ge=!1}var e,o,s,l};let B=(e,t,n)=>{"true"==h&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),Je(r.items)),r)).then(e=>(i&&Ke(),e)).catch(e=>{console.error(e)})},Ze=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,i&&Ke(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const Je=(e=[])=>(T=[],0<e.length&&e.forEach(e=>{T.push(e.id)}),T);const Ke=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},Xe=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},qe=()=>{if(u&&a&&o&&(c(57,Pe=!0),I.length<2)){let e=Xe("searchedGamesWds_"+p),t=[],n=(e&&(t=e.split(",")),1!=M||Te||(c(56,Be=M),c(58,M=!1)),[]),r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(u+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",a),e.searchParams.append("platform",ht(g)),n.push(((e,r)=>new Promise((t,n)=>{c(47,S=!0),r&&0<=Object.keys(He).indexOf(r)?(c(47,S=!1),t(He[r])):fetch(e).then(e=>e.json()).then(e=>{c(47,S=!1),He[e[0].id]=e[0],t(e[0])}).catch(e=>{c(48,F=!0),c(47,S=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(62,v=e),tt(0,v)})}else tt(0,{})}},Qe=()=>{c(57,Pe=!1),I.length<2&&!Ge&&(c(55,Le=!1),c(62,v=[]),c(54,Ie=!1),c(58,M=Be),c(56,Be=!1),!1===M&&window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},P=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&G&&(e[G]?c(68,Ue=e[G].length):c(68,Ue=0))},et=()=>{c(86,E=!0),c(45,I=""),c(62,v=[]),c(54,Ie=!1),Qe()},tt=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},nt=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},rt=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},it=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},at=()=>{$e&&(Se=$e.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>Se||130<Se?c(61,Ae=!0):c(61,Ae=!1)},ot=()=>{c(64,w=m);var e={data:{itemId:w}};switch(c(55,Le=!1),c(45,I=""),Ne=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(58,M=!0),c(53,i=!1),c(64,w=""),c(59,_=!1);break;case"FAVORITES":c(58,M=!1),c(53,i=!0),c(59,_=!1),c(64,w="");break;case"MOSTPLAYED":"true"==j&&(c(47,S=!0),(e=>{let t=new URL(`${u}/player/${f}/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),ke=Y?t:t.href,new Promise((t,n)=>{fetch(ke).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:ht(g),rounds:10}).then(e=>{if(c(47,S=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(u+"/casino/games/"+e.gameId);t.searchParams.append("datasource",a),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{Oe=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:Oe},window.location.href)})}else c(60,Re=!0)}),c(64,w=""),c(58,M=!1),c(53,i=!1),c(59,_=!0));break;default:c(58,M=!1),c(53,i=!1),c(59,_=!1),c(64,w=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500)}},st=e=>{Ee=0,Ce=setInterval(()=>{Ee+=1,c(52,_e=!0),3<=Ee&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Ce))},1e3)},lt=e=>{Ee<3&&c(52,_e=!1),clearInterval(Ce)};return mt(()=>(window.addEventListener("scroll",at,!1),window.addEventListener("message",Ve,!1),()=>{window.removeEventListener("scroll",at),window.removeEventListener("message",Ve),c(52,_e=!1),null!=b&&b.removeEventListener("mousedown",st),null!=b&&b.removeEventListener("touchstart",st),null!=b&&b.removeEventListener("mouseup",lt),null!=b&&b.removeEventListener("touchend",lt)})),e.$$set=e=>{"endpoint"in e&&c(0,u=e.endpoint),"datasource"in e&&c(1,a=e.datasource),"currency"in e&&c(2,D=e.currency),"lang"in e&&c(3,o=e.lang),"session"in e&&c(4,s=e.session),"userid"in e&&c(5,n=e.userid),"clientstyling"in e&&c(6,l=e.clientstyling),"clientstylingurl"in e&&c(7,d=e.clientstylingurl),"categorybackground"in e&&c(8,H=e.categorybackground),"visiblegames"in e&&c(9,N=e.visiblegames),"alternativesearch"in e&&c(10,O=e.alternativesearch),"favorites"in e&&c(11,h=e.favorites),"mostplayed"in e&&c(81,j=e.mostplayed),"containermaxwidth"in e&&c(12,U=e.containermaxwidth),"lobbyid"in e&&c(82,p=e.lobbyid),"haspanicbutton"in e&&c(13,W=e.haspanicbutton),"mostplayedrounds"in e&&c(83,z=e.mostplayedrounds),"activecategory"in e&&c(84,m=e.activecategory),"livecasino"in e&&c(14,Y=e.livecasino),"playrandomgame"in e&&c(15,V=e.playrandomgame),"gamepagemodalurl"in e&&c(16,Z=e.gamepagemodalurl),"enablecasinowinners"in e&&c(17,J=e.enablecasinowinners),"tabsorder"in e&&c(18,K=e.tabsorder),"enableautoscroll"in e&&c(19,X=e.enableautoscroll),"istopavailable"in e&&c(20,q=e.istopavailable),"isrecentavailable"in e&&c(21,Q=e.isrecentavailable),"integratedgameframedesktop"in e&&c(22,ee=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(23,te=e.integratedgameframemobile),"periodrecent"in e&&c(24,ne=e.periodrecent),"periodtop"in e&&c(25,re=e.periodtop),"numberusersrecent"in e&&c(26,ie=e.numberusersrecent),"numberuserstop"in e&&c(27,ae=e.numberuserstop),"amountlimit"in e&&c(28,oe=e.amountlimit),"defaultcurrency"in e&&c(29,se=e.defaultcurrency),"enablejackpotbanner"in e&&c(30,le=e.enablejackpotbanner),"caticon0"in e&&c(31,ce=e.caticon0),"caticon1"in e&&c(32,ue=e.caticon1),"caticon2"in e&&c(33,de=e.caticon2),"caticon3"in e&&c(34,he=e.caticon3),"backgroundsrc"in e&&c(35,pe=e.backgroundsrc),"backgroundsrcmobile"in e&&c(36,me=e.backgroundsrcmobile),"titlelogopath"in e&&c(37,ge=e.titlelogopath),"iconlabels"in e&&c(38,fe=e.iconlabels),"visualstructure"in e&&c(39,ye=e.visualstructure),"enablecollections"in e&&c(40,be=e.enablecollections),"type"in e&&c(41,ve=e.type),"titletype"in e&&c(42,we=e.titletype),"randombuttonicon"in e&&c(43,xe=e.randombuttonicon)},e.$$.update=()=>{if(16384&e.$$.dirty[1]&&I&&(2<=I.length?c(86,E=!0):c(86,E=!1)),11&e.$$.dirty[0]|16384&e.$$.dirty[1]|25165824&e.$$.dirty[2])if(2<=I.length){c(55,Le=!0);let e=new URL(u+"/casino/games");e.searchParams.append("datasource",a),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",ht(g)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+I),r=e,new Promise((t,n)=>{c(47,S=!0),fetch(r).then(e=>e.json()).then(e=>{c(47,S=!1),t(e)}).catch(e=>{c(48,F=!0),c(47,S=!1),console.error(e),n(e)})}).then(e=>{c(62,v=e),it(0,e)})}else E||qe(),Te&&c(85,Te=!1);var r,i,t;if((8&e.$$.dirty[0]|4194304&e.$$.dirty[2]&&o&&m&&ot(),49&e.$$.dirty[0]&&s&&n&&u&&(c(49,Me=!0),c(51,y=s),c(50,f=n),f&&f.length&&y&&0<y.length&&B(u,y,f)),1035&e.$$.dirty[0]&&u&&a&&o&&O)&&(u||(k="Endpoint is missing! Please provide a valid endpointURL.",c(48,F=!0),c(47,S=!1),console.error(k)),a||(k="Datasource is missing! Please provide a valid datasource.",c(48,F=!0),c(47,S=!1),console.error(k)),(!o||o.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",c(48,F=!0),c(47,S=!1),console.error(k)),!F)){c(47,S=!0),"true"==h&&B(u,y,f),t=o,ut.set(t);let e=new URL(u+"/casino/groups/"+a);e.searchParams.append("language",o),e.searchParams.append("platform",ht(g)),i=e,new Promise((t,n)=>{c(47,S=!0),fetch(i).then(e=>e.json()).then(e=>{c(47,S=!1),t(e)}).catch(e=>{c(48,F=!0),c(47,S=!1),console.error(e),n(e)})}).then(e=>{e&&(Fe=e.items.filter(e=>0<e.games.total),c(63,De=Fe.filter(e=>!e.flags.some(e=>"collection"==e||"vendor"==e)).map(e=>e.id)),c(47,S=!1))}),"PC"!==ht(g)&&(C.addEventListener("focusin",e=>{c(67,je=!0)}),C.addEventListener("focusout",e=>{c(67,je=!1)})),P(),($e=x)&&(Se=$e.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&e.$$.dirty[0]&&o&&(We&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500),We=!1),64&e.$$.dirty[0]&&l){let e=document.createElement("style");e.innerHTML=l,$.appendChild(e)}if(128&e.$$.dirty[0]&&d){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,$&&setTimeout(()=>{$.appendChild(t)},1)})}8192&e.$$.dirty[1]&&b&&(null!=b&&b.addEventListener("mousedown",st,!1),null!=b&&b.addEventListener("touchstart",st,!1),null!=b&&b.addEventListener("mouseup",lt,!1),null!=b&&b.addEventListener("touchend",lt,!1))},[u,a,D,o,s,n,l,d,H,N,O,h,U,W,Y,V,Z,J,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,ue,de,he,pe,me,ge,fe,ye,be,ve,we,xe,b,I,A,S,F,Me,f,y,_e,i,Ie,Le,Be,Pe,M,_,Re,Ae,v,De,w,x,C,je,Ue,$,R,g,B,qe,Qe,()=>{window.postMessage({type:"scroll"},window.location.href)},et,nt,rt,(e,t)=>{G=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:N,receivedFavoriteResults:r},window.location.href)},it,j,p,z,m,Te,E,function(e){ct[e?"unshift":"push"](()=>{C=e,c(66,C)})},function(){I=this.value,c(45,I)},()=>et(),()=>rt(),()=>{nt()},function(e){ct[e?"unshift":"push"](()=>{x=e,c(65,x)})},function(e){ct[e?"unshift":"push"](()=>{C=e,c(66,C)})},function(){I=this.value,c(45,I)},()=>et(),()=>rt(),()=>{nt()},function(e){ct[e?"unshift":"push"](()=>{x=e,c(65,x)})},function(e){ct[e?"unshift":"push"](()=>{b=e,c(44,b)})},function(e){ct[e?"unshift":"push"](()=>{$=e,c(69,$)})}]}function Zo(e,{delay:t=0,duration:n=400,easing:r=$}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function Jo(n){let r,i,a,o,s,l,c,t,u,d,h;return{c(){r=pe("div"),(i=pe("div")).innerHTML="<slot></slot>",a=ge(),o=pe("span"),(s=pe("slot")).innerHTML='<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>',fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(s,"name","close"),fe(o,"class",l="ModalCloseBtn "+("true"==n[1]&&n[2]?"ModalPanicCloseButton":"")),fe(o,"part","ModalCloseBtn"),fe(o,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),q(()=>n[17].call(r))},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),n[16](r),c=m(r,n[17].bind(r)),u=!0,d||(h=K(o,"click",n[8]),d=!0)},p(e,t){n=e,(!u||6&t&&l!==(l="ModalCloseBtn "+("true"==n[1]&&n[2]?"ModalPanicCloseButton":"")))&&fe(o,"class",l)},i(e){u||(q(()=>{(t=t||ve(r,Zo,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||ve(r,Zo,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&he(r),n[16](null),c(),e&&t&&t.end(),d=!1,h()}}}function Ko(n){let r,i,a=n[7]&&Jo(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),a&&a.m(r,null),n[18](r),i=!0},p(e,[t]){e[7]?a?(a.p(e,t),128&t&&se(a,1)):((a=Jo(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[18](null)}}}function Xo(e,t,n){let r,i,a,o,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{endpoint:h=""}=t,{haspanicbutton:p="false"}=t,{gamepagemodalurl:m="false"}=t,{sessioncheck:g="true"}=t,f=window.navigator.userAgent,y=!1,b=!1,v=!1;const w=e=>{var t;"ModalClosed"==e.data.type&&n(7,v=!1),"ShowGameModal"===e.data.type&&(n(7,v=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,v=!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:r?getComputedStyle(r).width:null,modalHeight:r?getComputedStyle(r).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(b=e.data.detailsObtained)},x=e=>{var t;b&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return mt(()=>(n(2,y=dt(f)),window.addEventListener("message",w,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",w),window.removeEventListener("resize",w)})),e.$$set=e=>{"duration"in e&&n(0,s=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,u=e.clientstyling),"clientstylingurl"in e&&n(12,d=e.clientstylingurl),"endpoint"in e&&n(13,h=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,m=e.gamepagemodalurl),"sessioncheck"in e&&n(15,g=e.sessioncheck)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&h&&"true"==g&&qr(h,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2048&e.$$.dirty&&u){let e=document.createElement("style");e.innerHTML=u,v&&setTimeout(()=>{r.appendChild(e)})}if(4096&e.$$.dirty&&d){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[s,p,y,r,i,void 0,void 0,v,()=>{n(7,v=!1),n(2,y=dt(f)),window.postMessage({type:"ModalClosed",gamepagemodalurl:m,mobileView:y},window.location.href)},l,c,u,d,h,m,g,function(e){ct[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){ct[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends r{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}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[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;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:18px}.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>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Vo,Wo,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:81,containermaxwidth:12,lobbyid:82,haspanicbutton:13,mostplayedrounds:83,activecategory:84,livecasino:14,playrandomgame:15,gamepagemodalurl:16,enablecasinowinners:17,tabsorder:18,enableautoscroll:19,istopavailable:20,isrecentavailable:21,integratedgameframedesktop:22,integratedgameframemobile:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:28,defaultcurrency:29,enablejackpotbanner:30,caticon0:31,caticon1:32,caticon2:33,caticon3:34,backgroundsrc:35,backgroundsrcmobile:36,titlelogopath:37,iconlabels:38,visualstructure:39,enablecollections:40,type:41,titletype:42,randombuttonicon:43},null,[-1,-1,-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino","playrandomgame","gamepagemodalurl","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","enablejackpotbanner","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","enablecollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[81]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[82]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[83]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get activecategory(){return this.$$.ctx[84]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get gamepagemodalurl(){return this.$$.ctx[16]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[17]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[18]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[19]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[20]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[21]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[22]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[23]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[28]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[29]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get enablejackpotbanner(){return this.$$.ctx[30]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get caticon0(){return this.$$.ctx[31]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[32]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[33]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[34]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[35]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[36]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[37]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[38]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[39]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get enablecollections(){return this.$$.ctx[40]}set enablecollections(e){this.$$set({enablecollections:e}),f()}get type(){return this.$$.ctx[41]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[42]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[43]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends r{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 .ModalPanicCloseButton{margin-top:45px}.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>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Xo,Ko,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const qo={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function Qo(){"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,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.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,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var es=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},ts=function(e,...t){try{return Qo(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function ns(n){let r,i,a=n[10]&&as(n);return{c(){r=pe("div"),i=pe("div"),a&&a.c(),fe(i,"class","CasinoGamePageContainer"),fe(i,"part","CasinoGamePageContainer"),B(i,"background","rgba(0, 0, 0, 0.5)"),fe(r,"class","GamePageBackground"),B(r,"background",n[13]?"":`url(${n[9].backgroundImageUrl})`),B(r,"background-size","cover")},m(e,t){de(e,r,t),ue(r,i),a&&a.m(i,null),n[82](i),n[83](r)},p(e,t){e[10]?a?a.p(e,t):((a=as(e)).c(),a.m(i,null)):a&&(a.d(1),a=null),8704&t[0]&&B(r,"background",e[13]?"":`url(${e[9].backgroundImageUrl})`)},d(e){e&&he(r),a&&a.d(),n[82](null),n[83](null)}}}function rs(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function is(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function as(e){let n;function r(e){return e[20]?cs:e[5]?ls:e[11]?ss:os}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function os(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x=n[9].name+"",C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me($),f=ge(),y=pe("p"),b=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(r,f),ue(r,y),ue(y,b),v||(w=[K(d,"click",n[80]),K(m,"click",n[81])],v=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(h,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(g,$),8&t[0]&&ye(b,e[3])},d(e){e&&he(r),v=!1,J(w)}}}function ss(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";function S(e){return e[17]?ds:us}let F=S(n),k=F(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("div"),u=pe("button"),d=me(C),h=ge(),p=pe("button"),m=me($),g=ge(),f=pe("p"),y=pe("span"),b=me(n[3]),v=ge(),k.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(p,"class","RegisterButton"),fe(p,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),B(r,"width",n[18]),B(r,"height",n[19]),P(r,"FullsScreenLayout",n[17])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[71](a),ue(i,s),ue(i,l),ue(l,c),ue(c,u),ue(u,d),ue(c,h),ue(c,p),ue(p,m),ue(l,g),ue(l,f),ue(f,y),ue(y,b),n[74](f),ue(l,v),k.m(l,null),n[77](l),n[78](i),n[79](r),w||(x=[K(u,"click",n[72]),K(p,"click",n[73])],w=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(d,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(m,$),8&t[0]&&ye(b,e[3]),F===(F=S(e))&&k?k.p(e,t):(k.d(1),(k=F(e))&&(k.c(),k.m(l,null))),16777216&t[0]&&fe(i,"style",e[24]),262144&t[0]&&B(r,"width",e[18]),524288&t[0]&&B(r,"height",e[19]),131072&t[0]&&P(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[71](null),n[74](null),k.d(),n[77](null),n[78](null),n[79](null),w=!1,J(x)}}}function ls(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x=n[25]("gamePage.deposit")+"",C="true"===n[1]&&hs(n);function $(e){return e[17]?ms:ps}let S=$(n),F=S(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("button"),u=me(x),d=ge(),h=pe("p"),p=pe("span"),m=me(n[3]),g=ge(),C&&C.c(),f=ge(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(h,"class","Time"),fe(h,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),B(r,"width",n[18]),B(r,"height",n[19]),P(r,"FullsScreenLayout",n[17])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[62](a),ue(i,s),ue(i,l),ue(l,c),ue(c,u),ue(l,d),ue(l,h),ue(h,p),ue(p,m),n[64](h),ue(l,g),C&&C.m(l,null),ue(l,f),F.m(l,null),n[68](l),n[69](i),n[70](r),v||(w=K(c,"click",n[63]),v=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),33554432&t[0]&&x!==(x=e[25]("gamePage.deposit")+"")&&ye(u,x),8&t[0]&&ye(m,e[3]),"true"===e[1]?C?C.p(e,t):((C=hs(e)).c(),C.m(l,f)):C&&(C.d(1),C=null),S===(S=$(e))&&F?F.p(e,t):(F.d(1),(F=S(e))&&(F.c(),F.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),16777216&t[0]&&fe(i,"style",e[24]),262144&t[0]&&B(r,"width",e[18]),524288&t[0]&&B(r,"height",e[19]),131072&t[0]&&P(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[62](null),n[64](null),C&&C.d(),F.d(),n[68](null),n[69](null),n[70](null),v=!1,w()}}}function cs(e){let n;function r(e){return e[5]?ys:e[12]?fs:gs}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function us(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[76]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ds(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[75]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function hs(n){let r,i,a,o=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class","Button"),fe(i,"part","Button"),P(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[65](i)},p(e,t){33554432&t[0]&&o!==(o=e[25]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&P(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[65](null)}}}function ps(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[67]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ms(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function gs(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x=n[9].name+"",C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me($),f=ge(),y=pe("p"),b=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(r,f),ue(r,y),ue(y,b),v||(w=[K(d,"click",n[60]),K(m,"click",n[61])],v=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(h,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(g,$),8&t[0]&&ye(b,e[3])},d(e){e&&he(r),v=!1,J(w)}}}function fs(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S=n[9].name+"",F=n[25]("gamePage.signIn")+"",k=n[25]("gamePage.register")+"",M=n[25]("gamePage.playForFun")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(S),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(F),p=ge(),m=pe("button"),g=me(k),f=ge(),y=pe("button"),b=me(M),v=ge(),w=pe("p"),x=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(u,f),ue(u,y),ue(y,b),ue(r,v),ue(r,w),ue(w,x),C||($=[K(d,"click",n[57]),K(m,"click",n[58]),K(y,"click",n[59])],C=!0)},p(e,t){512&t[0]&&S!==(S=e[9].name+"")&&ye(a,S),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&F!==(F=e[25]("gamePage.signIn")+"")&&ye(h,F),33554432&t[0]&&k!==(k=e[25]("gamePage.register")+"")&&ye(g,k),33554432&t[0]&&M!==(M=e[25]("gamePage.playForFun")+"")&&ye(b,M),8&t[0]&&ye(x,e[3])},d(e){e&&he(r),C=!1,J($)}}}function ys(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$=n[9].name+"",S=n[25]("gamePage.deposit")+"",F=n[25]("gamePage.playNow")+"",k="true"==n[0]&&bs(n),M="true"===n[1]&&xs(n);return{c(){k&&k.c(),r=ge(),i=pe("div"),a=pe("h3"),o=me($),s=ge(),l=pe("img"),u=ge(),d=pe("div"),h=pe("button"),p=me(S),m=ge(),g=pe("button"),f=me(F),y=ge(),M&&M.c(),b=ge(),v=pe("p"),w=me(n[3]),ce(l.src,c=n[9].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(h,"class","DepositButton"),fe(h,"part","DepositButton"),fe(g,"class","PlayNowButton"),fe(g,"part","PlayNowButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){k&&k.m(e,t),de(e,r,t),de(e,i,t),ue(i,a),ue(a,o),ue(i,s),ue(i,l),ue(i,u),ue(i,d),ue(d,h),ue(h,p),ue(d,m),ue(d,g),ue(g,f),ue(i,y),M&&M.m(i,null),ue(i,b),ue(i,v),ue(v,w),x||(C=[K(h,"click",n[54]),K(g,"click",n[55])],x=!0)},p(e,t){"true"==e[0]?k?k.p(e,t):((k=bs(e)).c(),k.m(r.parentNode,r)):k&&(k.d(1),k=null),512&t[0]&&$!==($=e[9].name+"")&&ye(o,$),512&t[0]&&!ce(l.src,c=e[9].thumbnail)&&fe(l,"src",c),33554432&t[0]&&S!==(S=e[25]("gamePage.deposit")+"")&&ye(p,S),33554432&t[0]&&F!==(F=e[25]("gamePage.playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):((M=xs(e)).c(),M.m(i,b)):M&&(M.d(1),M=null),8&t[0]&&ye(w,e[3])},d(e){k&&k.d(e),e&&he(r),e&&he(i),M&&M.d(),x=!1,J(C)}}}function bs(e){let n;function r(e){return e[9].isFavored?ws:vs}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function vs(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),B(a=k("path"),"fill","white"),fe(a,"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"),fe(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","20px"),fe(i,"y","20px"),fe(i,"viewBox","0 0 512.001 512.001"),B(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),l||(c=K(r,"click",n[53]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function ws(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),B(a=k("path"),"fill","white"),fe(a,"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"),fe(i,"version","1.1"),fe(i,"class","FavoredIcon"),fe(i,"part","FavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"viewBox","0 0 19.481 19.481"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"enable-background","new 0 0 19.481 19.481"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),l||(c=K(r,"click",n[52]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function xs(n){let r,i,a,e,t,o,s,l=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==ht(n[26])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==ht(n[26])?"PanicButtonMobile":"")),P(i,"PanicButtonAnimation",n[8]),fe(r,"class",o="PanicSection "+("PC"!==ht(n[26])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==ht(n[26])?"PanicSectionMobile":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[56](i)},p(e,t){33554432&t[0]&&l!==(l=e[25]("gamePage.breakButton")+"")&&ye(a,l),256&t[0]&&P(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[56](null)}}}function Cs(e){let n;function r(e){return e[7]?is:e[6]?rs:ns}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function $s(t,e,i){let R;pt(t,Kr,e=>i(25,R=e));let A,n,r,a,D,o,s,l,c,H,N,u,d,O,j,h,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:U=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{favorites:W=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:$=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:z=""}=e,{haspanicbutton:Y="false"}=e,{playforfun:M="true"}=e,{checksession:V="true"}=e,{integratedgameframedesktop:Z="false"}=e,{integratedgameframemobile:J="false"}=e,{gameid:K=""}=e,_=!1,X=!1,q=!0,Q=!1,ee=0,E=!1,te=!1,ne=!1,I=!0,T=!1,L=window.navigator.userAgent,re=!1,ie=[],ae=!1,oe="false",se;var le,ce;({withLocale:le,translations:ce}={withLocale:"en",translations:{}}),ut.subscribe(e=>{null==e&&(_r.set(ce),ut.set(le))}),Object.keys(qo).forEach(e=>{Ir(e,qo[e])});const ue=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i(7,q=!1),r&&0<r.length&&(i(5,_=!0),i(7,q=!1),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,e},de=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),i(13,I=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(9,o=ue(e[0])),o.launchUrl&&(i(10,E=!0),i(11,te="true"==M&&o.hasFunMode),i(12,ne="true"==M&&o.hasAnonymousFunMode))},e=>{console.error("There was an error",e),i(6,X=!0)}).then(()=>{s&&(I||(i(18,H=o.width),i(19,N=o.height),O=o.width+"px",j=o.height+"px",u=o.width,d=o.height),ye())}),window.postMessage({type:"RequestModalSize"},window.location.href)},he=()=>{null!=a&&a.addEventListener("mousedown",Se,!1),null!=a&&a.addEventListener("touchstart",Se,!1),null!=a&&a.addEventListener("mouseup",Fe,!1),null!=a&&a.addEventListener("touchend",Fe,!1)},pe=()=>{i(8,Q=!1),null!=a&&a.removeEventListener("mousedown",Se),null!=a&&a.removeEventListener("touchstart",Se),null!=a&&a.removeEventListener("mouseup",Fe),null!=a&&a.removeEventListener("touchend",Fe)},me=e=>{switch(e.data.type){case"GameLaunchID":de(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":i(51,oe="true");break;case"LaunchGameFrame":fe(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),i(51,oe="false"),pe(),dt(L)?setTimeout(()=>{i(10,E="true"===J)},500):setTimeout(()=>{i(10,E="true"===Z)},500);break;case"UserSessionID":if(0<e.data.session.length){r=e.data.session,e.data.userID,i(5,_=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",r),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),i(9,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":i(18,H=e.data.modalContainerSize.modalWidth),i(19,N=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ie=e.data.receivedFavoriteResults.items)}},ge=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!0,o))},fe=(e,r)=>{let t=new URL(f+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;i(9,o=ue(e[0])),o.launchUrl&&i(9,o.isFavored=(e=o,t=r,i(12,ne="true"==M&&e.hasAnonymousFunMode),i(11,te="true"==M&&t),i(10,E=!0),n=e.id,-1!==ie.findIndex(e=>e.id==n)),o)})},ye=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));u=parseInt(o.width),d=parseInt(o.height),u=t*n,O=u?Math.floor(u)+"px":"1280px",j=d?Math.floor(d)+"px":"720px",ke()},be=e=>{if(!ae)return dt(L)?ve(J):ve(Z);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};ts("OPEN_GAME",e)},ve=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:o.id},window.location.href)},we=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:E},window.location.href),E&&(s&&ye(),window.addEventListener("ModalSize",me,!1))},G=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},B=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},xe=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)};function Ce(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!T||P()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Ce,!1),document.addEventListener("mozfullscreenchange",Ce,!1),document.addEventListener("fullscreenchange",Ce,!1),document.addEventListener("MSFullscreenChange",Ce,!1));const P=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(T?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(17,T=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(17,T=!0)))},$e=(setInterval(()=>{i(3,A=z?Si().format(z):Si().format("LTS"))},100),()=>{"true"==V?qr(f,b).then(e=>{r=e.Guid,e.UserID,i(5,_=!0)},e=>{i(5,_=!1),console.error("err on session",e)}):(r=b,i(5,_=!0))}),Se=e=>{ee=0,D=setInterval(()=>{ee+=1,i(8,Q=!0),3<=ee&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(D))},1e3)},Fe=e=>{ee<3&&i(8,Q=!1),clearInterval(D)},ke=()=>{var e=T?"100%":O,t=T?"100%":j,n=T||!I?"none":o.width?Math.floor(o.width)+"px":"1280px",r=T||!I?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(24,se=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),T||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,r=parseInt(getComputedStyle(s).height);g=g||r*Math.max(n,.5),i(14,s.style.height=g+"px",s),i(15,l.style.height=g+"px",l),e&&i(16,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return mt(()=>(window.addEventListener("resize",we,!1),window.addEventListener("message",me,!1),ae=!!es(L),()=>{pe(),window.removeEventListener("resize",we),window.removeEventListener("message",me)})),t.$$set=e=>{"endpoint"in e&&i(33,f=e.endpoint),"lang"in e&&i(34,y=e.lang),"session"in e&&i(35,b=e.session),"userid"in e&&i(36,U=e.userid),"clientstyling"in e&&i(37,v=e.clientstyling),"clientstylingurl"in e&&i(38,w=e.clientstylingurl),"favorites"in e&&i(0,W=e.favorites),"loginurl"in e&&i(39,x=e.loginurl),"registerurl"in e&&i(40,C=e.registerurl),"depositurl"in e&&i(41,$=e.depositurl),"loginevent"in e&&i(42,S=e.loginevent),"registerevent"in e&&i(43,F=e.registerevent),"depositevent"in e&&i(44,k=e.depositevent),"clockformat"in e&&i(45,z=e.clockformat),"haspanicbutton"in e&&i(1,Y=e.haspanicbutton),"playforfun"in e&&i(46,M=e.playforfun),"checksession"in e&&i(47,V=e.checksession),"integratedgameframedesktop"in e&&i(48,Z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(49,J=e.integratedgameframemobile),"gameid"in e&&i(50,K=e.gameid)},t.$$.update=()=>{if(8&t.$$.dirty[1]&&y&&(e=y,ut.set(e),i(20,re=dt(L))),524300&t.$$.dirty[1]&&f&&K&&y&&de(K,!0),52&t.$$.dirty[1]&&b&&U&&f&&$e(),65556&t.$$.dirty[1]&&"false"==V&&b&&f&&$e(),64&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,h.appendChild(e)}if(128&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==oe&&a&&he(),4&t.$$.dirty[0]&&a&&he()},[W,Y,a,A,n,_,X,q,Q,o,E,te,ne,I,s,l,c,T,H,N,re,h,p,m,"",R,L,ge,be,G,B,xe,P,f,y,b,U,v,w,x,C,$,S,F,k,z,M,V,Z,J,K,oe,()=>ge(o.id),()=>ge(o.id),()=>xe(),()=>{be(o)},function(e){ct[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>G(),()=>B(),()=>{be(o)},()=>G(),()=>B(),function(e){ct[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>xe(),function(e){ct[e?"unshift":"push"](()=>{m=e,i(23,m)})},function(e){ct[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>P(),()=>P(),function(e){ct[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){ct[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){ct[e?"unshift":"push"](()=>{s=e,i(14,s)})},function(e){ct[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>G(),()=>B(),function(e){ct[e?"unshift":"push"](()=>{m=e,i(23,m)})},()=>P(),()=>P(),function(e){ct[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){ct[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){ct[e?"unshift":"push"](()=>{s=e,i(14,s)})},()=>G(),()=>B(),function(e){ct[e?"unshift":"push"](()=>{h=e,i(21,h)})},function(e){ct[e?"unshift":"push"](()=>{c=e,i(16,c)})}]}function Ss(n){let r,i,a,o,s,l,c,u,t,d,h,p;return{c(){r=pe("div"),i=pe("div"),(a=pe("span")).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=ge(),s=pe("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(r,"class","FilterModalWindow"),fe(r,"id","FilterModal"),fe(r,"part","FilterModalWindow"),q(()=>n[15].call(r))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),n[14](r),u=m(r,n[15].bind(r)),d=!0,h||(p=K(a,"click",n[7]),h=!0)},p(e,t){n=e,(!d||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"class",l),(!d||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"part",c)},i(e){d||(q(()=>{(t=t||ve(r,Zo,{transitionDuration:n[1]},!0)).run(1)}),d=!0)},o(e){(t=t||ve(r,Zo,{transitionDuration:n[1]},!1)).run(0),d=!1},d(e){e&&he(r),n[14](null),u(),e&&t&&t.end(),h=!1,p()}}}function Fs(n){let r,i,a=n[0]&&Ss(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),a&&a.m(r,null),n[16](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&se(a,1)):((a=Ss(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[16](null)}}}function ks(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,{sessioncheck:m="true"}=t,g=window.navigator.userAgent,f=!1;const y=()=>{n(0,s=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href)},b=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&&(y(),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 mt(()=>(window.addEventListener("message",b,!1),dt(g)&&n(2,f=!0),()=>{window.removeEventListener("message",b)})),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,u=e.userid),"clientstyling"in e&&n(10,d=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint),"sessioncheck"in e&&n(13,m=e.sessioncheck)},e.$$.update=()=>{if(4864&e.$$.dirty&&c&&u&&p&&"true"==m&&qr(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&d){let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{r.appendChild(e)})}2048&e.$$.dirty&&h&&v(),2049&e.$$.dirty&&s&&h&&v()},[s,l,f,r,i,void 0,void 0,y,c,u,d,h,p,m,function(e){ct[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){ct[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends r{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{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.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{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.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}.GamesContainer{width:calc(100% - 4px);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%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.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}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},$s,Cs,t,{endpoint:33,lang:34,session:35,userid:36,clientstyling:37,clientstylingurl:38,favorites:0,loginurl:39,registerurl:40,depositurl:41,loginevent:42,registerevent:43,depositevent:44,clockformat:45,haspanicbutton:1,playforfun:46,checksession:47,integratedgameframedesktop:48,integratedgameframemobile:49,gameid:50},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[35]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[36]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[37]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[38]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[39]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[40]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[41]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[42]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[43]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[44]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[45]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[46]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[47]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[48]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[49]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends r{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>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ks,Fs,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12,sessioncheck:13},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[13]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const Ms={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},zh:{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},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:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtrar",filterModalSubtitle:"Puedes seleccionar varias opciones",filterClear:"Restablecer filtro",filterApply:"Terminado"}},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:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},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 _s(e,t,n){const r=e.slice();return r[32]=t[n],r}function Es(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S=n[6]("filters.filterModalTitle")+"",F=n[6]("filters.filterModalSubtitle")+"",k=n[6]("filters.filterApply")+"",M=n[0]&&Ts(n),_=n[3]&&Bs(n);return{c(){r=pe("div"),i=pe("section"),a=pe("div"),o=pe("h4"),s=me(S),l=ge(),c=pe("h5"),u=me(F),d=ge(),h=pe("section"),M&&M.c(),p=ge(),m=pe("section"),_&&_.c(),g=ge(),f=pe("div"),y=me(k),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(i,"class","FilterHeaderSection"),fe(i,"part","FilterHeaderSection"),fe(h,"class","FilterContentSection"),fe(h,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(m,"class","FilterFooterSection"),fe(m,"part","FilterFooterSection"),fe(r,"class",w="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),fe(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(o,s),ue(a,l),ue(a,c),ue(c,u),ue(r,d),ue(r,h),M&&M.m(h,null),ue(r,p),ue(r,m),_&&_.m(m,null),ue(m,g),ue(m,f),ue(f,y),C||($=K(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&S!==(S=e[6]("filters.filterModalTitle")+"")&&ye(s,S),64&t[0]&&F!==(F=e[6]("filters.filterModalSubtitle")+"")&&ye(u,F),e[0]?M?M.p(e,t):((M=Ts(e)).c(),M.m(h,null)):M&&(M.d(1),M=null),e[3]?_?_.p(e,t):((_=Bs(e)).c(),_.m(m,g)):_&&(_.d(1),_=null),64&t[0]&&k!==(k=e[6]("filters.filterApply")+"")&&ye(y,k),4&t[0]&&b!==(b="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),2&t[0]&&w!==(w="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"class",w),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"part",x)},d(e){e&&he(r),M&&M.d(),_&&_.d(),C=!1,$()}}}function Is(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ts(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Gs(_s(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);de(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=_s(t,a,e);o[e]?o[e].p(r,n):(o[e]=Gs(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){R(o,e),e&&he(i)}}}function Ls(){let n;return{c(){(n=pe("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Gs(n){let r,i,a,o,s,l,c,u,d,h,p=n[32].isFilterSelected&&Ls();function m(){return n[17](n[32])}return{c(){r=pe("div"),i=pe("img"),s=ge(),p&&p.c(),l=ge(),fe(i,"class","VendorImage"),fe(i,"part","VendorImage"),ce(i.src,a=n[32].image)||fe(i,"src",a),fe(i,"alt",o=n[32].name),fe(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),fe(r,"part",u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){de(e,r,t),ue(r,i),ue(r,s),p&&p.m(r,null),ue(r,l),d||(h=K(r,"click",m),d=!0)},p(e,t){n=e,1&t[0]&&!ce(i.src,a=n[32].image)&&fe(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&fe(i,"alt",o),n[32].isFilterSelected?p||((p=Ls()).c(),p.m(r,l)):p&&(p.d(1),p=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"class",c),1&t[0]&&u!==(u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"part",u)},d(e){e&&he(r),p&&p.d(),d=!1,h()}}}function Bs(e){let n,r=e[3].length&&Ps(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):((r=Ps(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Ps(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=pe("div"),i=me(s),fe(r,"class","ClearFiltersButton"),fe(r,"part","ClearFiltersButton")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ye(i,s)},d(e){e&&he(r),a=!1,o()}}}function Rs(n){let r;function i(e){return e[4]?Is:Es}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(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.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[20](null)}}}function As(e,t,i){let n;pt(e,Kr,e=>i(6,n=e));let r,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),b=[],v={},w=!1,x=(v[f]&&(v={[f]:[]}),[]);var C,$;({withLocale:C,translations:$}={withLocale:"en",translations:{}}),ut.subscribe(e=>{null==e&&(_r.set($),ut.set(C))}),Object.keys(Ms).forEach(e=>{Ir(e,Ms[e])});const S=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(f&&((y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")))&&i(3,b=y[f])),!b){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${a}/casino/vendors?filter=games(groups=${f})&datasource=${o}&platform=`+ht(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=b;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,b=x),i(2,g=!1);break;case"AvailableVendors":i(0,h=t.data.venArray),i(3,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(0,h=t.data.venArray),h&&i(3,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":M(),window.postMessage({type:"ApplyFilters"},window.location.href),i(2,g=!1);break;case"FiltersModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),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,b=y[f]);break;case"ModalLoader":i(4,w=!1)}var r},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(b.push(t.id),i(2,g=!k(b,x))):(b.includes(t.id)&&i(3,b=b.filter(e=>e!==t.id)),i(2,g=!(!b.length&&k(b,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},k=(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},M=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=k(b,x)),i(3,b=[]),null!==e&&((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},_=()=>{i(4,w=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return mt(()=>(window.addEventListener("message",S,!1),dt(m)&&i(1,p=!0),()=>{window.removeEventListener("message",S)})),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,u=e.clientstyling),"clientstylingurl"in e&&i(16,d=e.clientstylingurl)},e.$$.update=()=>{if(32768&e.$$.dirty[0]&&u){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(65536&e.$$.dirty[0]&&d){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})}},[h,p,g,b,w,r,n,F,M,_,a,o,s,l,c,u,d,e=>F(e),()=>M(),()=>_(),function(e){ct[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends r{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;height:127px;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:120px;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>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},As,Rs,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});const Ds={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function Hs(n){let r;function i(e){return e[5]?Us:e[10]?js:void 0}let a=i(n),o=a&&a(n);return{c(){r=pe("div"),o&&o.c(),fe(r,"class","CasinoIntegratedGamePage"),fe(r,"part","CasinoIntegratedGamePage")},m(e,t){de(e,r,t),o&&o.m(r,null),n[65](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(r,null)))},d(e){e&&he(r),o&&o.d(),n[65](null)}}}function Ns(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Os(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function js(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M,_=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function I(e){return e[16]?zs:Ws}let T=I(n),L=T(n),G="true"==n[1]&&!n[16]&&Ys();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),u=pe("div"),d=ge(),h=pe("div"),p=pe("div"),m=pe("iframe"),f=ge(),y=pe("div"),b=pe("div"),v=pe("button"),w=me(_),x=ge(),C=pe("button"),$=me(E),S=ge(),L.c(),F=ge(),G&&G.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(m,"title","Games"),fe(m,"class","GamesContainer"),fe(m,"part","GamesContainer"),fe(m,"aria-hidden","false"),ce(m.src,g=n[9].launchUrl)||fe(m,"src",g),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe(C,"class","RegisterButton"),fe(C,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(p,"id","IframeGame"),fe(p,"part","IframeGame"),B(p,"width",n[16]?"100%":n[17]),B(p,"height",n[16]?"100%":n[18]),B(p,"max-width",n[16]||!n[11]?"none":n[9].width?Math.floor(n[9].width)+"px":"1280px"),B(p,"max-height",n[16]||!n[11]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),fe(h,"part","IframeContainer"),P(h,"FullsScreenLayout",n[16])},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(s,l),n[56](o),ue(r,c),ue(r,u),de(e,d,t),de(e,h,t),ue(h,p),ue(p,m),n[57](m),ue(p,f),ue(p,y),ue(y,b),ue(b,v),ue(v,w),ue(b,x),ue(b,C),ue(C,$),ue(y,S),L.m(y,null),n[62](y),n[63](p),ue(h,F),G&&G.m(h,null),n[64](h),k||(M=[K(i,"click",n[55]),K(v,"click",n[58]),K(C,"click",n[59])],k=!0)},p(e,t){8&t[0]&&ye(l,e[3]),512&t[0]&&!ce(m.src,g=e[9].launchUrl)&&fe(m,"src",g),4194304&t[0]&&_!==(_=e[22]("gamePage.signIn")+"")&&ye(w,_),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ye($,E),T===(T=I(e))&&L?L.p(e,t):(L.d(1),(L=T(e))&&(L.c(),L.m(y,null))),196608&t[0]&&B(p,"width",e[16]?"100%":e[17]),327680&t[0]&&B(p,"height",e[16]?"100%":e[18]),68096&t[0]&&B(p,"max-width",e[16]||!e[11]?"none":e[9].width?Math.floor(e[9].width)+"px":"1280px"),68096&t[0]&&B(p,"max-height",e[16]||!e[11]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?G&&(G.d(1),G=null):G||((G=Ys()).c(),G.m(h,null)),65536&t[0]&&P(h,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[56](null),e&&he(d),e&&he(h),n[57](null),L.d(),n[62](null),n[63](null),G&&G.d(),n[64](null),k=!1,J(M)}}}function Us(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S,F=n[22]("gamePage.deposit")+"",k="true"===n[0]&&Vs(n);function M(e){return e[16]?Js:Zs}let _=M(n),E=_(n),I="true"==n[1]&&!n[16]&&Ks();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),u=pe("button"),d=me(F),h=ge(),p=pe("div"),m=pe("div"),g=pe("iframe"),v=ge(),w=pe("div"),k&&k.c(),x=ge(),E.c(),C=ge(),I&&I.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(u,"class","DepositButton"),fe(u,"part","DepositButton"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"id","IframeGame"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,f=n[9].launchUrl)||fe(g,"src",f),fe(g,"width",y=n[13]+"px"),fe(g,"height",b=n[14]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(m,"id","IframeGame"),fe(m,"part","IframeGame"),B(m,"width",n[16]?"100%":n[17]),B(m,"height",n[16]?"100%":n[18]),B(m,"max-width",n[16]?"none":n[9].width?n[9].width+"px":"1280px"),B(m,"max-height",n[16]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(p,"id","IframeContainer"),fe(p,"part","IframeContainer"),P(p,"FullsScreenLayout",n[16])},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(s,l),n[46](o),ue(r,c),ue(r,u),ue(u,d),de(e,h,t),de(e,p,t),ue(p,m),ue(m,g),n[48](g),ue(m,v),ue(m,w),k&&k.m(w,null),ue(w,x),E.m(w,null),n[52](w),n[53](m),ue(p,C),I&&I.m(p,null),n[54](p),$||(S=[K(i,"click",n[45]),K(u,"click",n[47])],$=!0)},p(e,t){8&t[0]&&ye(l,e[3]),4194304&t[0]&&F!==(F=e[22]("gamePage.deposit")+"")&&ye(d,F),512&t[0]&&!ce(g.src,f=e[9].launchUrl)&&fe(g,"src",f),8192&t[0]&&y!==(y=e[13]+"px")&&fe(g,"width",y),16384&t[0]&&b!==(b=e[14]+"px")&&fe(g,"height",b),"true"===e[0]?k?k.p(e,t):((k=Vs(e)).c(),k.m(w,x)):k&&(k.d(1),k=null),_===(_=M(e))&&E?E.p(e,t):(E.d(1),(E=_(e))&&(E.c(),E.m(w,null))),196608&t[0]&&B(m,"width",e[16]?"100%":e[17]),327680&t[0]&&B(m,"height",e[16]?"100%":e[18]),66048&t[0]&&B(m,"max-width",e[16]?"none":e[9].width?e[9].width+"px":"1280px"),66048&t[0]&&B(m,"max-height",e[16]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?I&&(I.d(1),I=null):I||((I=Ks()).c(),I.m(p,null)),65536&t[0]&&P(p,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[46](null),e&&he(h),e&&he(p),n[48](null),k&&k.d(),E.d(),n[52](null),n[53](null),I&&I.d(),n[54](null),$=!1,J(S)}}}function Ws(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[61]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function zs(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[60]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ys(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Vs(n){let r,i,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class",e="PanicButton "+("PC"!==ht(n[23])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==ht(n[23])?"PanicButtonMobile":"")),P(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[49](i)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&P(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[49](null)}}}function Zs(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[51]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Js(n){let r,i,a;return{c(){(r=pe("button")).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>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[50]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ks(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Xs(e){let n;function r(e){return e[7]?Os:e[6]?Ns:Hs}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function qs(t,e,r){let R;pt(t,Kr,e=>r(22,R=e));let A,n,i,a,D,o,s,l,c,u,d,h,H,N,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:O=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:$=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:M=""}=e,{haspanicbutton:j="false"}=e,{playforfun:_="true"}=e,{checksession:U="true"}=e,{gamebanneractive:W="false"}=e,{gameid:E=""}=e,I=!1,z=!1,Y=!0,T=!1,L=0,V=!1,Z=!1,J=!0,G=!1,K=window.navigator.userAgent;var X,q;({withLocale:X,translations:q}={withLocale:"en",translations:{}}),ut.subscribe(e=>{null==e&&(_r.set(q),ut.set(X))}),Object.keys(Ds).forEach(e=>{Ir(e,Ds[e])});const Q=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),r(11,J=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{r(9,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(r(5,I=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,p.scrollIntoView(),e})(e[0])),o.launchUrl&&(V=!0,r(10,Z="true"==_&&o.hasFunMode),"true"==_&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),r(6,z=!0)}).then(()=>{s&&(ee(),J||(r(17,H=o.width),r(18,N=o.height),d=o.width,h=o.height))})},ee=()=>{let e=getComputedStyle(s),t=getComputedStyle(u);r(13,l=parseInt(e.width.slice(0,-2))),r(14,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);d=parseInt(t.width),h=parseInt(t.height),l/n>c-m.clientHeight-g.clientHeight?(h=c-m.clientHeight-g.clientHeight,d=c*n):(d=l,h=l/n),r(17,H=d?Math.floor(d)+"px":"1280px"),r(18,N=h?Math.floor(h)+"px":"720px")},te=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:V},window.location.href),V&&s&&ee()},ne=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},re=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},ie=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)};function B(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!G||P()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",B,!1),document.addEventListener("mozfullscreenchange",B,!1),document.addEventListener("fullscreenchange",B,!1),document.addEventListener("MSFullscreenChange",B,!1));const P=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(G?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(16,G=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(16,G=!0)))},ae=setInterval(()=>{r(3,A=M?Si().format(M):Si().format("LTS"))},100),oe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},se=e=>{L=0,D=setInterval(()=>{L+=1,r(8,T=!0),3<=L&&clearInterval(D)},1e3)},le=e=>{L<3&&r(8,T=!1),clearInterval(D)};return mt(()=>(window.addEventListener("resize",te,!1),es(K),()=>{r(8,T=!1),null!=a&&a.removeEventListener("mousedown",se),null!=a&&a.removeEventListener("touchstart",se),null!=a&&a.removeEventListener("mouseup",le),null!=a&&a.removeEventListener("touchend",le),window.removeEventListener("resize",te),clearInterval(ae)})),t.$$set=e=>{"endpoint"in e&&r(29,f=e.endpoint),"lang"in e&&r(30,y=e.lang),"session"in e&&r(31,b=e.session),"userid"in e&&r(32,O=e.userid),"clientstyling"in e&&r(33,v=e.clientstyling),"clientstylingurl"in e&&r(34,w=e.clientstylingurl),"loginurl"in e&&r(35,x=e.loginurl),"registerurl"in e&&r(36,C=e.registerurl),"depositurl"in e&&r(37,$=e.depositurl),"loginevent"in e&&r(38,S=e.loginevent),"registerevent"in e&&r(39,F=e.registerevent),"depositevent"in e&&r(40,k=e.depositevent),"clockformat"in e&&r(41,M=e.clockformat),"haspanicbutton"in e&&r(0,j=e.haspanicbutton),"playforfun"in e&&r(42,_=e.playforfun),"checksession"in e&&r(43,U=e.checksession),"gamebanneractive"in e&&r(1,W=e.gamebanneractive),"gameid"in e&&r(44,E=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,ut.set(e),dt(K),r(7,Y=!1)),1610612736&t.$$.dirty[0]|8192&t.$$.dirty[1]&&f&&E&&y&&Q(E),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&b&&O&&f&&("true"==U?qr(f,b).then(e=>{i=e.Guid,e.UserID,r(5,I=!0)},e=>{r(5,I=!1),console.error("err on session",e)}):i=b),4&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,p.appendChild(e)}if(8&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,p&&setTimeout(()=>{p.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&a&&(null!=a&&a.addEventListener("mousedown",se,!1),null!=a&&a.addEventListener("touchstart",se,!1),null!=a&&a.addEventListener("mouseup",le,!1),null!=a&&a.addEventListener("touchend",le,!1))},[j,W,a,A,n,I,z,Y,T,o,Z,J,s,l,c,u,G,H,N,p,m,g,R,K,ne,re,ie,P,oe,f,y,b,O,v,w,x,C,$,S,F,k,M,_,U,E,()=>oe(),function(e){ct[e?"unshift":"push"](()=>{g=e,r(21,g)})},()=>ie(),function(e){ct[e?"unshift":"push"](()=>{n=e,r(4,n)})},function(e){ct[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>P(),()=>P(),function(e){ct[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){ct[e?"unshift":"push"](()=>{u=e,r(15,u)})},function(e){ct[e?"unshift":"push"](()=>{s=e,r(12,s)})},()=>oe(),function(e){ct[e?"unshift":"push"](()=>{g=e,r(21,g)})},function(e){ct[e?"unshift":"push"](()=>{n=e,r(4,n)})},()=>ne(),()=>re(),()=>P(),()=>P(),function(e){ct[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){ct[e?"unshift":"push"](()=>{u=e,r(15,u)})},function(e){ct[e?"unshift":"push"](()=>{s=e,r(12,s)})},function(e){ct[e?"unshift":"push"](()=>{p=e,r(19,p)})}]}function Qs(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g="true"==e[19]&&tl(e);return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=ge(),o=pe("div"),s=ge(),l=pe("casino-categories-slider"),c=ge(),u=pe("casino-page"),d=ge(),g&&g.c(),h=ge(),p=pe("casino-filter-modal"),m=pe("casino-filter-page"),fe(i,"class","HeaderPlaceholder"),fe(i,"part","HeaderPlaceholder"),B(i,"height",e[57]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),w(l,"endpoint",e[50]),w(l,"datasource",e[51]),w(l,"lang",e[52]),w(l,"session",e[56]),w(l,"userid",e[2]),w(l,"sessioncheck","false"),w(l,"actionevent",e[16]),w(l,"mostplayed",e[10]),w(l,"mostplayedrounds",e[11]),w(l,"favorites",e[12]),w(l,"activecategory",e[1]),w(l,"clientstyling",e[3]),w(l,"clientstylingurl",e[4]),w(l,"containermaxwidth",e[14]),w(l,"location","secondaryMenu"),w(l,"showsubgroups",e[45]),w(u,"session",e[56]),w(u,"userid",e[2]),w(u,"endpoint",e[50]),w(u,"datasource",e[51]),w(u,"lang",e[52]),w(u,"visiblegames",e[21]),w(u,"playrandomgame",e[20]),w(u,"activecategory",e[1]),w(u,"alternativesearch",e[13]),w(u,"favorites",e[12]),w(u,"mostplayedrounds",e[11]),w(u,"mostplayed",e[10]),w(u,"clientstyling",e[3]),w(u,"clientstylingurl",e[4]),w(u,"lobbyid",e[6]),w(u,"containermaxwidth",e[14]),w(u,"haspanicbutton",e[15]),w(u,"livecasino",e[17]),w(u,"currency",e[0]),w(u,"gamepagemodalurl",e[24]),w(u,"randombuttonicon",e[49]),w(u,"enablejackpotbanner",e[25]),w(u,"enablecasinowinners",e[26]),w(u,"periodrecent",e[31]),w(u,"periodtop",e[32]),w(u,"numberusersrecent",e[33]),w(u,"numberuserstop",e[34]),w(u,"amountlimit",e[35]),w(u,"isrecentavailable",e[30]),w(u,"istopavailable",e[29]),w(u,"integratedgameframedesktop",e[22]),w(u,"integratedgameframemobile",e[23]),w(u,"defaultcurrency",e[36]),w(u,"enableautoscroll",e[28]),w(u,"tabsorder",e[27]),w(u,"backgroundsrc",e[41]),w(u,"backgroundsrcmobile",e[42]),w(u,"titlelogopath",e[43]),w(u,"caticon0",e[37]),w(u,"caticon1",e[38]),w(u,"caticon2",e[39]),w(u,"caticon3",e[40]),w(u,"iconlabels",e[44]),w(u,"enablecollections",e[46]),w(u,"type",e[47]),w(u,"titletype",e[48]),w(m,"session",e[56]),w(m,"userid",e[2]),w(m,"endpoint",e[50]),w(m,"datasource",e[51]),w(m,"lang",e[52]),w(m,"clientstylingurl",e[4]),w(m,"clientstyling",e[3]),w(p,"clientstylingurl",e[4]),w(p,"session",e[56]),w(p,"userid",e[2]),w(p,"endpoint",e[50]),w(p,"datasource",e[51]),w(p,"lang",e[52]),w(p,"sessioncheck","false"),w(p,"clientstyling",e[3]),fe(r,"class","WidgetsSection"),fe(r,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(r,o),ue(r,s),ue(r,l),ue(r,c),ue(r,u),ue(r,d),g&&g.m(r,null),ue(r,h),ue(r,p),ue(p,m)},p(e,t){67108864&t[1]&&B(i,"height",e[57]+"px"),524288&t[1]&&w(l,"endpoint",e[50]),1048576&t[1]&&w(l,"datasource",e[51]),2097152&t[1]&&w(l,"lang",e[52]),33554432&t[1]&&w(l,"session",e[56]),4&t[0]&&w(l,"userid",e[2]),65536&t[0]&&w(l,"actionevent",e[16]),1024&t[0]&&w(l,"mostplayed",e[10]),2048&t[0]&&w(l,"mostplayedrounds",e[11]),4096&t[0]&&w(l,"favorites",e[12]),2&t[0]&&w(l,"activecategory",e[1]),8&t[0]&&w(l,"clientstyling",e[3]),16&t[0]&&w(l,"clientstylingurl",e[4]),16384&t[0]&&w(l,"containermaxwidth",e[14]),16384&t[1]&&w(l,"showsubgroups",e[45]),33554432&t[1]&&w(u,"session",e[56]),4&t[0]&&w(u,"userid",e[2]),524288&t[1]&&w(u,"endpoint",e[50]),1048576&t[1]&&w(u,"datasource",e[51]),2097152&t[1]&&w(u,"lang",e[52]),2097152&t[0]&&w(u,"visiblegames",e[21]),1048576&t[0]&&w(u,"playrandomgame",e[20]),2&t[0]&&w(u,"activecategory",e[1]),8192&t[0]&&w(u,"alternativesearch",e[13]),4096&t[0]&&w(u,"favorites",e[12]),2048&t[0]&&w(u,"mostplayedrounds",e[11]),1024&t[0]&&w(u,"mostplayed",e[10]),8&t[0]&&w(u,"clientstyling",e[3]),16&t[0]&&w(u,"clientstylingurl",e[4]),64&t[0]&&w(u,"lobbyid",e[6]),16384&t[0]&&w(u,"containermaxwidth",e[14]),32768&t[0]&&w(u,"haspanicbutton",e[15]),131072&t[0]&&w(u,"livecasino",e[17]),1&t[0]&&w(u,"currency",e[0]),16777216&t[0]&&w(u,"gamepagemodalurl",e[24]),262144&t[1]&&w(u,"randombuttonicon",e[49]),33554432&t[0]&&w(u,"enablejackpotbanner",e[25]),67108864&t[0]&&w(u,"enablecasinowinners",e[26]),1&t[1]&&w(u,"periodrecent",e[31]),2&t[1]&&w(u,"periodtop",e[32]),4&t[1]&&w(u,"numberusersrecent",e[33]),8&t[1]&&w(u,"numberuserstop",e[34]),16&t[1]&&w(u,"amountlimit",e[35]),1073741824&t[0]&&w(u,"isrecentavailable",e[30]),536870912&t[0]&&w(u,"istopavailable",e[29]),4194304&t[0]&&w(u,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(u,"integratedgameframemobile",e[23]),32&t[1]&&w(u,"defaultcurrency",e[36]),268435456&t[0]&&w(u,"enableautoscroll",e[28]),134217728&t[0]&&w(u,"tabsorder",e[27]),1024&t[1]&&w(u,"backgroundsrc",e[41]),2048&t[1]&&w(u,"backgroundsrcmobile",e[42]),4096&t[1]&&w(u,"titlelogopath",e[43]),64&t[1]&&w(u,"caticon0",e[37]),128&t[1]&&w(u,"caticon1",e[38]),256&t[1]&&w(u,"caticon2",e[39]),512&t[1]&&w(u,"caticon3",e[40]),8192&t[1]&&w(u,"iconlabels",e[44]),32768&t[1]&&w(u,"enablecollections",e[46]),65536&t[1]&&w(u,"type",e[47]),131072&t[1]&&w(u,"titletype",e[48]),"true"==e[19]?g?g.p(e,t):((g=tl(e)).c(),g.m(r,h)):g&&(g.d(1),g=null),33554432&t[1]&&w(m,"session",e[56]),4&t[0]&&w(m,"userid",e[2]),524288&t[1]&&w(m,"endpoint",e[50]),1048576&t[1]&&w(m,"datasource",e[51]),2097152&t[1]&&w(m,"lang",e[52]),16&t[0]&&w(m,"clientstylingurl",e[4]),8&t[0]&&w(m,"clientstyling",e[3]),16&t[0]&&w(p,"clientstylingurl",e[4]),33554432&t[1]&&w(p,"session",e[56]),4&t[0]&&w(p,"userid",e[2]),524288&t[1]&&w(p,"endpoint",e[50]),1048576&t[1]&&w(p,"datasource",e[51]),2097152&t[1]&&w(p,"lang",e[52]),8&t[0]&&w(p,"clientstyling",e[3])},d(e){e&&he(n),g&&g.d()}}}function el(e){let n,r;return{c(){n=pe("p"),r=me(e[55]),B(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16777216&t[1]&&ye(r,e[55])},d(e){e&&he(n)}}}function tl(e){let n,r;return{c(){n=pe("casino-modal"),w(r=pe("casino-game-page"),"session",e[56]),w(r,"userid",e[2]),w(r,"endpoint",e[50]),w(r,"datasource",e[51]),w(r,"lang",e[52]),w(r,"loginevent",e[7]),w(r,"registerevent",e[8]),w(r,"depositevent",e[9]),w(r,"checksession","false"),w(r,"playforfun",e[18]),w(r,"favorites",e[12]),w(r,"clientstyling",e[3]),w(r,"clientstylingurl",e[4]),w(r,"clockformat",e[5]),w(r,"haspanicbutton",e[15]),w(r,"currency",e[0]),w(r,"integratedgameframedesktop",e[22]),w(r,"integratedgameframemobile",e[23]),w(n,"session",e[56]),w(n,"userid",e[2]),w(n,"endpoint",e[50]),w(n,"datasource",e[51]),w(n,"lang",e[52]),w(n,"sessioncheck","false"),w(n,"clientstyling",e[3]),w(n,"clientstylingurl",e[4]),w(n,"gamepagemodalurl",e[24]),w(n,"haspanicbutton",e[15])},m(e,t){de(e,n,t),ue(n,r)},p(e,t){33554432&t[1]&&w(r,"session",e[56]),4&t[0]&&w(r,"userid",e[2]),524288&t[1]&&w(r,"endpoint",e[50]),1048576&t[1]&&w(r,"datasource",e[51]),2097152&t[1]&&w(r,"lang",e[52]),128&t[0]&&w(r,"loginevent",e[7]),256&t[0]&&w(r,"registerevent",e[8]),512&t[0]&&w(r,"depositevent",e[9]),262144&t[0]&&w(r,"playforfun",e[18]),4096&t[0]&&w(r,"favorites",e[12]),8&t[0]&&w(r,"clientstyling",e[3]),16&t[0]&&w(r,"clientstylingurl",e[4]),32&t[0]&&w(r,"clockformat",e[5]),32768&t[0]&&w(r,"haspanicbutton",e[15]),1&t[0]&&w(r,"currency",e[0]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),33554432&t[1]&&w(n,"session",e[56]),4&t[0]&&w(n,"userid",e[2]),524288&t[1]&&w(n,"endpoint",e[50]),1048576&t[1]&&w(n,"datasource",e[51]),2097152&t[1]&&w(n,"lang",e[52]),8&t[0]&&w(n,"clientstyling",e[3]),16&t[0]&&w(n,"clientstylingurl",e[4]),16777216&t[0]&&w(n,"gamepagemodalurl",e[24]),32768&t[0]&&w(n,"haspanicbutton",e[15])},d(e){e&&he(n)}}}function nl(n){let r,i,a;function o(e){return e[54]?el:Qs}let s=o(n),l=s(n);return{c(){r=pe("div"),l.c(),this.c=Z,fe(r,"class",i=n[53]?"DisplayNone":""),fe(r,"part",a=n[53]?"DisplayNone":"")},m(e,t){de(e,r,t),l.m(r,null),n[70](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(r,null))),4194304&t[1]&&i!==(i=e[53]?"DisplayNone":"")&&fe(r,"class",i),4194304&t[1]&&a!==(a=e[53]?"DisplayNone":"")&&fe(r,"part",a)},i:Z,o:Z,d(e){e&&he(r),l.d(),n[70](null)}}}function rl(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:u=""}=t,{userid:d=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y=""}=t,{loginurl:b=""}=t,{registerurl:v=""}=t,{depositurl:w=""}=t,{loginevent:x=""}=t,{registerevent:C=""}=t,{depositevent:$=""}=t,{mostplayed:S=""}=t,{mostplayedrounds:F=""}=t,{favorites:k=""}=t,{desktopoffset:M="0"}=t,{mobileoffset:_="0"}=t,{alternativesearch:E="false"}=t,{containermaxwidth:R=""}=t,{haspanicbutton:A="false"}=t,{activecategory:I="LOBBY"}=t,{actionevent:D="CategoryChange"}=t,{livecasino:H="false"}=t,{playforfun:N="true"}=t,{gamemodal:O="true"}=t,{playrandomgame:j="false"}=t,{visiblegames:U="10"}=t,{integratedgameframedesktop:W="false"}=t,{integratedgameframemobile:z="false"}=t,{gamepagemodalurl:Y="false"}=t,{enablejackpotbanner:V=""}=t,{enablecasinowinners:Z=""}=t,{tabsorder:J=""}=t,{enableautoscroll:K=""}=t,{istopavailable:X=""}=t,{isrecentavailable:q=""}=t,{periodrecent:Q=""}=t,{periodtop:ee=""}=t,{numberusersrecent:te=""}=t,{numberuserstop:ne=""}=t,{amountlimit:re=""}=t,{defaultcurrency:ie=""}=t,{caticon0:ae=""}=t,{caticon1:oe=""}=t,{caticon2:se=""}=t,{caticon3:le=""}=t,{backgroundsrc:ce=""}=t,{backgroundsrcmobile:ue=""}=t,{titlelogopath:de=""}=t,{iconlabels:he=""}=t,{visualstructure:pe=""}=t,{showsubgroups:me="false"}=t,{enablecollections:ge=""}=t,{type:fe=""}=t,{titletype:ye=""}=t,{randombuttonicon:be=""}=t,T=!1,L=!1,G="Loading, please wait ...",B="",ve=window.navigator.userAgent,P=0,we=!1;var xe,Ce;({withLocale:xe,translations:Ce}={withLocale:"en",translations:{}}),ut.subscribe(e=>{null==e&&(_r.set(Ce),ut.set(xe))});const $e=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":(we=e.data.scrollTop)&&(P||n(57,P="PC"===ht(ve)?parseInt(M):parseInt(_)),window.scrollTo({top:P}));break;case"UserSessionID":n(56,B=e.data.session),e.data.userID;break;case"CategoryChange":n(1,I=e.data.itemId)}};return mt(()=>(window.addEventListener("message",$e,!1),n(57,P="PC"===ht(ve)?parseInt(M):parseInt(_)),()=>{window.removeEventListener("message",$e)})),e.$$set=e=>{"endpoint"in e&&n(59,s=e.endpoint),"datasource"in e&&n(60,l=e.datasource),"lang"in e&&n(61,c=e.lang),"session"in e&&n(62,u=e.session),"userid"in e&&n(2,d=e.userid),"opsession"in e&&n(63,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(0,y=e.currency),"loginurl"in e&&n(64,b=e.loginurl),"registerurl"in e&&n(65,v=e.registerurl),"depositurl"in e&&n(66,w=e.depositurl),"loginevent"in e&&n(7,x=e.loginevent),"registerevent"in e&&n(8,C=e.registerevent),"depositevent"in e&&n(9,$=e.depositevent),"mostplayed"in e&&n(10,S=e.mostplayed),"mostplayedrounds"in e&&n(11,F=e.mostplayedrounds),"favorites"in e&&n(12,k=e.favorites),"desktopoffset"in e&&n(67,M=e.desktopoffset),"mobileoffset"in e&&n(68,_=e.mobileoffset),"alternativesearch"in e&&n(13,E=e.alternativesearch),"containermaxwidth"in e&&n(14,R=e.containermaxwidth),"haspanicbutton"in e&&n(15,A=e.haspanicbutton),"activecategory"in e&&n(1,I=e.activecategory),"actionevent"in e&&n(16,D=e.actionevent),"livecasino"in e&&n(17,H=e.livecasino),"playforfun"in e&&n(18,N=e.playforfun),"gamemodal"in e&&n(19,O=e.gamemodal),"playrandomgame"in e&&n(20,j=e.playrandomgame),"visiblegames"in e&&n(21,U=e.visiblegames),"integratedgameframedesktop"in e&&n(22,W=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(23,z=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(24,Y=e.gamepagemodalurl),"enablejackpotbanner"in e&&n(25,V=e.enablejackpotbanner),"enablecasinowinners"in e&&n(26,Z=e.enablecasinowinners),"tabsorder"in e&&n(27,J=e.tabsorder),"enableautoscroll"in e&&n(28,K=e.enableautoscroll),"istopavailable"in e&&n(29,X=e.istopavailable),"isrecentavailable"in e&&n(30,q=e.isrecentavailable),"periodrecent"in e&&n(31,Q=e.periodrecent),"periodtop"in e&&n(32,ee=e.periodtop),"numberusersrecent"in e&&n(33,te=e.numberusersrecent),"numberuserstop"in e&&n(34,ne=e.numberuserstop),"amountlimit"in e&&n(35,re=e.amountlimit),"defaultcurrency"in e&&n(36,ie=e.defaultcurrency),"caticon0"in e&&n(37,ae=e.caticon0),"caticon1"in e&&n(38,oe=e.caticon1),"caticon2"in e&&n(39,se=e.caticon2),"caticon3"in e&&n(40,le=e.caticon3),"backgroundsrc"in e&&n(41,ce=e.backgroundsrc),"backgroundsrcmobile"in e&&n(42,ue=e.backgroundsrcmobile),"titlelogopath"in e&&n(43,de=e.titlelogopath),"iconlabels"in e&&n(44,he=e.iconlabels),"visualstructure"in e&&n(69,pe=e.visualstructure),"showsubgroups"in e&&n(45,me=e.showsubgroups),"enablecollections"in e&&n(46,ge=e.enablecollections),"type"in e&&n(47,fe=e.type),"titletype"in e&&n(48,ye=e.titletype),"randombuttonicon"in e&&n(49,be=e.randombuttonicon)},e.$$.update=()=>{if(1073741824&e.$$.dirty[1]&&c&&Qr(c),4&e.$$.dirty[0]|268435456&e.$$.dirty[1]|1&e.$$.dirty[2]&&u&&d&&s&&qr(s,u).then(e=>{n(56,B=e.Guid),e.UserID,n(0,y=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),5120&e.$$.dirty[0]|1879048192&e.$$.dirty[1]&&s&&l&&c&&S&&k&&(s||(n(55,G="Endpoint is missing! Please provide a valid endpointURL."),n(54,L=!0),console.error(G)),l||(n(55,G="Datasource is missing! Please provide a valid datasource."),n(54,L=!0),console.error(G)),(!c||c.length<2)&&(n(55,G="Language is missing! Please provide a valid language (alpha2code)"),n(54,L=!0),console.error(G)),Qr(c),n(50,r=s),n(51,i=l),n(52,a=c),n(54,L=!1)),2&e.$$.dirty[2]&&h&&n(56,B=h),8&e.$$.dirty[0]&&p){let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)}if(16&e.$$.dirty[0]&&m){n(53,T=!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(53,T=!1)},500))})}},[y,I,d,p,m,g,f,x,C,$,S,F,k,E,R,A,D,H,N,O,j,U,W,z,Y,V,Z,J,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,ue,de,he,me,ge,fe,ye,be,r,i,a,T,L,G,B,P,o,s,l,c,u,h,b,v,w,M,_,pe,function(e){ct[e?"unshift":"push"](()=>{o=e,n(58,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends r{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'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.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}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.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:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},qs,Xs,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,loginurl:35,registerurl:36,depositurl:37,loginevent:38,registerevent:39,depositevent:40,clockformat:41,haspanicbutton:0,playforfun:42,checksession:43,gamebanneractive:1,gameid:44},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get loginurl(){return this.$$.ctx[35]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[36]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[37]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[38]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[39]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[40]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[41]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[42]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[43]}set checksession(e){this.$$set({checksession:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[44]}set gameid(e){this.$$set({gameid:e}),f()}});class il extends r{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>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},rl,nl,t,{endpoint:59,datasource:60,lang:61,session:62,userid:2,opsession:63,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:0,loginurl:64,registerurl:65,depositurl:66,loginevent:7,registerevent:8,depositevent:9,mostplayed:10,mostplayedrounds:11,favorites:12,desktopoffset:67,mobileoffset:68,alternativesearch:13,containermaxwidth:14,haspanicbutton:15,activecategory:1,actionevent:16,livecasino:17,playforfun:18,gamemodal:19,playrandomgame:20,visiblegames:21,integratedgameframedesktop:22,integratedgameframemobile:23,gamepagemodalurl:24,enablejackpotbanner:25,enablecasinowinners:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,periodrecent:31,periodtop:32,numberusersrecent:33,numberuserstop:34,amountlimit:35,defaultcurrency:36,caticon0:37,caticon1:38,caticon2:39,caticon3:40,backgroundsrc:41,backgroundsrcmobile:42,titlelogopath:43,iconlabels:44,visualstructure:69,showsubgroups:45,enablecollections:46,type:47,titletype:48,randombuttonicon:49},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}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","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","enablejackpotbanner","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","showsubgroups","enablecollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[59]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[60]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[61]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[62]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[63]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get loginurl(){return this.$$.ctx[64]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[65]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[66]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[7]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[8]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[9]}set depositevent(e){this.$$set({depositevent:e}),f()}get mostplayed(){return this.$$.ctx[10]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[11]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get favorites(){return this.$$.ctx[12]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[67]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[68]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[14]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[15]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[16]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[17]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[18]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[19]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[20]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[21]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[22]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[23]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablejackpotbanner(){return this.$$.ctx[25]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get enablecasinowinners(){return this.$$.ctx[26]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get periodrecent(){return this.$$.ctx[31]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[32]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[33]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[34]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[35]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[36]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get caticon0(){return this.$$.ctx[37]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[38]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[39]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[40]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[41]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[42]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[43]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[44]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[69]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get showsubgroups(){return this.$$.ctx[45]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get enablecollections(){return this.$$.ctx[46]}set enablecollections(e){this.$$set({enablecollections:e}),f()}get type(){return this.$$.ctx[47]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[48]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[49]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",il),il});
33
33
  //# sourceMappingURL=casino-lobby.js.map