@everymatrix/casino-lobby 1.29.6 → 1.29.8
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.
- package/dist/casino-lobby.js +3 -3
- package/dist/casino-lobby.js.map +1 -1
- package/index.html +0 -1
- package/package.json +2 -2
- package/src/CasinoLobby.svelte +0 -4
package/dist/casino-lobby.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function O(){}const v=e=>e;function p(e){return e()}function h(){return Object.create(null)}function j(e){e.forEach(p)}function L(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s;function ce(e,t){return(s=s||document.createElement("a")).href=t,e===s.href}function u(e,...t){if(null==e)return O;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ut(e,t,n){e.$$.on_destroy.push(u(t,n))}function E(e){return e&&L(e.destroy)?e.destroy:O}var e="undefined"!=typeof window;let w=e?()=>window.performance.now():()=>Date.now(),$=e?e=>requestAnimationFrame(e):O;const x=new Set;function C(t){x.forEach(e=>{e.c(t)||(x.delete(e),e.f())}),0!==x.size&&$(C)}function de(e,t){e.appendChild(t)}function k(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function ue(e,t,n){e.insertBefore(t,n||null)}function me(e){e.parentNode&&e.parentNode.removeChild(e)}function H(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 z(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function he(e){return document.createTextNode(e)}function ge(){return he(" ")}function c(){return he("")}function U(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 S(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.data!==(t=""+t)&&(e.data=t)}function G(e,t){e.value=null==t?"":t}function M(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}let F;function W(e,t,n){e.classList[n?"add":"remove"](t)}class _{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=z(t.nodeName):this.e=pe(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(("TEMPLATE"===this.e.nodeName?this.e.content:this.e).childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)ue(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(me)}}function r(e){var t={};for(const n of e)t[n.name]=n.value;return t}const T=new Map;let I,P=0;function R(e,t,n,r,a,i,o,s=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*i(e);c+=100*e+`%{${o(r,1-r)}}
|
|
2
2
|
`}var d,u=c+`100% {${o(n,1-n)}}
|
|
3
|
-
}`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,m=F(e),{stylesheet:p,rules:h}=I.get(m)||(m=m,d={stylesheet:(d=e,h=pe("style"),d=F(d),p=h,de(d.head||d,p),p.sheet,h.sheet),rules:{}},I.set(m,d),d),m=(h[s]||(h[s]=!0,p.insertRule(`@keyframes ${s} `+u,p.cssRules.length)),e.style.animation||"");return e.style.animation=(m?m+", ":"")+s+` ${r}ms linear ${a}ms 1 both`,T+=1,s}function D(e){_=e}function _e(){if(_)return _;throw new Error("Function called outside component initialization")}function st(e){_e().$$.on_mount.push(e)}const B=[],lt=[];let A=[];const W=[],Y=Promise.resolve();let V=!1;function q(){V||(V=!0,Y.then(m))}function ke(){return q(),Y}function Z(e){A.push(e)}const J=new Set;let K,X=0;function m(){if(0===X){const r=_;do{try{for(;X<B.length;){const r=B[X];X++,D(r),e=t=void 0;var e,t=r.$$;null!==t.fragment&&(t.update(),H(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Z))}}catch(r){throw B.length=0,X=0,r}for(D(null),B.length=0,X=0;lt.length;)lt.pop()();for(let e=0;e<A.length;e+=1){var n=A[e];J.has(n)||(J.add(n),n())}}while(A.length=0,B.length);for(;W.length;)W.pop()();V=!1,J.clear(),D(r)}}function Q(e,t,n){var r;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(r=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),r))}const ee=new Set;let te;function ne(e,t){e&&e.i&&(ee.delete(e),e.i(t))}function re(e,t,n,r){e&&e.o?ee.has(e)||(ee.add(e),te.c.push(()=>{ee.delete(e),r&&(n&&e.d(1),r())}),e.o(t)):r&&r()}const ae={duration:0};function ie(l,e,t,n){const r={direction:"both"};let c=e(l,t,r),d=n?0:1,u=null,m=null,p=null;function h(){var e,t,n,r;p&&(e=l,t=p,n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-r.length)||(e.style.animation=r.join(", "),T-=n)||$(()=>{T||(I.forEach(e=>{e=e.stylesheet.ownerNode;e&&me(e)}),I.clear())}))}function g(e,t){var n=e.b-d;return t*=Math.abs(n),{a:d,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function a(e){const{delay:t=0,duration:n=300,easing:r=v,tick:a=N,css:i}=c||ae,o={start:w()+t,b:e};if(e||((o.group=te).r+=1),u||m)m=o;else{i&&(h(),p=R(l,d,e,n,t,r,i)),e&&a(0,1),u=g(o,n),Z(()=>Q(l,e,"start"));{var s=e=>{return m&&e>m.start&&(u=g(m,n),m=null,Q(l,u.b,"start"),i)&&(h(),p=R(l,d,u.b,u.duration,0,r,c.css)),u&&(e>=u.end?(a(d=u.b,1-d),Q(l,u.b,"end"),m||(u.b?h():--u.group.r||H(u.group.c)),u=null):e>=u.start&&(e=e-u.start,d=u.a+u.d*r(e/u.duration),a(d,1-d))),!(!u&&!m)};let t;0===x.size&&$(C),new Promise(e=>{x.add(t={c:s,f:e})})}}}return{run(e){M(c)?(K||(K=Promise.resolve()).then(()=>{K=null}),K.then(()=>{c=c(r),a(e)})):a(e)},end(){h(),u=m=null}}}function oe(e,t){e.d(1),t.delete(e.key)}function se(t,n,r,a,i,o,s,l,e,c,d,u){let m=t.length,p=o.length,h=m;for(var g={};h--;)g[t[h].key]=h;var f=[],y=new Map,b=new Map,v=[];for(h=p;h--;){const t=u(i,o,h),H=r(t);let e=s.get(H);e?a&&v.push(()=>e.p(t,n)):(e=c(H,t)).c(),y.set(H,f[h]=e),H in g&&b.set(H,Math.abs(h-g[H]))}var w=new Set,$=new Set;function x(e){ne(e,1),e.m(l,d),s.set(e.key,e),d=e.first,p--}for(;m&&p;){const n=f[p-1],r=t[m-1],a=n.key,H=r.key;n===r?(d=n.first,m--,p--):y.has(H)?!s.has(a)||w.has(a)?x(n):$.has(H)?m--:b.get(a)>b.get(H)?($.add(a),x(n)):(w.add(H),m--):(e(r,s),m--)}for(;m--;){const n=t[m];y.has(n.key)||e(n,s)}for(;p;)x(f[p-1]);return H(v),f}function a(r,e,t,n,a,i,o,s=[-1]){var l=_;D(r);const c=r.$$={fragment:null,ctx:[],props:i,update:N,not_equal:a,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:h(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&a(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d)&&(n=e,-1===(e=r).$$.dirty[0]&&(B.push(e),q(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),d=!0,H(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){i=e.target;const N=Array.from(i.childNodes);c.fragment&&c.fragment.l(N),N.forEach(me)}else c.fragment&&c.fragment.c();e.intro&&ne(r.$$.fragment);var u=r,s=e.target,o=e.anchor,t=e.customElement,{fragment:n,after_update:i}=u.$$;n&&n.m(s,o),t||Z(()=>{var e=u.$$.on_mount.map(p).filter(M);u.$$.on_destroy?u.$$.on_destroy.push(...e):H(e),u.$$.on_mount=[]}),i.forEach(Z),m()}D(l)}let e;"function"==typeof HTMLElement&&(e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(p).filter(M);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){H(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const r=[],a=[];A.forEach(e=>(-1===n.indexOf(e)?r:a).push(e)),a.forEach(e=>e()),A=r}H(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=N}$on(e,t){if(!M(t))return N;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 le,be,ve="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},we="URLSearchParams"in ve,$e="Symbol"in ve&&"iterator"in Symbol,xe="FileReader"in ve&&"Blob"in ve&&function(){try{return new Blob,!0}catch(e){return!1}}(),Ce="FormData"in ve,Fe="ArrayBuffer"in ve;function Se(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 Me(e){return e="string"!=typeof e?String(e):e}function Ee(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return $e&&(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){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Le(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(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 Ie(e){var t=new FileReader,n=Ge(t);return t.readAsArrayBuffer(e),n}function Te(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Pe(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:xe&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Ce&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:we&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Fe&&xe&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Te(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Fe&&(ArrayBuffer.prototype.isPrototypeOf(e)||be(e))?this._bodyArrayBuffer=Te(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):we&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},xe&&(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(){if(this._bodyArrayBuffer)return 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));if(xe)return this.blob().then(Ie);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r=Le(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=Ge(e),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?n[1]:"utf-8",e.readAsText(r,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)},Ce&&(this.formData=function(){return this.text().then(Be)}),this.json=function(){return this.text().then(JSON.parse)},this}Fe&&(le=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],be=ArrayBuffer.isView||function(e){return e&&-1<le.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Se(e),t=Me(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[Se(e)]},l.prototype.get=function(e){return e=Se(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Se(e))},l.prototype.set=function(e,t){this.map[Se(e)]=Me(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)}),Ee(n)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ee(t)},l.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Ee(n)},$e&&(l.prototype[Symbol.iterator]=l.prototype.entries);var Re=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function De(e,t){if(!(this instanceof De))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(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<Re.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in ve)return(new AbortController).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 Be(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 Ae(e,t){if(!(this instanceof Ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");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})},Pe.call(De.prototype),Pe.call(Ae.prototype),Ae.prototype.clone=function(){return new Ae(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},Ae.error=function(){var e=new Ae(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Ne=[301,302,303,307,308],Oe=(Ae.redirect=function(e,t){if(-1===Ne.indexOf(t))throw new RangeError("Invalid status code");return new Ae(null,{status:t,headers:{location:e}})},ve.DOMException);try{new Oe}catch(N){(Oe=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Oe.prototype.constructor=Oe}function He(r,s){return new Promise(function(a,e){var i=new De(r,s);if(i.signal&&i.signal.aborted)return e(new Oe("Aborted","AbortError"));var n,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,r,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",r=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 t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{r.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),r)},n=(i.url.startsWith("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){a(new Ae(n,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new Oe("Aborted","AbortError"))},0)},o.open(i.method,function(t){try{return""===t&&ve.location.href?ve.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(xe?o.responseType="blob":Fe&&(o.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof l||ve.Headers&&s.headers instanceof ve.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(Se(e)),o.setRequestHeader(e,Me(s.headers[e]))}),i.headers.forEach(function(e,t){-1===n.indexOf(t)&&o.setRequestHeader(t,e)})):i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",t)}),o.send(void 0===i._bodyInit?null:i._bodyInit)})}function In(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}He.polyfill=!0,ve.fetch||(ve.fetch=He,ve.Headers=l,ve.Request=De,ve.Response=Ae);var je=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 Ue(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 We(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ye(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function Ve(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function qe(e){return"function"==typeof e}function Ze(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 Je=Ze(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 Ke(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}et.prototype.unsubscribe=function(){var e,t,n,r,a;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var o=We(i),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 i.remove(this);i=this.initialTeardown;if(qe(i))try{i()}catch(e){a=e instanceof Je?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=We(i),c=l.next();!c.done;c=l.next()){var d=c.value;try{nt(d)}catch(e){a=null!=a?a:[],e instanceof Je?a=Ve(Ve([],Ye(a)),Ye(e.errors)):a.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(a)throw new Je(a)}},et.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)nt(e);else{if(e instanceof et){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},et.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},et.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},et.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ke(t,e)},et.prototype.remove=function(e){var t=this._finalizers;t&&Ke(t,e),e instanceof et&&e._removeParent(this)},et.EMPTY=((t=new et).closed=!0,t);var Xe=et,Qe=Xe.EMPTY;function et(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function tt(e){return e instanceof Xe||e&&"closed"in e&&qe(e.remove)&&qe(e.add)&&qe(e.unsubscribe)}function nt(e){qe(e)?e():e.unsubscribe()}var rt=void 0,at=!1,it=!1,ot={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=ot.delegate;return null!=a&&a.setTimeout?a.setTimeout.apply(a,Ve([e,t],Ye(n))):setTimeout.apply(void 0,Ve([e,t],Ye(n)))},clearTimeout:function(e){var t=ot.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function pt(){}var ht=null;function gt(e){if(at){var t=!ht;if(t&&(ht={errorThrown:!1,error:null}),e(),t){var t=ht,n=t.errorThrown,t=t.error;if(ht=null,n)throw t}}else e()}Ue(vt,ft=Xe),vt.create=function(e,t,n){return new Ct(e,t,n)},vt.prototype.next=function(e){this.isStopped||this._next(e)},vt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},vt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},vt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ft.prototype.unsubscribe.call(this),this.destination=null)},vt.prototype._next=function(e){this.destination.next(e)},vt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},vt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ft,yt=vt,bt=Function.prototype.bind;function vt(e){var t=ft.call(this)||this;return t.isStopped=!1,e?tt(t.destination=e)&&e.add(t):t.destination=Mt,t}function wt(e,t){return bt.call(e,t)}kt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){St(e)}},kt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){St(e)}else St(e)},kt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){St(e)}};var $t,xt=kt,Ct=(Ue(Ft,$t=yt),Ft);function Ft(e,t,n){var r=$t.call(this)||this,n=qe(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&it?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&wt(e.next,t),error:e.error&&wt(e.error,t),complete:e.complete&&wt(e.complete,t)}):e;return r.destination=new xt(n),r}function kt(e){this.partialObserver=e}function St(e){var t=e;ot.setTimeout(function(){throw t})}var Mt={closed:!0,next:pt,error:function(e){throw e},complete:pt},t="function"==typeof Symbol&&Symbol.observable||"@@observable";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,a=this,i=(r=e)&&r instanceof yt||r&&qe(r.next)&&qe(r.error)&&qe(r.complete)&&tt(r)?e:new Ct(e,t,n);return gt(function(){var e=a.operator,t=a.source;i.add(e?e.call(i,t):t?a._subscribe(i):a._trySubscribe(i))}),i},Lt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Lt.prototype.forEach=function(r,e){var a=this;return new(e=Gt(e))(function(e,t){var n=new Ct({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});a.subscribe(n)})},Lt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Lt.prototype[t]=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?function(e){return e}: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 Et=Lt;function Lt(e){e&&(this._subscribe=e)}function Gt(e){return null!=(e=null!=e?e:rt)?e:Promise}var It,_t,Tt,Pt=Ze(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),t=(Ue(Ot,Tt=Et),Ot.prototype.lift=function(e){var t=new Rt(this,this);return t.operator=e,t},Ot.prototype._throwIfClosed=function(){if(this.closed)throw new Pt},Ot.prototype.next=function(a){var i=this;gt(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=We(i.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(a)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Ot.prototype.error=function(t){var n=this;gt(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)}})},Ot.prototype.complete=function(){var t=this;gt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Ot.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Ot.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Ot.prototype._trySubscribe=function(e){return this._throwIfClosed(),Tt.prototype._trySubscribe.call(this,e)},Ot.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Ot.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,a=this.observers;return n||r?Qe:(this.currentObservers=null,a.push(e),new Xe(function(){t.currentObservers=null,Ke(a,e)}))},Ot.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Ot.prototype.asObservable=function(){var e=new Et;return e.source=this,e},Ot.create=function(e,t){return new Rt(e,t)},Ot),Rt=(Ue(Nt,_t=t),Nt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Nt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Nt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Nt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Qe},Nt),Dt={now:function(){return(Dt.delegate||Date).now()},delegate:void 0},Bt=(Ue(At,It=t),At.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,a=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),a)||r.push(i.now()+t),this._trimBuffer(),It.prototype.next.call(this,e)},At.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),a=0;a<r.length&&!e.closed;a+=n?1:2)e.next(r[a]);return this._checkFinalizedStatuses(e),t},At.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,a=(r?1:2)*e;if(e<1/0&&a<n.length&&n.splice(0,n.length-a),!r){for(var i=t.now(),o=0,s=1;s<n.length&&n[s]<=i;s+=2)o=s;o&&n.splice(0,o+1)}},At);function At(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Dt);var r=It.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 Nt(e,t){var n=_t.call(this)||this;return n.destination=e,n.source=t,n}function Ot(){var e=Tt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ht=[],jt={};const zt=[];function Ut(r,a=N){let i;const o=new Set;function s(e){if(n(r,e)&&(r=e,i)){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=N){const n=[e,t];return o.add(n),1===o.size&&(i=a(s)||N),e(r),()=>{o.delete(n),0===o.size&&i&&(i(),i=null)}}}}function Wt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:Ut(t,t=>{let n=!1;const r=[];let a=0,i=N;const o=()=>{var e;a||(i(),e=s(l?r[0]:r,t),d?t(e):i=M(e)?e:N)},e=c.map((e,t)=>u(e,e=>{r[t]=e,a&=~(1<<t),n&&o()},()=>{a|=1<<t}));return n=!0,o(),function(){H(e),i(),n=!1}}).subscribe}}function Yt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Vt);var t}var Vt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function qt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Qt(Array.isArray(e)?[]:{},e,t):e}function Zt(e,t,n){return e.concat(t).map(function(e){return qt(e,n)})}function Jt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Kt(e,t){try{return t in e}catch(e){return!1}}function Xt(r,a,i){var o={};return i.isMergeableObject(r)&&Jt(r).forEach(function(e){o[e]=qt(r[e],i)}),Jt(a).forEach(function(e){var t,n;(!Kt(t=r,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Kt(r,e)&&i.isMergeableObject(a[e])?o[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Qt)(r[e],a[e],i):o[e]=qt(a[e],i))}),o}function Qt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Zt,n.isMergeableObject=n.isMergeableObject||Yt,n.cloneUnlessOtherwiseSpecified=qt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Xt(e,t,n):qt(t,n)}Qt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Qt(e,t,n)},{});throw new Error("first argument should be an array")};var en=Qt,tn=function(e,t){return(tn=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 nn(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}tn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,rn,f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function an(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function on(e){return e.type===y.literal}function sn(e){return e.type===y.number}function ln(e){return e.type===y.date}function cn(e){return e.type===y.time}function dn(e){return e.type===y.select}function un(e){return e.type===y.plural}function mn(e){return e.type===y.tag}function pn(e){return e&&"object"==typeof e&&e.type===rn.number}function hn(e){return e&&"object"==typeof e&&e.type===rn.dateTime}(t=g=g||{})[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",(t=y=y||{})[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag",(t=rn=rn||{})[t.number=0]="number",t[t.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,gn=/(?:[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 fn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,yn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,bn=/^(@+)?(\+|#+)?[rs]?$/g,vn=/(\*)(0+)|(#+)(0+)|(0+)/g,wn=/^(0+)$/;function $n(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(bn,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 xn(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 Cn(e){return xn(e)||{}}function Fn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,a=n[t];switch(a.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=a.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=a.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=f(f(f({},o),{notation:"scientific"}),a.options.reduce(function(e,t){return f(f({},e),Cn(t))},{}));continue;case"engineering":o=f(f(f({},o),{notation:"engineering"}),a.options.reduce(function(e,t){return f(f({},e),Cn(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(a.options[0]);continue;case"integer-width":if(1<a.options.length)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(vn,function(e,t,n,r,a,i){if(t)o.minimumIntegerDigits=n.length;else{if(r&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(wn.test(a.stem))o.minimumIntegerDigits=a.stem.length;else if(yn.test(a.stem)){if(1<a.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(yn,function(e,t,n,r,a,i){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:a&&i?(o.minimumFractionDigits=a.length,o.maximumFractionDigits=a.length+i.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var i=a.options[0];"w"===i?o=f(f({},o),{trailingZeroDisplay:"stripIfInteger"}):i&&(o=f(f({},o),$n(i)))}else bn.test(a.stem)?o=f(f({},o),$n(a.stem)):((i=xn(a.stem))&&(o=f(f({},o),i)),(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)),!wn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(a.stem))&&(o=f(f({},o),r)))}return o}var kn={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 Sn=new RegExp("^".concat(t.source,"*")),Mn=new RegExp("".concat(t.source,"*$"));function b(e,t){return{start:e,end:t}}var t=!!String.prototype.startsWith,En=!!String.fromCodePoint,Ln=!!Object.fromEntries,Gn=!!String.prototype.codePointAt,_n=!!String.prototype.trimStart,Tn=!!String.prototype.trimEnd,Pn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Rn=!0;try{Rn="a"===(null==(nr=Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:nr[0])}catch(N){Rn=!1}var Dn,Bn,An=t?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Nn=En?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",a=e.length,i=0;i<a;){if(1114111<(n=e[i++]))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},On=Ln?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n],i=a[0],a=a[1];t[i]=a}return t},Hn=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},jn=_n?function(e){return e.trimStart()}:function(e){return e.replace(Sn,"")},zn=Tn?function(e){return e.trimEnd()}:function(e){return e.replace(Mn,"")};function Un(e,t){return new RegExp(e,t)}Bn=Rn?(Dn=Un("([^\\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 a=Hn(e,t);if(void 0===a||Vn(a)||33<=(n=a)&&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(a),t+=65536<=a?2:1}return Nn.apply(void 0,r)};i.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},i.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a,i=this.char();if(123===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Yn(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a}else if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}else{i=this.clonePosition();this.bump(),r.push({type:y.pound,location:b(i,this.clonePosition())})}}}return{val:r,err:null}},i.prototype.parseTag=function(e,t){var n,r=this.clonePosition(),a=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(a,"/>"),location:b(r,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Yn(this.char())?this.error(g.INVALID_TAG,b(e,this.clonePosition())):(n=this.clonePosition(),a!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,b(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:a,children:t,location:b(r,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,b(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,b(r,this.clonePosition()))):this.error(g.INVALID_TAG,b(r,this.clonePosition()))},i.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())},i.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var a=this.tryParseQuote(t);if(a)r+=a;else{a=this.tryParseUnquoted(e,t);if(a)r+=a;else{a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}n=b(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},i.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Yn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},i.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 Nn.apply(void 0,t)},i.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Nn(n))},i.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,b(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:b(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()))}},i.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Bn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:b(e,this.clonePosition())}},i.prototype.parseArgumentOptions=function(e,t,n,r){var a,i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,b(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(m=zn(u.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(r)).err?c:(p=b(r,this.clonePosition()),l&&An(null==l?void 0:l.style,"::",0)?(h=jn(l.style.slice(2)),"number"===o?(u=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?u:{val:{type:y.number,value:n,location:p,style:u.val},err:null}:0===h.length?this.error(g.EXPECT_DATE_TIME_SKELETON,p):(d=h,this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if("j"===a){for(var i=0;r+1<e.length&&e.charAt(r+1)===a;)i++,r++;var o=1+(1&i),s=i<2?1:3+(i>>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),(kn[t||""]||kn[n||""]||kn["".concat(n,"-001")]||kn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===a?"H":a}return n}(h,this.locale)),m={type:rn.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(a={},d.replace(gn,function(e){var t=e.length;switch(e[0]){case"G":a.era=4===t?"long":5===t?"narrow":"short";break;case"y":a.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":a.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":a.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":a.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"a":a.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":a.hourCycle="h12",a.hour=["numeric","2-digit"][t-1];break;case"H":a.hourCycle="h23",a.hour=["numeric","2-digit"][t-1];break;case"K":a.hourCycle="h11",a.hour=["numeric","2-digit"][t-1];break;case"k":a.hourCycle="h24",a.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":a.minute=["numeric","2-digit"][t-1];break;case"s":a.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":a.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""}),a):{}},{val:{type:"date"===o?y.date:y.time,value:n,location:p,style:m},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:p,style:null!=(h=null==l?void 0:l.style)?h:null},err:null});case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,b(d,f({},d)));this.bumpSpace();var u,m=this.parseIdentifierIfPossible(),p=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),m=this.parseIdentifierIfPossible(),p=u.val}var h,l=this.tryParsePluralOrSelectOptions(e,o,t,m);return l.err?l:(c=this.tryParseArgumentClose(r)).err?c:(h=b(r,this.clonePosition()),"select"===o?{val:{type:y.select,value:n,options:On(l.val),location:h},err:null}:{val:{type:y.plural,value:n,options:On(l.val),offset:p,pluralType:"plural"===o?"cardinal":"ordinal",location:h},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,b(i,s))}},i.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},i.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,b(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}},i.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(fn).filter(function(e){return 0<e.length});n<r.length;n++){var a=r[n].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var i=a[0],a=a.slice(1),o=0,s=a;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:a})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:rn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Fn(n):{}},err:null}},i.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var a=!1,i=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=b(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&&(a=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;i.push([s,{value:c.val,location:b(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===i.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(g.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:i,err:null}},i.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,i=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;a=!0,i=10*i+(o-48),this.bump()}r=b(r,this.clonePosition());return a?Pn(i*=n)?{val:i,err:null}:this.error(t,r):this.error(e,r)},i.prototype.offset=function(){return this.position.offset},i.prototype.isEOF=function(){return this.offset()===this.message.length},i.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},i.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Hn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},i.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},i.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))},i.prototype.bumpIf=function(e){if(An(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},i.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)},i.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}},i.prototype.bumpSpace=function(){for(;!this.isEOF()&&Vn(this.char());)this.bump()},i.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Wn=i;function i(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 Yn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Vn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function qn(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Wn(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,dn(e)||un(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else sn(e)&&pn(e.style)||(ln(e)||cn(e))&&hn(e.style)?delete e.style.location:mn(e)&&n(e.children)})}(e.val),e.val}function Zn(e,t){var n=t&&t.cache?t.cache:rr,r=t&&t.serializer?t.serializer:Qn;return(t&&t.strategy?t.strategy:function(e,t){return Xn(e,this,1===e.length?Jn:Kn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Jn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),a=t.get(n);return void 0===a&&(a=e.call(this,r),t.set(n,a)),a}function Kn(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),a=t.get(n);return void 0===a&&(a=e.apply(this,r),t.set(n,a)),a}function Xn(e,t,n,r,a){return n.bind(t,e,r,a)}var Qn=function(){return JSON.stringify(arguments)};function er(){this.cache=Object.create(null)}er.prototype.get=function(e){return this.cache[e]},er.prototype.set=function(e,t){this.cache[e]=t};var tr,nr,rr={create:function(){return new er}},ar={variadic:function(e,t){return Xn(e,this,Kn,t.cache.create(),t.serializer)},monadic:function(e,t){return Xn(e,this,Jn,t.cache.create(),t.serializer)}};(nr=tr=tr||{}).MISSING_VALUE="MISSING_VALUE",nr.INVALID_VALUE="INVALID_VALUE",nr.MISSING_INTL_API="MISSING_INTL_API";nn(yr,cr=Error),yr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ir,or,sr,lr,cr,dr=yr,ur=(nn(fr,lr=dr),fr),mr=(nn(gr,sr=dr),gr),pr=(nn(hr,or=dr),hr);function hr(e,t){return or.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),tr.MISSING_VALUE,t)||this}function gr(e,t,n){return sr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),tr.INVALID_VALUE,n)||this}function fr(e,t,n,r){return lr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),tr.INVALID_VALUE,r)||this}function yr(e,t,n){e=cr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function br(e,t,n,r,a,i,o){if(1===e.length&&on(e[0]))return[{type:ir.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(on(d))s.push({type:ir.literal,value:d.value});else if(d.type===y.pound)"number"==typeof i&&s.push({type:ir.literal,value:n.getNumberFormat(t).format(i)});else{var u=d.value;if(!(a&&u in a))throw new pr(u,o);u=a[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?ir.literal:ir.object,value:u});else if(ln(d)){var m="string"==typeof d.style?r.date[d.style]:hn(d.style)?d.style.parsedOptions:void 0;s.push({type:ir.literal,value:n.getDateTimeFormat(t,m).format(u)})}else if(cn(d))m="string"==typeof d.style?r.time[d.style]:hn(d.style)?d.style.parsedOptions:r.time.medium,s.push({type:ir.literal,value:n.getDateTimeFormat(t,m).format(u)});else if(sn(d))(m="string"==typeof d.style?r.number[d.style]:pn(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),s.push({type:ir.literal,value:n.getNumberFormat(t,m).format(u)});else{if(mn(d)){var p=d.children,h=d.value,g=a[h];if("function"!=typeof g)throw new mr(h,"function",o);h=g(br(p,t,n,r,a,i).map(function(e){return e.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(e){return{type:"string"==typeof e?ir.literal:ir.object,value:e}}))}if(dn(d)){if(!(f=d.options[u]||d.options.other))throw new ur(d.value,u,Object.keys(d.options),o);s.push.apply(s,br(f.value,t,n,r,a))}else if(un(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new dr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',tr.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[g]||d.options.other}if(!f)throw new ur(d.value,u,Object.keys(d.options),o);s.push.apply(s,br(f.value,t,n,r,a,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===ir.literal&&t.type===ir.literal?n.value+=t.value:e.push(t),e},[])}function vr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(t=ir=ir||{})[t.literal=0]="literal",t[t.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=qn,$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 wr=$r;function $r(e,t,n,r){var a,i,o=this;if(void 0===t&&(t=$r.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===ir.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return br(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=(a=$r.formats,(i=n)?Object.keys(a).reduce(function(e,t){var n,r;return e[t]=(n=a[t],(r=i[t])?f(f(f({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),r[t]||{}),e},{})):n),e},f({},a)):a),this.formatters=r&&r.formatters||{getNumberFormat:Zn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,an([void 0],t,!1)))},{cache:vr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:ar.variadic}),getDateTimeFormat:Zn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,an([void 0],t,!1)))},{cache:vr(t.dateTime),strategy:ar.variadic}),getPluralRules:Zn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,an([void 0],t,!1)))},{cache:vr(t.pluralRules),strategy:ar.variadic})}}const xr={},Cr=(e,t,n)=>n&&(t in xr||(xr[t]={}),e in xr[t]||(xr[t][e]=n),n),Fr=(t,n)=>{if(null!=n){if(n in xr&&t in xr[n])return xr[n][t];var r=zr(n);for(let e=0;e<r.length;e++){var a=function(e,t){if(!Mr(e))return null;e=function(e){return kr[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var r=n.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const n=r.slice(e,r.length).join(".");if(n in t){t=t[n];break}}t=t[r[e]]}else t=void 0;return t}}}(r[e],t);if(a)return Cr(t,n,a)}}};let kr;const Sr=Ut({});function Mr(e){return e in kr}function o(t,...n){delete xr[t],Sr.update(e=>(e[t]=en.all([e[t]||{},...n]),e))}Wt([Sr],([e])=>Object.keys(e)),Sr.subscribe(e=>kr=e);const Er={};function Lr(e){return Er[e]}function Gr(e){return null!=e&&zr(e).some(e=>{return null==(e=Lr(e))?void 0:e.size})}function Ir(r,e){return Promise.all(e.map(e=>{return t=r,n=e,Er[t].delete(n),0===Er[t].size&&delete Er[t],e().then(e=>e.default||e);var t,n})).then(e=>o(r,...e))}const _r={};const Tr={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 Pr=Ut(!1);var Rr=Object.defineProperty,En=Object.defineProperties,Ln=Object.getOwnPropertyDescriptors,Dr=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable,Nr=(e,t,n)=>t in e?Rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Or;const Hr=Ut(null);function jr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function zr(e,t=Tr.fallbackLocale){e=jr(e);return t?[...new Set([...e,...jr(t)])]:e}function Ur(){return null!=Or?Or:void 0}Hr.subscribe(e=>{Or=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ct=En(((e,t)=>{for(var n in t=t||{})Br.call(t,n)&&Nr(e,n,t[n]);if(Dr)for(var n of Dr(t))Ar.call(t,n)&&Nr(e,n,t[n]);return e})({},Hr),Ln({set:t=>{if(t&&function(e){if(null!=e){var t=zr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Mr(n))return n}}}(t)&&Gr(t)){var n=Tr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ur()&&n?e=window.setTimeout(()=>Pr.set(!0),n):Pr.set(!0),function e(t){var n;return Gr(t)?(n=zr(t).map(e=>{var t=Lr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),_r[t]=Promise.all(n.map(([e,t])=>Ir(e,t))).then(()=>{if(Gr(t))return e(t);delete _r[t]}),_r[t]):t in _r?_r[t]:Promise.resolve()}(t).then(()=>{Hr.set(t)}).finally(()=>{clearTimeout(e),Pr.set(!1)})}return Hr.set(t)}}));var Gn=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Wr=Object.defineProperty,Yr=Object.getOwnPropertySymbols,Vr=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable,Zr=(e,t,n)=>t in e?Wr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jr=(e,t)=>{for(var n in t=t||{})Vr.call(t,n)&&Zr(e,n,t[n]);if(Yr)for(var n of Yr(t))qr.call(t,n)&&Zr(e,n,t[n]);return e},Kr=(e,t)=>{var n={};for(r in e)Vr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Yr)for(var r of Yr(e))t.indexOf(r)<0&&qr.call(e,r)&&(n[r]=e[r]);return n};const Xr=(e,t)=>{var n=Tr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Qr=Gn(e=>{var{locale:t,format:n}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Xr("number",n)),new Intl.NumberFormat(t,e)}),ea=Gn(e=>{var{locale:t,format:n}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Xr("date",n):0===Object.keys(e).length&&(e=Xr("date","short")),new Intl.DateTimeFormat(t,e)}),ta=Gn(e=>{var{locale:t,format:n}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Xr("time",n):0===Object.keys(e).length&&(e=Xr("time","short")),new Intl.DateTimeFormat(t,e)}),na=Gn((e,t=Ur())=>new wr(e,t,Tr.formats,{ignoreTag:Tr.ignoreTag})),ra=Wt([ct,Sr],()=>(e,t={})=>{var n,r;let a=t;"object"==typeof e&&(e=(a=e).id);var{values:i,locale:o=Ur(),default:s}=a;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Fr(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=Tr).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!i)return l;let c=l;try{c=na(l,o).format(i)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),dt=(Wt([ct],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Kr(e,["locale"]);return ta(Jr({locale:t},e))})(t).format(e)),Wt([ct],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Kr(e,["locale"]);return ea(Jr({locale:t},e))})(t).format(e)),Wt([ct],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Kr(e,["locale"]);return Qr(Jr({locale:t},e))})(t).format(e)),Wt([ct,Sr],()=>(e,t=Ur())=>Fr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ht.indexOf(e)&&(t=new Bt(t),jt[e]=t,Ht.push(e)),jt[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))),ut=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function aa(r,a){return new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",a),je(r+"/v1/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function ia(e){ct.set(e)}function oa(e,t){o(e,t)}const sa={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobby",myGamesName:"My games"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Lobby",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"}};function la(e,t){o(e,t)}const ca={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"}};function da(e,t,n){e=e.slice();return e[51]=t[n],e[53]=n,e}function ua(e,t,n){e=e.slice();return e[54]=t[n],e}function ma(e,t,n){e=e.slice();return e[57]=t[n],e[59]=n,e}function pa(t){let r,a=[],n=new Map,i=t[10];const o=e=>e[51].id;for(let e=0;e<i.length;e+=1){var s=da(t,i,e),l=o(s);n.set(l,a[e]=$a(l,s))}return{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,n);ue(t,r,n)},p(e,t){155549&t[0]&&(i=e[10],a=se(a,t,o,1,e,i,n,r.parentNode,oe,$a,r,da))},d(t){for(let e=0;e<a.length;e+=1)a[e].d(t);t&&me(r)}}}function ha(e){let n,r,a=e[51].name+"";return{c(){n=pe("button"),r=he(a),fe(n,"class","CategoryButton")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[0]&&a!==(a=e[51].name+"")&&ye(r,a)},d(e){e&&me(n)}}}function ga(e){let n,r,a,i=e[51].label+"";return{c(){n=pe("a"),r=he(i),fe(n,"href",a=e[51].path)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[0]&&i!==(i=e[51].label+"")&&ye(r,i),1024&t[0]&&a!==(a=e[51].path)&&fe(n,"href",a)},d(e){e&&me(n)}}}function fa(e){let n,r=0<e[11].length&&"true"==e[3]&&ya(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){0<e[11].length&&"true"==e[3]?r?r.p(e,t):((r=ya(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function ya(t){let a,i=t[11],o=[];for(let e=0;e<i.length;e+=1)o[e]=wa(ua(t,i,e));return{c(){a=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(a,"class","DropDown")},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null)},p(t,n){if(20352&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var r=ua(t,i,e);o[e]?o[e].p(r,n):(o[e]=wa(r),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){e&&me(a),j(o,e)}}}function ba(n){let r,a,i,o,s,l,c,d=n[57]?.name+"";function u(...e){return n[33](n[51],n[53],n[57],n[59],...e)}return{c(){r=pe("li"),a=pe("a"),i=he(d),s=ge(),fe(a,"class",o="SubDropDown "+(n[53]!=n[7]||n[8]!=n[59]&&n[9]!=n[59]?"":"active"))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,s),l||(c=U(r,"click",u),l=!0)},p(e,t){n=e,2048&t[0]&&d!==(d=n[57]?.name+"")&&ye(i,d),3968&t[0]&&o!==(o="SubDropDown "+(n[53]!=n[7]||n[8]!=n[59]&&n[9]!=n[59]?"":"active"))&&fe(a,"class",o)},d(e){e&&me(r),l=!1,c()}}}function va(e,n){let r,a,i=n[53]==n[54].index&&ba(n);return{key:e,first:null,c(){r=c(),i&&i.c(),a=c(),this.first=r},m(e,t){ue(e,r,t),i&&i.m(e,t),ue(e,a,t)},p(e,t){(n=e)[53]==n[54].index?i?i.p(n,t):((i=ba(n)).c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},d(e){e&&me(r),i&&i.d(e),e&&me(a)}}}function wa(t){let r,a=[],n=new Map,i=t[54].items;const o=e=>e[57].id;for(let e=0;e<i.length;e+=1){var s=ma(t,i,e),l=o(s);n.set(l,a[e]=va(l,s))}return{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,n);ue(t,r,n)},p(e,t){20352&t[0]&&(i=e[54].items,a=se(a,t,o,1,e,i,n,r.parentNode,oe,va,r,ma))},d(t){for(let e=0;e<a.length;e+=1)a[e].d(t);t&&me(r)}}}function $a(e,n){let r,a,i,o,s,l,c,d,u,m,p;function h(e){return"headerMain"===e[0]?ga:ha}let g=h(n),f=g(n),y=1==n[12][n[53]]&&fa(n);function b(...e){return n[34](n[51],n[53],...e)}return{key:e,first:null,c(){r=pe("li"),a=pe("div"),i=pe("img"),l=ge(),f.c(),c=ge(),y&&y.c(),d=ge(),fe(i,"class",o="CategoryIconImg "+("true"===n[4]?"":"DisplayNone")),ce(i.src,s=n[17](n[51]))||fe(i,"src",s),fe(a,"class","CategoryIcon"),fe(r,"class",u="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[51].id.split("$").pop()?"active":"":n[2]==n[51].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),fe(r,"part","CarouselItem"),this.first=r},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,l),f.m(r,null),de(r,c),y&&y.m(r,null),de(r,d),m||(p=U(r,"click",b),m=!0)},p(e,t){n=e,16&t[0]&&o!==(o="CategoryIconImg "+("true"===n[4]?"":"DisplayNone"))&&fe(i,"class",o),1024&t[0]&&!ce(i.src,s=n[17](n[51]))&&fe(i,"src",s),g===(g=h(n))&&f?f.p(n,t):(f.d(1),(f=g(n))&&(f.c(),f.m(r,c))),1==n[12][n[53]]?y?y.p(n,t):((y=fa(n)).c(),y.m(r,d)):y&&(y.d(1),y=null),1029&t[0]&&u!==(u="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[51].id.split("$").pop()?"active":"":n[2]==n[51].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&fe(r,"class",u)},d(e){e&&me(r),f.d(),y&&y.d(),m=!1,p()}}}function xa(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b=0<n[10].length&&pa(n);return{c(){r=pe("div"),a=pe("div"),(i=pe("div")).innerHTML='<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" 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>',d=ge(),b&&b.c(),u=ge(),(m=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=N,fe(i,"class","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(m,"class","CarouselRightArrow"),fe(a,"class",p="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(a,"style",h="headerMain"===n[0]?"max-width: auto":`max-width: ${n[1]}px`),fe(r,"class",g="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(s,l),de(l,c),de(l,d),b&&b.m(l,null),n[35](l),n[36](s),de(a,u),de(a,m),n[38](r),f||(y=[U(i,"click",n[32]),U(m,"click",n[37])],f=!0)},p(e,t){0<e[10].length?b?b.p(e,t):((b=pa(e)).c(),b.m(l,null)):b&&(b.d(1),b=null),1&t[0]&&p!==(p="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(a,"class",p),3&t[0]&&h!==(h="headerMain"===e[0]?"max-width: auto":`max-width: ${e[1]}px`)&&fe(a,"style",h),1&t[0]&&g!==(g="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(r,"class",g)},i:N,o:N,d(e){e&&me(r),b&&b.d(),n[35](null),n[36](null),n[38](null),f=!1,H(y)}}}function Ca(t,e,i){let{endpoint:o=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:r="0"}=e,{location:c=""}=e,{clientstyling:a=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{translationurl:m=""}=e,{containermaxwidth:p=""}=e,{isprimarymenu:h=!1}=e,{issecondarymenu:g=!1}=e,{lang:f=""}=e,{activeindex:y="0"}=e,{showsubgroups:b="false"}=e,{categoriesicon:v="false"}=e,{lobbyiconimage:w=""}=e,{mygamesiconimage:$=""}=e;var x,C;({withLocale:x,translations:C}={withLocale:"en",translations:{}}),ct.subscribe(e=>{null==e&&(Sr.set(C),ct.set(x))}),Object.keys(ca).forEach(e=>{la(e,ca[e])});let F,k,S,M,E,D=window.navigator.userAgent;ut(D);let L,G=[],I=[],_=[],T=(e,t,n,r,a)=>{e.subGroups&&null===r||(R(),i(7,k=t),i(7,k),"secondary"!=a?(window.postMessage({type:"CategoryChange"==l?"CategoryChange":"NavigateTo",buzz:"1",itemId:e.id,index:t,item:e,path:e.path,externalLink:e.externalLink||!1,target:(null==(a=e.attrs)?void 0:a.target)||null},window.location.href),i(8,S=null),i(9,M=null)):(i(8,S=r),i(8,S),i(9,M=S),window.postMessage({type:l,itemId:n.id,subIndex:r,subItem:n},window.location.href)))},P=()=>{L.scrollBy({left:-250,behavior:"smooth"})},B=()=>{L.scrollBy({left:250,behavior:"smooth"})};const A=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(i(10,G=e.data.data),i(12,_=new Array(G.length).fill(!1)),"true"==b)&&G.forEach((e,t)=>{var r,a,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(i(12,_[t]=!0,_),r=e,a=t,"secondaryMenu"==c&&o&&s&&f&&r.id&&(n=new URL(`${o}/v1/casino/groups/${s}/${r.id}/subGroups?language=`+f),fetch(n.href).then(e=>e.json()).then(e=>{e.index=a,i(11,I=I.concat(e)),"false"==b&&window.postMessage({type:l,itemId:r.id,index:a,item:r},window.location.href);const n=[];I.map(e=>(e.items.forEach(t=>{n.find(e=>t.id==e)||n.push(t.id)}),n.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:n},window.location.href)}).then(()=>{F.querySelectorAll(".DropDown")&&R()})),"headerMain"==c)&&window.postMessage({type:l,item:r},window.location.href)}),"GoToHomepage"==e.data.type&&G.forEach((e,t)=>{e.path.endsWith("/casino")&&(i(7,k=t),i(7,k))})},R=()=>{var t=F.querySelectorAll(".DropDown");document.activeElement.blur(),L.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+L.scrollLeft+"px)";L.classList.remove("isScrolling")};return st(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",A,!1),setTimeout(()=>{L.addEventListener("scroll",R)},500),()=>{window.removeEventListener("message",A),F.removeEventListener("scroll",R)})),t.$$set=e=>{"endpoint"in e&&i(18,o=e.endpoint),"datasource"in e&&i(19,s=e.datasource),"onclickeventname"in e&&i(20,n=e.onclickeventname),"actionevent"in e&&i(21,l=e.actionevent),"favoritesnumber"in e&&i(22,r=e.favoritesnumber),"location"in e&&i(0,c=e.location),"clientstyling"in e&&i(23,a=e.clientstyling),"clientstylingurl"in e&&i(24,d=e.clientstylingurl),"identity"in e&&i(25,u=e.identity),"translationurl"in e&&i(26,m=e.translationurl),"containermaxwidth"in e&&i(1,p=e.containermaxwidth),"isprimarymenu"in e&&i(27,h=e.isprimarymenu),"issecondarymenu"in e&&i(28,g=e.issecondarymenu),"lang"in e&&i(29,f=e.lang),"activeindex"in e&&i(2,y=e.activeindex),"showsubgroups"in e&&i(3,b=e.showsubgroups),"categoriesicon"in e&&i(4,v=e.categoriesicon),"lobbyiconimage"in e&&i(30,w=e.lobbyiconimage),"mygamesiconimage"in e&&i(31,$=e.mygamesiconimage)},t.$$.update=()=>{if(t.$$.dirty[0],67108864&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{la(e,t[e])})}).catch(e=>{console.log(e)}),8388640&t.$$.dirty[0]&&a&&E&&((e=document.createElement("style")).innerHTML=a,E.appendChild(e)),16777248&t.$$.dirty[0]&&d&&E){let t=document.createElement("style"),e=new URL(d);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{E.appendChild(t)},1)})}var e;536870912&t.$$.dirty[0]&&f&&(e=f,ct.set(e))},[c,p,y,b,v,E,F,k,S,M,G,I,_,L,T,P,B,e=>{let t="";return"LOBBY"===e.id?t=w:"MYGAMES"===e.id&&(t=$),e.icon||t},o,s,n,l,r,a,d,u,m,h,g,f,w,$,()=>P(),(e,t,n,r,a)=>{T(e,t,n,r,"secondary"),a.stopPropagation()},(e,t,n)=>{T(e,t,null,null,"main"),n.preventDefault()},function(e){lt[e?"unshift":"push"](()=>{F=e,i(6,F)})},function(e){lt[e?"unshift":"push"](()=>{L=e,i(13,L)})},()=>B(),function(e){lt[e?"unshift":"push"](()=>{E=e,i(5,E)})}]}function Fa(n){let r,a,i,o;return{c(){r=pe("div"),S(a=pe("casino-slider"),"lang",n[3]),S(a,"datasource",n[2]),S(a,"endpoint",n[1]),S(a,"identity",Ea),S(a,"favoritesnumber",n[16]),S(a,"showsubgroups",n[9]),S(a,"clientstyling",n[4]),S(a,"clientstylingurl",n[5]),S(a,"containermaxwidth",n[6]),S(a,"activeindex",n[0]),S(a,"actionevent",n[7]),S(a,"location",n[8]),S(a,"categoriesicon",n[10]),S(a,"lobbyiconimage",n[11]),S(a,"mygamesiconimage",n[12]),fe(r,"class","CasinoCategoriesContainer"),fe(r,"part","CasinoCategoriesContainer")},m(e,t){ue(e,r,t),de(r,a),i||(o=E(n[17].call(null,a)),i=!0)},p(e,t){8&t[0]&&S(a,"lang",e[3]),4&t[0]&&S(a,"datasource",e[2]),2&t[0]&&S(a,"endpoint",e[1]),65536&t[0]&&S(a,"favoritesnumber",e[16]),512&t[0]&&S(a,"showsubgroups",e[9]),16&t[0]&&S(a,"clientstyling",e[4]),32&t[0]&&S(a,"clientstylingurl",e[5]),64&t[0]&&S(a,"containermaxwidth",e[6]),1&t[0]&&S(a,"activeindex",e[0]),128&t[0]&&S(a,"actionevent",e[7]),256&t[0]&&S(a,"location",e[8]),1024&t[0]&&S(a,"categoriesicon",e[10]),2048&t[0]&&S(a,"lobbyiconimage",e[11]),4096&t[0]&&S(a,"mygamesiconimage",e[12])},d(e){e&&me(r),i=!1,o()}}}function ka(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Sa(e){let n;return{c(){fe(n=pe("div"),"class","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Ma(n){let r;function a(e){return e[13]?Sa:e[15]?ka:Fa}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=N},m(e,t){ue(e,r,t),o.m(r,null),n[27](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o.d(),n[27](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, 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-categories-typography, 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.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #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}.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:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.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;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #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-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, 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-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.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-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, 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-header-typography, 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}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ca,xa,n,{endpoint:18,datasource:19,onclickeventname:20,actionevent:21,favoritesnumber:22,location:0,clientstyling:23,clientstylingurl:24,identity:25,translationurl:26,containermaxwidth:1,isprimarymenu:27,issecondarymenu:28,lang:29,activeindex:2,showsubgroups:3,categoriesicon:4,lobbyiconimage:30,mygamesiconimage:31},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups","categoriesicon","lobbyiconimage","mygamesiconimage"]}get endpoint(){return this.$$.ctx[18]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[19]}set datasource(e){this.$$set({datasource:e}),m()}get onclickeventname(){return this.$$.ctx[20]}set onclickeventname(e){this.$$set({onclickeventname:e}),m()}get actionevent(){return this.$$.ctx[21]}set actionevent(e){this.$$set({actionevent:e}),m()}get favoritesnumber(){return this.$$.ctx[22]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),m()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),m()}get clientstyling(){return this.$$.ctx[23]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[24]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get identity(){return this.$$.ctx[25]}set identity(e){this.$$set({identity:e}),m()}get translationurl(){return this.$$.ctx[26]}set translationurl(e){this.$$set({translationurl:e}),m()}get containermaxwidth(){return this.$$.ctx[1]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),m()}get isprimarymenu(){return this.$$.ctx[27]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),m()}get issecondarymenu(){return this.$$.ctx[28]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),m()}get lang(){return this.$$.ctx[29]}set lang(e){this.$$set({lang:e}),m()}get activeindex(){return this.$$.ctx[2]}set activeindex(e){this.$$set({activeindex:e}),m()}get showsubgroups(){return this.$$.ctx[3]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get categoriesicon(){return this.$$.ctx[4]}set categoriesicon(e){this.$$set({categoriesicon:e}),m()}get lobbyiconimage(){return this.$$.ctx[30]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),m()}get mygamesiconimage(){return this.$$.ctx[31]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),m()}});let Ea="CasinoSliderData";function La(n,e,a){let r;mt(n,ra,e=>a(33,r=e));let i,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{userid:t=""}=e,{session:m=""}=e,{mostplayed:p=""}=e,{lastplayed:h="false"}=e,{favorites:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{containermaxwidth:b=""}=e,{activecategory:v=""}=e,{actionevent:w=""}=e,{sessioncheck:$=""}=e,{location:x="secondaryMenu"}=e,{showsubgroups:C="false"}=e,{filteredcategories:F=""}=e,{translationurl:k=""}=e,{categoriesicon:S=""}=e,{lobbyiconimage:M=""}=e,{mygamesiconimage:E=""}=e,L=!0,G=[],I=!1,_=window.navigator.userAgent,T=!1,P=!1;Object.keys(sa).forEach(e=>{oa(e,sa[e])});const R=()=>{window.postMessage({type:"SliderData",identity:Ea,data:G},window.location.href)};return n.$$set=e=>{"endpoint"in e&&a(1,c=e.endpoint),"datasource"in e&&a(2,d=e.datasource),"lang"in e&&a(3,u=e.lang),"userid"in e&&a(18,t=e.userid),"session"in e&&a(19,m=e.session),"mostplayed"in e&&a(20,p=e.mostplayed),"lastplayed"in e&&a(21,h=e.lastplayed),"favorites"in e&&a(22,g=e.favorites),"clientstyling"in e&&a(4,f=e.clientstyling),"clientstylingurl"in e&&a(5,y=e.clientstylingurl),"containermaxwidth"in e&&a(6,b=e.containermaxwidth),"activecategory"in e&&a(0,v=e.activecategory),"actionevent"in e&&a(7,w=e.actionevent),"sessioncheck"in e&&a(23,$=e.sessioncheck),"location"in e&&a(8,x=e.location),"showsubgroups"in e&&a(9,C=e.showsubgroups),"filteredcategories"in e&&a(24,F=e.filteredcategories),"translationurl"in e&&a(25,k=e.translationurl),"categoriesicon"in e&&a(10,S=e.categoriesicon),"lobbyiconimage"in e&&a(11,M=e.lobbyiconimage),"mygamesiconimage"in e&&a(12,E=e.mygamesiconimage)},n.$$.update=()=>{if(14&n.$$.dirty[0]&&c&&d&&u&&(i=r("myGamesName"),o=r("lobbyName"),c||(s="Endpoint is missing! Please provide a valid endpointURL.",a(15,I=!0),a(13,L=!1),console.error(s)),d||(s="Datasource is missing! Please provide a valid datasource.",a(15,I=!0),a(13,L=!1),console.error(s)),(!u||u.length<2)&&(s="Language is missing! Please provide a valid language (alpha2code)",a(15,I=!0),a(13,L=!1),console.error(s)),I||((t=new URL(c+"/v1/casino/groups/"+d)).searchParams.append("datasource",d),t.searchParams.append("language",u),t.searchParams.append("platform",ut(_)),fetch(t).then(e=>e.json()).then(e=>{let r=F.split(","),t=e.items.filter(e=>{let t=!1;if(0<e.games.total&&(t=!0,F))for(var n of r)e.flags==n&&(t=!1);return t});(G=(G=[]).concat(t)).unshift({id:"LOBBY",name:o,href:"",games:[]}),a(13,L=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{a(15,I=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{a(15,I=!0),console.error("There was an error while fetching the categories",e)}))),7872514&n.$$.dirty[0]&&c&&m&&(p||h||g)&&!L&&(0!=T||"true"!=g&&"true"!=p&&"true"!=h||G.splice(1,0,{id:"MYGAMES",name:i,href:"",games:[]}),ke(),T=!0,a(26,P=!0),R()),67641345&n.$$.dirty[0]&&!L&&v&&(!m||P)&&(t=v.split("$"),a(0,v=2<t.length?v.split("$").slice(0,2).join("$"):v)),16400&n.$$.dirty[0]&&f&&l&&((e=document.createElement("style")).innerHTML=f,l.appendChild(e)),33554432&n.$$.dirty[0]&&k&&fetch(k).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{oa(e,t[e])})}).catch(e=>{console.log(e)}),16416&n.$$.dirty[0]&&y&&l){let t=document.createElement("style"),e=new URL(y);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})}var e,t},a(16,0),[v,c,d,u,f,y,b,w,x,C,S,M,E,L,l,I,0,R,t,m,p,h,g,$,F,k,P,function(e){lt[e?"unshift":"push"](()=>{l=e,a(14,l)})}]}function Ga(e,t){o(e,t)}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoCategoriesLoading{height:52px}p{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},La,Ma,n,{endpoint:1,datasource:2,lang:3,userid:18,session:19,mostplayed:20,lastplayed:21,favorites:22,clientstyling:4,clientstylingurl:5,containermaxwidth:6,activecategory:0,actionevent:7,sessioncheck:23,location:8,showsubgroups:9,filteredcategories:24,translationurl:25,categoriesicon:10,lobbyiconimage:11,mygamesiconimage:12},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","lastplayed","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories","translationurl","categoriesicon","lobbyiconimage","mygamesiconimage"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),m()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[21]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get containermaxwidth(){return this.$$.ctx[6]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),m()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),m()}get actionevent(){return this.$$.ctx[7]}set actionevent(e){this.$$set({actionevent:e}),m()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get location(){return this.$$.ctx[8]}set location(e){this.$$set({location:e}),m()}get showsubgroups(){return this.$$.ctx[9]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),m()}get categoriesicon(){return this.$$.ctx[10]}set categoriesicon(e){this.$$set({categoriesicon:e}),m()}get lobbyiconimage(){return this.$$.ctx[11]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),m()}get mygamesiconimage(){return this.$$.ctx[12]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),m()}});const Ia={en:{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-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"},de:{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:{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:{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:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Borrar",noGamesPlayed:"No has jugado ningún juego! Juega Ya"},tr:{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:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"},ro:{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:{500:"500 Error - Internal Server Error",search:"Pretraga",loading:"Učitavanje",searchMobile:"Pretraga",break:"Uzmi 1 dan pauze od igranja",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",searchGames:"Pretražite casino igre",filters:"Filteri",clear:"Čisto",noGamesPlayed:"Nemate odigranih igara!"},hu:{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:{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:{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:{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:{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!"},"pt-br":{500:"Erro 500 – Erro interno do servidor",search:"Procurar",loading:"Carregando",searchMobile:"Procurar",break:"Faça uma pausa a de jogo por um día",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas",searchGames:"Pesquise jogos de cassino",filters:"Filtros",clear:"Eliminar",noGamesPlayed:"Você ainda não jogou!"},"es-mx":{500:"500 Error - Error interno del servidor",search:"Buscar",loading:"Cargando",searchMobile:"Buscar",break:"Tomar un descanso de un día de juego",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Eliminar",noGamesPlayed:"No has jugado aún!"}};function _a(e,t){o(e,t)}const Ta={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"},tr:{showMore:"Daha fazla 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:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"},hr:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."},"pt-br":{noResults:'Sentimos muito,"Nenhum resultado foi encontrado. Por favor, tente novamente"',noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando"}};Ra=Pa={path:void 0,exports:{},require:function(e,t){return In(null==t&&Pa.path)}},Pa.exports,Ra.exports=function(){var D;function h(){return D.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function B(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function A(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 N(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function O(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],r=e.length,a=0;a<r;++a)n.push(t(e[a],a));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 It(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 z(e){if(null==e._isValid){var t=f(e),n=W.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 U(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var W=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=h.momentProperties=[],V=!1;function q(e,t){var n,r,a,i=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<i)for(n=0;n<i;n++)s(a=t[r=Y[n]])||(e[r]=a);return e}function Z(e){q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,h.updateOffset(this),V=!1)}function l(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function J(e){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,o){var s=!0;return j(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,i),s){for(var e,t,n=[],r=arguments.length,a=0;a<r;a++){if(e="","object"==typeof arguments[a]){for(t in e+="\n["+a+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[a];n.push(e)}J(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var K={};function X(e,t){null!=h.deprecationHandler&&h.deprecationHandler(e,t),K[e]||(J(t),K[e]=!0)}function d(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)&&(B(e[n])&&B(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)&&B(e[n])&&(r[n]=j({},r[n]));return r}function ee(e){null!=e&&this.set(e)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function i(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,ae={},ie={};function r(e,t,n,r){var a="string"==typeof r?function(){return this[r]()}:r;e&&(ie[e]=a),t&&(ie[t[0]]=function(){return i(a.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ae[t]=ae[t]||function(r){for(var e,a=r.match(ne),t=0,i=a.length;t<i;t++)ie[a[t]]?a[t]=ie[a[t]]:a[t]=(e=a[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<i;n++)t+=d(a[n])?a[n].call(e,r):a[n];return t}}(t),ae[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 u(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=u(n))&&(r[t]=e[n]);return r}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function m(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)?m(e):t}function me(t,n){return function(e){return null!=e?(he(this,t,e),h.updateOffset(this,n),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=p(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var a=/\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}/,$e=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Ce=/\d+/,Fe=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,Se=/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){Ee[e]=d(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return g(Ee,e)?Ee[e](t._strict,t._locale):new RegExp($(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a})))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ee={},Le={};function x(e,n){var t,r,a=n;for("string"==typeof e&&(e=[e]),N(n)&&(a=function(e,t){t[n]=p(e)}),r=e.length,t=0;t<r;t++)Le[e[t]]=a}function Ge(e,a){x(e,function(e,t,n,r){n._w=n._w||{},a(e,n._w,n,r)})}var C,F=0,k=1,S=2,M=3,E=4,L=5,Ie=6,_e=7,Te=8;function Pe(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?ue(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)}),x(["M","MM"],function(e,t){t[k]=p(e)-1}),x(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[k]=r:f(n).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Be=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae=v,Ne=v;function Oe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!N(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function He(e){return null!=e?(Oe(this,e),h.updateOffset(this,!0),this):pe(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],a=[],i=0;i<12;i++)t=c([2e3,i]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),a.push(this.months(t,"")),a.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),a.sort(e),i=0;i<12;i++)n[i]=$(n[i]),r[i]=$(r[i]);for(i=0;i<24;i++)a[i]=$(a[i]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function ze(e){return ue(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?i(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",Fe),w("YY",b,y),w("YYYY",$e,fe),w("YYYYY",xe,ye),w("YYYYYY",xe,ye),x(["YYYYY","YYYYYY"],F),x("YYYY",function(e,t){t[F]=2===e.length?h.parseTwoDigitYear(e):p(e)}),x("YY",function(e,t){t[F]=h.parseTwoDigitYear(e)}),x("Y",function(e,t){t[F]=parseInt(e,10)}),h.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var Ue=me("FullYear",!0);function We(e,t,n,r,a,i,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,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 qe(e,t,n,r,a){var i,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,a),n=t<=0?ze(i=e-1)+t:t>ze(e)?(i=e+1,t-ze(e)):(i=e,t);return{year:i,dayOfYear:n}}function Ze(e,t,n){var r,a,i=Ve(e.year(),t,n),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?r=i+G(a=e.year()-1,t,n):i>G(e.year(),t,n)?(r=i-G(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function G(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(ze(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),Ge(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=p(e)});function Je(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)}),Ge(["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}),Ge(["d","e","E"],function(e,t,n,r){t[r]=p(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="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,a=[],i=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=$(this.weekdaysMin(r,"")),n=$(this.weekdaysShort(r,"")),r=$(this.weekdays(r,"")),a.push(t),i.push(n),o.push(r),s.push(t),s.push(n),s.push(r);a.sort(e),i.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("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function at(){return this.hours()%12||12}function it(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,at),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)}),r("hmmss",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)+i(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+i(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+i(this.minutes(),2)+i(this.seconds(),2)}),it("a",!0),it("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),x(["H","HH"],M),x(["k","kk"],function(e,t,n){e=p(e);t[M]=24===e?0:e}),x(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),x(["h","hh"],function(e,t,n){t[M]=p(e),f(n).bigHour=!0}),x("hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[E]=p(e.substr(r)),f(n).bigHour=!0}),x("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[M]=p(e.substr(0,r)),t[E]=p(e.substr(r,2)),t[L]=p(e.substr(a)),f(n).bigHour=!0}),x("Hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[E]=p(e.substr(r))}),x("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[M]=p(e.substr(0,r)),t[E]=p(e.substr(r,2)),t[L]=p(e.substr(a))});v=me("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:Re,monthsShort:De,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},I={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,r,a,i=0;i<e.length;){for(t=(a=dt(e[i]).split("-")).length,n=(n=dt(e[i+1]))?n.split("-"):null;0<t;){if(r=mt(a.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}(a,n)>=t-1)break;t--}i++}return st}function mt(t){var e;if(void 0===I[t]&&Ra&&Ra.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,In(),pt(e)}catch(e){I[t]=null}return I[t]}function pt(e,t){return e&&((t=s(t)?_(e):ht(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function ht(e,t){if(null===t)return delete I[e],null;var n,r=lt;if(t.abbr=e,null!=I[e])X("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=I[e]._config;else if(null!=t.parentLocale)if(null!=I[t.parentLocale])r=I[t.parentLocale]._config;else{if(null==(n=mt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return I[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){ht(e.name,e.config)}),pt(e),I[e]}function _(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=mt(e))return t;e=[e]}return ut(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[k]<0||11<t[k]?k:t[S]<1||t[S]>Pe(t[F],t[k])?S:t[M]<0||24<t[M]||24===t[M]&&(0!==t[E]||0!==t[L]||0!==t[Ie])?M:t[E]<0||59<t[E]?E:t[L]<0||59<t[L]?L:t[Ie]<0||999<t[Ie]?Ie:-1,f(e)._overflowDayOfYear&&(t<F||S<t)&&(t=S),f(e)._overflowWeeks&&-1===t&&(t=_e),f(e)._overflowWeekday&&-1===t&&(t=Te),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/]],$t=/^\/?Date\((-?\d+)/i,xt=/^(?:(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 Ft(e){var t,n,r,a,i,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])){a=vt[t][0],r=!1!==vt[t][2];break}if(null==a)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){i=(l[2]||" ")+wt[t][0];break}if(null==i)return e._isValid=!1}if(!r&&null!=i)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=a+(i||"")+(o||""),Lt(e)}else e._isValid=!1}function kt(e,t,n,r,a,i){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&e.push(parseInt(i,10)),e}function St(e){var t,n,r,a,i=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=kt(i[4],i[3],i[2],i[5],i[6],i[7]),n=i[1],r=t,a=e,n&&Xe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(a).weekdayMismatch=!0,a._isValid=!1):(e._a=t,e._tzm=(n=i[8],r=i[9],a=i[10],n?Ct[n]:r?0:((n=parseInt(a,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 Et(e){var t,n,r,a,i,o,s,l,c,d,u,m=[];if(!e._d){for(d=e,u=new Date(h.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[S]&&null==e._a[k]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,r=Mt(u.GG,d._a[F],Ze(T(),1,4).year),a=Mt(u.W,1),((i=Mt(u.E,1))<1||7<i)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Ze(T(),o,s),r=Mt(u.gg,d._a[F],c.year),a=Mt(u.w,c.week),null!=u.d?((i=u.d)<0||6<i)&&(l=!0):null!=u.e?(i=u.e+o,(u.e<0||6<u.e)&&(l=!0)):i=o),a<1||a>G(r,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=qe(r,a,i,o,s),d._a[F]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[F],n[F]),(e._dayOfYear>ze(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(u,0,e._dayOfYear),e._a[k]=l.getUTCMonth(),e._a[S]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[E]&&0===e._a[L]&&0===e._a[Ie]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:We).apply(null,m),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 Lt(e){if(e._f!==h.ISO_8601)if(e._f!==h.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,a=""+e._i,i=a.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(a.match(Me(r,e))||[])[0])&&(0<(u=a.substr(0,a.indexOf(t))).length&&f(e).unusedInput.push(u),a=a.slice(a.indexOf(t)+t.length),o+=t.length),ie[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),u=r,p=e,null!=(m=t)&&g(Le,u)&&Le[u](m,p._a,p,u)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=i-o,0<a.length&&f(e).unusedInput.push(a),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]=(i=e._locale,c=e._a[M],null==(d=e._meridiem)?c:null!=i.meridiemHour?i.meridiemHour(c,d):null!=i.isPM?((i=i.isPM(d))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[F]=e._locale.erasConvertYear(d,e._a[F])),Et(e),gt(e)}else St(e);else Ft(e);var c,d,u,m,p}function Gt(e){var t,n=e._i,r=e._f;{var a,i;return(e._locale=e._locale||_(e._l),null===n||void 0===r&&""===n)?U({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new Z(gt(n)):(O(n)?e._d=n:o(r)?function(e){var t,n,r,a,i,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(a=0;a<l;a++)i=0,o=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Lt(t),z(t)&&(o=!0),i=(i+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||o)&&(r=i,n=t,o)&&(s=!0);j(e,n||t)}(e):r?Lt(e):s(r=(n=e)._i)?n._d=new Date(h.now()):O(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(a=n,null===(i=$t.exec(a._i))?(Ft(a),!1===a._isValid&&(delete a._isValid,St(a),!1===a._isValid)&&(delete a._isValid,a._strict?a._isValid=!1:h.createFromInputFallback(a))):a._d=new Date(+i[1])):o(r)?(n._a=H(r.slice(0),function(e){return parseInt(e,10)}),Et(n)):B(r)?(a=n)._d||(t=void 0===(i=ce(a._i)).day?i.date:i.day,a._a=H([i.year,i.month,t,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Et(a)):N(r)?n._d=new Date(r):h.createFromInputFallback(n),z(e)||(e._d=null),e))}}function It(e,t,n,r,a){var i={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(B(e)&&A(e)||o(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=n,i._i=e,i._f=t,i._strict=r,(a=new Z(gt(Gt(a=i))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function T(e,t,n,r){return It(e,t,n,r,!1)}h.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":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=T.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=T.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});function _t(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return T();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Tt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,a=e.week||e.isoWeek||0,i=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,a=Tt.length;for(t in e)if(g(e,t)&&(-1===C.call(Tt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[Tt[n]]){if(r)return!1;parseFloat(e[Tt[n]])!==p(e[Tt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+i+7*a,this._months=+r+3*n+12*t,this._data={},this._locale=_(),this._bubble()}function Rt(e){return e instanceof Pt}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Bt(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+i(~~(e/60),2)+n+i(~~e%60,2)})}Bt("Z",":"),Bt("ZZ",""),w("Z",Se),w("ZZ",Se),x(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(Se,e)});var At=/([\+\-]|\d\d)/gi;function Nt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(At)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Ot(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||O(e)?e:T(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),h.updateOffset(t,!1),t):T(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var zt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(e,t){var n,r,a=e;return Rt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:N(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(t=zt.exec(e))?(n="-"===t[1]?-1:1,a={y:0,d:p(t[S])*n,h:p(t[M])*n,m:p(t[E])*n,s:p(t[L])*n,ms:p(Dt(1e3*t[Ie]))*n}):(t=Ut.exec(e))?(n="-"===t[1]?-1:1,a={y:Wt(t[2],n),M:Wt(t[3],n),w:Wt(t[4],n),d:Wt(t[5],n),h:Wt(t[6],n),m:Wt(t[7],n),s:Wt(t[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(t=T(a.from),n=T(a.to),t=t.isValid()&&n.isValid()?(n=Ot(n,t),t.isBefore(n)?r=Yt(t,n):((r=Yt(n,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(a={}).ms=t.milliseconds,a.M=t.months),r=new Pt(a),Rt(e)&&g(e,"_locale")&&(r._locale=e._locale),Rt(e)&&g(e,"_isValid")&&(r._isValid=e._isValid),r}function Wt(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,a){return function(e,t){var n;return null===t||isNaN(+t)||(X(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,P(e,t),r),this}}function qt(e,t,n,r){var a=t._milliseconds,i=Dt(t._days),t=Dt(t._months);e.isValid()&&(r=null==r||r,t&&Oe(e,pe(e,"Month")+t*n),i&&he(e,"Date",pe(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r)&&h.updateOffset(e,i||t)}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Re=Vt(1,"add"),Ke=Vt(-1,"subtract");function Zt(e){return"string"==typeof e||e instanceof String}function Jt(e){return l(e)||O(e)||Zt(e)||N(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!N(e)&&Zt(t)}).length),n&&r)||function(e){var t,n,r=B(e)&&!A(e),a=!1,i=["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=i.length;for(t=0;t<o;t+=1)n=i[t],a=a||g(e,n);return r&&a}(e)||null==e;var t,n,r}function Kt(e,t){var n,r;return e.date()<t.date()?-Kt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(n,"months"))<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=_(e))&&(this._locale=e),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.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=[],a=this.eras(),i=0,o=a.length;i<o;++i)t.push($(a[i].name)),e.push($(a[i].abbr)),n.push($(a[i].narrow)),r.push($(a[i].name)),r.push($(a[i].abbr)),r.push($(a[i].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,a){var i;return null==e?Ze(this,r,a).year:(t>(i=G(e,r,a))&&(t=i),function(e,t,n,r,a){e=qe(e,t,n,r,a),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,a))}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)}),x(["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}),x(["y","yy","yyy","yyyy"],F),x(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[F]=n._locale.eraYearOrdinalParse(e,a):t[F]=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",Fe),w("g",Fe),w("GG",b,y),w("gg",b,y),w("GGGG",$e,fe),w("gggg",$e,fe),w("GGGGG",xe,ye),w("ggggg",xe,ye),Ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=p(e)}),Ge(["gg","GG"],function(e,t,n,r){t[r]=h.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",a),x("Q",function(e,t){t[k]=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}),x(["D","DD"],S),x("Do",function(e,t){t[S]=p(e.match(b)[0])});$e=me("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),x(["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),x(["m","mm"],E);fe=me("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),x(["s","ss"],L);var cn,xe=me("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,a),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function dn(e,t){t[Ie]=p(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")x(cn,dn);ye=me("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");a=Z.prototype;function un(e){return e}a.add=Re,a.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=B(e)&&!A(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a=0;a<r.length;a+=1)n=n||g(e,r[a]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||T(),n=Ot(e,this).startOf("day"),n=h.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,T(e)))},a.clone=function(){return new Z(this)},a.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Ot(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=u(t)){case"year":i=Kt(this,r)/12;break;case"month":i=Kt(this,r);break;case"quarter":i=Kt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:m(i)},a.endOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){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}this._d.setTime(t),h.updateOffset(this,!0)}return this},a.format=function(e){return e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},a.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||T(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.fromNow=function(e){return this.from(T(),e)},a.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||T(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.toNow=function(e){return this.to(T(),e)},a.get=function(e){return d(this[e=u(e)])?this[e]():this},a.invalidAt=function(){return f(this).overflow},a.isAfter=function(e,t){return e=l(e)?e:T(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},a.isBefore=function(e,t){return e=l(e)?e:T(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},a.isBetween=function(e,t,n,r){return e=l(e)?e:T(e),t=l(t)?t:T(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))},a.isSame=function(e,t){var e=l(e)?e:T(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},a.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},a.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},a.isValid=function(){return z(this)},a.lang=Qe,a.locale=Xt,a.localeData=Qt,a.max=ve,a.min=be,a.parsingFlags=function(){return j({},f(this))},a.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:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,a=0;a<r;a++)this[n[a].unit](e[n[a].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},a.startOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){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)}this._d.setTime(t),h.updateOffset(this,!0)}return this},a.subtract=Ke,a.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},a.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()}},a.toDate=function(){return new Date(this.valueOf())},a.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).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"):d(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"):null},a.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",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+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(a[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},a.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},a.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""},a.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""},a.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""},a.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,a=n.length;r<a;++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()-h(n[r].since).year())*e+n[r].offset;return this.year()},a.year=Ue,a.isLeapYear=function(){return ue(this.year())},a.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},a.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},a.quarter=a.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},a.month=He,a.daysInMonth=function(){return Pe(this.year(),this.month())},a.week=a.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},a.isoWeek=a.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},a.weeksInYear=function(){var e=this.localeData()._week;return G(this.year(),e.dow,e.doy)},a.weeksInWeekYear=function(){var e=this.localeData()._week;return G(this.weekYear(),e.dow,e.doy)},a.isoWeeksInYear=function(){return G(this.year(),1,4)},a.isoWeeksInISOWeekYear=function(){return G(this.isoWeekYear(),1,4)},a.date=$e,a.day=a.days=function(e){var t,n,r;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,r=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=r.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},a.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},a.isoWeekday=function(e){var t,n;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},a.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")},a.hour=a.hours=v,a.minute=a.minutes=fe,a.second=a.seconds=xe,a.millisecond=a.milliseconds=ye,a.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?a:Ht(this);if("string"==typeof e){if(null===(e=Nt(Se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ht(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?qt(this,P(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},a.utc=function(e){return this.utcOffset(0,e)},a.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ht(this),"m"),this},a.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Nt(ke,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},a.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?T(e).utcOffset():0,(this.utcOffset()-e)%60==0)},a.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},a.isLocal=function(){return!!this.isValid()&&!this._isUTC},a.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},a.isUtc=jt,a.isUTC=jt,a.zoneAbbr=function(){return this._isUTC?"UTC":""},a.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},a.dates=e("dates accessor is deprecated. Use date instead.",$e),a.months=e("months accessor is deprecated. Use month instead",He),a.years=e("years accessor is deprecated. Use year instead",Ue),a.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()}),a.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(q(t={},this),(t=Gt(t))._a?(e=(t._isUTC?c:T)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&p(e[o])!==p(t[o]))&&i++;return i+a}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function mn(e,t,n,r){var a=_(),r=c().set(r,t);return a[n](r,e)}function pn(e,t,n){if(N(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");for(var r=[],a=0;a<12;a++)r[a]=mn(e,a,n,"month");return r}function hn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),N(t)&&(n=t,t=void 0),t||"");var a,i=_(),o=e?i._week.dow:0,s=[];if(null!=n)return mn(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=mn(t,(a+o)%7,r,"day");return s}y.calendar=function(e,t,n){return d(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=un,y.postformat=un,y.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return d(a)?a(e,t,n,r):a.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(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)&&(d(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||_("en")._eras,a=0,i=r.length;a<i;++a)switch("string"==typeof r[a].since&&(n=h(r[a].since).startOf("day"),r[a].since=n.valueOf()),typeof r[a].until){case"undefined":r[a].until=1/0;break;case"string":n=h(r[a].until).startOf("day").valueOf(),r[a].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,a,i,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(i=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(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[i,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?h(e.since).year():h(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||Be).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[Be.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,a;if(this._monthsParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=C.call(this._shortMonthsParse,e))?a:null:-1!==(a=C.call(this._longMonthsParse,e))?a:null:"MMM"===t?-1!==(a=C.call(this._shortMonthsParse,e))||-1!==(a=C.call(this._longMonthsParse,e))?a:null:-1!==(a=C.call(this._longMonthsParse,e))||-1!==(a=C.call(this._shortMonthsParse,e))?a:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(a.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=Ne),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=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ze(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?Je(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,a;if(this._weekdaysParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=C.call(this._weekdaysParse,e))?a:null:"ddd"===t?-1!==(a=C.call(this._shortWeekdaysParse,e))?a:null:-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:"dddd"===t?-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._shortWeekdaysParse,e))||-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:"ddd"===t?-1!==(a=C.call(this._shortWeekdaysParse,e))||-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:-1!==(a=C.call(this._minWeekdaysParse,e))||-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._shortWeekdaysParse,e))?a:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(a.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")}}),h.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),h.langData=e("moment.langData is deprecated. Use moment.localeData instead.",_);var gn=Math.abs;function fn(e,t,n,r){t=P(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"),Re=wn("m"),ve=wn("h"),be=wn("d"),Ke=wn("w"),v=wn("M"),fe=wn("Q"),xe=wn("y");function $n(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=$n("milliseconds"),$e=$n("seconds"),Ue=$n("minutes"),y=$n("hours"),xn=$n("days"),Cn=$n("months"),Fn=$n("years");var kn=Math.round,Sn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var a=P(e).abs(),i=kn(a.as("s")),o=kn(a.as("m")),s=kn(a.as("h")),l=kn(a.as("d")),c=kn(a.as("M")),d=kn(a.as("w")),a=kn(a.as("y")),i=(i<=n.ss?["s",i]:i<n.s&&["ss",i])||(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(i=(i=null!=n.w?i||(d<=1?["w"]:d<n.w&&["ww",d]):i)||(c<=1?["M"]:c<n.M&&["MM",c])||(a<=1?["y"]:["yy",a]))[2]=t,i[3]=0<+e,i[4]=r,function(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}.apply(null,i)}var En=Math.abs;function Ln(e){return(0<e)-(e<0)||+e}function Gn(){var e,t,n,r,a,i,o,s,l,c,d;return this.isValid()?(s=En(this._milliseconds)/1e3,l=En(this._days),c=En(this._months),(d=this.asSeconds())?(e=m(s/60),t=m(e/60),s%=60,e%=60,n=m(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",a=Ln(this._months)!==Ln(d)?"-":"",i=Ln(this._days)!==Ln(d)?"-":"",o=Ln(this._milliseconds)!==Ln(d)?"-":"",(d<0?"-":"")+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(l?i+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"):this.localeData().invalidDate()}var R=Pt.prototype;return R.isValid=function(){return this._isValid},R.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},R.add=function(e,t){return fn(this,e,t,1)},R.subtract=function(e,t){return fn(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=u(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)}},R.asMilliseconds=we,R.asSeconds=ge,R.asMinutes=Re,R.asHours=ve,R.asDays=be,R.asWeeks=Ke,R.asMonths=v,R.asQuarters=fe,R.asYears=xe,R.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},R._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=m(e/1e3),r.seconds=e%60,e=m(e/60),r.minutes=e%60,e=m(e/60),r.hours=e%24,t+=m(e/24),n+=e=m(bn(t)),t-=yn(vn(e)),e=m(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},R.clone=function(){return P(this)},R.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=$e,R.minutes=Ue,R.hours=y,R.days=xn,R.weeks=function(){return m(this.days()/7)},R.months=Cn,R.years=Fn,R.humanize=function(e,t){var n,r;return this.isValid()?(n=!1,r=Sn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Sn,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)):this.localeData().invalidDate()},R.toISOString=Gn,R.toString=Gn,R.toJSON=Gn,R.locale=Xt,R.localeData=Qt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gn),R.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",Fe),w("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,n){n._d=new Date(p(e))}),h.version="2.29.4",D=T,h.fn=a,h.min=function(){return _t("isBefore",[].slice.call(arguments,0))},h.max=function(){return _t("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=c,h.unix=function(e){return T(1e3*e)},h.months=function(e,t){return pn(e,t,"months")},h.isDate=O,h.locale=pt,h.invalid=U,h.duration=P,h.isMoment=l,h.weekdays=function(e,t,n){return hn(e,t,n,"weekdays")},h.parseZone=function(){return T.apply(null,arguments).parseZone()},h.localeData=_,h.isDuration=Rt,h.monthsShort=function(e,t){return pn(e,t,"monthsShort")},h.weekdaysMin=function(e,t,n){return hn(e,t,n,"weekdaysMin")},h.defineLocale=ht,h.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=I[e]&&null!=I[e].parentLocale?I[e].set(Q(I[e]._config,t)):(t=Q(r=null!=(n=mt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=I[e],I[e]=r),pt(e)):null!=I[e]&&(null!=I[e].parentLocale?(I[e]=I[e].parentLocale,e===pt()&&pt(e)):null!=I[e]&&delete I[e]),I[e]},h.locales=function(){return te(I)},h.weekdaysShort=function(e,t,n){return hn(e,t,n,"weekdaysShort")},h.normalizeUnits=u,h.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},h.relativeTimeThreshold=function(e,t){return void 0!==Sn[e]&&(void 0===t?Sn[e]:(Sn[e]=t,"s"===e&&(Sn.ss=t-1),!0))},h.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"},h.prototype=a,h.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"},h}();var Pa,Ra,Da=Pa.exports;function Ba(e,t){o(e,t)}const Aa={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır",full:"masa dolu - bet behind",dealer:"Dealer"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Započni sada!",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"}},Na={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 Oa(e,t,n){e=e.slice();return e[103]=t[n],e[105]=n,e}function Ha(e,t,n){e=e.slice();return e[100]=t[n],e}function ja(e){let n;function r(e){return e[17]?Ua:za}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function za(e){let n;return{c(){(n=pe("div")).innerHTML="<div></div><div></div>",fe(n,"class","LoaderRipple")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Ua(n){let r,a,i;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: var(--emfe-w-color-white, #FFFFFF);" 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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[63]),a=!0)},p:N,d(e){e&&me(r),a=!1,i()}}}function Wa(n){let r,a,i,o,s=n[36]("playNow")+"";return{c(){r=pe("button"),a=he(s),fe(r,"class","GameInfoBtn")},m(e,t){ue(e,r,t),de(r,a),i||(o=U(r,"click",n[64]),i=!0)},p(e,t){32&t[1]&&s!==(s=e[36]("playNow")+"")&&ye(a,s)},d(e){e&&me(r),i=!1,o()}}}function Ya(e){let n;return{c(){(n=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Va(n){let r,a,i;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(r,"class","FavIconContainer")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[65]),a=!0)},p:N,d(e){e&&me(r),a=!1,i()}}}function qa(e){let n,r,a=e[36]("new")+"";return{c(){n=pe("span"),r=he(a),fe(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&a!==(a=e[36]("new")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Za(e){let n,r;return{c(){n=pe("span"),r=he(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&ye(r,e[8])},d(e){e&&me(n)}}}function Ja(e){let n,r,a=!e[23]&&e[21]&&e[22]&&Ka(e);function i(e){return e[23]&&e[20]&&e[20]===ci?Qa:e[23]&&e[20]&&e[20]===di?Xa:void 0}let o=i(e),s=o&&o(e);return{c(){a&&a.c(),n=ge(),s&&s.c(),r=c()},m(e,t){a&&a.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){!e[23]&&e[21]&&e[22]?a?a.p(e,t):((a=Ka(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){a&&a.d(e),e&&me(n),s&&s.d(e),e&&me(r)}}}function Ka(e){let n,r,a,i,o,s,l,c,d,u,m=e[36]("opens")+"",p=Da.utc(e[21]).local().format(e[22])+"",h=e[42](e[35])+"",g=e[41](e[27],e[28],e[26])+"";return{c(){n=pe("div"),r=pe("div"),a=he(m),i=ge(),o=pe("span"),s=he(p),l=ge(),c=new G(!1),d=ge(),u=new G(!1),fe(r,"class","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(r,o),de(o,s),de(n,l),c.m(h,n),de(n,d),u.m(g,n)},p(e,t){32&t[1]&&m!==(m=e[36]("opens")+"")&&ye(a,m),6291456&t[0]&&p!==(p=Da.utc(e[21]).local().format(e[22])+"")&&ye(s,p),16&t[1]&&h!==(h=e[42](e[35])+"")&&c.p(h),469762048&t[0]&&g!==(g=e[41](e[27],e[28],e[26])+"")&&u.p(g)},d(e){e&&me(n)}}}function Xa(n){let r,a,i,o,s,l,c=n[42](n[35])+"",d=n[41](n[27],n[28],n[26])+"",u=new Array(mi),m=[];for(let e=0;e<u.length;e+=1)m[e]=ri(Oa(n,u,e));return{c(){r=pe("div"),a=pe("div");for(let e=0;e<m.length;e+=1)m[e].c();i=ge(),o=new G(!1),s=ge(),l=new G(!1),fe(a,"class","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[31])},m(e,t){ue(e,r,t),de(r,a);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(a,null);n[66](a),de(r,i),o.m(c,r),de(r,s),l.m(d,r)},p(t,n){if(1073758208&n[0]|4098&n[1]){let e;for(u=new Array(mi),e=0;e<u.length;e+=1){const o=Oa(t,u,e);m[e]?m[e].p(o,n):(m[e]=ri(o),m[e].c(),m[e].m(a,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}16&n[1]&&c!==(c=t[42](t[35])+"")&&o.p(c),469762048&n[0]&&d!==(d=t[41](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(r,"class",t[31])},d(e){e&&me(r),j(m,e),n[66](null)}}}function Qa(e){let n,r,a,i,o,s,l=e[42](e[35])+"",c=e[41](e[27],e[28],e[26])+"";function d(e){return e[33]?ii:ai}let u=d(e),m=u(e);return{c(){n=pe("div"),r=pe("div"),m.c(),a=ge(),i=new G(!1),o=ge(),s=new G(!1),fe(r,"class","LiveIcons"),i.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){ue(e,n,t),de(n,r),m.m(r,null),de(n,a),i.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(r,null))),16&t[1]&&l!==(l=e[42](e[35])+"")&&i.p(l),469762048&t[0]&&c!==(c=e[41](e[27],e[28],e[26])+"")&&s.p(c)},d(e){e&&me(n),m.d()}}}function ei(e){let n;function r(e){return e[30]?ni:ti}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function ti(e){let n,r,a=e[43]("LatestResult "+(0===e[105]?"First":""),e[105],e[14][e[105]],e[32][e[14][e[105]]])+"";return{c(){n=new G(!1),r=c(),n.a=r},m(e,t){n.m(a,e,t),ue(e,r,t)},p(e,t){16384&t[0]|2&t[1]&&a!==(a=e[43]("LatestResult "+(0===e[105]?"First":""),e[105],e[14][e[105]],e[32][e[14][e[105]]])+"")&&n.p(a)},d(e){e&&me(r),e&&n.d()}}}function ni(e){let n,r,a,i,o,s=e[43]("LatestResult "+(0===e[105]?"First":""),"first"+e[105]+e[14][e[105]][0],e[14][e[105]][0],e[32][e[14][e[105]][0]])+"",l=e[43]("LatestResult "+(0===e[105]?"First":""),"second"+e[105]+e[14][e[105]][1],e[14][e[105]][1],e[32][e[14][e[105]][1]])+"";return{c(){n=pe("div"),r=new G(!1),a=ge(),i=new G(!1),o=ge(),r.a=a,i.a=o,fe(n,"class","Double")},m(e,t){ue(e,n,t),r.m(s,n),de(n,a),i.m(l,n),de(n,o)},p(e,t){16384&t[0]|2&t[1]&&s!==(s=e[43]("LatestResult "+(0===e[105]?"First":""),"first"+e[105]+e[14][e[105]][0],e[14][e[105]][0],e[32][e[14][e[105]][0]])+"")&&r.p(s),16384&t[0]|2&t[1]&&l!==(l=e[43]("LatestResult "+(0===e[105]?"First":""),"second"+e[105]+e[14][e[105]][1],e[14][e[105]][1],e[32][e[14][e[105]][1]])+"")&&i.p(l)},d(e){e&&me(n)}}}function ri(e){let n,r=e[14]&&e[14][e[105]]&&ei(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[14]&&e[14][e[105]]?r?r.p(e,t):((r=ei(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function ai(t){let a,i=t[25],o=[];for(let e=0;e<i.length;e+=1)o[e]=oi(Ha(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(570425344&n[0]|512&n[1]){let e;for(i=t[25],e=0;e<i.length;e+=1){var r=Ha(t,i,e);o[e]?o[e].p(r,n):(o[e]=oi(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){j(o,e),e&&me(a)}}}function ii(e){let n,r,a=e[36]("full")+"";return{c(){n=pe("span"),r=he(a),fe(n,"class","FullTable")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&a!==(a=e[36]("full")+"")&&ye(r,a)},d(e){e&&me(n)}}}function oi(e){let n,r,a,i,o,s;return{c(){n=pe("span"),r=z("svg"),a=z("path"),i=z("path"),o=ge(),fe(a,"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(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),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[40](e[29],e[100].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(n,o)},p(e,t){570425344&t[0]&&s!==(s=e[40](e[29],e[100].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s)},d(e){e&&me(n)}}}function si(e){let n,r;return{c(){n=pe("p"),r=he(e[4]),fe(n,"class","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&ye(r,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&me(n)}}}function li(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C,F,k,S,M,E=!dt(n[37])&&!n[0]&&n[16],L=(n[5]||"-")+"",G=E&&ja(n),I=n[1]&&Wa(n);function A(e,t){return 65541&t[0]&&(v=null),65541&t[0]&&(w=null),(v=null==v?!(dt(e[37])||!e[0]||!e[16]||!e[2]):v)?Va:(w=null==w?!!(dt(e[37])&&e[0]&&e[16]&&e[2]):w)?Ya:void 0}let _=A(n,[-1,-1,-1,-1]),T=_&&_(n),P=n[7]&&qa(n),R=n[8]&&Za(n),D=n[13]&&Ja(n),B="true"===n[10]&&si(n);return{c(){r=pe("div"),a=pe("div"),i=pe("img"),l=ge(),c=pe("div"),d=pe("div"),G&&G.c(),u=ge(),m=pe("p"),p=he(n[4]),h=ge(),I&&I.c(),g=ge(),f=pe("span"),y=he(L),b=ge(),T&&T.c(),$=ge(),x=pe("div"),P&&P.c(),C=ge(),R&&R.c(),F=ge(),D&&D.c(),S=ge(),B&&B.c(),this.c=N,ce(i.src,o=n[3])||fe(i,"src",o),fe(i,"class",s=`GameBg GameBg-${n[9]} `+(n[18]?"Loaded":"")),fe(i,"alt",""),fe(i,"loading","lazy"),fe(m,"class","GameInfoName"),fe(m,"title",n[4]),fe(d,"class","GameInfo"),fe(f,"class","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(x,"class","GameExtraInfo"),fe(a,"class",k="GameInnerContainer "+(n[13]&&!n[23]&&n[24].value||n[13]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"class",M=`GameContainer ${n[34]} `+("true"==n[11]?"CasinoGamesGridSlider":"")),O(r,"WithGameName",n[10])},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[62](i),de(a,l),de(a,c),de(c,d),G&&G.m(d,null),de(d,u),de(d,m),de(m,p),de(d,h),I&&I.m(d,null),de(c,g),de(c,f),de(f,y),de(a,b),T&&T.m(a,null),de(a,$),de(a,x),P&&P.m(x,null),de(x,C),R&&R.m(x,null),de(x,F),D&&D.m(x,null),de(r,S),B&&B.m(r,null),n[67](r)},p(e,t){8&t[0]&&!ce(i.src,o=e[3])&&fe(i,"src",o),262656&t[0]&&s!==(s=`GameBg GameBg-${e[9]} `+(e[18]?"Loaded":""))&&fe(i,"class",s),(E=65537&t[0]?!dt(e[37])&&!e[0]&&e[16]:E)?G?G.p(e,t):((G=ja(e)).c(),G.m(d,u)):G&&(G.d(1),G=null),16&t[0]&&ye(p,e[4]),16&t[0]&&fe(m,"title",e[4]),e[1]?I?I.p(e,t):((I=Wa(e)).c(),I.m(d,null)):I&&(I.d(1),I=null),32&t[0]&&L!==(L=(e[5]||"-")+"")&&ye(y,L),_===(_=A(e,t))&&T?T.p(e,t):(T&&T.d(1),(T=_&&_(e))&&(T.c(),T.m(a,$))),e[7]?P?P.p(e,t):((P=qa(e)).c(),P.m(x,C)):P&&(P.d(1),P=null),e[8]?R?R.p(e,t):((R=Za(e)).c(),R.m(x,F)):R&&(R.d(1),R=null),e[13]?D?D.p(e,t):((D=Ja(e)).c(),D.m(x,null)):D&&(D.d(1),D=null),25174016&t[0]|4&t[1]&&k!==(k="GameInnerContainer "+(e[13]&&!e[23]&&e[24].value||e[13]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(a,"class",k),"true"===e[10]?B?B.p(e,t):((B=si(e)).c(),B.m(r,null)):B&&(B.d(1),B=null),2048&t[0]|8&t[1]&&M!==(M=`GameContainer ${e[34]} `+("true"==e[11]?"CasinoGamesGridSlider":""))&&fe(r,"class",M),3072&t[0]|8&t[1]&&O(r,"WithGameName",e[10])},i:N,o:N,d(e){e&&me(r),n[62](null),G&&G.d(),I&&I.d(),T&&T.d(),P&&P.d(),R&&R.d(),D&&D.d(),B&&B.d(),n[67](null)}}}const ci="blackjack",di="roulette",ui="doubleballroulette",mi=5;function pi(i,e,o){let D;mt(i,ra,e=>o(36,D=e));let B,s,l,c,t,A,N,d,u,O,H,j,m,z,U,W,p,Y,V,q,h,Z,g,J,K,{session:X=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{favorites:$=""}=e,{gamethumbnail:Q=""}=e,{gamename:ee=""}=e,{gamevendor:n=""}=e,{gamelaunchurl:r=""}=e,{gameid:a=""}=e,{gameisnew:te=""}=e,{gametag:ne=""}=e,{gamefunmode:x=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:re=""}=e,{showfavoredcategory:F=!1}=e,{showgamename:ae=""}=e,{currency:k=""}=e,{gamepagemodalurl:S="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:E=""}=e,{connectlive:L=""}=e,{visibilityconnect:G=""}=e,{integratedgameframedesktop:I="false"}=e,{integratedgameframemobile:_="false"}=e,{casinogamesgridslider:ie="false"}=e,oe=!1,se=!1,le=!1,T=window.navigator.userAgent,ce="HH:mm",de,ue=[],me="EUR",P="";const pe=[ci],he=[di,ui],ge={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},fe={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"},ye=(Object.keys(Aa).forEach(e=>{Ba(e,Aa[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+a||F||o(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+a||F||o(0,C=!1),"UserSessionID"===e.data.type&&(o(16,oe=!0),e.data.session,B=e.data.userID),"CategoryUpdate"===e.data.type&&o(13,c=null)}),be=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(B||"Not logged in")}),dt(T)&&"true"==_?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:dt(T),source:"GameThumbnail",identifier:"Lobby",subVendor:n,launchUrl:r},window.location.href):dt(T)&&"false"==_&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:dt(T)},window.location.href),dt(T)||"true"!=I?dt(T)||"false"!=I||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:dt(T)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:dt(T),identifier:"Lobby",subVendor:n,launchUrl:r},window.location.href)},ve=e=>{C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},we=()=>{E&&EventSource&&!t&&n&&a&&(t=new EventSource(`${M}/v1/encoder/lobby/updates/${n}/`+a)).addEventListener("message",xe)},$e=()=>{t&&(t.close(),t=void 0)},xe=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:a,Open:i}=r;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(o(29,m=a),o(13,c.currentOccupiedSeats=a,c),await ke());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(z=n,o(13,c.currentRouletteNumbers=n,c),await ke());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(13,c.currentDoubleBallRouletteNumbers=n,c),await ke());break;case"TableOpened":case"TableClosed":o(23,d=i),o(13,c.isOpen=i,c),await ke()}}}},Ce=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t),Fe=()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return st(()=>(window.addEventListener("message",ye,!1),()=>{window.removeEventListener("message",ye),t&&t.removeEventListener("message",xe)})),i.$$set=e=>{"session"in e&&o(44,X=e.session),"userid"in e&&o(45,f=e.userid),"lang"in e&&o(1,y=e.lang),"clientstyling"in e&&o(46,b=e.clientstyling),"clientstylingurl"in e&&o(47,v=e.clientstylingurl),"translationurl"in e&&o(48,w=e.translationurl),"favorites"in e&&o(2,$=e.favorites),"gamethumbnail"in e&&o(3,Q=e.gamethumbnail),"gamename"in e&&o(4,ee=e.gamename),"gamevendor"in e&&o(5,n=e.gamevendor),"gamelaunchurl"in e&&o(49,r=e.gamelaunchurl),"gameid"in e&&o(6,a=e.gameid),"gameisnew"in e&&o(7,te=e.gameisnew),"gametag"in e&&o(8,ne=e.gametag),"gamefunmode"in e&&o(50,x=e.gamefunmode),"gamefavorite"in e&&o(0,C=e.gamefavorite),"gamecellsize"in e&&o(9,re=e.gamecellsize),"showfavoredcategory"in e&&o(51,F=e.showfavoredcategory),"showgamename"in e&&o(10,ae=e.showgamename),"currency"in e&&o(52,k=e.currency),"gamepagemodalurl"in e&&o(53,S=e.gamepagemodalurl),"endpoint"in e&&o(54,M=e.endpoint),"livelobbyendpoint"in e&&o(55,E=e.livelobbyendpoint),"connectlive"in e&&o(56,L=e.connectlive),"visibilityconnect"in e&&o(57,G=e.visibilityconnect),"integratedgameframedesktop"in e&&o(58,I=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(59,_=e.integratedgameframemobile),"casinogamesgridslider"in e&&o(11,ie=e.casinogamesgridslider)},i.$$.update=()=>{if(33554432&i.$$.dirty[1]&&L&&("disconnect"===L?$e():"connect"===L&&we()),67108864&i.$$.dirty[1]&&G&&("disconnect"===G?$e():"connect"===G&&"connect"===L&&we()),2&i.$$.dirty[0]&&y&&(n=y,ct.set(n)),8413184&i.$$.dirty[1]&&X&&f&&M&&(o(16,oe=!0),B=f),8&i.$$.dirty[0]&&Q&&s&&o(19,s.onload=()=>{o(18,le=!0)},s),4096&i.$$.dirty[0]|32768&i.$$.dirty[1]&&b&&l&&((n=document.createElement("style")).innerHTML=b,l.appendChild(n)),4096&i.$$.dirty[0]|65536&i.$$.dirty[1]&&v&&l&&Fe(),4&i.$$.dirty[0]&&$&&"true"==$&&o(17,se=!0),131072&i.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ba(e,t[e])})}).catch(e=>{console.log(e)}),512&i.$$.dirty[0]|65536&i.$$.dirty[1]&&re&&v&&Fe(),25165824&i.$$.dirty[1]&&M&&E&&((t=new URL(""+E.split("?")[0])).searchParams.append("platform",ut(T)),t.searchParams.append("language",y),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(13,c=e)})),8192&i.$$.dirty[0]&&c&&c&&(o(23,d=c.isOpen),de=c.betLimit||{},o(24,u=c.openHours),o(25,ue=(e=>{j=e.totalSeats||7,o(29,m=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=j;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],o(21,N=t),o(22,ce=e||ce)),d&&o(20,A=(e=>{let t=null;if(e){var n=e["vendorCategory"];if(n){const e=n.toLowerCase();R(pe,e)?t=ci:R(he,e)&&(t=di)}}return t})(c)),o(26,me=Na[k]),o(27,O=(de.min||{})[k]),o(28,H=(de.max||{})[k]),z=c.currentRouletteNumbers,U=c.currentDoubleBallRouletteNumbers,W=c.vendorCategory,o(30,p=W.toLowerCase()===ui),o(14,Y=(p?U:z)||[]),o(31,V="GameProp LiveProps RoulleteProps"),o(31,V+=p?" Double":""),o(32,q=R(he,W.toLowerCase())?fe:ge),Z=h,o(33,h=Array.isArray(m)&&m.length===j),c.dealer&&o(35,J=c.dealer.DealerName),K=c.numberOfPlayers,o(34,P="ListGame"),c.isOpen&&c.currentRouletteNumbers&&o(34,P+=" GameBackdrop"),d&&h&&O&&H&&c.currentOccupiedSeats?o(34,P+=" GameContainerDimmed"):!1===d&&N&&o(34,P+=" GameContainerFullyDimmed"),l)&&(!Z&&h?(o(34,P+=" PulsatingRedShadow"),o(34,P=P.replace(" PulsatingGreenShadow",""))):Z&&!h&&(o(34,P+=" PulsatingGreenShadow"),o(34,P=P.replace(" PulsatingRedShadow","")))),49152&i.$$.dirty[0]&&g&&Y){const r="FirstElementAnimated",a=g.getElementsByClassName("First")[0];a&&(a.classList.add(r),setTimeout(()=>{a.classList.remove(r)},2e3))}var e,t,n},[C,y,$,Q,ee,n,a,te,ne,re,ae,ie,l,c,Y,g,oe,se,le,s,A,N,ce,d,u,ue,me,O,H,m,p,V,q,h,P,J,D,T,be,ve,R,(e,t,n)=>{let r,a;return null!=e&&null!=t&&(a=`
|
|
3
|
+
}`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,m=k(e),{stylesheet:p,rules:h}=T.get(m)||(m=m,d={stylesheet:(d=e,h=pe("style"),d=k(d),p=h,de(d.head||d,p),p.sheet,h.sheet),rules:{}},T.set(m,d),d),m=(h[s]||(h[s]=!0,p.insertRule(`@keyframes ${s} `+u,p.cssRules.length)),e.style.animation||"");return e.style.animation=(m?m+", ":"")+s+` ${r}ms linear ${a}ms 1 both`,P+=1,s}function D(e){I=e}function Ie(){if(I)return I;throw new Error("Function called outside component initialization")}function ot(e){Ie().$$.on_mount.push(e)}const A=[],st=[];let B=[];const N=[],Y=Promise.resolve();let V=!1;function q(){V||(V=!0,Y.then(m))}function Fe(){return q(),Y}function Z(e){B.push(e)}const J=new Set;let K,X=0;function m(){if(0===X){const r=I;do{try{for(;X<A.length;){const r=A[X];X++,D(r),e=t=void 0;var e,t=r.$$;null!==t.fragment&&(t.update(),j(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Z))}}catch(r){throw A.length=0,X=0,r}for(D(null),A.length=0,X=0;st.length;)st.pop()();for(let e=0;e<B.length;e+=1){var n=B[e];J.has(n)||(J.add(n),n())}}while(B.length=0,A.length);for(;N.length;)N.pop()();V=!1,J.clear(),D(r)}}function Q(e,t,n){var r;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(r=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),r))}const ee=new Set;let te;function ne(e,t){e&&e.i&&(ee.delete(e),e.i(t))}function re(e,t,n,r){e&&e.o?ee.has(e)||(ee.add(e),te.c.push(()=>{ee.delete(e),r&&(n&&e.d(1),r())}),e.o(t)):r&&r()}const ae={duration:0};function ie(l,e,t,n){const r={direction:"both"};let c=e(l,t,r),d=n?0:1,u=null,m=null,p=null;function h(){var e,t,n,r;p&&(e=l,t=p,n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-r.length)||(e.style.animation=r.join(", "),P-=n)||$(()=>{P||(T.forEach(e=>{e=e.stylesheet.ownerNode;e&&me(e)}),T.clear())}))}function g(e,t){var n=e.b-d;return t*=Math.abs(n),{a:d,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function a(e){const{delay:t=0,duration:n=300,easing:r=v,tick:a=O,css:i}=c||ae,o={start:w()+t,b:e};if(e||((o.group=te).r+=1),u||m)m=o;else{i&&(h(),p=R(l,d,e,n,t,r,i)),e&&a(0,1),u=g(o,n),Z(()=>Q(l,e,"start"));{var s=e=>{return m&&e>m.start&&(u=g(m,n),m=null,Q(l,u.b,"start"),i)&&(h(),p=R(l,d,u.b,u.duration,0,r,c.css)),u&&(e>=u.end?(a(d=u.b,1-d),Q(l,u.b,"end"),m||(u.b?h():--u.group.r||j(u.group.c)),u=null):e>=u.start&&(e=e-u.start,d=u.a+u.d*r(e/u.duration),a(d,1-d))),!(!u&&!m)};let t;0===x.size&&$(C),new Promise(e=>{x.add(t={c:s,f:e})})}}}return{run(e){L(c)?(K||(K=Promise.resolve()).then(()=>{K=null}),K.then(()=>{c=c(r),a(e)})):a(e)},end(){h(),u=m=null}}}function oe(e,t){e.d(1),t.delete(e.key)}function se(t,n,r,a,i,o,s,l,e,c,d,u){let m=t.length,p=o.length,h=m;for(var g={};h--;)g[t[h].key]=h;var f=[],y=new Map,b=new Map,v=[];for(h=p;h--;){const t=u(i,o,h),j=r(t);let e=s.get(j);e?a&&v.push(()=>e.p(t,n)):(e=c(j,t)).c(),y.set(j,f[h]=e),j in g&&b.set(j,Math.abs(h-g[j]))}var w=new Set,$=new Set;function x(e){ne(e,1),e.m(l,d),s.set(e.key,e),d=e.first,p--}for(;m&&p;){const n=f[p-1],r=t[m-1],a=n.key,j=r.key;n===r?(d=n.first,m--,p--):y.has(j)?!s.has(a)||w.has(a)?x(n):$.has(j)?m--:b.get(a)>b.get(j)?($.add(a),x(n)):(w.add(j),m--):(e(r,s),m--)}for(;m--;){const n=t[m];y.has(n.key)||e(n,s)}for(;p;)x(f[p-1]);return j(v),f}function a(r,e,t,n,a,i,o,s=[-1]){var l=I;D(r);const c=r.$$={fragment:null,ctx:[],props:i,update:O,not_equal:a,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:h(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&a(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d)&&(n=e,-1===(e=r).$$.dirty[0]&&(A.push(e),q(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),d=!0,j(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){i=e.target;const O=Array.from(i.childNodes);c.fragment&&c.fragment.l(O),O.forEach(me)}else c.fragment&&c.fragment.c();e.intro&&ne(r.$$.fragment);var u=r,s=e.target,o=e.anchor,t=e.customElement,{fragment:n,after_update:i}=u.$$;n&&n.m(s,o),t||Z(()=>{var e=u.$$.on_mount.map(p).filter(L);u.$$.on_destroy?u.$$.on_destroy.push(...e):j(e),u.$$.on_mount=[]}),i.forEach(Z),m()}D(l)}let t;"function"==typeof HTMLElement&&(t=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(p).filter(L);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=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const r=[],a=[];B.forEach(e=>(-1===n.indexOf(e)?r:a).push(e)),a.forEach(e=>e()),B=r}j(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=O}$on(e,t){if(!L(t))return O;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 le,be,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},ve="URLSearchParams"in l,we="Symbol"in l&&"iterator"in Symbol,$e="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),xe="FormData"in l,Ce="ArrayBuffer"in l;function ke(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 Se(e){return e="string"!=typeof e?String(e):e}function Me(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return we&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Le(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Ee(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Ge(e){var t=new FileReader,n=Ee(t);return t.readAsArrayBuffer(e),n}function _e(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Te(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:$e&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:xe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ve&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ce&&$e&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=_e(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ce&&(ArrayBuffer.prototype.isPrototypeOf(e)||be(e))?this._bodyArrayBuffer=_e(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ve&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},$e&&(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(){if(this._bodyArrayBuffer)return 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));if($e)return this.blob().then(Ge);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r=Le(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=Ee(e),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?n[1]:"utf-8",e.readAsText(r,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)},xe&&(this.formData=function(){return this.text().then(De)}),this.json=function(){return this.text().then(JSON.parse)},this}Ce&&(le=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],be=ArrayBuffer.isView||function(e){return e&&-1<le.indexOf(Object.prototype.toString.call(e))}),d.prototype.append=function(e,t){e=ke(e),t=Se(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[ke(e)]},d.prototype.get=function(e){return e=ke(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(ke(e))},d.prototype.set=function(e,t){this.map[ke(e)]=Se(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Me(n)},d.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Me(t)},d.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Me(n)},we&&(d.prototype[Symbol.iterator]=d.prototype.entries);var Pe=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Re(e,t){if(!(this instanceof Re))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 Re){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(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 d(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Pe.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).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 De(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 Ae(e,t){if(!(this instanceof Ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}Re.prototype.clone=function(){return new Re(this,{body:this._bodyInit})},Te.call(Re.prototype),Te.call(Ae.prototype),Ae.prototype.clone=function(){return new Ae(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},Ae.error=function(){var e=new Ae(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Be=[301,302,303,307,308],Ne=(Ae.redirect=function(e,t){if(-1===Be.indexOf(t))throw new RangeError("Invalid status code");return new Ae(null,{status:t,headers:{location:e}})},l.DOMException);try{new Ne}catch(O){(Ne=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Ne.prototype.constructor=Ne}function Oe(r,s){return new Promise(function(a,e){var i=new Re(r,s);if(i.signal&&i.signal.aborted)return e(new Ne("Aborted","AbortError"));var n,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,r,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",r=new d,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{r.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),r)},n=(i.url.startsWith("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){a(new Ae(n,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new Ne("Aborted","AbortError"))},0)},o.open(i.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&($e?o.responseType="blob":Ce&&(o.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof d||l.Headers&&s.headers instanceof l.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(ke(e)),o.setRequestHeader(e,Se(s.headers[e]))}),i.headers.forEach(function(e,t){-1===n.indexOf(t)&&o.setRequestHeader(t,e)})):i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",t)}),o.send(void 0===i._bodyInit?null:i._bodyInit)})}function _n(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Oe.polyfill=!0,l.fetch||(l.fetch=Oe,l.Headers=d,l.Request=Re,l.Response=Ae);var je=self.fetch.bind(self),He=function(e,t){return(He=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 ze(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}He(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ue(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 We(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function Ye(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function Ve(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 Ze=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 Je(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}Qe.prototype.unsubscribe=function(){var e,t,n,r,a;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var o=Ue(i),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 i.remove(this);i=this.initialTeardown;if(Ve(i))try{i()}catch(e){a=e instanceof Ze?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=Ue(i),c=l.next();!c.done;c=l.next()){var d=c.value;try{tt(d)}catch(e){a=null!=a?a:[],e instanceof Ze?a=Ye(Ye([],We(a)),We(e.errors)):a.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(a)throw new Ze(a)}},Qe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)tt(e);else{if(e instanceof Qe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},Qe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Qe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Qe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Je(t,e)},Qe.prototype.remove=function(e){var t=this._finalizers;t&&Je(t,e),e instanceof Qe&&e._removeParent(this)},Qe.EMPTY=((e=new Qe).closed=!0,e);var Ke=Qe,Xe=Ke.EMPTY;function Qe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function et(e){return e instanceof Ke||e&&"closed"in e&&Ve(e.remove)&&Ve(e.add)&&Ve(e.unsubscribe)}function tt(e){Ve(e)?e():e.unsubscribe()}var nt=void 0,rt=!1,at=!1,it={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=it.delegate;return null!=a&&a.setTimeout?a.setTimeout.apply(a,Ye([e,t],We(n))):setTimeout.apply(void 0,Ye([e,t],We(n)))},clearTimeout:function(e){var t=it.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function mt(){}var pt=null;function ht(e){if(rt){var t=!pt;if(t&&(pt={errorThrown:!1,error:null}),e(),t){var t=pt,n=t.errorThrown,t=t.error;if(pt=null,n)throw t}}else e()}ze(bt,gt=Ke),bt.create=function(e,t,n){return new xt(e,t,n)},bt.prototype.next=function(e){this.isStopped||this._next(e)},bt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},bt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},bt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,gt.prototype.unsubscribe.call(this),this.destination=null)},bt.prototype._next=function(e){this.destination.next(e)},bt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},bt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var gt,ft=bt,yt=Function.prototype.bind;function bt(e){var t=gt.call(this)||this;return t.isStopped=!1,e?et(t.destination=e)&&e.add(t):t.destination=St,t}function vt(e,t){return yt.call(e,t)}kt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ft(e)}},kt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ft(e)}else Ft(e)},kt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ft(e)}};var wt,$t=kt,xt=(ze(Ct,wt=ft),Ct);function Ct(e,t,n){var r=wt.call(this)||this,n=Ve(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&at?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&vt(e.next,t),error:e.error&&vt(e.error,t),complete:e.complete&&vt(e.complete,t)}):e;return r.destination=new $t(n),r}function kt(e){this.partialObserver=e}function Ft(e){var t=e;it.setTimeout(function(){throw t})}var St={closed:!0,next:mt,error:function(e){throw e},complete:mt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";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,a=this,i=(r=e)&&r instanceof ft||r&&Ve(r.next)&&Ve(r.error)&&Ve(r.complete)&&et(r)?e:new xt(e,t,n);return ht(function(){var e=a.operator,t=a.source;i.add(e?e.call(i,t):t?a._subscribe(i):a._trySubscribe(i))}),i},Lt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Lt.prototype.forEach=function(r,e){var a=this;return new(e=Et(e))(function(e,t){var n=new xt({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});a.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?function(e){return e}: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=Et(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 Mt=Lt;function Lt(e){e&&(this._subscribe=e)}function Et(e){return null!=(e=null!=e?e:nt)?e:Promise}var Gt,_t,Tt,It=qe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(ze(Nt,Tt=Mt),Nt.prototype.lift=function(e){var t=new Pt(this,this);return t.operator=e,t},Nt.prototype._throwIfClosed=function(){if(this.closed)throw new It},Nt.prototype.next=function(a){var i=this;ht(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=Ue(i.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(a)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Nt.prototype.error=function(t){var n=this;ht(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)}})},Nt.prototype.complete=function(){var t=this;ht(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Nt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Nt.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Nt.prototype._trySubscribe=function(e){return this._throwIfClosed(),Tt.prototype._trySubscribe.call(this,e)},Nt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Nt.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,a=this.observers;return n||r?Xe:(this.currentObservers=null,a.push(e),new Ke(function(){t.currentObservers=null,Je(a,e)}))},Nt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Nt.prototype.asObservable=function(){var e=new Mt;return e.source=this,e},Nt.create=function(e,t){return new Pt(e,t)},Nt),Pt=(ze(Bt,_t=e),Bt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Bt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Bt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Bt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Xe},Bt),Rt={now:function(){return(Rt.delegate||Date).now()},delegate:void 0},Dt=(ze(At,Gt=e),At.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,a=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),a)||r.push(i.now()+t),this._trimBuffer(),Gt.prototype.next.call(this,e)},At.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),a=0;a<r.length&&!e.closed;a+=n?1:2)e.next(r[a]);return this._checkFinalizedStatuses(e),t},At.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,a=(r?1:2)*e;if(e<1/0&&a<n.length&&n.splice(0,n.length-a),!r){for(var i=t.now(),o=0,s=1;s<n.length&&n[s]<=i;s+=2)o=s;o&&n.splice(0,o+1)}},At);function At(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Rt);var r=Gt.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 Bt(e,t){var n=_t.call(this)||this;return n.destination=e,n.source=t,n}function Nt(){var e=Tt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ot=[],jt={};const Ht=[];function zt(r,a=O){let i;const o=new Set;function s(e){if(n(r,e)&&(r=e,i)){const e=!Ht.length;for(const e of o)e[1](),Ht.push(e,r);if(e){for(let e=0;e<Ht.length;e+=2)Ht[e][0](Ht[e+1]);Ht.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=O){const n=[e,t];return o.add(n),1===o.size&&(i=a(s)||O),e(r),()=>{o.delete(n),0===o.size&&i&&(i(),i=null)}}}}function Ut(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:zt(t,t=>{let n=!1;const r=[];let a=0,i=O;const o=()=>{var e;a||(i(),e=s(l?r[0]:r,t),d?t(e):i=L(e)?e:O)},e=c.map((e,t)=>u(e,e=>{r[t]=e,a&=~(1<<t),n&&o()},()=>{a|=1<<t}));return n=!0,o(),function(){j(e),i(),n=!1}}).subscribe}}function Wt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Yt);var t}var Yt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Vt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Xt(Array.isArray(e)?[]:{},e,t):e}function qt(e,t,n){return e.concat(t).map(function(e){return Vt(e,n)})}function Zt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Jt(e,t){try{return t in e}catch(e){return!1}}function Kt(r,a,i){var o={};return i.isMergeableObject(r)&&Zt(r).forEach(function(e){o[e]=Vt(r[e],i)}),Zt(a).forEach(function(e){var t,n;(!Jt(t=r,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Jt(r,e)&&i.isMergeableObject(a[e])?o[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Xt)(r[e],a[e],i):o[e]=Vt(a[e],i))}),o}function Xt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||qt,n.isMergeableObject=n.isMergeableObject||Wt,n.cloneUnlessOtherwiseSpecified=Vt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Kt(e,t,n):Vt(t,n)}Xt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Xt(e,t,n)},{});throw new Error("first argument should be an array")};var Qt=Xt,en=function(e,t){return(en=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 tn(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}en(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,nn,f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function rn(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function an(e){return e.type===y.literal}function on(e){return e.type===y.number}function sn(e){return e.type===y.date}function ln(e){return e.type===y.time}function cn(e){return e.type===y.select}function dn(e){return e.type===y.plural}function un(e){return e.type===y.tag}function mn(e){return e&&"object"==typeof e&&e.type===nn.number}function pn(e){return e&&"object"==typeof e&&e.type===nn.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=nn=nn||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,hn=/(?:[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 gn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,fn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,yn=/^(@+)?(\+|#+)?[rs]?$/g,bn=/(\*)(0+)|(#+)(0+)|(0+)/g,vn=/^(0+)$/;function wn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(yn,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 $n(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 xn(e){return $n(e)||{}}function Cn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,a=n[t];switch(a.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=a.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=a.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=f(f(f({},o),{notation:"scientific"}),a.options.reduce(function(e,t){return f(f({},e),xn(t))},{}));continue;case"engineering":o=f(f(f({},o),{notation:"engineering"}),a.options.reduce(function(e,t){return f(f({},e),xn(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(a.options[0]);continue;case"integer-width":if(1<a.options.length)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(bn,function(e,t,n,r,a,i){if(t)o.minimumIntegerDigits=n.length;else{if(r&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(vn.test(a.stem))o.minimumIntegerDigits=a.stem.length;else if(fn.test(a.stem)){if(1<a.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(fn,function(e,t,n,r,a,i){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:a&&i?(o.minimumFractionDigits=a.length,o.maximumFractionDigits=a.length+i.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var i=a.options[0];"w"===i?o=f(f({},o),{trailingZeroDisplay:"stripIfInteger"}):i&&(o=f(f({},o),wn(i)))}else yn.test(a.stem)?o=f(f({},o),wn(a.stem)):((i=$n(a.stem))&&(o=f(f({},o),i)),(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)),!vn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(a.stem))&&(o=f(f({},o),r)))}return o}var kn={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 Fn=new RegExp("^".concat(e.source,"*")),Sn=new RegExp("".concat(e.source,"*$"));function b(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Mn=!!String.fromCodePoint,Ln=!!Object.fromEntries,En=!!String.prototype.codePointAt,Gn=!!String.prototype.trimStart,Tn=!!String.prototype.trimEnd,In=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Pn=!0;try{Pn="a"===(null==(tr=zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:tr[0])}catch(O){Pn=!1}var Rn,Dn,An=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Bn=Mn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",a=e.length,i=0;i<a;){if(1114111<(n=e[i++]))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},Nn=Ln?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n],i=a[0],a=a[1];t[i]=a}return t},On=En?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},jn=Gn?function(e){return e.trimStart()}:function(e){return e.replace(Fn,"")},Hn=Tn?function(e){return e.trimEnd()}:function(e){return e.replace(Sn,"")};function zn(e,t){return new RegExp(e,t)}Dn=Pn?(Rn=zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Rn.lastIndex=t,null!=(t=Rn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var a=On(e,t);if(void 0===a||Yn(a)||33<=(n=a)&&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(a),t+=65536<=a?2:1}return Bn.apply(void 0,r)};i.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},i.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a,i=this.char();if(123===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Wn(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a}else if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}else{i=this.clonePosition();this.bump(),r.push({type:y.pound,location:b(i,this.clonePosition())})}}}return{val:r,err:null}},i.prototype.parseTag=function(e,t){var n,r=this.clonePosition(),a=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(a,"/>"),location:b(r,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Wn(this.char())?this.error(g.INVALID_TAG,b(e,this.clonePosition())):(n=this.clonePosition(),a!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,b(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:a,children:t,location:b(r,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,b(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,b(r,this.clonePosition()))):this.error(g.INVALID_TAG,b(r,this.clonePosition()))},i.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())},i.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var a=this.tryParseQuote(t);if(a)r+=a;else{a=this.tryParseUnquoted(e,t);if(a)r+=a;else{a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}n=b(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},i.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Wn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},i.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 Bn.apply(void 0,t)},i.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Bn(n))},i.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,b(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:b(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()))}},i.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Dn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:b(e,this.clonePosition())}},i.prototype.parseArgumentOptions=function(e,t,n,r){var a,i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,b(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(m=Hn(u.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(r)).err?c:(p=b(r,this.clonePosition()),l&&An(null==l?void 0:l.style,"::",0)?(h=jn(l.style.slice(2)),"number"===o?(u=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?u:{val:{type:y.number,value:n,location:p,style:u.val},err:null}:0===h.length?this.error(g.EXPECT_DATE_TIME_SKELETON,p):(d=h,this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if("j"===a){for(var i=0;r+1<e.length&&e.charAt(r+1)===a;)i++,r++;var o=1+(1&i),s=i<2?1:3+(i>>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),(kn[t||""]||kn[n||""]||kn["".concat(n,"-001")]||kn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===a?"H":a}return n}(h,this.locale)),m={type:nn.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(a={},d.replace(hn,function(e){var t=e.length;switch(e[0]){case"G":a.era=4===t?"long":5===t?"narrow":"short";break;case"y":a.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":a.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":a.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":a.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"a":a.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":a.hourCycle="h12",a.hour=["numeric","2-digit"][t-1];break;case"H":a.hourCycle="h23",a.hour=["numeric","2-digit"][t-1];break;case"K":a.hourCycle="h11",a.hour=["numeric","2-digit"][t-1];break;case"k":a.hourCycle="h24",a.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":a.minute=["numeric","2-digit"][t-1];break;case"s":a.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":a.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""}),a):{}},{val:{type:"date"===o?y.date:y.time,value:n,location:p,style:m},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:p,style:null!=(h=null==l?void 0:l.style)?h:null},err:null});case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,b(d,f({},d)));this.bumpSpace();var u,m=this.parseIdentifierIfPossible(),p=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),m=this.parseIdentifierIfPossible(),p=u.val}var h,l=this.tryParsePluralOrSelectOptions(e,o,t,m);return l.err?l:(c=this.tryParseArgumentClose(r)).err?c:(h=b(r,this.clonePosition()),"select"===o?{val:{type:y.select,value:n,options:Nn(l.val),location:h},err:null}:{val:{type:y.plural,value:n,options:Nn(l.val),offset:p,pluralType:"plural"===o?"cardinal":"ordinal",location:h},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,b(i,s))}},i.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},i.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,b(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}},i.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(gn).filter(function(e){return 0<e.length});n<r.length;n++){var a=r[n].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var i=a[0],a=a.slice(1),o=0,s=a;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:a})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:nn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Cn(n):{}},err:null}},i.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var a=!1,i=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=b(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&&(a=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;i.push([s,{value:c.val,location:b(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===i.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(g.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:i,err:null}},i.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,i=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;a=!0,i=10*i+(o-48),this.bump()}r=b(r,this.clonePosition());return a?In(i*=n)?{val:i,err:null}:this.error(t,r):this.error(e,r)},i.prototype.offset=function(){return this.position.offset},i.prototype.isEOF=function(){return this.offset()===this.message.length},i.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},i.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=On(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},i.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},i.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))},i.prototype.bumpIf=function(e){if(An(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},i.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)},i.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}},i.prototype.bumpSpace=function(){for(;!this.isEOF()&&Yn(this.char());)this.bump()},i.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Un=i;function i(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 Wn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Yn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Vn(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Un(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,cn(e)||dn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else on(e)&&mn(e.style)||(sn(e)||ln(e))&&pn(e.style)?delete e.style.location:un(e)&&n(e.children)})}(e.val),e.val}function qn(e,t){var n=t&&t.cache?t.cache:nr,r=t&&t.serializer?t.serializer:Xn;return(t&&t.strategy?t.strategy:function(e,t){return Kn(e,this,1===e.length?Zn:Jn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Zn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),a=t.get(n);return void 0===a&&(a=e.call(this,r),t.set(n,a)),a}function Jn(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),a=t.get(n);return void 0===a&&(a=e.apply(this,r),t.set(n,a)),a}function Kn(e,t,n,r,a){return n.bind(t,e,r,a)}var Xn=function(){return JSON.stringify(arguments)};function Qn(){this.cache=Object.create(null)}Qn.prototype.get=function(e){return this.cache[e]},Qn.prototype.set=function(e,t){this.cache[e]=t};var er,tr,nr={create:function(){return new Qn}},rr={variadic:function(e,t){return Kn(e,this,Jn,t.cache.create(),t.serializer)},monadic:function(e,t){return Kn(e,this,Zn,t.cache.create(),t.serializer)}};(tr=er=er||{}).MISSING_VALUE="MISSING_VALUE",tr.INVALID_VALUE="INVALID_VALUE",tr.MISSING_INTL_API="MISSING_INTL_API";tn(fr,lr=Error),fr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ar,ir,or,sr,lr,cr=fr,dr=(tn(gr,sr=cr),gr),ur=(tn(hr,or=cr),hr),mr=(tn(pr,ir=cr),pr);function pr(e,t){return ir.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),er.MISSING_VALUE,t)||this}function hr(e,t,n){return or.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),er.INVALID_VALUE,n)||this}function gr(e,t,n,r){return sr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),er.INVALID_VALUE,r)||this}function fr(e,t,n){e=lr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function yr(e,t,n,r,a,i,o){if(1===e.length&&an(e[0]))return[{type:ar.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(an(d))s.push({type:ar.literal,value:d.value});else if(d.type===y.pound)"number"==typeof i&&s.push({type:ar.literal,value:n.getNumberFormat(t).format(i)});else{var u=d.value;if(!(a&&u in a))throw new mr(u,o);u=a[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?ar.literal:ar.object,value:u});else if(sn(d)){var m="string"==typeof d.style?r.date[d.style]:pn(d.style)?d.style.parsedOptions:void 0;s.push({type:ar.literal,value:n.getDateTimeFormat(t,m).format(u)})}else if(ln(d))m="string"==typeof d.style?r.time[d.style]:pn(d.style)?d.style.parsedOptions:r.time.medium,s.push({type:ar.literal,value:n.getDateTimeFormat(t,m).format(u)});else if(on(d))(m="string"==typeof d.style?r.number[d.style]:mn(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),s.push({type:ar.literal,value:n.getNumberFormat(t,m).format(u)});else{if(un(d)){var p=d.children,h=d.value,g=a[h];if("function"!=typeof g)throw new ur(h,"function",o);h=g(yr(p,t,n,r,a,i).map(function(e){return e.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(e){return{type:"string"==typeof e?ar.literal:ar.object,value:e}}))}if(cn(d)){if(!(f=d.options[u]||d.options.other))throw new dr(d.value,u,Object.keys(d.options),o);s.push.apply(s,yr(f.value,t,n,r,a))}else if(dn(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new cr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',er.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[g]||d.options.other}if(!f)throw new dr(d.value,u,Object.keys(d.options),o);s.push.apply(s,yr(f.value,t,n,r,a,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===ar.literal&&t.type===ar.literal?n.value+=t.value:e.push(t),e},[])}function br(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=ar=ar||{})[e.literal=0]="literal",e[e.object=1]="object";Object.defineProperty(wr,"defaultLocale",{get:function(){return wr.memoizedDefaultLocale||(wr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),wr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),wr.memoizedDefaultLocale=null,wr.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])},wr.__parse=Vn,wr.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 vr=wr;function wr(e,t,n,r){var a,i,o=this;if(void 0===t&&(t=wr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===ar.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return yr(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=wr.resolveLocale(t),"string"==typeof e){if(this.message=e,!wr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=wr.__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=(a=wr.formats,(i=n)?Object.keys(a).reduce(function(e,t){var n,r;return e[t]=(n=a[t],(r=i[t])?f(f(f({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),r[t]||{}),e},{})):n),e},f({},a)):a),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,rn([void 0],t,!1)))},{cache:br((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:rr.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,rn([void 0],t,!1)))},{cache:br(t.dateTime),strategy:rr.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,rn([void 0],t,!1)))},{cache:br(t.pluralRules),strategy:rr.variadic})}}const $r={},xr=(e,t,n)=>n&&(t in $r||($r[t]={}),e in $r[t]||($r[t][e]=n),n),Cr=(t,n)=>{if(null!=n){if(n in $r&&t in $r[n])return $r[n][t];var r=Hr(n);for(let e=0;e<r.length;e++){var a=function(e,t){if(!Sr(e))return null;e=function(e){return kr[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var r=n.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const n=r.slice(e,r.length).join(".");if(n in t){t=t[n];break}}t=t[r[e]]}else t=void 0;return t}}}(r[e],t);if(a)return xr(t,n,a)}}};let kr;const Fr=zt({});function Sr(e){return e in kr}function o(t,...n){delete $r[t],Fr.update(e=>(e[t]=Qt.all([e[t]||{},...n]),e))}Ut([Fr],([e])=>Object.keys(e)),Fr.subscribe(e=>kr=e);const Mr={};function Lr(e){return Mr[e]}function Er(e){return null!=e&&Hr(e).some(e=>{return null==(e=Lr(e))?void 0:e.size})}function Gr(r,e){return Promise.all(e.map(e=>{return t=r,n=e,Mr[t].delete(n),0===Mr[t].size&&delete Mr[t],e().then(e=>e.default||e);var t,n})).then(e=>o(r,...e))}const _r={};const Tr={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 Ir=zt(!1);var Pr=Object.defineProperty,Mn=Object.defineProperties,Ln=Object.getOwnPropertyDescriptors,Rr=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable,Br=(e,t,n)=>t in e?Pr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Nr;const Or=zt(null);function jr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Hr(e,t=Tr.fallbackLocale){e=jr(e);return t?[...new Set([...e,...jr(t)])]:e}function zr(){return null!=Nr?Nr:void 0}Or.subscribe(e=>{Nr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const lt=Mn(((e,t)=>{for(var n in t=t||{})Dr.call(t,n)&&Br(e,n,t[n]);if(Rr)for(var n of Rr(t))Ar.call(t,n)&&Br(e,n,t[n]);return e})({},Or),Ln({set:t=>{if(t&&function(e){if(null!=e){var t=Hr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Sr(n))return n}}}(t)&&Er(t)){var n=Tr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=zr()&&n?e=window.setTimeout(()=>Ir.set(!0),n):Ir.set(!0),function e(t){var n;return Er(t)?(n=Hr(t).map(e=>{var t=Lr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),_r[t]=Promise.all(n.map(([e,t])=>Gr(e,t))).then(()=>{if(Er(t))return e(t);delete _r[t]}),_r[t]):t in _r?_r[t]:Promise.resolve()}(t).then(()=>{Or.set(t)}).finally(()=>{clearTimeout(e),Ir.set(!1)})}return Or.set(t)}}));var En=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Ur=Object.defineProperty,Wr=Object.getOwnPropertySymbols,Yr=Object.prototype.hasOwnProperty,Vr=Object.prototype.propertyIsEnumerable,qr=(e,t,n)=>t in e?Ur(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zr=(e,t)=>{for(var n in t=t||{})Yr.call(t,n)&&qr(e,n,t[n]);if(Wr)for(var n of Wr(t))Vr.call(t,n)&&qr(e,n,t[n]);return e},Jr=(e,t)=>{var n={};for(r in e)Yr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Wr)for(var r of Wr(e))t.indexOf(r)<0&&Vr.call(e,r)&&(n[r]=e[r]);return n};const Kr=(e,t)=>{var n=Tr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Xr=En(e=>{var{locale:t,format:n}=e,e=Jr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Kr("number",n)),new Intl.NumberFormat(t,e)}),Qr=En(e=>{var{locale:t,format:n}=e,e=Jr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Kr("date",n):0===Object.keys(e).length&&(e=Kr("date","short")),new Intl.DateTimeFormat(t,e)}),ea=En(e=>{var{locale:t,format:n}=e,e=Jr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Kr("time",n):0===Object.keys(e).length&&(e=Kr("time","short")),new Intl.DateTimeFormat(t,e)}),ta=En((e,t=zr())=>new vr(e,t,Tr.formats,{ignoreTag:Tr.ignoreTag})),na=Ut([lt,Fr],()=>(e,t={})=>{var n,r;let a=t;"object"==typeof e&&(e=(a=e).id);var{values:i,locale:o=zr(),default:s}=a;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Cr(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=Tr).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!i)return l;let c=l;try{c=ta(l,o).format(i)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),ct=(Ut([lt],()=>(e,t)=>((e={})=>{var{locale:t=zr()}=e,e=Jr(e,["locale"]);return ea(Zr({locale:t},e))})(t).format(e)),Ut([lt],()=>(e,t)=>((e={})=>{var{locale:t=zr()}=e,e=Jr(e,["locale"]);return Qr(Zr({locale:t},e))})(t).format(e)),Ut([lt],()=>(e,t)=>((e={})=>{var{locale:t=zr()}=e,e=Jr(e,["locale"]);return Xr(Zr({locale:t},e))})(t).format(e)),Ut([lt,Fr],()=>(e,t=zr())=>Cr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ot.indexOf(e)&&(t=new Dt(t),jt[e]=t,Ot.push(e)),jt[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))),dt=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function ra(r,a){return new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",a),je(r+"/v1/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function aa(e){lt.set(e)}function ia(e,t){o(e,t)}const oa={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobby",myGamesName:"My games"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Lobby",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"}};function sa(e,t){o(e,t)}const la={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"}};function ca(e,t,n){e=e.slice();return e[50]=t[n],e[52]=n,e}function da(e,t,n){e=e.slice();return e[53]=t[n],e}function ua(e,t,n){e=e.slice();return e[56]=t[n],e[58]=n,e}function ma(t){let r,a=[],n=new Map,i=t[9];const o=e=>e[50].id;for(let e=0;e<i.length;e+=1){var s=ca(t,i,e),l=o(s);n.set(l,a[e]=wa(l,s))}return{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,n);ue(t,r,n)},p(e,t){77775&t[0]&&(i=e[9],a=se(a,t,o,1,e,i,n,r.parentNode,oe,wa,r,ca))},d(t){for(let e=0;e<a.length;e+=1)a[e].d(t);t&&me(r)}}}function pa(e){let n,r,a=e[50].name+"";return{c(){n=pe("button"),r=he(a),fe(n,"class","CategoryButton")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[0]&&a!==(a=e[50].name+"")&&ye(r,a)},d(e){e&&me(n)}}}function ha(e){let n,r,a,i=e[50].label+"";return{c(){n=pe("a"),r=he(i),fe(n,"href",a=e[50].path)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[0]&&i!==(i=e[50].label+"")&&ye(r,i),512&t[0]&&a!==(a=e[50].path)&&fe(n,"href",a)},d(e){e&&me(n)}}}function ga(e){let n,r=0<e[10].length&&"true"==e[2]&&fa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){0<e[10].length&&"true"==e[2]?r?r.p(e,t):((r=fa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function fa(t){let a,i=t[10],o=[];for(let e=0;e<i.length;e+=1)o[e]=va(da(t,i,e));return{c(){a=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(a,"class","DropDown")},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null)},p(t,n){if(10176&n[0]){let e;for(i=t[10],e=0;e<i.length;e+=1){var r=da(t,i,e);o[e]?o[e].p(r,n):(o[e]=va(r),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){e&&me(a),H(o,e)}}}function ya(n){let r,a,i,o,s,l,c,d=n[56]?.name+"";function u(...e){return n[32](n[50],n[52],n[56],n[58],...e)}return{c(){r=pe("li"),a=pe("a"),i=he(d),s=ge(),fe(a,"class",o="SubDropDown "+(n[52]!=n[6]||n[7]!=n[58]&&n[8]!=n[58]?"":"active"))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,s),l||(c=U(r,"click",u),l=!0)},p(e,t){n=e,1024&t[0]&&d!==(d=n[56]?.name+"")&&ye(i,d),1984&t[0]&&o!==(o="SubDropDown "+(n[52]!=n[6]||n[7]!=n[58]&&n[8]!=n[58]?"":"active"))&&fe(a,"class",o)},d(e){e&&me(r),l=!1,c()}}}function ba(e,n){let r,a,i=n[52]==n[53].index&&ya(n);return{key:e,first:null,c(){r=c(),i&&i.c(),a=c(),this.first=r},m(e,t){ue(e,r,t),i&&i.m(e,t),ue(e,a,t)},p(e,t){(n=e)[52]==n[53].index?i?i.p(n,t):((i=ya(n)).c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},d(e){e&&me(r),i&&i.d(e),e&&me(a)}}}function va(t){let r,a=[],n=new Map,i=t[53].items;const o=e=>e[56].id;for(let e=0;e<i.length;e+=1){var s=ua(t,i,e),l=o(s);n.set(l,a[e]=ba(l,s))}return{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,n);ue(t,r,n)},p(e,t){10176&t[0]&&(i=e[53].items,a=se(a,t,o,1,e,i,n,r.parentNode,oe,ba,r,ua))},d(t){for(let e=0;e<a.length;e+=1)a[e].d(t);t&&me(r)}}}function wa(e,n){let r,a,i,o,s,l,c,d,u,m,p;function h(e){return"headerMain"===e[0]?ha:pa}let g=h(n),f=g(n),y=1==n[11][n[52]]&&ga(n);function b(...e){return n[33](n[50],n[52],...e)}return{key:e,first:null,c(){r=pe("li"),a=pe("div"),i=pe("img"),l=ge(),f.c(),c=ge(),y&&y.c(),d=ge(),fe(i,"class",o="CategoryIconImg "+("true"===n[3]?"":"DisplayNone")),ce(i.src,s=n[16](n[50]))||fe(i,"src",s),fe(a,"class","CategoryIcon"),fe(r,"class",u="CarouselItem "+(-1<n[1]?.toString().indexOf("$")?n[1]?.split("$").pop()==n[50].id.split("$").pop()?"active":"":n[1]==n[50].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),fe(r,"part","CarouselItem"),this.first=r},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,l),f.m(r,null),de(r,c),y&&y.m(r,null),de(r,d),m||(p=U(r,"click",b),m=!0)},p(e,t){n=e,8&t[0]&&o!==(o="CategoryIconImg "+("true"===n[3]?"":"DisplayNone"))&&fe(i,"class",o),512&t[0]&&!ce(i.src,s=n[16](n[50]))&&fe(i,"src",s),g===(g=h(n))&&f?f.p(n,t):(f.d(1),(f=g(n))&&(f.c(),f.m(r,c))),1==n[11][n[52]]?y?y.p(n,t):((y=ga(n)).c(),y.m(r,d)):y&&(y.d(1),y=null),515&t[0]&&u!==(u="CarouselItem "+(-1<n[1]?.toString().indexOf("$")?n[1]?.split("$").pop()==n[50].id.split("$").pop()?"active":"":n[1]==n[50].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&fe(r,"class",u)},d(e){e&&me(r),f.d(),y&&y.d(),m=!1,p()}}}function $a(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b=0<n[9].length&&ma(n);return{c(){r=pe("div"),a=pe("div"),(i=pe("div")).innerHTML='<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" 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>',d=ge(),b&&b.c(),u=ge(),(m=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=O,fe(i,"class","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(m,"class","CarouselRightArrow"),fe(a,"class",p="CarouselContainer CarouselContainerMobile "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(a,"style",h="headerMain"===n[0]?"max-width: auto":void 0),fe(r,"class",g="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(s,l),de(l,c),de(l,d),b&&b.m(l,null),n[34](l),n[35](s),de(a,u),de(a,m),n[37](r),f||(y=[U(i,"click",n[31]),U(m,"click",n[36])],f=!0)},p(e,t){0<e[9].length?b?b.p(e,t):((b=ma(e)).c(),b.m(l,null)):b&&(b.d(1),b=null),1&t[0]&&p!==(p="CarouselContainer CarouselContainerMobile "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(a,"class",p),1&t[0]&&h!==(h="headerMain"===e[0]?"max-width: auto":void 0)&&fe(a,"style",h),1&t[0]&&g!==(g="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(r,"class",g)},i:O,o:O,d(e){e&&me(r),b&&b.d(),n[34](null),n[35](null),n[37](null),f=!1,j(y)}}}function xa(t,e,i){let{endpoint:o=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:r="0"}=e,{location:c=""}=e,{clientstyling:a=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{translationurl:m=""}=e,{isprimarymenu:p=!1}=e,{issecondarymenu:h=!1}=e,{lang:g=""}=e,{activeindex:f="0"}=e,{showsubgroups:y="false"}=e,{categoriesicon:b="false"}=e,{lobbyiconimage:v=""}=e,{mygamesiconimage:w=""}=e;var $,x;({withLocale:$,translations:x}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(Fr.set(x),lt.set($))}),Object.keys(la).forEach(e=>{sa(e,la[e])});let C,k,F,S,M,D=window.navigator.userAgent;dt(D);let L,E=[],G=[],_=[],T=(e,t,n,r,a)=>{e.subGroups&&null===r||(R(),i(6,k=t),i(6,k),"secondary"!=a?(window.postMessage({type:"CategoryChange"==l?"CategoryChange":"NavigateTo",buzz:"1",itemId:e.id,index:t,item:e,path:e.path,externalLink:e.externalLink||!1,target:(null==(a=e.attrs)?void 0:a.target)||null},window.location.href),i(7,F=null),i(8,S=null)):(i(7,F=r),i(7,F),i(8,S=F),window.postMessage({type:l,itemId:n.id,subIndex:r,subItem:n},window.location.href)))},I=()=>{L.scrollBy({left:-250,behavior:"smooth"})},P=()=>{L.scrollBy({left:250,behavior:"smooth"})};const A=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(i(9,E=e.data.data),i(11,_=new Array(E.length).fill(!1)),"true"==y)&&E.forEach((e,t)=>{var r,a,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(i(11,_[t]=!0,_),r=e,a=t,"secondaryMenu"==c&&o&&s&&g&&r.id&&(n=new URL(`${o}/v1/casino/groups/${s}/${r.id}/subGroups?language=`+g),fetch(n.href).then(e=>e.json()).then(e=>{e.index=a,i(10,G=G.concat(e)),"false"==y&&window.postMessage({type:l,itemId:r.id,index:a,item:r},window.location.href);const n=[];G.map(e=>(e.items.forEach(t=>{n.find(e=>t.id==e)||n.push(t.id)}),n.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:n},window.location.href)}).then(()=>{C.querySelectorAll(".DropDown")&&R()})),"headerMain"==c)&&window.postMessage({type:l,item:r},window.location.href)}),"GoToHomepage"==e.data.type&&E.forEach((e,t)=>{e.path.endsWith("/casino")&&(i(6,k=t),i(6,k))})},R=()=>{var t=C.querySelectorAll(".DropDown");document.activeElement.blur(),L.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+L.scrollLeft+"px)";L.classList.remove("isScrolling")};return ot(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",A,!1),setTimeout(()=>{L.addEventListener("scroll",R)},500),()=>{window.removeEventListener("message",A),C.removeEventListener("scroll",R)})),t.$$set=e=>{"endpoint"in e&&i(17,o=e.endpoint),"datasource"in e&&i(18,s=e.datasource),"onclickeventname"in e&&i(19,n=e.onclickeventname),"actionevent"in e&&i(20,l=e.actionevent),"favoritesnumber"in e&&i(21,r=e.favoritesnumber),"location"in e&&i(0,c=e.location),"clientstyling"in e&&i(22,a=e.clientstyling),"clientstylingurl"in e&&i(23,d=e.clientstylingurl),"identity"in e&&i(24,u=e.identity),"translationurl"in e&&i(25,m=e.translationurl),"isprimarymenu"in e&&i(26,p=e.isprimarymenu),"issecondarymenu"in e&&i(27,h=e.issecondarymenu),"lang"in e&&i(28,g=e.lang),"activeindex"in e&&i(1,f=e.activeindex),"showsubgroups"in e&&i(2,y=e.showsubgroups),"categoriesicon"in e&&i(3,b=e.categoriesicon),"lobbyiconimage"in e&&i(29,v=e.lobbyiconimage),"mygamesiconimage"in e&&i(30,w=e.mygamesiconimage)},t.$$.update=()=>{if(t.$$.dirty[0],33554432&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{sa(e,t[e])})}).catch(e=>{console.log(e)}),4194320&t.$$.dirty[0]&&a&&M&&((e=document.createElement("style")).innerHTML=a,M.appendChild(e)),8388624&t.$$.dirty[0]&&d&&M){let t=document.createElement("style"),e=new URL(d);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{M.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&g&&(e=g,lt.set(e))},[c,f,y,b,M,C,k,F,S,E,G,_,L,T,I,P,e=>{let t="";return"LOBBY"===e.id?t=v:"MYGAMES"===e.id&&(t=w),e.icon||t},o,s,n,l,r,a,d,u,m,p,h,g,v,w,()=>I(),(e,t,n,r,a)=>{T(e,t,n,r,"secondary"),a.stopPropagation()},(e,t,n)=>{T(e,t,null,null,"main"),n.preventDefault()},function(e){st[e?"unshift":"push"](()=>{C=e,i(5,C)})},function(e){st[e?"unshift":"push"](()=>{L=e,i(12,L)})},()=>P(),function(e){st[e?"unshift":"push"](()=>{M=e,i(4,M)})}]}function Ca(n){let r,a,i,o;return{c(){r=pe("div"),S(a=pe("casino-slider"),"lang",n[3]),S(a,"datasource",n[2]),S(a,"endpoint",n[1]),S(a,"identity",Ma),S(a,"favoritesnumber",n[15]),S(a,"showsubgroups",n[8]),S(a,"clientstyling",n[4]),S(a,"clientstylingurl",n[5]),S(a,"activeindex",n[0]),S(a,"actionevent",n[6]),S(a,"location",n[7]),S(a,"categoriesicon",n[9]),S(a,"lobbyiconimage",n[10]),S(a,"mygamesiconimage",n[11]),fe(r,"class","CasinoCategoriesContainer"),fe(r,"part","CasinoCategoriesContainer")},m(e,t){ue(e,r,t),de(r,a),i||(o=E(n[16].call(null,a)),i=!0)},p(e,t){8&t[0]&&S(a,"lang",e[3]),4&t[0]&&S(a,"datasource",e[2]),2&t[0]&&S(a,"endpoint",e[1]),32768&t[0]&&S(a,"favoritesnumber",e[15]),256&t[0]&&S(a,"showsubgroups",e[8]),16&t[0]&&S(a,"clientstyling",e[4]),32&t[0]&&S(a,"clientstylingurl",e[5]),1&t[0]&&S(a,"activeindex",e[0]),64&t[0]&&S(a,"actionevent",e[6]),128&t[0]&&S(a,"location",e[7]),512&t[0]&&S(a,"categoriesicon",e[9]),1024&t[0]&&S(a,"lobbyiconimage",e[10]),2048&t[0]&&S(a,"mygamesiconimage",e[11])},d(e){e&&me(r),i=!1,o()}}}function ka(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Fa(e){let n;return{c(){fe(n=pe("div"),"class","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Sa(n){let r;function a(e){return e[12]?Fa:e[14]?ka:Ca}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[26](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[26](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, 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-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.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.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #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}.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:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.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;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #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-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, 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-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.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-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, 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-header-typography, 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}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},xa,$a,n,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups","categoriesicon","lobbyiconimage","mygamesiconimage"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),m()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),m()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),m()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),m()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),m()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),m()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),m()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),m()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),m()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),m()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),m()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),m()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),m()}get mygamesiconimage(){return this.$$.ctx[30]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),m()}});let Ma="CasinoSliderData";function La(n,e,a){let r;ut(n,na,e=>a(32,r=e));let i,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{userid:t=""}=e,{session:m=""}=e,{mostplayed:p=""}=e,{lastplayed:h="false"}=e,{favorites:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{activecategory:b=""}=e,{actionevent:v=""}=e,{sessioncheck:w=""}=e,{location:$="secondaryMenu"}=e,{showsubgroups:x="false"}=e,{filteredcategories:C=""}=e,{translationurl:k=""}=e,{categoriesicon:F=""}=e,{lobbyiconimage:S=""}=e,{mygamesiconimage:M=""}=e,L=!0,E=[],G=!1,_=window.navigator.userAgent,T=!1,I=!1;Object.keys(oa).forEach(e=>{ia(e,oa[e])});const P=()=>{window.postMessage({type:"SliderData",identity:Ma,data:E},window.location.href)};return n.$$set=e=>{"endpoint"in e&&a(1,c=e.endpoint),"datasource"in e&&a(2,d=e.datasource),"lang"in e&&a(3,u=e.lang),"userid"in e&&a(17,t=e.userid),"session"in e&&a(18,m=e.session),"mostplayed"in e&&a(19,p=e.mostplayed),"lastplayed"in e&&a(20,h=e.lastplayed),"favorites"in e&&a(21,g=e.favorites),"clientstyling"in e&&a(4,f=e.clientstyling),"clientstylingurl"in e&&a(5,y=e.clientstylingurl),"activecategory"in e&&a(0,b=e.activecategory),"actionevent"in e&&a(6,v=e.actionevent),"sessioncheck"in e&&a(22,w=e.sessioncheck),"location"in e&&a(7,$=e.location),"showsubgroups"in e&&a(8,x=e.showsubgroups),"filteredcategories"in e&&a(23,C=e.filteredcategories),"translationurl"in e&&a(24,k=e.translationurl),"categoriesicon"in e&&a(9,F=e.categoriesicon),"lobbyiconimage"in e&&a(10,S=e.lobbyiconimage),"mygamesiconimage"in e&&a(11,M=e.mygamesiconimage)},n.$$.update=()=>{if(14&n.$$.dirty[0]&&c&&d&&u&&(i=r("myGamesName"),o=r("lobbyName"),c||(s="Endpoint is missing! Please provide a valid endpointURL.",a(14,G=!0),a(12,L=!1),console.error(s)),d||(s="Datasource is missing! Please provide a valid datasource.",a(14,G=!0),a(12,L=!1),console.error(s)),(!u||u.length<2)&&(s="Language is missing! Please provide a valid language (alpha2code)",a(14,G=!0),a(12,L=!1),console.error(s)),G||((t=new URL(c+"/v1/casino/groups/"+d)).searchParams.append("datasource",d),t.searchParams.append("language",u),t.searchParams.append("platform",dt(_)),fetch(t).then(e=>e.json()).then(e=>{let r=C.split(","),t=e.items.filter(e=>{let t=!1;if(0<e.games.total&&(t=!0,C))for(var n of r)e.flags==n&&(t=!1);return t});(E=(E=[]).concat(t)).unshift({id:"LOBBY",name:o,href:"",games:[]}),a(12,L=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{a(14,G=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{a(14,G=!0),console.error("There was an error while fetching the categories",e)}))),3936258&n.$$.dirty[0]&&c&&m&&(p||h||g)&&!L&&(0!=T||"true"!=g&&"true"!=p&&"true"!=h||E.splice(1,0,{id:"MYGAMES",name:i,href:"",games:[]}),Fe(),T=!0,a(25,I=!0),P()),33820673&n.$$.dirty[0]&&!L&&b&&(!m||I)&&(t=b.split("$"),a(0,b=2<t.length?b.split("$").slice(0,2).join("$"):b)),8208&n.$$.dirty[0]&&f&&l&&((e=document.createElement("style")).innerHTML=f,l.appendChild(e)),16777216&n.$$.dirty[0]&&k&&fetch(k).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ia(e,t[e])})}).catch(e=>{console.log(e)}),8224&n.$$.dirty[0]&&y&&l){let t=document.createElement("style"),e=new URL(y);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})}var e,t},a(15,0),[b,c,d,u,f,y,v,$,x,F,S,M,L,l,G,0,P,t,m,p,h,g,w,C,k,I,function(e){st[e?"unshift":"push"](()=>{l=e,a(13,l)})}]}function Ea(e,t){o(e,t)}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoCategoriesLoading{height:52px}p{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},La,Sa,n,{endpoint:1,datasource:2,lang:3,userid:17,session:18,mostplayed:19,lastplayed:20,favorites:21,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:22,location:7,showsubgroups:8,filteredcategories:23,translationurl:24,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","lastplayed","favorites","clientstyling","clientstylingurl","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories","translationurl","categoriesicon","lobbyiconimage","mygamesiconimage"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),m()}get mostplayed(){return this.$$.ctx[19]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),m()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),m()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),m()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),m()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),m()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),m()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),m()}});const Ga={en:{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-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"},de:{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:{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:{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:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Borrar",noGamesPlayed:"No has jugado ningún juego! Juega Ya"},tr:{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:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"},ro:{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:{500:"500 Error - Internal Server Error",search:"Pretraga",loading:"Učitavanje",searchMobile:"Pretraga",break:"Uzmi 1 dan pauze od igranja",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",searchGames:"Pretražite casino igre",filters:"Filteri",clear:"Čisto",noGamesPlayed:"Nemate odigranih igara!"},hu:{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:{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:{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:{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:{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!"},"pt-br":{500:"Erro 500 – Erro interno do servidor",search:"Procurar",loading:"Carregando",searchMobile:"Procurar",break:"Faça uma pausa a de jogo por um día",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas",searchGames:"Pesquise jogos de cassino",filters:"Filtros",clear:"Eliminar",noGamesPlayed:"Você ainda não jogou!"},"es-mx":{500:"500 Error - Error interno del servidor",search:"Buscar",loading:"Cargando",searchMobile:"Buscar",break:"Tomar un descanso de un día de juego",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Eliminar",noGamesPlayed:"No has jugado aún!"}};function _a(e,t){o(e,t)}const Ta={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"},tr:{showMore:"Daha fazla 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:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"},hr:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando"}};Pa=Ia={path:void 0,exports:{},require:function(e,t){return _n(null==t&&Ia.path)}},Ia.exports,Pa.exports=function(){var D;function h(){return D.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 B(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 N(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function O(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function j(e,t){for(var n=[],r=e.length,a=0;a<r;++a)n.push(t(e[a],a));return n}function H(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 _t(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 z(e){if(null==e._isValid){var t=f(e),n=W.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 U(e){var t=c(NaN);return null!=e?H(f(t),e):f(t).userInvalidated=!0,t}var W=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=h.momentProperties=[],V=!1;function q(e,t){var n,r,a,i=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<i)for(n=0;n<i;n++)s(a=t[r=Y[n]])||(e[r]=a);return e}function Z(e){q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,h.updateOffset(this),V=!1)}function l(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function J(e){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,o){var s=!0;return H(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,i),s){for(var e,t,n=[],r=arguments.length,a=0;a<r;a++){if(e="","object"==typeof arguments[a]){for(t in e+="\n["+a+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[a];n.push(e)}J(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var K={};function X(e,t){null!=h.deprecationHandler&&h.deprecationHandler(e,t),K[e]||(J(t),K[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=H({},e);for(n in t)g(t,n)&&(A(e[n])&&A(t[n])?(r[n]={},H(r[n],e[n]),H(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]=H({},r[n]));return r}function ee(e){null!=e&&this.set(e)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function i(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,ae={},ie={};function r(e,t,n,r){var a="string"==typeof r?function(){return this[r]()}:r;e&&(ie[e]=a),t&&(ie[t[0]]=function(){return i(a.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ae[t]=ae[t]||function(r){for(var e,a=r.match(ne),t=0,i=a.length;t<i;t++)ie[a[t]]?a[t]=ie[a[t]]:a[t]=(e=a[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<i;n++)t+=d(a[n])?a[n].call(e,r):a[n];return t}}(t),ae[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 u(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=u(n))&&(r[t]=e[n]);return r}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function m(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)?m(e):t}function me(t,n){return function(e){return null!=e?(he(this,t,e),h.updateOffset(this,n),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=p(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var a=/\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}/,$e=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Ce=/\d+/,ke=/[+-]?\d+/,Fe=/Z|[+-]\d\d:?\d\d/gi,Se=/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){Le[e]=d(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return g(Le,e)?Le[e](t._strict,t._locale):new RegExp($(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a})))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Le={},Ee={};function x(e,n){var t,r,a=n;for("string"==typeof e&&(e=[e]),N(n)&&(a=function(e,t){t[n]=p(e)}),r=e.length,t=0;t<r;t++)Ee[e[t]]=a}function Ge(e,a){x(e,function(e,t,n,r){n._w=n._w||{},a(e,n._w,n,r)})}var C,k=0,F=1,S=2,M=3,L=4,E=5,_e=6,Te=7,Ie=8;function Pe(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?ue(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)}),x(["M","MM"],function(e,t){t[F]=p(e)-1}),x(["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 Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Be=v,Ne=v;function Oe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!N(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function je(e){return null!=e?(Oe(this,e),h.updateOffset(this,!0),this):pe(this,"Month")}function He(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],a=[],i=0;i<12;i++)t=c([2e3,i]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),a.push(this.months(t,"")),a.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),a.sort(e),i=0;i<12;i++)n[i]=$(n[i]),r[i]=$(r[i]);for(i=0;i<24;i++)a[i]=$(a[i]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function ze(e){return ue(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?i(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",ke),w("YY",b,y),w("YYYY",$e,fe),w("YYYYY",xe,ye),w("YYYYYY",xe,ye),x(["YYYYY","YYYYYY"],k),x("YYYY",function(e,t){t[k]=2===e.length?h.parseTwoDigitYear(e):p(e)}),x("YY",function(e,t){t[k]=h.parseTwoDigitYear(e)}),x("Y",function(e,t){t[k]=parseInt(e,10)}),h.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var Ue=me("FullYear",!0);function We(e,t,n,r,a,i,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,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 qe(e,t,n,r,a){var i,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,a),n=t<=0?ze(i=e-1)+t:t>ze(e)?(i=e+1,t-ze(e)):(i=e,t);return{year:i,dayOfYear:n}}function Ze(e,t,n){var r,a,i=Ve(e.year(),t,n),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?r=i+G(a=e.year()-1,t,n):i>G(e.year(),t,n)?(r=i-G(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function G(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(ze(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),Ge(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=p(e)});function Je(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)}),Ge(["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}),Ge(["d","e","E"],function(e,t,n,r){t[r]=p(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="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,a=[],i=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=$(this.weekdaysMin(r,"")),n=$(this.weekdaysShort(r,"")),r=$(this.weekdays(r,"")),a.push(t),i.push(n),o.push(r),s.push(t),s.push(n),s.push(r);a.sort(e),i.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("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function at(){return this.hours()%12||12}function it(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,at),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)}),r("hmmss",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)+i(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+i(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+i(this.minutes(),2)+i(this.seconds(),2)}),it("a",!0),it("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),x(["H","HH"],M),x(["k","kk"],function(e,t,n){e=p(e);t[M]=24===e?0:e}),x(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),x(["h","hh"],function(e,t,n){t[M]=p(e),f(n).bigHour=!0}),x("hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[L]=p(e.substr(r)),f(n).bigHour=!0}),x("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[M]=p(e.substr(0,r)),t[L]=p(e.substr(r,2)),t[E]=p(e.substr(a)),f(n).bigHour=!0}),x("Hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[L]=p(e.substr(r))}),x("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[M]=p(e.substr(0,r)),t[L]=p(e.substr(r,2)),t[E]=p(e.substr(a))});v=me("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:Re,monthsShort:De,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},_={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,r,a,i=0;i<e.length;){for(t=(a=dt(e[i]).split("-")).length,n=(n=dt(e[i+1]))?n.split("-"):null;0<t;){if(r=mt(a.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}(a,n)>=t-1)break;t--}i++}return st}function mt(t){var e;if(void 0===_[t]&&Pa&&Pa.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,_n(),pt(e)}catch(e){_[t]=null}return _[t]}function pt(e,t){return e&&((t=s(t)?T(e):ht(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function ht(e,t){if(null===t)return delete _[e],null;var n,r=lt;if(t.abbr=e,null!=_[e])X("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=_[e]._config;else if(null!=t.parentLocale)if(null!=_[t.parentLocale])r=_[t.parentLocale]._config;else{if(null==(n=mt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return _[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){ht(e.name,e.config)}),pt(e),_[e]}function T(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=mt(e))return t;e=[e]}return ut(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[F]<0||11<t[F]?F:t[S]<1||t[S]>Pe(t[k],t[F])?S:t[M]<0||24<t[M]||24===t[M]&&(0!==t[L]||0!==t[E]||0!==t[_e])?M:t[L]<0||59<t[L]?L:t[E]<0||59<t[E]?E:t[_e]<0||999<t[_e]?_e:-1,f(e)._overflowDayOfYear&&(t<k||S<t)&&(t=S),f(e)._overflowWeeks&&-1===t&&(t=Te),f(e)._overflowWeekday&&-1===t&&(t=Ie),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/]],$t=/^\/?Date\((-?\d+)/i,xt=/^(?:(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 kt(e){var t,n,r,a,i,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])){a=vt[t][0],r=!1!==vt[t][2];break}if(null==a)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){i=(l[2]||" ")+wt[t][0];break}if(null==i)return e._isValid=!1}if(!r&&null!=i)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=a+(i||"")+(o||""),Et(e)}else e._isValid=!1}function Ft(e,t,n,r,a,i){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&e.push(parseInt(i,10)),e}function St(e){var t,n,r,a,i=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=Ft(i[4],i[3],i[2],i[5],i[6],i[7]),n=i[1],r=t,a=e,n&&Xe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(a).weekdayMismatch=!0,a._isValid=!1):(e._a=t,e._tzm=(n=i[8],r=i[9],a=i[10],n?Ct[n]:r?0:((n=parseInt(a,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 Lt(e){var t,n,r,a,i,o,s,l,c,d,u,m=[];if(!e._d){for(d=e,u=new Date(h.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[S]&&null==e._a[F]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,r=Mt(u.GG,d._a[k],Ze(I(),1,4).year),a=Mt(u.W,1),((i=Mt(u.E,1))<1||7<i)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Ze(I(),o,s),r=Mt(u.gg,d._a[k],c.year),a=Mt(u.w,c.week),null!=u.d?((i=u.d)<0||6<i)&&(l=!0):null!=u.e?(i=u.e+o,(u.e<0||6<u.e)&&(l=!0)):i=o),a<1||a>G(r,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=qe(r,a,i,o,s),d._a[k]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[k],n[k]),(e._dayOfYear>ze(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(u,0,e._dayOfYear),e._a[F]=l.getUTCMonth(),e._a[S]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[L]&&0===e._a[E]&&0===e._a[_e]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:We).apply(null,m),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!==h.ISO_8601)if(e._f!==h.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,a=""+e._i,i=a.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(a.match(Me(r,e))||[])[0])&&(0<(u=a.substr(0,a.indexOf(t))).length&&f(e).unusedInput.push(u),a=a.slice(a.indexOf(t)+t.length),o+=t.length),ie[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),u=r,p=e,null!=(m=t)&&g(Ee,u)&&Ee[u](m,p._a,p,u)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=i-o,0<a.length&&f(e).unusedInput.push(a),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]=(i=e._locale,c=e._a[M],null==(d=e._meridiem)?c:null!=i.meridiemHour?i.meridiemHour(c,d):null!=i.isPM?((i=i.isPM(d))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[k]=e._locale.erasConvertYear(d,e._a[k])),Lt(e),gt(e)}else St(e);else kt(e);var c,d,u,m,p}function Gt(e){var t,n=e._i,r=e._f;{var a,i;return(e._locale=e._locale||T(e._l),null===n||void 0===r&&""===n)?U({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new Z(gt(n)):(O(n)?e._d=n:o(r)?function(e){var t,n,r,a,i,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(a=0;a<l;a++)i=0,o=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Et(t),z(t)&&(o=!0),i=(i+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||o)&&(r=i,n=t,o)&&(s=!0);H(e,n||t)}(e):r?Et(e):s(r=(n=e)._i)?n._d=new Date(h.now()):O(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(a=n,null===(i=$t.exec(a._i))?(kt(a),!1===a._isValid&&(delete a._isValid,St(a),!1===a._isValid)&&(delete a._isValid,a._strict?a._isValid=!1:h.createFromInputFallback(a))):a._d=new Date(+i[1])):o(r)?(n._a=j(r.slice(0),function(e){return parseInt(e,10)}),Lt(n)):A(r)?(a=n)._d||(t=void 0===(i=ce(a._i)).day?i.date:i.day,a._a=j([i.year,i.month,t,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Lt(a)):N(r)?n._d=new Date(r):h.createFromInputFallback(n),z(e)||(e._d=null),e))}}function _t(e,t,n,r,a){var i={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(A(e)&&B(e)||o(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=n,i._i=e,i._f=t,i._strict=r,(a=new Z(gt(Gt(a=i))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function I(e,t,n,r){return _t(e,t,n,r,!1)}h.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":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});function Tt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return I();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var It=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,a=e.week||e.isoWeek||0,i=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,a=It.length;for(t in e)if(g(e,t)&&(-1===C.call(It,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[It[n]]){if(r)return!1;parseFloat(e[It[n]])!==p(e[It[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+i+7*a,this._months=+r+3*n+12*t,this._data={},this._locale=T(),this._bubble()}function Rt(e){return e instanceof Pt}function Dt(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+i(~~(e/60),2)+n+i(~~e%60,2)})}At("Z",":"),At("ZZ",""),w("Z",Se),w("ZZ",Se),x(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(Se,e)});var Bt=/([\+\-]|\d\d)/gi;function Nt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Bt)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Ot(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||O(e)?e:I(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),h.updateOffset(t,!1),t):I(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var zt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(e,t){var n,r,a=e;return Rt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:N(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(t=zt.exec(e))?(n="-"===t[1]?-1:1,a={y:0,d:p(t[S])*n,h:p(t[M])*n,m:p(t[L])*n,s:p(t[E])*n,ms:p(Dt(1e3*t[_e]))*n}):(t=Ut.exec(e))?(n="-"===t[1]?-1:1,a={y:Wt(t[2],n),M:Wt(t[3],n),w:Wt(t[4],n),d:Wt(t[5],n),h:Wt(t[6],n),m:Wt(t[7],n),s:Wt(t[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(t=I(a.from),n=I(a.to),t=t.isValid()&&n.isValid()?(n=Ot(n,t),t.isBefore(n)?r=Yt(t,n):((r=Yt(n,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(a={}).ms=t.milliseconds,a.M=t.months),r=new Pt(a),Rt(e)&&g(e,"_locale")&&(r._locale=e._locale),Rt(e)&&g(e,"_isValid")&&(r._isValid=e._isValid),r}function Wt(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,a){return function(e,t){var n;return null===t||isNaN(+t)||(X(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,P(e,t),r),this}}function qt(e,t,n,r){var a=t._milliseconds,i=Dt(t._days),t=Dt(t._months);e.isValid()&&(r=null==r||r,t&&Oe(e,pe(e,"Month")+t*n),i&&he(e,"Date",pe(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r)&&h.updateOffset(e,i||t)}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Re=Vt(1,"add"),Ke=Vt(-1,"subtract");function Zt(e){return"string"==typeof e||e instanceof String}function Jt(e){return l(e)||O(e)||Zt(e)||N(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!N(e)&&Zt(t)}).length),n&&r)||function(e){var t,n,r=A(e)&&!B(e),a=!1,i=["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=i.length;for(t=0;t<o;t+=1)n=i[t],a=a||g(e,n);return r&&a}(e)||null==e;var t,n,r}function Kt(e,t){var n,r;return e.date()<t.date()?-Kt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(n,"months"))<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=T(e))&&(this._locale=e),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.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=[],a=this.eras(),i=0,o=a.length;i<o;++i)t.push($(a[i].name)),e.push($(a[i].abbr)),n.push($(a[i].narrow)),r.push($(a[i].name)),r.push($(a[i].abbr)),r.push($(a[i].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,a){var i;return null==e?Ze(this,r,a).year:(t>(i=G(e,r,a))&&(t=i),function(e,t,n,r,a){e=qe(e,t,n,r,a),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,a))}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)}),x(["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}),x(["y","yy","yyy","yyyy"],k),x(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[k]=n._locale.eraYearOrdinalParse(e,a):t[k]=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",ke),w("g",ke),w("GG",b,y),w("gg",b,y),w("GGGG",$e,fe),w("gggg",$e,fe),w("GGGGG",xe,ye),w("ggggg",xe,ye),Ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=p(e)}),Ge(["gg","GG"],function(e,t,n,r){t[r]=h.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",a),x("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}),x(["D","DD"],S),x("Do",function(e,t){t[S]=p(e.match(b)[0])});$e=me("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),x(["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),x(["m","mm"],L);fe=me("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),x(["s","ss"],E);var cn,xe=me("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,a),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function dn(e,t){t[_e]=p(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")x(cn,dn);ye=me("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");a=Z.prototype;function un(e){return e}a.add=Re,a.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=A(e)&&!B(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a=0;a<r.length;a+=1)n=n||g(e,r[a]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||I(),n=Ot(e,this).startOf("day"),n=h.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,I(e)))},a.clone=function(){return new Z(this)},a.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Ot(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=u(t)){case"year":i=Kt(this,r)/12;break;case"month":i=Kt(this,r);break;case"quarter":i=Kt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:m(i)},a.endOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){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}this._d.setTime(t),h.updateOffset(this,!0)}return this},a.format=function(e){return e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},a.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.fromNow=function(e){return this.from(I(),e)},a.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.toNow=function(e){return this.to(I(),e)},a.get=function(e){return d(this[e=u(e)])?this[e]():this},a.invalidAt=function(){return f(this).overflow},a.isAfter=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},a.isBefore=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},a.isBetween=function(e,t,n,r){return e=l(e)?e:I(e),t=l(t)?t:I(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))},a.isSame=function(e,t){var e=l(e)?e:I(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},a.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},a.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},a.isValid=function(){return z(this)},a.lang=Qe,a.locale=Xt,a.localeData=Qt,a.max=ve,a.min=be,a.parsingFlags=function(){return H({},f(this))},a.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:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,a=0;a<r;a++)this[n[a].unit](e[n[a].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},a.startOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){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)}this._d.setTime(t),h.updateOffset(this,!0)}return this},a.subtract=Ke,a.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},a.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()}},a.toDate=function(){return new Date(this.valueOf())},a.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).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"):d(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"):null},a.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",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+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(a[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},a.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},a.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""},a.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""},a.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""},a.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,a=n.length;r<a;++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()-h(n[r].since).year())*e+n[r].offset;return this.year()},a.year=Ue,a.isLeapYear=function(){return ue(this.year())},a.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},a.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},a.quarter=a.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},a.month=je,a.daysInMonth=function(){return Pe(this.year(),this.month())},a.week=a.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},a.isoWeek=a.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},a.weeksInYear=function(){var e=this.localeData()._week;return G(this.year(),e.dow,e.doy)},a.weeksInWeekYear=function(){var e=this.localeData()._week;return G(this.weekYear(),e.dow,e.doy)},a.isoWeeksInYear=function(){return G(this.year(),1,4)},a.isoWeeksInISOWeekYear=function(){return G(this.isoWeekYear(),1,4)},a.date=$e,a.day=a.days=function(e){var t,n,r;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,r=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=r.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},a.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},a.isoWeekday=function(e){var t,n;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},a.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")},a.hour=a.hours=v,a.minute=a.minutes=fe,a.second=a.seconds=xe,a.millisecond=a.milliseconds=ye,a.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?a:jt(this);if("string"==typeof e){if(null===(e=Nt(Se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?qt(this,P(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},a.utc=function(e){return this.utcOffset(0,e)},a.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(jt(this),"m"),this},a.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Nt(Fe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},a.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?I(e).utcOffset():0,(this.utcOffset()-e)%60==0)},a.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},a.isLocal=function(){return!!this.isValid()&&!this._isUTC},a.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},a.isUtc=Ht,a.isUTC=Ht,a.zoneAbbr=function(){return this._isUTC?"UTC":""},a.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},a.dates=e("dates accessor is deprecated. Use date instead.",$e),a.months=e("months accessor is deprecated. Use month instead",je),a.years=e("years accessor is deprecated. Use year instead",Ue),a.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()}),a.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(q(t={},this),(t=Gt(t))._a?(e=(t._isUTC?c:I)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&p(e[o])!==p(t[o]))&&i++;return i+a}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function mn(e,t,n,r){var a=T(),r=c().set(r,t);return a[n](r,e)}function pn(e,t,n){if(N(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");for(var r=[],a=0;a<12;a++)r[a]=mn(e,a,n,"month");return r}function hn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),N(t)&&(n=t,t=void 0),t||"");var a,i=T(),o=e?i._week.dow:0,s=[];if(null!=n)return mn(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=mn(t,(a+o)%7,r,"day");return s}y.calendar=function(e,t,n){return d(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=un,y.postformat=un,y.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return d(a)?a(e,t,n,r):a.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(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)&&(d(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||T("en")._eras,a=0,i=r.length;a<i;++a)switch("string"==typeof r[a].since&&(n=h(r[a].since).startOf("day"),r[a].since=n.valueOf()),typeof r[a].until){case"undefined":r[a].until=1/0;break;case"string":n=h(r[a].until).startOf("day").valueOf(),r[a].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,a,i,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(i=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(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[i,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?h(e.since).year():h(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,a;if(this._monthsParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=C.call(this._shortMonthsParse,e))?a:null:-1!==(a=C.call(this._longMonthsParse,e))?a:null:"MMM"===t?-1!==(a=C.call(this._shortMonthsParse,e))||-1!==(a=C.call(this._longMonthsParse,e))?a:null:-1!==(a=C.call(this._longMonthsParse,e))||-1!==(a=C.call(this._shortMonthsParse,e))?a:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(a.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")||He.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||He.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Be),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ze(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?Je(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,a;if(this._weekdaysParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=C.call(this._weekdaysParse,e))?a:null:"ddd"===t?-1!==(a=C.call(this._shortWeekdaysParse,e))?a:null:-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:"dddd"===t?-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._shortWeekdaysParse,e))||-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:"ddd"===t?-1!==(a=C.call(this._shortWeekdaysParse,e))||-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:-1!==(a=C.call(this._minWeekdaysParse,e))||-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._shortWeekdaysParse,e))?a:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(a.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")}}),h.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),h.langData=e("moment.langData is deprecated. Use moment.localeData instead.",T);var gn=Math.abs;function fn(e,t,n,r){t=P(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"),Re=wn("m"),ve=wn("h"),be=wn("d"),Ke=wn("w"),v=wn("M"),fe=wn("Q"),xe=wn("y");function $n(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=$n("milliseconds"),$e=$n("seconds"),Ue=$n("minutes"),y=$n("hours"),xn=$n("days"),Cn=$n("months"),kn=$n("years");var Fn=Math.round,Sn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var a=P(e).abs(),i=Fn(a.as("s")),o=Fn(a.as("m")),s=Fn(a.as("h")),l=Fn(a.as("d")),c=Fn(a.as("M")),d=Fn(a.as("w")),a=Fn(a.as("y")),i=(i<=n.ss?["s",i]:i<n.s&&["ss",i])||(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(i=(i=null!=n.w?i||(d<=1?["w"]:d<n.w&&["ww",d]):i)||(c<=1?["M"]:c<n.M&&["MM",c])||(a<=1?["y"]:["yy",a]))[2]=t,i[3]=0<+e,i[4]=r,function(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}.apply(null,i)}var Ln=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Gn(){var e,t,n,r,a,i,o,s,l,c,d;return this.isValid()?(s=Ln(this._milliseconds)/1e3,l=Ln(this._days),c=Ln(this._months),(d=this.asSeconds())?(e=m(s/60),t=m(e/60),s%=60,e%=60,n=m(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",a=En(this._months)!==En(d)?"-":"",i=En(this._days)!==En(d)?"-":"",o=En(this._milliseconds)!==En(d)?"-":"",(d<0?"-":"")+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(l?i+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"):this.localeData().invalidDate()}var R=Pt.prototype;return R.isValid=function(){return this._isValid},R.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},R.add=function(e,t){return fn(this,e,t,1)},R.subtract=function(e,t){return fn(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=u(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)}},R.asMilliseconds=we,R.asSeconds=ge,R.asMinutes=Re,R.asHours=ve,R.asDays=be,R.asWeeks=Ke,R.asMonths=v,R.asQuarters=fe,R.asYears=xe,R.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},R._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=m(e/1e3),r.seconds=e%60,e=m(e/60),r.minutes=e%60,e=m(e/60),r.hours=e%24,t+=m(e/24),n+=e=m(bn(t)),t-=yn(vn(e)),e=m(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},R.clone=function(){return P(this)},R.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=$e,R.minutes=Ue,R.hours=y,R.days=xn,R.weeks=function(){return m(this.days()/7)},R.months=Cn,R.years=kn,R.humanize=function(e,t){var n,r;return this.isValid()?(n=!1,r=Sn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Sn,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)):this.localeData().invalidDate()},R.toISOString=Gn,R.toString=Gn,R.toJSON=Gn,R.locale=Xt,R.localeData=Qt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gn),R.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",ke),w("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,n){n._d=new Date(p(e))}),h.version="2.29.4",D=I,h.fn=a,h.min=function(){return Tt("isBefore",[].slice.call(arguments,0))},h.max=function(){return Tt("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=c,h.unix=function(e){return I(1e3*e)},h.months=function(e,t){return pn(e,t,"months")},h.isDate=O,h.locale=pt,h.invalid=U,h.duration=P,h.isMoment=l,h.weekdays=function(e,t,n){return hn(e,t,n,"weekdays")},h.parseZone=function(){return I.apply(null,arguments).parseZone()},h.localeData=T,h.isDuration=Rt,h.monthsShort=function(e,t){return pn(e,t,"monthsShort")},h.weekdaysMin=function(e,t,n){return hn(e,t,n,"weekdaysMin")},h.defineLocale=ht,h.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=_[e]&&null!=_[e].parentLocale?_[e].set(Q(_[e]._config,t)):(t=Q(r=null!=(n=mt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=_[e],_[e]=r),pt(e)):null!=_[e]&&(null!=_[e].parentLocale?(_[e]=_[e].parentLocale,e===pt()&&pt(e)):null!=_[e]&&delete _[e]),_[e]},h.locales=function(){return te(_)},h.weekdaysShort=function(e,t,n){return hn(e,t,n,"weekdaysShort")},h.normalizeUnits=u,h.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},h.relativeTimeThreshold=function(e,t){return void 0!==Sn[e]&&(void 0===t?Sn[e]:(Sn[e]=t,"s"===e&&(Sn.ss=t-1),!0))},h.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"},h.prototype=a,h.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"},h}();var Ia,Pa,Ra=Ia.exports;function Da(e,t){o(e,t)}const Aa={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır",full:"masa dolu - bet behind",dealer:"Dealer"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Započni sada!",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"}},Ba={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 Na(e,t,n){e=e.slice();return e[103]=t[n],e[105]=n,e}function Oa(e,t,n){e=e.slice();return e[100]=t[n],e}function ja(e){let n;function r(e){return e[17]?za:Ha}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Ha(e){let n;return{c(){(n=pe("div")).innerHTML="<div></div><div></div>",fe(n,"class","LoaderRipple")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function za(n){let r,a,i;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: var(--emfe-w-color-white, #FFFFFF);" 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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[63]),a=!0)},p:O,d(e){e&&me(r),a=!1,i()}}}function Ua(n){let r,a,i,o,s=n[36]("playNow")+"";return{c(){r=pe("button"),a=he(s),fe(r,"class","GameInfoBtn")},m(e,t){ue(e,r,t),de(r,a),i||(o=U(r,"click",n[64]),i=!0)},p(e,t){32&t[1]&&s!==(s=e[36]("playNow")+"")&&ye(a,s)},d(e){e&&me(r),i=!1,o()}}}function Wa(e){let n,r,a=e[36]("new")+"";return{c(){n=pe("span"),r=he(a),fe(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&a!==(a=e[36]("new")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ya(e){let n,r;return{c(){n=pe("span"),r=he(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&ye(r,e[8])},d(e){e&&me(n)}}}function Va(e){let n,r,a=!e[23]&&e[21]&&e[22]&&qa(e);function i(e){return e[23]&&e[20]&&e[20]===li?Ja:e[23]&&e[20]&&e[20]===ci?Za:void 0}let o=i(e),s=o&&o(e);return{c(){a&&a.c(),n=ge(),s&&s.c(),r=c()},m(e,t){a&&a.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){!e[23]&&e[21]&&e[22]?a?a.p(e,t):((a=qa(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){a&&a.d(e),e&&me(n),s&&s.d(e),e&&me(r)}}}function qa(e){let n,r,a,i,o,s,l,c,d,u,m=e[36]("opens")+"",p=Ra.utc(e[21]).local().format(e[22])+"",h=e[42](e[35])+"",g=e[41](e[27],e[28],e[26])+"";return{c(){n=pe("div"),r=pe("div"),a=he(m),i=ge(),o=pe("span"),s=he(p),l=ge(),c=new _(!1),d=ge(),u=new _(!1),fe(r,"class","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(r,o),de(o,s),de(n,l),c.m(h,n),de(n,d),u.m(g,n)},p(e,t){32&t[1]&&m!==(m=e[36]("opens")+"")&&ye(a,m),6291456&t[0]&&p!==(p=Ra.utc(e[21]).local().format(e[22])+"")&&ye(s,p),16&t[1]&&h!==(h=e[42](e[35])+"")&&c.p(h),469762048&t[0]&&g!==(g=e[41](e[27],e[28],e[26])+"")&&u.p(g)},d(e){e&&me(n)}}}function Za(n){let r,a,i,o,s,l,c=n[42](n[35])+"",d=n[41](n[27],n[28],n[26])+"",u=new Array(ui),m=[];for(let e=0;e<u.length;e+=1)m[e]=ei(Na(n,u,e));return{c(){r=pe("div"),a=pe("div");for(let e=0;e<m.length;e+=1)m[e].c();i=ge(),o=new _(!1),s=ge(),l=new _(!1),fe(a,"class","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[31])},m(e,t){ue(e,r,t),de(r,a);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(a,null);n[65](a),de(r,i),o.m(c,r),de(r,s),l.m(d,r)},p(t,n){if(1073758208&n[0]|4098&n[1]){let e;for(u=new Array(ui),e=0;e<u.length;e+=1){const o=Na(t,u,e);m[e]?m[e].p(o,n):(m[e]=ei(o),m[e].c(),m[e].m(a,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}16&n[1]&&c!==(c=t[42](t[35])+"")&&o.p(c),469762048&n[0]&&d!==(d=t[41](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(r,"class",t[31])},d(e){e&&me(r),H(m,e),n[65](null)}}}function Ja(e){let n,r,a,i,o,s,l=e[42](e[35])+"",c=e[41](e[27],e[28],e[26])+"";function d(e){return e[33]?ni:ti}let u=d(e),m=u(e);return{c(){n=pe("div"),r=pe("div"),m.c(),a=ge(),i=new _(!1),o=ge(),s=new _(!1),fe(r,"class","LiveIcons"),i.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){ue(e,n,t),de(n,r),m.m(r,null),de(n,a),i.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(r,null))),16&t[1]&&l!==(l=e[42](e[35])+"")&&i.p(l),469762048&t[0]&&c!==(c=e[41](e[27],e[28],e[26])+"")&&s.p(c)},d(e){e&&me(n),m.d()}}}function Ka(e){let n;function r(e){return e[30]?Qa:Xa}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Xa(e){let n,r,a=e[43]("LatestResult "+(0===e[105]?"First":""),e[105],e[14][e[105]],e[32][e[14][e[105]]])+"";return{c(){n=new _(!1),r=c(),n.a=r},m(e,t){n.m(a,e,t),ue(e,r,t)},p(e,t){16384&t[0]|2&t[1]&&a!==(a=e[43]("LatestResult "+(0===e[105]?"First":""),e[105],e[14][e[105]],e[32][e[14][e[105]]])+"")&&n.p(a)},d(e){e&&me(r),e&&n.d()}}}function Qa(e){let n,r,a,i,o,s=e[43]("LatestResult "+(0===e[105]?"First":""),"first"+e[105]+e[14][e[105]][0],e[14][e[105]][0],e[32][e[14][e[105]][0]])+"",l=e[43]("LatestResult "+(0===e[105]?"First":""),"second"+e[105]+e[14][e[105]][1],e[14][e[105]][1],e[32][e[14][e[105]][1]])+"";return{c(){n=pe("div"),r=new _(!1),a=ge(),i=new _(!1),o=ge(),r.a=a,i.a=o,fe(n,"class","Double")},m(e,t){ue(e,n,t),r.m(s,n),de(n,a),i.m(l,n),de(n,o)},p(e,t){16384&t[0]|2&t[1]&&s!==(s=e[43]("LatestResult "+(0===e[105]?"First":""),"first"+e[105]+e[14][e[105]][0],e[14][e[105]][0],e[32][e[14][e[105]][0]])+"")&&r.p(s),16384&t[0]|2&t[1]&&l!==(l=e[43]("LatestResult "+(0===e[105]?"First":""),"second"+e[105]+e[14][e[105]][1],e[14][e[105]][1],e[32][e[14][e[105]][1]])+"")&&i.p(l)},d(e){e&&me(n)}}}function ei(e){let n,r=e[14]&&e[14][e[105]]&&Ka(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[14]&&e[14][e[105]]?r?r.p(e,t):((r=Ka(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function ti(t){let a,i=t[25],o=[];for(let e=0;e<i.length;e+=1)o[e]=ri(Oa(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(570425344&n[0]|512&n[1]){let e;for(i=t[25],e=0;e<i.length;e+=1){var r=Oa(t,i,e);o[e]?o[e].p(r,n):(o[e]=ri(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){H(o,e),e&&me(a)}}}function ni(e){let n,r,a=e[36]("full")+"";return{c(){n=pe("span"),r=he(a),fe(n,"class","FullTable")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&a!==(a=e[36]("full")+"")&&ye(r,a)},d(e){e&&me(n)}}}function ri(e){let n,r,a,i,o,s;return{c(){n=pe("span"),r=z("svg"),a=z("path"),i=z("path"),o=ge(),fe(a,"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(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),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[40](e[29],e[100].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(n,o)},p(e,t){570425344&t[0]&&s!==(s=e[40](e[29],e[100].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s)},d(e){e&&me(n)}}}function ai(e){let n;return{c(){(n=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function ii(n){let r,a,i;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(r,"class","FavIconContainer")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[66]),a=!0)},p:O,d(e){e&&me(r),a=!1,i()}}}function oi(e){let n,r;return{c(){n=pe("p"),r=he(e[4]),fe(n,"class","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&ye(r,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&me(n)}}}function si(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C,k,F,S,B,M,L=!ct(n[37])&&!n[0]&&n[16],E=(n[5]||"-")+"",G=L&&ja(n),_=n[1]&&Ua(n),T=n[7]&&Wa(n),I=n[8]&&Ya(n),P=n[13]&&Va(n);function N(e,t){return 65541&t[0]&&(k=null),65541&t[0]&&(F=null),(k=null==k?!(ct(e[37])||!e[0]||!e[16]||!e[2]):k)?ii:(F=null==F?!!(ct(e[37])&&e[0]&&e[16]&&e[2]):F)?ai:void 0}let R=N(n,[-1,-1,-1,-1]),D=R&&R(n),A="true"===n[10]&&oi(n);return{c(){r=pe("div"),a=pe("div"),i=pe("img"),l=ge(),c=pe("div"),d=pe("div"),G&&G.c(),u=ge(),m=pe("p"),p=he(n[4]),h=ge(),_&&_.c(),g=ge(),f=pe("span"),y=he(E),b=ge(),v=pe("div"),w=pe("div"),T&&T.c(),$=ge(),I&&I.c(),x=ge(),P&&P.c(),C=ge(),D&&D.c(),B=ge(),A&&A.c(),this.c=O,ce(i.src,o=n[3])||fe(i,"src",o),fe(i,"class",s=`GameBg GameBg-${n[9]} `+(n[18]?"Loaded":"")),fe(i,"alt",""),fe(i,"loading","lazy"),fe(m,"class","GameInfoName"),fe(m,"title",n[4]),fe(d,"class","GameInfo"),fe(f,"class","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(w,"class","GameExtraInfo"),fe(v,"class","GameExtraInfoContainer"),fe(a,"class",S="GameInnerContainer "+(n[13]&&!n[23]&&n[24].value||n[13]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"class",M=`GameContainer ${n[34]} `+("true"==n[11]?"CasinoGamesGridSlider":"")),W(r,"WithGameName",n[10])},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[62](i),de(a,l),de(a,c),de(c,d),G&&G.m(d,null),de(d,u),de(d,m),de(m,p),de(d,h),_&&_.m(d,null),de(c,g),de(c,f),de(f,y),de(a,b),de(a,v),de(v,w),T&&T.m(w,null),de(w,$),I&&I.m(w,null),de(w,x),P&&P.m(w,null),de(v,C),D&&D.m(v,null),de(r,B),A&&A.m(r,null),n[67](r)},p(e,t){8&t[0]&&!ce(i.src,o=e[3])&&fe(i,"src",o),262656&t[0]&&s!==(s=`GameBg GameBg-${e[9]} `+(e[18]?"Loaded":""))&&fe(i,"class",s),(L=65537&t[0]?!ct(e[37])&&!e[0]&&e[16]:L)?G?G.p(e,t):((G=ja(e)).c(),G.m(d,u)):G&&(G.d(1),G=null),16&t[0]&&ye(p,e[4]),16&t[0]&&fe(m,"title",e[4]),e[1]?_?_.p(e,t):((_=Ua(e)).c(),_.m(d,null)):_&&(_.d(1),_=null),32&t[0]&&E!==(E=(e[5]||"-")+"")&&ye(y,E),e[7]?T?T.p(e,t):((T=Wa(e)).c(),T.m(w,$)):T&&(T.d(1),T=null),e[8]?I?I.p(e,t):((I=Ya(e)).c(),I.m(w,x)):I&&(I.d(1),I=null),e[13]?P?P.p(e,t):((P=Va(e)).c(),P.m(w,null)):P&&(P.d(1),P=null),R===(R=N(e,t))&&D?D.p(e,t):(D&&D.d(1),(D=R&&R(e))&&(D.c(),D.m(v,null))),25174016&t[0]|4&t[1]&&S!==(S="GameInnerContainer "+(e[13]&&!e[23]&&e[24].value||e[13]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(a,"class",S),"true"===e[10]?A?A.p(e,t):((A=oi(e)).c(),A.m(r,null)):A&&(A.d(1),A=null),2048&t[0]|8&t[1]&&M!==(M=`GameContainer ${e[34]} `+("true"==e[11]?"CasinoGamesGridSlider":""))&&fe(r,"class",M),3072&t[0]|8&t[1]&&W(r,"WithGameName",e[10])},i:O,o:O,d(e){e&&me(r),n[62](null),G&&G.d(),_&&_.d(),T&&T.d(),I&&I.d(),P&&P.d(),D&&D.d(),A&&A.d(),n[67](null)}}}const li="blackjack",ci="roulette",di="doubleballroulette",ui=5;function mi(i,e,o){let D;ut(i,na,e=>o(36,D=e));let A,s,l,c,t,B,N,d,u,O,j,H,m,z,U,W,p,Y,V,q,h,Z,g,J,K,{session:X=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{favorites:$=""}=e,{gamethumbnail:Q=""}=e,{gamename:ee=""}=e,{gamevendor:n=""}=e,{gamelaunchurl:r=""}=e,{gameid:a=""}=e,{gameisnew:te=""}=e,{gametag:ne=""}=e,{gamefunmode:x=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:re=""}=e,{showfavoredcategory:k=!1}=e,{showgamename:ae=""}=e,{currency:F=""}=e,{gamepagemodalurl:S="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:L=""}=e,{connectlive:E=""}=e,{visibilityconnect:G=""}=e,{integratedgameframedesktop:_="false"}=e,{integratedgameframemobile:T="false"}=e,{casinogamesgridslider:ie="false"}=e,oe=!1,se=!1,le=!1,I=window.navigator.userAgent,ce="HH:mm",de,ue=[],me="EUR",P="";const pe=[li],he=[ci,di],ge={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},fe={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"},ye=(Object.keys(Aa).forEach(e=>{Da(e,Aa[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+a||k||o(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+a||k||o(0,C=!1),"UserSessionID"===e.data.type&&(o(16,oe=!0),e.data.session,A=e.data.userID),"CategoryUpdate"===e.data.type&&o(13,c=null)}),be=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(A||"Not logged in")}),ct(I)&&"true"==T?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:ct(I),source:"GameThumbnail",identifier:"Lobby",subVendor:n,launchUrl:r},window.location.href):ct(I)&&"false"==T&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:ct(I)},window.location.href),ct(I)||"true"!=_?ct(I)||"false"!=_||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:ct(I)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:ct(I),identifier:"Lobby",subVendor:n,launchUrl:r},window.location.href)},ve=e=>{C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},we=()=>{L&&EventSource&&!t&&n&&a&&(t=new EventSource(`${M}/v1/encoder/lobby/updates/${n}/`+a)).addEventListener("message",xe)},$e=()=>{t&&(t.close(),t=void 0)},xe=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:a,Open:i}=r;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(o(29,m=a),o(13,c.currentOccupiedSeats=a,c),await Fe());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(z=n,o(13,c.currentRouletteNumbers=n,c),await Fe());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(13,c.currentDoubleBallRouletteNumbers=n,c),await Fe());break;case"TableOpened":case"TableClosed":o(23,d=i),o(13,c.isOpen=i,c),await Fe()}}}},Ce=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t),ke=()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return ot(()=>(window.addEventListener("message",ye,!1),()=>{window.removeEventListener("message",ye),t&&t.removeEventListener("message",xe)})),i.$$set=e=>{"session"in e&&o(44,X=e.session),"userid"in e&&o(45,f=e.userid),"lang"in e&&o(1,y=e.lang),"clientstyling"in e&&o(46,b=e.clientstyling),"clientstylingurl"in e&&o(47,v=e.clientstylingurl),"translationurl"in e&&o(48,w=e.translationurl),"favorites"in e&&o(2,$=e.favorites),"gamethumbnail"in e&&o(3,Q=e.gamethumbnail),"gamename"in e&&o(4,ee=e.gamename),"gamevendor"in e&&o(5,n=e.gamevendor),"gamelaunchurl"in e&&o(49,r=e.gamelaunchurl),"gameid"in e&&o(6,a=e.gameid),"gameisnew"in e&&o(7,te=e.gameisnew),"gametag"in e&&o(8,ne=e.gametag),"gamefunmode"in e&&o(50,x=e.gamefunmode),"gamefavorite"in e&&o(0,C=e.gamefavorite),"gamecellsize"in e&&o(9,re=e.gamecellsize),"showfavoredcategory"in e&&o(51,k=e.showfavoredcategory),"showgamename"in e&&o(10,ae=e.showgamename),"currency"in e&&o(52,F=e.currency),"gamepagemodalurl"in e&&o(53,S=e.gamepagemodalurl),"endpoint"in e&&o(54,M=e.endpoint),"livelobbyendpoint"in e&&o(55,L=e.livelobbyendpoint),"connectlive"in e&&o(56,E=e.connectlive),"visibilityconnect"in e&&o(57,G=e.visibilityconnect),"integratedgameframedesktop"in e&&o(58,_=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(59,T=e.integratedgameframemobile),"casinogamesgridslider"in e&&o(11,ie=e.casinogamesgridslider)},i.$$.update=()=>{if(33554432&i.$$.dirty[1]&&E&&("disconnect"===E?$e():"connect"===E&&we()),67108864&i.$$.dirty[1]&&G&&("disconnect"===G?$e():"connect"===G&&"connect"===E&&we()),2&i.$$.dirty[0]&&y&&(n=y,lt.set(n)),8413184&i.$$.dirty[1]&&X&&f&&M&&(o(16,oe=!0),A=f),8&i.$$.dirty[0]&&Q&&s&&o(19,s.onload=()=>{o(18,le=!0)},s),4096&i.$$.dirty[0]|32768&i.$$.dirty[1]&&b&&l&&((n=document.createElement("style")).innerHTML=b,l.appendChild(n)),4096&i.$$.dirty[0]|65536&i.$$.dirty[1]&&v&&l&&ke(),4&i.$$.dirty[0]&&$&&"true"==$&&o(17,se=!0),131072&i.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Da(e,t[e])})}).catch(e=>{console.log(e)}),512&i.$$.dirty[0]|65536&i.$$.dirty[1]&&re&&v&&ke(),25165824&i.$$.dirty[1]&&M&&L&&((t=new URL(""+L.split("?")[0])).searchParams.append("platform",dt(I)),t.searchParams.append("language",y),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(13,c=e)})),8192&i.$$.dirty[0]&&c&&c&&(o(23,d=c.isOpen),de=c.betLimit||{},o(24,u=c.openHours),o(25,ue=(e=>{H=e.totalSeats||7,o(29,m=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=H;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],o(21,N=t),o(22,ce=e||ce)),d&&o(20,B=(e=>{let t=null;if(e){var n=e["vendorCategory"];if(n){const e=n.toLowerCase();R(pe,e)?t=li:R(he,e)&&(t=ci)}}return t})(c)),o(26,me=Ba[F]),o(27,O=(de.min||{})[F]),o(28,j=(de.max||{})[F]),z=c.currentRouletteNumbers,U=c.currentDoubleBallRouletteNumbers,W=c.vendorCategory,o(30,p=W.toLowerCase()===di),o(14,Y=(p?U:z)||[]),o(31,V="GameProp LiveProps RoulleteProps"),o(31,V+=p?" Double":""),o(32,q=R(he,W.toLowerCase())?fe:ge),Z=h,o(33,h=Array.isArray(m)&&m.length===H),c.dealer&&o(35,J=c.dealer.DealerName),K=c.numberOfPlayers,o(34,P="ListGame"),c.isOpen&&c.currentRouletteNumbers&&o(34,P+=" GameBackdrop"),d&&h&&O&&j&&c.currentOccupiedSeats?o(34,P+=" GameContainerDimmed"):!1===d&&N&&o(34,P+=" GameContainerFullyDimmed"),l)&&(!Z&&h?(o(34,P+=" PulsatingRedShadow"),o(34,P=P.replace(" PulsatingGreenShadow",""))):Z&&!h&&(o(34,P+=" PulsatingGreenShadow"),o(34,P=P.replace(" PulsatingRedShadow","")))),49152&i.$$.dirty[0]&&g&&Y){const r="FirstElementAnimated",a=g.getElementsByClassName("First")[0];a&&(a.classList.add(r),setTimeout(()=>{a.classList.remove(r)},2e3))}var e,t,n},[C,y,$,Q,ee,n,a,te,ne,re,ae,ie,l,c,Y,g,oe,se,le,s,B,N,ce,d,u,ue,me,O,j,m,p,V,q,h,P,J,D,I,be,ve,R,(e,t,n)=>{let r,a;return null!=e&&null!=t&&(a=`
|
|
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
|
-
`},X,f,b,v,w,r,x,F,k,S,M,E,L,G,I,_,ge,fe,function(e){lt[e?"unshift":"push"](()=>{s=e,o(19,s)})},()=>ve(a),()=>be(a),()=>ve(a),function(e){lt[e?"unshift":"push"](()=>{g=e,o(15,g)})},function(e){lt[e?"unshift":"push"](()=>{l=e,o(12,l)})}]}function hi(e,t){o(e,t)}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 375px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-bottom:5px;font-size:12px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}@container (max-width: 410px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},pi,li,n,{session:44,userid:45,lang:1,clientstyling:46,clientstylingurl:47,translationurl:48,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:49,gameid:6,gameisnew:7,gametag:8,gamefunmode:50,gamefavorite:0,gamecellsize:9,showfavoredcategory:51,showgamename:10,currency:52,gamepagemodalurl:53,endpoint:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[44]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[45]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[48]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),m()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),m()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),m()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),m()}get gamelaunchurl(){return this.$$.ctx[49]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),m()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),m()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),m()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),m()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$$set({gamefunmode:e}),m()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),m()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),m()}get showfavoredcategory(){return this.$$.ctx[51]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),m()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),m()}get currency(){return this.$$.ctx[52]}set currency(e){this.$$set({currency:e}),m()}get gamepagemodalurl(){return this.$$.ctx[53]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$$set({endpoint:e}),m()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),m()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),m()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const gi={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};function fi(e,t,n){e=e.slice();return e[36]=t[n],e[37]=t,e[38]=n,e}function yi(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,e,$,B,x,C,A,F,k,S,M,E,L,N,G=n[11]("filterby")+"",I=n[11]("providers")+"",_=n[11]("clear")+"";function O(e){return e[7]?wi:vi}let T=O(n),P=T(n),R=n[5],D=[];for(let e=0;e<R.length;e+=1)D[e]=Ci(fi(n,R,e));return{c(){r=pe("div"),a=pe("div"),i=pe("div"),o=z("svg"),s=z("path"),l=ge(),c=pe("div"),d=pe("span"),u=he(G),m=ge(),p=pe("div"),h=pe("span"),g=he(I),f=ge(),P.c(),y=ge(),b=pe("span"),v=z("svg"),w=z("path"),B=ge(),x=pe("div"),C=pe("ul");for(let e=0;e<D.length;e+=1)D[e].c();A=ge(),F=pe("button"),k=he(_),fe(s,"id","noun_filter_736223"),fe(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),fe(s,"transform","translate(-5 -6.2)"),fe(s,"fill","#fff"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","16"),fe(o,"height","16"),fe(o,"viewBox","0 0 16 16"),fe(d,"class","FilterName"),fe(p,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(i,"class","FilterMainArea"),fe(w,"id","arrow"),fe(w,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(w,"transform","translate(-274.511 -441.088)"),fe(w,"fill","#d1d1d1"),fe(v,"xmlns","http://www.w3.org/2000/svg"),fe(v,"width","14"),fe(v,"height","6.835"),fe(v,"viewBox","0 0 14 6.835"),fe(b,"class",e="TriangleInactive "+(n[4]?"TriangleActive":"")),fe(a,"class",$="FilterSelector "+(n[4]?"FilterSelectorOpen":"")),fe(C,"class","FilterDropdown"),fe(F,"class","ClearFilters"),F.disabled=S=n[7]&&n[6].length!=n[5].length,fe(x,"class",M="FilterDropdownContainer "+(n[4]?"FilterOpen":"")),fe(r,"class",E="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(i,l),de(i,c),de(c,d),de(d,u),de(c,m),de(c,p),de(p,h),de(h,g),de(p,f),P.m(p,null),de(a,y),de(a,b),de(b,v),de(v,w),de(r,B),de(r,x),de(x,C);for(let e=0;e<D.length;e+=1)D[e]&&D[e].m(C,null);de(x,A),de(x,F),de(F,k),L||(N=[U(a,"click",n[22]),U(F,"click",n[25])],L=!0)},p(t,n){if(2048&n[0]&&G!==(G=t[11]("filterby")+"")&&ye(u,G),2048&n[0]&&I!==(I=t[11]("providers")+"")&&ye(g,I),T===(T=O(t))&&P?P.p(t,n):(P.d(1),(P=T(t))&&(P.c(),P.m(p,null))),16&n[0]&&e!==(e="TriangleInactive "+(t[4]?"TriangleActive":""))&&fe(b,"class",e),16&n[0]&&$!==($="FilterSelector "+(t[4]?"FilterSelectorOpen":""))&&fe(a,"class",$),8228&n[0]){let e;for(R=t[5],e=0;e<R.length;e+=1){const a=fi(t,R,e);D[e]?D[e].p(a,n):(D[e]=Ci(a),D[e].c(),D[e].m(C,null))}for(;e<D.length;e+=1)D[e].d(1);D.length=R.length}2048&n[0]&&_!==(_=t[11]("clear")+"")&&ye(k,_),224&n[0]&&S!==(S=t[7]&&t[6].length!=t[5].length)&&(F.disabled=S),16&n[0]&&M!==(M="FilterDropdownContainer "+(t[4]?"FilterOpen":""))&&fe(x,"class",M),3&n[0]&&E!==(E="FilterContainer "+("true"==t[0]&&"true"==t[1]?"FilerContainerSplit":""))&&fe(r,"class",E)},d(e){e&&me(r),P.d(),j(D,e),L=!1,H(N)}}}function bi(e){let n,r,a=e[11]("500")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2048&t[0]&&a!==(a=e[11]("500")+"")&&ye(r,a)},d(e){e&&me(n)}}}function vi(e){let n,r;return{c(){n=pe("span"),r=he(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&ye(r,e[8])},d(e){e&&me(n)}}}function wi(e){let n,r,a=e[11]("all")+"";return{c(){n=pe("span"),r=he(a),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2048&t[0]&&a!==(a=e[11]("all")+"")&&ye(r,a)},d(e){e&&me(n)}}}function $i(e){let n,r;return{c(){ce((n=pe("img")).src,r=e[36].logo)||fe(n,"src",r),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,r=e[36].logo)&&fe(n,"src",r)},d(e){e&&me(n)}}}function xi(e){let n,r,a,i,o,s,l,c,d=e[36].name+"",u=e[36].games.count+"";return{c(){n=pe("div"),r=pe("span"),a=he(d),i=ge(),o=pe("span"),s=he("("),l=he(u),c=he(")"),fe(n,"class","FilterItemLabel")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(n,i),de(n,o),de(o,s),de(o,l),de(o,c)},p(e,t){32&t[0]&&d!==(d=e[36].name+"")&&ye(a,d),32&t[0]&&u!==(u=e[36].games.count+"")&&ye(l,u)},d(e){e&&me(n)}}}function Ci(n){let r,a,i,o,s,l,c,d,u,m,p,h;function g(){n[23].call(i,n[37],n[38])}function f(){return n[24](n[36])}function y(e){return"false"===e[2]?xi:"true"===e[2]?$i:void 0}let b=y(n),v=b&&b(n);return{c(){r=pe("li"),a=pe("label"),i=pe("input"),s=ge(),l=pe("span"),c=ge(),v&&v.c(),d=ge(),fe(i,"type","checkbox"),fe(i,"name","checkbox"),i.__value=o=n[36].name,i.value=i.__value,fe(l,"class","FiltersCheckmark"),fe(a,"class","FilterLabel"),fe(r,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),r.value=m=n[36].name},m(e,t){ue(e,r,t),de(r,a),de(a,i),i.checked=n[36].isFilterSelected,de(a,s),de(a,l),de(a,c),v&&v.m(a,null),de(r,d),p||(h=[U(i,"change",g),U(i,"click",f)],p=!0)},p(e,t){n=e,32&t[0]&&o!==(o=n[36].name)&&(i.__value=o,i.value=i.__value),32&t[0]&&(i.checked=n[36].isFilterSelected),b===(b=y(n))&&v?v.p(n,t):(v&&v.d(1),(v=b&&b(n))&&(v.c(),v.m(a,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(r,"class",u),32&t[0]&&m!==(m=n[36].name)&&(r.value=m)},d(e){e&&me(r),v&&v.d(),p=!1,H(h)}}}function Fi(n){let r;function a(e){return e[10]?bi:e[9]?void 0:yi}let i=a(n),o=i&&i(n);return{c(){r=pe("div"),o&&o.c(),this.c=N},m(e,t){ue(e,r,t),o&&o.m(r,null),n[26](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o&&o.d(),n[26](null)}}}function ki(n,e,r){let t;mt(n,ra,e=>r(11,t=e));let a,{endpoint:i=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:m="false"}=e,{addsortingselector:p="false"}=e,{filterbylogo:h="false"}=e,g=!1,f=window.navigator.userAgent,y=[],b=[],v={},w=!1,$=0,x=!0,C=!1;var F,k;({withLocale:F,translations:k}={withLocale:"en",translations:{}}),ct.subscribe(e=>{null==e&&(Sr.set(k),ct.set(F))}),Object.keys(gi).forEach(e=>{hi(e,gi[e])}),v[u]&&(v={[u]:[]});const S=()=>{r(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},M=t=>{var e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,b.length&&0!=b.filter(e=>e.name===t.name).length?r(6,b=b.filter(e=>e.name!==t.name)):b.push(t),null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})):((e=JSON.parse(e))[u]=b.map(e=>e.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),E()},E=()=>{r(7,w=b.length===y.length||0==b.length),r(8,$=b.length)},L=()=>{r(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),r(5,y),window.postMessage({type:"ApplyFilters"},window.location.href),r(7,w=!0),r(4,g=!1)},G=e=>{"SortingOpened"==e.data.type&&r(4,g=!1)};return st(()=>(window.addEventListener("message",G,!1),()=>{window.removeEventListener("message",G)})),n.$$set=e=>{"endpoint"in e&&r(15,i=e.endpoint),"datasource"in e&&r(16,o=e.datasource),"lang"in e&&r(17,s=e.lang),"translationurl"in e&&r(18,l=e.translationurl),"clientstyling"in e&&r(19,c=e.clientstyling),"clientstylingurl"in e&&r(20,d=e.clientstylingurl),"categoryid"in e&&r(21,u=e.categoryid),"addfilterselector"in e&&r(0,m=e.addfilterselector),"addsortingselector"in e&&r(1,p=e.addsortingselector),"filterbylogo"in e&&r(2,h=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&i&&o&&u&&h&&(t=new URL(i+"/v1/casino/vendors"),r(4,g=!1),t.searchParams.append("fields","id,name,logo,subVendors,games"),t.searchParams.append("language",s),t.searchParams.append("datasource",o),t.searchParams.append("platform",ut(f)),1<(u.match(/\$/g)||[]).length?(t.searchParams.append("filter",`games(subGroups=${u})`),t.searchParams.append("subVendors",`games(subGroups=${u})`)):t.searchParams.append("filter",`games(groups=${u})`),e=t,r(9,x=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),r(6,b=[]);let n=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach(e=>{var t;0<=(null==(t=(n=n||{currentCategoryId:[]})[u])?void 0:t.indexOf(e.id))?(e.isFilterSelected=!0,b.push(e)):e.isFilterSelected=!1}),r(5,y=e),E()}).catch(e=>{console.error(e),r(10,C=!0),n(e)}).finally(()=>{r(9,x=!1)})})),524296&n.$$.dirty[0]&&c&&a&&((t=document.createElement("style")).innerHTML=c,a.appendChild(t)),1048584&n.$$.dirty[0]&&d&&a){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{hi(e,t[e])})}).catch(e=>{console.log(e)})},[m,p,h,a,g,y,b,w,$,x,C,t,S,M,L,i,o,s,l,c,d,u,()=>S(),function(e,t){e[t].isFilterSelected=this.checked,r(5,y)},e=>M(e),()=>L(),function(e){lt[e?"unshift":"push"](()=>{a=e,r(3,a)})}]}function Si(e,t){o(e,t)}customElements.get("casino-filter")||customElements.define("casino-filter",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ki,Fi,n,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),m()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}});const Mi={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};function Ei(e,t,n){e=e.slice();return e[23]=t[n],e}function Li(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,e,C,F,k,S,M,E,L,G=n[4]("sortby")+"",I=(n[3]||n[4]("all"))+"",_=Object.values(n[5]),T=[];for(let e=0;e<_.length;e+=1)T[e]=Gi(Ei(n,_,e));return{c(){r=pe("div"),a=pe("div"),i=pe("div"),o=z("svg"),s=z("g"),l=z("path"),c=z("path"),d=z("path"),u=ge(),m=pe("div"),p=pe("span"),h=he(G),g=ge(),f=pe("div"),y=pe("span"),b=he(I),v=ge(),w=pe("span"),$=z("svg"),x=z("path"),F=ge(),k=pe("div"),S=pe("ul");for(let e=0;e<T.length;e+=1)T[e].c();fe(l,"id","Path_5267"),fe(l,"data-name","Path 5267"),fe(l,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),fe(l,"transform","translate(-206.448 0)"),fe(l,"fill","#fff"),fe(c,"id","Path_5268"),fe(c,"data-name","Path 5268"),fe(c,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),fe(c,"transform","translate(0 0)"),fe(c,"fill","#fff"),fe(d,"id","Path_5269"),fe(d,"data-name","Path 5269"),fe(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),fe(d,"transform","translate(-412.896 0)"),fe(d,"fill","#fff"),fe(s,"id","sortby"),fe(s,"transform","translate(-306 -342)"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","20"),fe(o,"height","20"),fe(o,"viewBox","0 0 26.003 22.819"),fe(p,"class","SorterName"),fe(f,"class","SorterValueContainer"),fe(m,"class","SorterTextContainer"),fe(i,"class","SorterMainArea"),fe(x,"id","arrow"),fe(x,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(x,"transform","translate(-274.511 -441.088)"),fe(x,"fill","#d1d1d1"),fe($,"xmlns","http://www.w3.org/2000/svg"),fe($,"width","14"),fe($,"height","6.835"),fe($,"viewBox","0 0 14 6.835"),fe(w,"class",e="TriangleInactive "+(n[1]?"TriangleActive":"")),fe(a,"class",C="SorterSelector "+(n[1]?"SorterSelectorOpen":"")),fe(S,"class","SorterDropdown"),fe(k,"class",M="SorterDropdownContainer "+(n[1]?"SorterOpen":"")),fe(r,"class","SorterContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(s,l),de(s,c),de(s,d),de(i,u),de(i,m),de(m,p),de(p,h),de(m,g),de(m,f),de(f,y),de(y,b),de(a,v),de(a,w),de(w,$),de($,x),de(r,F),de(r,k),de(k,S);for(let e=0;e<T.length;e+=1)T[e]&&T[e].m(S,null);E||(L=U(a,"click",n[13]),E=!0)},p(t,n){if(16&n&&G!==(G=t[4]("sortby")+"")&&ye(h,G),24&n&&I!==(I=(t[3]||t[4]("all"))+"")&&ye(b,I),2&n&&e!==(e="TriangleInactive "+(t[1]?"TriangleActive":""))&&fe(w,"class",e),2&n&&C!==(C="SorterSelector "+(t[1]?"SorterSelectorOpen":""))&&fe(a,"class",C),120&n){let e;for(_=Object.values(t[5]),e=0;e<_.length;e+=1){var r=Ei(t,_,e);T[e]?T[e].p(r,n):(T[e]=Gi(r),T[e].c(),T[e].m(S,null))}for(;e<T.length;e+=1)T[e].d(1);T.length=_.length}2&n&&M!==(M="SorterDropdownContainer "+(t[1]?"SorterOpen":""))&&fe(k,"class",M)},d(e){e&&me(r),j(T,e),E=!1,L()}}}function Gi(n){let r,a,i,o,s,l,c,d,u,m,p,h,e=n[23]+"";function g(){return n[14](n[23])}return{c(){r=pe("li"),a=pe("label"),i=pe("input"),s=ge(),l=pe("span"),c=ge(),d=pe("span"),u=he(e),m=ge(),fe(i,"type","radio"),fe(i,"name","radio"),i.value=n[23],i.checked=o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"),fe(l,"class","SortersCheckmark"),fe(a,"class","SorterLabel CustomRadioButton"),fe(r,"class","SorterItem"),r.value=n[23]},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,s),de(a,l),de(a,c),de(a,d),de(d,u),de(r,m),p||(h=U(i,"click",g),p=!0)},p(e,t){n=e,24&t&&o!==(o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"))&&(i.checked=o)},d(e){e&&me(r),p=!1,h()}}}function Ii(n){let r;function a(e){if(!e[2])return Li}let i=a(n),o=i&&i(n);return{c(){r=pe("div"),o&&o.c(),this.c=N},m(e,t){ue(e,r,t),o&&o.m(r,null),n[15](r)},p(e,[t]){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o&&o.d(),n[15](null)}}}function _i(t,e,r){let n;mt(t,ra,e=>r(4,n=e));let a,{lang:i=""}=e,{translationurl:o=""}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{categoryid:c=""}=e,d=!1,u=!0,m="",p="All";var h,g;({withLocale:h,translations:g}={withLocale:"en",translations:{}}),ct.subscribe(e=>{null==e&&(Sr.set(g),ct.set(h))}),Object.keys(Mi).forEach(e=>{Si(e,Mi[e])});const f={All:n("all"),name:n("az"),isNew:n("newest"),"advancedTags(name(hot))":n("hottest")},y=e=>{r(3,p=e);var t,n=localStorage.getItem("vendorSortingBy");for(t in m=e,f)if(f[t]===e){m=t;break}null==n?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):((n=JSON.parse(n))[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(n))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),r(1,d=!d)},b=()=>{r(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&r(1,d=!1)};return st(()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})),t.$$set=e=>{"lang"in e&&r(8,i=e.lang),"translationurl"in e&&r(9,o=e.translationurl),"clientstyling"in e&&r(10,s=e.clientstyling),"clientstylingurl"in e&&r(11,l=e.clientstylingurl),"categoryid"in e&&r(12,c=e.categoryid)},t.$$.update=()=>{if(4096&t.$$.dirty&&c&&(r(3,p="All"),r(2,u=!1),r(1,d=!1),e=null==(e=JSON.parse(localStorage.getItem("vendorSortingBy")))?void 0:e[c],r(3,p=e||"All"),r(3,p=f[e])),1025&t.$$.dirty&&s&&a&&((e=document.createElement("style")).innerHTML=s,a.appendChild(e)),2049&t.$$.dirty&&l&&a){let t=document.createElement("style");fetch(new URL(l)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e;512&t.$$.dirty&&o&&fetch(o).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Si(e,t[e])})}).catch(e=>{console.log(e)})},[a,d,u,p,n,f,y,b,i,o,s,l,c,()=>b(),e=>y(e),function(e){lt[e?"unshift":"push"](()=>{a=e,r(0,a)})}]}function Ti(e,t,n){e=e.slice();return e[76]=t[n],e[78]=n,e}function Pi(e,t,n){e=e.slice();return e[76]=t[n],e[79]=t,e[78]=n,e}function Ri(e,t,n){e=e.slice();return e[76]=t[n],e[78]=n,e}function Di(e){let n;function r(e){return e[25]?Oi:e[36]?Ni:void 0}let a=r(e),i=a&&a(e);return{c(){n=pe("div"),i&&i.c()},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n,null)))},d(e){e&&me(n),i&&i.d()}}}function Bi(e){let n,r,a;function i(e){return e[29]?mo:e[26].length?co:uo}let o=i(e),s=o(e);function l(e){return e[26]?ho:po}let c=l(e),d=c(e);return{c(){n=pe("div"),r=pe("div"),s.c(),a=ge(),d.c(),fe(r,"class","CasinoGamesHeader Searched "+(dt(e[41])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,r),s.m(r,null),de(n,a),d.m(n,null)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&me(n),s.d(),d.d()}}}function Ai(e){let n;function r(e){return e[31]?bo:yo}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a!==(a=r(e))&&(i.d(1),i=a(e))&&(i.c(),i.m(n.parentNode,n))},d(e){i.d(e),e&&me(n)}}}function Ni(n){let r,a,i,o,s="true"!==n[17]&&Hi(n);function l(e){return e[22]&&!e[33]?Ui:e[39]?zi:ji}let c=l(n),d=c(n);return{c(){r=pe("div"),s&&s.c(),a=ge(),i=pe("ul"),d.c(),fe(i,"class",o=(0!=n[39].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer")},m(e,t){ue(e,r,t),s&&s.m(r,null),de(r,a),de(r,i),d.m(i,null),n[51](i)},p(e,t){"true"!==e[17]?s?s.p(e,t):((s=Hi(e)).c(),s.m(r,a)):s&&(s.d(1),s=null),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(i,null))),256&t[1]&&o!==(o=(0!=e[39].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"class",o)},d(e){e&&me(r),s&&s.d(),d.d(),n[51](null)}}}function Oi(e){let n,r,a="true"!==e[17]&&eo(e);function i(e){return e[22]&&!e[33]?so:0!==e[26].length?oo:io}let o=i(e),s=o(e);return{c(){n=pe("div"),a&&a.c(),r=ge(),s.c(),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),a&&a.m(n,null),de(n,r),s.m(n,null)},p(e,t){"true"!==e[17]?a?a.p(e,t):((a=eo(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(n,null)))},d(e){e&&me(n),a&&a.d(),s.d()}}}function Hi(n){let r,a,i,o,s,l,c,d,u=n[40]("favorites")+"",m=n[39].items.length+"";return{c(){r=pe("div"),a=pe("h3"),i=he(u),o=ge(),s=pe("span"),l=he("("),c=he(m),d=he(")"),fe(s,"class","CategoryFavName"),fe(a,"class","CategoryName"),fe(r,"class","CasinoGamesHeader")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(s,l),de(s,c),de(s,d),n[50](a)},p(e,t){512&t[1]&&u!==(u=e[40]("favorites")+"")&&ye(i,u),256&t[1]&&m!==(m=e[39].items.length+"")&&ye(c,m)},d(e){e&&me(r),n[50](null)}}}function ji(e){let n,r,a=e[40]("waiting")+"";return{c(){n=pe("p"),r=he(a)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("waiting")+"")&&ye(r,a)},d(e){e&&me(n)}}}function zi(t){let r,a=t[39].items,i=[];for(let e=0;e<a.length;e+=1)i[e]=Qi(Ti(t,a,e));let o=null;return a.length||(o=Wi(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,r,n),o&&o.m(t,n)},p(t,n){if(131048&n[0]|4064&n[1]){let e;for(a=t[39].items,e=0;e<a.length;e+=1){const o=Ti(t,a,e);i[e]?i[e].p(o,n):(i[e]=Qi(o),i[e].c(),i[e].m(r.parentNode,r))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length,!a.length&&o?o.p(t,n):a.length?o&&(o.d(1),o=null):((o=Wi(t)).c(),o.m(r.parentNode,r))}},d(e){j(i,e),e&&me(r),o&&o.d(e)}}}function Ui(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Wi(e){let n,r,a,i,o,s,l,c,d,u,m,p,h,g,f=e[40]("noFavoritesTitle")+"",t=(b=e,dt(b[41])?Vi:Yi),y=t(e);var b;return{c(){n=pe("p"),r=z("svg"),a=z("rect"),i=z("rect"),o=z("circle"),s=z("path"),l=z("path"),c=z("path"),d=z("path"),u=ge(),m=pe("span"),p=he(f),h=ge(),y.c(),g=ge(),fe(a,"x","1"),fe(a,"y","18.053"),fe(a,"width","90.263"),fe(a,"height","90.263"),fe(a,"rx","12"),fe(a,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(a,"stroke-width","1.5"),fe(i,"x","106.737"),fe(i,"y","56.737"),fe(i,"width","90.263"),fe(i,"height","90.263"),fe(i,"rx","12"),fe(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(i,"stroke-width","1.5"),fe(o,"cx","70.5"),fe(o,"cy","32.237"),fe(o,"r","31.487"),fe(o,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(o,"stroke-width","1.5"),fe(o,"stroke-dasharray","5 0"),fe(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),fe(s,"fill","var(--emfe-w-color-gray-150, #828282)"),fe(l,"d","M78 43h11v13H78V43z"),fe(l,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),fe(c,"fill","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"stroke-linecap","round"),fe(c,"stroke-linejoin","round"),fe(d,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),fe(d,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(d,"stroke-width","1.5"),fe(d,"stroke-linecap","round"),fe(d,"stroke-linejoin","round"),fe(r,"width","198"),fe(r,"height","148"),fe(r,"viewBox","0 0 198 148"),fe(r,"fill","none"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(m,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class","NoFavoriteGames "+(dt(e[41])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(r,o),de(r,s),de(r,l),de(r,c),de(r,d),de(n,u),de(n,m),de(m,p),de(n,h),y.m(n,null),de(n,g)},p(e,t){512&t[1]&&f!==(f=e[40]("noFavoritesTitle")+"")&&ye(p,f),y.p(e,t)},d(e){e&&me(n),y.d()}}}function Yi(e){let n,r,a=e[40]("noFavorites")+"";return{c(){n=pe("span"),r=he(a),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noFavorites")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Vi(e){let n,r,a=e[40]("noFavoritesMobile")+"";return{c(){n=pe("span"),r=he(a),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noFavoritesMobile")+"")&&ye(r,a)},d(e){e&&me(n)}}}function qi(e){let n,r=e[76].gameModel.isFavorite&&Zi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[76].gameModel.isFavorite?r?r.p(e,t):((r=Zi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function Zi(e){let n,r=function(e){let n,r,a;function i(e,t){return 256&t[1]&&(r=null),(n=null==n?!!dt(e[41]):n)?Ki:(r=null==r?!!e[76].gameModel.platform.includes("PC"):r)?Ji:void 0}let o=i(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),a=c()},m(e,t){s&&s.m(e,t),ue(e,a,t)},p(e,t){o===(o=i(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(a.parentNode,a)))},d(e){s&&s.d(e),e&&me(a)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&me(n)}}}function Ji(e){let n,r,a,i,o,s,l,c,d,u,m,p,h,g,f;return{c(){S(n=pe("casino-game-thumbnail"),"class",r=""+(wo+(e[76].cellSize||"1x1"))),S(n,"part",a=""+(wo+(e[76].cellSize||"1x1"))),S(n,"session",e[6]),S(n,"userid",e[7]),S(n,"lang",e[5]),S(n,"favorites",e[8]),S(n,"gamethumbnail",i=e[76].gameModel.thumbnail),S(n,"gamename",o=e[76].gameModel.name),S(n,"gamevendor",s=e[76].gameModel.vendor.name),S(n,"gamelaunchurl",l=e[76].launchUrl),S(n,"gameisnew",c=e[76].gameModel.isNew),S(n,"gametag",d=0<e[76].gameModel.advancedTags?.length&&e[42](e[76].gameModel.advancedTags)),S(n,"gamecellsize",u=e[76].cellSize),S(n,"gameid",m=e[76].gameModel.id),S(n,"gamefunmode",p=e[76].gameModel.hasFunMode),S(n,"showgamename",e[12]),S(n,"gamefavorite",h=e[76].gameModel.isFavorite),S(n,"showfavoredcategory",e[36]),S(n,"connectlive",g=1==e[37][e[76].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[38]),S(n,"currency",e[11]),S(n,"livelobbyendpoint",f=e[76].gameModel.details?e[76].gameModel.launchUrl:""),S(n,"clientstyling",e[9]),S(n,"clientstylingurl",e[10]),S(n,"endpoint",e[3]),S(n,"livecasino",e[13]),S(n,"gamepagemodalurl",e[14]),S(n,"integratedgameframedesktop",e[15]),S(n,"integratedgameframemobile",e[16])},m(e,t){ue(e,n,t)},p(e,t){256&t[1]&&r!==(r=""+(wo+(e[76].cellSize||"1x1")))&&S(n,"class",r),256&t[1]&&a!==(a=""+(wo+(e[76].cellSize||"1x1")))&&S(n,"part",a),64&t[0]&&S(n,"session",e[6]),128&t[0]&&S(n,"userid",e[7]),32&t[0]&&S(n,"lang",e[5]),256&t[0]&&S(n,"favorites",e[8]),256&t[1]&&i!==(i=e[76].gameModel.thumbnail)&&S(n,"gamethumbnail",i),256&t[1]&&o!==(o=e[76].gameModel.name)&&S(n,"gamename",o),256&t[1]&&s!==(s=e[76].gameModel.vendor.name)&&S(n,"gamevendor",s),256&t[1]&&l!==(l=e[76].launchUrl)&&S(n,"gamelaunchurl",l),256&t[1]&&c!==(c=e[76].gameModel.isNew)&&S(n,"gameisnew",c),256&t[1]&&d!==(d=0<e[76].gameModel.advancedTags?.length&&e[42](e[76].gameModel.advancedTags))&&S(n,"gametag",d),256&t[1]&&u!==(u=e[76].cellSize)&&S(n,"gamecellsize",u),256&t[1]&&m!==(m=e[76].gameModel.id)&&S(n,"gameid",m),256&t[1]&&p!==(p=e[76].gameModel.hasFunMode)&&S(n,"gamefunmode",p),4096&t[0]&&S(n,"showgamename",e[12]),256&t[1]&&h!==(h=e[76].gameModel.isFavorite)&&S(n,"gamefavorite",h),32&t[1]&&S(n,"showfavoredcategory",e[36]),320&t[1]&&g!==(g=1==e[37][e[76].id]?"connect":"disconnect")&&S(n,"connectlive",g),128&t[1]&&S(n,"visibilityconnect",e[38]),2048&t[0]&&S(n,"currency",e[11]),256&t[1]&&f!==(f=e[76].gameModel.details?e[76].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",f),512&t[0]&&S(n,"clientstyling",e[9]),1024&t[0]&&S(n,"clientstylingurl",e[10]),8&t[0]&&S(n,"endpoint",e[3]),8192&t[0]&&S(n,"livecasino",e[13]),16384&t[0]&&S(n,"gamepagemodalurl",e[14]),32768&t[0]&&S(n,"integratedgameframedesktop",e[15]),65536&t[0]&&S(n,"integratedgameframemobile",e[16])},d(e){e&&me(n)}}}function Ki(e){let n,r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android"),a=r&&Xi(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){(r=256&t[1]?e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android"):r)?a?a.p(e,t):((a=Xi(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function Xi(e){let n,r,a,i,o,s,l,c,d,u,m,p,h,g,f;return{c(){S(n=pe("casino-game-thumbnail"),"class",r=""+(wo+(e[76].cellSize||"1x1"))),S(n,"part",a=""+(wo+(e[76].cellSize||"1x1"))),S(n,"session",e[6]),S(n,"userid",e[7]),S(n,"lang",e[5]),S(n,"favorites",e[8]),S(n,"gamethumbnail",i=e[76].gameModel.thumbnail),S(n,"gamename",o=e[76].gameModel.name),S(n,"gamevendor",s=e[76].gameModel.vendor.name),S(n,"gamelaunchurl",l=e[76].launchUrl),S(n,"gameisnew",c=e[76].gameModel.isNew),S(n,"gametag",d=0<e[76].gameModel.advancedTags?.length&&e[42](e[76].gameModel.advancedTags)),S(n,"gamecellsize",u=e[76].cellSize),S(n,"gameid",m=e[76].gameModel.id),S(n,"gamefunmode",p=e[76].gameModel.hasFunMode),S(n,"showgamename",e[12]),S(n,"gamefavorite",h=e[76].gameModel.isFavorite),S(n,"showfavoredcategory",e[36]),S(n,"connectlive",g=1==e[37][e[76].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[38]),S(n,"currency",e[11]),S(n,"livelobbyendpoint",f=e[76].gameModel.details?e[76].gameModel.launchUrl:""),S(n,"clientstyling",e[9]),S(n,"clientstylingurl",e[10]),S(n,"endpoint",e[3]),S(n,"livecasino",e[13]),S(n,"gamepagemodalurl",e[14]),S(n,"integratedgameframedesktop",e[15]),S(n,"integratedgameframemobile",e[16])},m(e,t){ue(e,n,t)},p(e,t){256&t[1]&&r!==(r=""+(wo+(e[76].cellSize||"1x1")))&&S(n,"class",r),256&t[1]&&a!==(a=""+(wo+(e[76].cellSize||"1x1")))&&S(n,"part",a),64&t[0]&&S(n,"session",e[6]),128&t[0]&&S(n,"userid",e[7]),32&t[0]&&S(n,"lang",e[5]),256&t[0]&&S(n,"favorites",e[8]),256&t[1]&&i!==(i=e[76].gameModel.thumbnail)&&S(n,"gamethumbnail",i),256&t[1]&&o!==(o=e[76].gameModel.name)&&S(n,"gamename",o),256&t[1]&&s!==(s=e[76].gameModel.vendor.name)&&S(n,"gamevendor",s),256&t[1]&&l!==(l=e[76].launchUrl)&&S(n,"gamelaunchurl",l),256&t[1]&&c!==(c=e[76].gameModel.isNew)&&S(n,"gameisnew",c),256&t[1]&&d!==(d=0<e[76].gameModel.advancedTags?.length&&e[42](e[76].gameModel.advancedTags))&&S(n,"gametag",d),256&t[1]&&u!==(u=e[76].cellSize)&&S(n,"gamecellsize",u),256&t[1]&&m!==(m=e[76].gameModel.id)&&S(n,"gameid",m),256&t[1]&&p!==(p=e[76].gameModel.hasFunMode)&&S(n,"gamefunmode",p),4096&t[0]&&S(n,"showgamename",e[12]),256&t[1]&&h!==(h=e[76].gameModel.isFavorite)&&S(n,"gamefavorite",h),32&t[1]&&S(n,"showfavoredcategory",e[36]),320&t[1]&&g!==(g=1==e[37][e[76].id]?"connect":"disconnect")&&S(n,"connectlive",g),128&t[1]&&S(n,"visibilityconnect",e[38]),2048&t[0]&&S(n,"currency",e[11]),256&t[1]&&f!==(f=e[76].gameModel.details?e[76].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",f),512&t[0]&&S(n,"clientstyling",e[9]),1024&t[0]&&S(n,"clientstylingurl",e[10]),8&t[0]&&S(n,"endpoint",e[3]),8192&t[0]&&S(n,"livecasino",e[13]),16384&t[0]&&S(n,"gamepagemodalurl",e[14]),32768&t[0]&&S(n,"integratedgameframedesktop",e[15]),65536&t[0]&&S(n,"integratedgameframemobile",e[16])},d(e){e&&me(n)}}}function Qi(e){let n,r=e[76].gameModel&&qi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[76].gameModel?r?r.p(e,t):((r=qi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function eo(n){let r,a,i,o,s=n[25].name+"";function l(e){return e[27]?no:to}let c=l(n),d=c(n);return{c(){r=pe("div"),a=pe("h3"),i=he(s),o=ge(),d.c(),fe(a,"class","CategoryName"),fe(r,"class","CasinoGamesHeader")},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[46](a),de(r,o),d.m(r,null)},p(e,t){33554432&t[0]&&s!==(s=e[25].name+"")&&ye(i,s),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(r,null)))},d(e){e&&me(r),n[46](null),d.d()}}}function to(e){let n,r,a,i="true"==e[1]&&ro(e),o="true"==e[2]&&ao(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),o&&o.c(),fe(n,"class",a="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),o&&o.m(n,null)},p(e,t){"true"==e[1]?i?i.p(e,t):((i=ro(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),"true"==e[2]?o?o.p(e,t):((o=ao(e)).c(),o.m(n,null)):o&&(o.d(1),o=null),6&t[0]&&a!==(a="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")&&fe(n,"class",a)},d(e){e&&me(n),i&&i.d(),o&&o.d()}}}function no(n){let r,a,i,o,s,l,c,d,u=n[40]("viewAll")+"",m=n[25].games.total+"";return{c(){r=pe("a"),a=pe("span"),i=he(u),o=he(" ("),s=he(m),l=he(")"),fe(a,"class","CategoryLoadMore"),fe(r,"class","CategoryNameLink")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(a,l),c||(d=U(r,"click",n[47]),c=!0)},p(e,t){512&t[1]&&u!==(u=e[40]("viewAll")+"")&&ye(i,u),33554432&t[0]&&m!==(m=e[25].games.total+"")&&ye(s,m)},d(e){e&&me(r),c=!1,d()}}}function ro(e){let n;return{c(){S(n=pe("casino-filter"),"clientstylingurl",e[10]),S(n,"clientstyling",e[9]),S(n,"endpoint",e[3]),S(n,"datasource",e[4]),S(n,"lang",e[5]),S(n,"categoryid",e[0]),S(n,"addfilterselector",e[1]),S(n,"addsortingselector",e[2]),S(n,"filterbylogo",e[18])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&S(n,"clientstylingurl",e[10]),512&t[0]&&S(n,"clientstyling",e[9]),8&t[0]&&S(n,"endpoint",e[3]),16&t[0]&&S(n,"datasource",e[4]),32&t[0]&&S(n,"lang",e[5]),1&t[0]&&S(n,"categoryid",e[0]),2&t[0]&&S(n,"addfilterselector",e[1]),4&t[0]&&S(n,"addsortingselector",e[2]),262144&t[0]&&S(n,"filterbylogo",e[18])},d(e){e&&me(n)}}}function ao(e){let n;return{c(){S(n=pe("casino-sort"),"clientstylingurl",e[10]),S(n,"clientstyling",e[9]),S(n,"lang",e[5]),S(n,"categoryid",e[0]),S(n,"addsortingselector",e[2])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&S(n,"clientstylingurl",e[10]),512&t[0]&&S(n,"clientstyling",e[9]),32&t[0]&&S(n,"lang",e[5]),1&t[0]&&S(n,"categoryid",e[0]),4&t[0]&&S(n,"addsortingselector",e[2])},d(e){e&&me(n)}}}function io(e){let n,r,a=e[40]("noResults")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","NoSearchResults")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noResults")+"")&&ye(r,a)},d(e){e&&me(n)}}}function oo(n){let a,e,i=n[26],o=[];for(let e=0;e<i.length;e+=1)o[e]=lo(Pi(n,i,e));return{c(){a=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(a,"class",e=(0===n[39].items.length&&n[36]?"":"CasinoGamesGrid")+" "+(n[24]&&"true"==n[19]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null);n[49](a)},p(t,n){if(69861352&n[0]|2240&n[1]){let e;for(i=t[26],e=0;e<i.length;e+=1){var r=Pi(t,i,e);o[e]?o[e].p(r,n):(o[e]=lo(r),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}17301504&n[0]|288&n[1]&&e!==(e=(0===t[39].items.length&&t[36]?"":"CasinoGamesGrid")+" "+(t[24]&&"true"==t[19]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&fe(a,"class",e)},d(e){e&&me(a),j(o,e),n[49](null)}}}function so(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function lo(e){let n,r=function(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b=n[78];const v=()=>n[48](r,b),w=()=>n[48](null,b);return{c(){S(r=pe("casino-game-thumbnail"),"session",n[6]),S(r,"userid",n[7]),S(r,"lang",n[5]),S(r,"class",a=""+(wo+(n[76].cellSize||"1x1"))),S(r,"part",i=""+(wo+(n[76].cellSize||"1x1"))),S(r,"favorites",n[8]),S(r,"gamethumbnail",o=n[76].thumbnail),S(r,"gamename",s=n[76].name),S(r,"gamevendor",l=n[76].vendor.name),S(r,"gamelaunchurl",c=n[76].launchUrl),S(r,"gameisnew",d=n[76].isNew),S(r,"gametag",u=0<n[76].advancedTags?.length&&n[42](n[76].advancedTags)),S(r,"gamecellsize",m=n[76].cellSize),S(r,"gameid",p=n[76].id),S(r,"gamefunmode",h=n[76].hasFunMode),S(r,"gamefavorite",g=n[76].isFavorite),S(r,"showgamename",n[12]),S(r,"connectlive",f=1==n[37][n[76].id]?"connect":"disconnect"),S(r,"visibilityconnect",n[38]),S(r,"currency",n[11]),S(r,"livelobbyendpoint",y=n[76].details?n[76].href:""),S(r,"clientstyling",n[9]),S(r,"clientstylingurl",n[10]),S(r,"endpoint",n[3]),S(r,"livecasino",n[13]),S(r,"gamepagemodalurl",n[14]),S(r,"integratedgameframedesktop",n[15]),S(r,"integratedgameframemobile",n[16]),S(r,"casinogamesgridslider",n[19])},m(e,t){ue(e,r,t),v()},p(e,t){n=e,64&t[0]&&S(r,"session",n[6]),128&t[0]&&S(r,"userid",n[7]),32&t[0]&&S(r,"lang",n[5]),67108864&t[0]&&a!==(a=""+(wo+(n[76].cellSize||"1x1")))&&S(r,"class",a),67108864&t[0]&&i!==(i=""+(wo+(n[76].cellSize||"1x1")))&&S(r,"part",i),256&t[0]&&S(r,"favorites",n[8]),67108864&t[0]&&o!==(o=n[76].thumbnail)&&S(r,"gamethumbnail",o),67108864&t[0]&&s!==(s=n[76].name)&&S(r,"gamename",s),67108864&t[0]&&l!==(l=n[76].vendor.name)&&S(r,"gamevendor",l),67108864&t[0]&&c!==(c=n[76].launchUrl)&&S(r,"gamelaunchurl",c),67108864&t[0]&&d!==(d=n[76].isNew)&&S(r,"gameisnew",d),67108864&t[0]&&u!==(u=0<n[76].advancedTags?.length&&n[42](n[76].advancedTags))&&S(r,"gametag",u),67108864&t[0]&&m!==(m=n[76].cellSize)&&S(r,"gamecellsize",m),67108864&t[0]&&p!==(p=n[76].id)&&S(r,"gameid",p),67108864&t[0]&&h!==(h=n[76].hasFunMode)&&S(r,"gamefunmode",h),67108864&t[0]&&g!==(g=n[76].isFavorite)&&S(r,"gamefavorite",g),4096&t[0]&&S(r,"showgamename",n[12]),67108864&t[0]|64&t[1]&&f!==(f=1==n[37][n[76].id]?"connect":"disconnect")&&S(r,"connectlive",f),128&t[1]&&S(r,"visibilityconnect",n[38]),2048&t[0]&&S(r,"currency",n[11]),67108864&t[0]&&y!==(y=n[76].details?n[76].href:"")&&S(r,"livelobbyendpoint",y),512&t[0]&&S(r,"clientstyling",n[9]),1024&t[0]&&S(r,"clientstylingurl",n[10]),8&t[0]&&S(r,"endpoint",n[3]),8192&t[0]&&S(r,"livecasino",n[13]),16384&t[0]&&S(r,"gamepagemodalurl",n[14]),32768&t[0]&&S(r,"integratedgameframedesktop",n[15]),65536&t[0]&&S(r,"integratedgameframemobile",n[16]),524288&t[0]&&S(r,"casinogamesgridslider",n[19]),b!==n[78]&&(w(),b=n[78],v())},d(e){e&&me(r),w()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&me(n)}}}function co(e){let n,r,a=e[40]("searchedItems")+"";return{c(){n=pe("h3"),r=he(a),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("searchedItems")+"")&&ye(r,a)},d(e){e&&me(n)}}}function uo(e){let n,r,a=e[40]("noResults")+"";return{c(){n=pe("h3"),r=he(a),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noResults")+"")&&ye(r,a)},d(e){e&&me(n)}}}function mo(e){let n,r,a=e[40]("recentSearchedItems")+"";return{c(){n=pe("h3"),r=he(a),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("recentSearchedItems")+"")&&ye(r,a)},d(e){e&&me(n)}}}function po(e){let n;return{c(){(n=pe("p")).textContent="Waiting",fe(n,"class","SearchWaiting")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function ho(t){let r,a,i=!t[32]&&go(t),o=t[26],s=[];for(let e=0;e<o.length;e+=1)s[e]=fo(Ri(t,o,e));return{c(){i&&i.c(),r=ge(),a=pe("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),ue(e,r,t),ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(a,null)},p(t,n){if(t[32]?i&&(i.d(1),i=null):i?i.p(t,n):((i=go(t)).c(),i.m(r.parentNode,r)),1140981736&n[0]|2048&n[1]){let e;for(o=t[26],e=0;e<o.length;e+=1){const i=Ri(t,o,e);s[e]?s[e].p(i,n):(s[e]=fo(i),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){i&&i.d(e),e&&me(r),e&&me(a),j(s,e)}}}function go(e){let n,r,a=e[40]("noRecentSearch")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(dt(e[41])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noRecentSearch")+"")&&ye(r,a)},d(e){e&&me(n)}}}function fo(e){let n,r,a,i,o,s,l,c,d,u,m,p,h,g;return{c(){S(n=pe("casino-game-thumbnail"),"class",r=""+(wo+(e[76].cellSize||"1x1"))),S(n,"part",a=""+(wo+(e[76].cellSize||"1x1"))),S(n,"session",e[6]),S(n,"userid",e[7]),S(n,"lang",e[5]),S(n,"searchitem",e[30]),S(n,"favorites",e[8]),S(n,"gamethumbnail",i=e[76].thumbnail),S(n,"gamename",o=e[76].name),S(n,"gamevendor",s=e[76].vendor.name),S(n,"gamelaunchurl",l=e[76].launchUrl),S(n,"gameisnew",c=e[76].isNew),S(n,"gametag",d=0<e[76].advancedTags?.length&&e[42](e[76].advancedTags)),S(n,"gamecellsize",u=e[76].cellSize),S(n,"gameid",m=e[76].id),S(n,"gamefunmode",p=e[76].hasFunMode),S(n,"showgamename",e[12]),S(n,"gamefavorite",h=e[76].isFavorite),S(n,"currency",e[11]),S(n,"livelobbyendpoint",g=e[76].details?e[76].href:""),S(n,"clientstyling",e[9]),S(n,"clientstylingurl",e[10]),S(n,"endpoint",e[3]),S(n,"livecasino",e[13]),S(n,"gamepagemodalurl",e[14]),S(n,"integratedgameframedesktop",e[15]),S(n,"integratedgameframemobile",e[16])},m(e,t){ue(e,n,t)},p(e,t){67108864&t[0]&&r!==(r=""+(wo+(e[76].cellSize||"1x1")))&&S(n,"class",r),67108864&t[0]&&a!==(a=""+(wo+(e[76].cellSize||"1x1")))&&S(n,"part",a),64&t[0]&&S(n,"session",e[6]),128&t[0]&&S(n,"userid",e[7]),32&t[0]&&S(n,"lang",e[5]),1073741824&t[0]&&S(n,"searchitem",e[30]),256&t[0]&&S(n,"favorites",e[8]),67108864&t[0]&&i!==(i=e[76].thumbnail)&&S(n,"gamethumbnail",i),67108864&t[0]&&o!==(o=e[76].name)&&S(n,"gamename",o),67108864&t[0]&&s!==(s=e[76].vendor.name)&&S(n,"gamevendor",s),67108864&t[0]&&l!==(l=e[76].launchUrl)&&S(n,"gamelaunchurl",l),67108864&t[0]&&c!==(c=e[76].isNew)&&S(n,"gameisnew",c),67108864&t[0]&&d!==(d=0<e[76].advancedTags?.length&&e[42](e[76].advancedTags))&&S(n,"gametag",d),67108864&t[0]&&u!==(u=e[76].cellSize)&&S(n,"gamecellsize",u),67108864&t[0]&&m!==(m=e[76].id)&&S(n,"gameid",m),67108864&t[0]&&p!==(p=e[76].hasFunMode)&&S(n,"gamefunmode",p),4096&t[0]&&S(n,"showgamename",e[12]),67108864&t[0]&&h!==(h=e[76].isFavorite)&&S(n,"gamefavorite",h),2048&t[0]&&S(n,"currency",e[11]),67108864&t[0]&&g!==(g=e[76].details?e[76].href:"")&&S(n,"livelobbyendpoint",g),512&t[0]&&S(n,"clientstyling",e[9]),1024&t[0]&&S(n,"clientstylingurl",e[10]),8&t[0]&&S(n,"endpoint",e[3]),8192&t[0]&&S(n,"livecasino",e[13]),16384&t[0]&&S(n,"gamepagemodalurl",e[14]),32768&t[0]&&S(n,"integratedgameframedesktop",e[15]),65536&t[0]&&S(n,"integratedgameframemobile",e[16])},d(e){e&&me(n)}}}function yo(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function bo(e){let n;return{c(){(n=pe("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function vo(n){let r;function a(e){return e[23]?Ai:e[28]?Bi:Di}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=N,fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[52](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o.d(),n[52](null)}}}customElements.get("casino-sort")||customElements.define("casino-sort",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},_i,Ii,n,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),m()}});const wo="game-tile-";function $o(t,e,l){let D;mt(t,ra,e=>l(40,D=e));let a,i,o,n,B,r,s,c,d,u,{endpoint:m=""}=e,{datasource:p=""}=e,{lang:h=""}=e,{session:A=""}=e,{userid:N=""}=e,{favorites:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{currency:O=""}=e,{categoryid:v=""}=e,{showgamename:H=""}=e,{livecasino:j="false"}=e,{gamepagemodalurl:z="false"}=e,{integratedgameframedesktop:U="false"}=e,{integratedgameframemobile:W="false"}=e,{casinomygames:w="false"}=e,{addfilterselector:Y="false"}=e,{addsortingselector:V="false"}=e,{filterbylogo:q=""}=e,{casinogamesgridslider:Z="false"}=e,$=!0,J=!1,x=!0,K=window.navigator.userAgent,C=[],F=!0,k=40,S=!1,M=!1,X=!1,E=!1,Q=!1,ee=!0,te=!1,L=!1,ne=!1,G=new Array(1e4),I={},re="",_="",T={items:[],count:0,name:""},ae=(Object.keys(Ta).forEach(e=>{_a(e,Ta[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>k&&oe(v),l(37,I[t]=1,I)):l(37,I[t]=0,I)})}));const P=(e,r,a)=>{l(22,$=!0);let t,i="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),s=JSON.parse(localStorage.getItem("vendorSortingBy"));return i=1<(v.match(/\$/g)||[]).length?(t=v.split("$").slice(0,2).join("$"),new URL(`${m}/v1/casino/groups/${p}/${t}/subGroups`)):new URL(`${m}/v1/casino/groups/${p}/`+v),new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",ut(K)),i.searchParams.append("pagination",`games(offset=${r},limit=${a})`),i.searchParams.append("language",h),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),o&&o[v])if(o[v].length&&!1===x&&!1===L){let t="";l(31,Q=!0),o[v].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),i.searchParams.append("filter",""+t)}else l(31,Q=!1);s&&(s[v]?s[v]&&"All"!=s[v]&&("isNew"==s[v]||"advancedTags(name(hot))"==s[v]?(i.searchParams.append("sortedField",`games(${s[v]})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${s[v]})`)):_&&"All"!=_&&("advancedTags(name(hot))"==_||"isNew"==_?(i.searchParams.append("sortedField",`games(${_})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${_})`))),fetch(i).then(e=>e.json()).then(e=>{l(22,$=!1),1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),l(45,u=!0),l(23,J=!1),B=e.games.total,t(e)},e=>{l(23,J=!0),console.error(e),n(e)})})},ie=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==v&&(l(28,S=!1),l(24,x=!1),l(27,F=!1),l(26,C=t.data.mostPlayedGames),l(25,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),l(22,$=!1);break;case"LastPlayedData":"LASTPLAYED"==v&&(l(28,S=!1),l(24,x=!1),l(27,F=!1),l(26,C=t.data.lastPlayedGames),l(25,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),l(22,$=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(28,S=!0),l(29,M=!0),0<t.data.searchData.length?(l(26,C=t.data.searchData),l(32,ee=!0),C&&C.forEach(e=>{e.isFavorite=R(e.id)})):(l(26,C=[]),l(32,ee=!1));break;case"OutOfRecentSearches":l(28,S=!1),l(29,M=!1);break;case"SearchData":l(28,S=!0),l(29,M=!1),l(26,C=t.data.searchData.items||[]),l(30,E=!0),t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+v:l(28,S=!1),l(24,x=!0),l(1,Y="false"),l(2,V="false"),l(27,F=!0),l(30,E=!1),ne=!1,t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items),P(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(25,o=e),l(26,C=o.games.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":k=20;break;case"ApplySorter":l(0,v=t.data.itemId),_=t.data.sortBy,P(0,0,k).then(e=>{l(25,o=e),l(26,C=o.games.items),l(27,F=!1)});break;case"CategoryUpdate":l(28,S=!1),l(24,x=!1),l(30,E=!1),ne=!0,l(0,v=t.data.itemId),"MOSTPLAYED"!==v&&l(27,F=!1),"true"!==w&&P(0,0,k).then(e=>{l(25,o=e),o.games.items.forEach(e=>{e.isFavorite=R(e.id)}),l(26,C=o.games.items),l(27,F=!1),C.length<10&&0==t.data.origin&&(X=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:X},window.location.href)},500))});break;case"FavoriteUpdate":o&&(l(26,C=o.games.items),C.forEach(e=>{e.isFavorite=R(e.id)})),t.data.lobbyScreen&&l(24,x=!0);break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(s=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;L?x||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate",lobbyScreen:t.data.lobbyScreen},window.location.href)}break;case"ShowFavoriteSection":l(24,x=!1),t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),l(39,T.items=(e=e,T,n=window.navigator.userAgent,dt(n)?e.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):e.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),T),l(39,T.name="Favorites",T),l(36,L=!0),l(22,$=!1));break;case"UserSessionID":if(a=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&a&&0<a.length){var r=`${m}/v1/player/${i}/favorites/`;n=a;l(22,$=!0);let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{l(22,$=!1),s=e?e.items:[],C.forEach(e=>{e.isFavorite=R(e.id)});e=C;l(26,C=void 0),l(26,C=e),t(s)}).catch(e=>{console.error(e),n(e)})});return}else return void 0}var e,n},oe=e=>{k+=1,l(33,te=!0),k<=B&&P(0,0,k).then(e=>{l(25,o=e),o.games.items.length>C.length&&(l(26,C=o.games.items),C.forEach(e=>{e.isFavorite=R(e.id)})),l(33,te=!1)})},R=t=>!!s&&-1!==s.findIndex(e=>e.id==t),se=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return st(()=>(window.addEventListener("visibilitychange",e=>{document[d]?l(38,re="disconnect"):l(38,re="connect")}),window.addEventListener("message",ie,!1),"FAVORITES"===v&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ie),window.removeEventListener("visibilitychange",ie)})),t.$$set=e=>{"endpoint"in e&&l(3,m=e.endpoint),"datasource"in e&&l(4,p=e.datasource),"lang"in e&&l(5,h=e.lang),"session"in e&&l(6,A=e.session),"userid"in e&&l(7,N=e.userid),"favorites"in e&&l(8,g=e.favorites),"clientstyling"in e&&l(9,f=e.clientstyling),"clientstylingurl"in e&&l(10,y=e.clientstylingurl),"translationurl"in e&&l(44,b=e.translationurl),"currency"in e&&l(11,O=e.currency),"categoryid"in e&&l(0,v=e.categoryid),"showgamename"in e&&l(12,H=e.showgamename),"livecasino"in e&&l(13,j=e.livecasino),"gamepagemodalurl"in e&&l(14,z=e.gamepagemodalurl),"integratedgameframedesktop"in e&&l(15,U=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(16,W=e.integratedgameframemobile),"casinomygames"in e&&l(17,w=e.casinomygames),"addfilterselector"in e&&l(1,Y=e.addfilterselector),"addsortingselector"in e&&l(2,V=e.addsortingselector),"filterbylogo"in e&&l(18,q=e.filterbylogo),"casinogamesgridslider"in e&&l(19,Z=e.casinogamesgridslider)},t.$$.update=()=>{if(2097152&t.$$.dirty[0]|16384&t.$$.dirty[1]&&u&&G&&ne&&G.forEach((e,t)=>{e&&(e.elems_index=t,ae.observe(e))}),33&t.$$.dirty[0]&&h&&v)switch(v){case"FAVORITES":l(36,L=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&l(36,L=!1)}if(8192&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{_a(e,t[e])})}).catch(e=>{console.log(e)}),1049088&t.$$.dirty[0]&&f&&c&&((e=document.createElement("style")).innerHTML=f,c.appendChild(e)),1049600&t.$$.dirty[0]&&y&&c){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{c.appendChild(t)},1)})}var e},[v,Y,V,m,p,h,A,N,g,f,y,O,H,j,z,U,W,w,q,Z,c,G,$,J,x,o,C,F,S,M,E,Q,ee,te,n,r,L,I,re,T,D,K,r=>{if(0===(null==r?void 0:r.length))return"";let a,i="",o=999999999999;const s=new Date(Date.now());return r.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Da(e).diff(s)<o&&(o=Da(e).diff(s),a=t),Da(s).isAfter(n)&&Da(s).isBefore(e)&&(i=r[a].name)}),i},se,b,u,function(e){lt[e?"unshift":"push"](()=>{r=e,l(35,r)})},e=>se(o.id),function(e,t){lt[e?"unshift":"push"](()=>{G[t]=e,l(21,G)})},function(e){lt[e?"unshift":"push"](()=>{n=e,l(34,n)})},function(e){lt[e?"unshift":"push"](()=>{r=e,l(35,r)})},function(e){lt[e?"unshift":"push"](()=>{n=e,l(34,n)})},function(e){lt[e?"unshift":"push"](()=>{c=e,l(20,c)})}]}function xo(e,t){o(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},$o,vo,n,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:44,currency:11,categoryid:0,showgamename:12,livecasino:13,gamepagemodalurl:14,integratedgameframedesktop:15,integratedgameframemobile:16,casinomygames:17,addfilterselector:1,addsortingselector:2,filterbylogo:18,casinogamesgridslider:19},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[44]}set translationurl(e){this.$$set({translationurl:e}),m()}get currency(){return this.$$.ctx[11]}set currency(e){this.$$set({currency:e}),m()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[13]}set livecasino(e){this.$$set({livecasino:e}),m()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[15]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[16]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[18]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get casinogamesgridslider(){return this.$$.ctx[19]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}});const Co={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna",noGames:"There are no random games to play"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"There are no random games to play"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"}};function Fo(e,t,n){e=e.slice();return e[36]=t[n],e[38]=n,e}function ko(n){let r,a,i,o,s,l,c,d=!n[7]&&So(n),u=n[7]&&Eo(n);return{c(){r=pe("div"),a=pe("div"),(i=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(),d&&d.c(),s=ge(),u&&u.c(),fe(i,"class","ModalCloseBtn"),fe(i,"role","button"),fe(a,"class","ModalContainer"),fe(r,"class","ModalWindow")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),d&&d.m(a,null),de(a,s),u&&u.m(a,null),l||(c=U(i,"click",n[12]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=So(e)).c(),d.m(a,s)),e[7]?u?u.p(e,t):((u=Eo(e)).c(),u.m(a,null)):u&&(u.d(1),u=null)},d(e){e&&me(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function So(t){let n,r,a,i,o,s,e=t[9]("randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Mo(Fo(t,l,e));return{c(){n=pe("div"),r=pe("main"),a=pe("div");for(let e=0;e<c.length;e+=1)c[e].c();i=ge(),o=pe("p"),s=he(e),fe(a,"class","items"),P(a,"transform","translateY("+t[6]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(n,"class","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(a,null);de(n,i),de(n,o),de(o,s)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var r=Fo(t,l,e);c[e]?c[e].p(r,n):(c[e]=Mo(r),c[e].c(),c[e].m(a,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&P(a,"transform","translateY("+t[6]+"px)"),512&n[0]&&e!==(e=t[9]("randomGameLoading")+"")&&ye(s,e)},d(e){e&&me(n),j(c,e)}}}function Mo(e){let n,r,a,i,o,s;return{c(){n=pe("div"),r=pe("img"),s=ge(),fe(r,"class","RandomGameImage"),ce(r.src,a=e[36].thumbnail)||fe(r,"src",a),fe(r,"alt",i=e[36].name),fe(r,"title",o=e[36].name),fe(n,"class","item")},m(e,t){ue(e,n,t),de(n,r),de(n,s)},p(e,t){16&t[0]&&!ce(r.src,a=e[36].thumbnail)&&fe(r,"src",a),16&t[0]&&i!==(i=e[36].name)&&fe(r,"alt",i),16&t[0]&&o!==(o=e[36].name)&&fe(r,"title",o)},d(e){e&&me(n)}}}function Eo(e){let n;function r(e){return e[8]?Go:Lo}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Lo(e){let n,r,a=e[9]("noGames")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","RandomGameLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[0]&&a!==(a=e[9]("noGames")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Go(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C=n[3].name+"",F=n[3].vendor.name+"",k=n[9]("playNowRandomGame")+"";return{c(){r=pe("div"),a=pe("div"),i=pe("img"),c=ge(),(d=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-button-typography, var(--emfe-w-color-white, #FFFFFF));}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ge(),m=pe("div"),p=pe("p"),h=he(C),g=ge(),f=pe("p"),y=he(F),b=ge(),v=pe("button"),w=he(k),fe(i,"class","RandomGameImage"),ce(i.src,o=n[3].thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[3].name),fe(i,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(a,"class","item"),fe(p,"class","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(r,"class","RandomGameWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,c),de(a,d),de(r,u),de(r,m),de(m,p),de(p,h),de(m,g),de(m,f),de(f,y),de(m,b),de(m,v),de(v,w),$||(x=[U(d,"click",n[21]),U(v,"click",n[22])],$=!0)},p(e,t){8&t[0]&&!ce(i.src,o=e[3].thumbnail)&&fe(i,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(i,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(i,"title",l),8&t[0]&&C!==(C=e[3].name+"")&&ye(h,C),8&t[0]&&F!==(F=e[3].vendor.name+"")&&ye(y,F),512&t[0]&&k!==(k=e[9]("playNowRandomGame")+"")&&ye(w,k)},d(e){e&&me(r),$=!1,H(x)}}}function Io(e){let n,r,a=e[9]("playRandomGame")+"";return{c(){n=pe("span"),r=he(a),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[0]&&a!==(a=e[9]("playRandomGame")+"")&&ye(r,a)},d(e){e&&me(n)}}}function _o(e){let n,r;return{c(){n=pe("span"),r=he(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2&t[0]&&ye(r,e[1])},d(e){e&&me(n)}}}function To(n){let r,a,i,o,s,l,c,d,u=n[5]&&ko(n);function m(e){return e[1]?_o:e[1]?void 0:Io}let p=m(n),h=p&&p(n);return{c(){r=pe("div"),u&&u.c(),a=ge(),i=pe("div"),o=pe("button"),h&&h.c(),s=ge(),l=pe("span"),this.c=N,fe(l,"class","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(i,"class","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),u&&u.m(r,null),de(r,a),de(r,i),de(i,o),h&&h.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[24](r),c||(d=U(o,"click",n[23]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=ko(e)).c(),u.m(r,a)):u&&(u.d(1),u=null),p===(p=m(e))&&h?h.p(e,t):(h&&h.d(1),(h=p&&p(e))&&(h.c(),h.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:N,o:N,d(e){e&&me(r),u&&u.d(),h&&h.d(),n[24](null),c=!1,d()}}}function Po(n,e,r){let t;mt(n,ra,e=>r(9,t=e));let a,i,o,{endpoint:s=""}=e,{datasource:l=""}=e,{gameevent:c=""}=e,{lang:d=""}=e,{randombuttonicon:u=""}=e,{buttontext:m=""}=e,{translationurl:p=""}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{filteredrandomgamecategories:f=""}=e,y=[],b="",v=!1,w=0,$=0,x=!1,C=!1,F=window.navigator.userAgent;var k,S;({withLocale:k,translations:S}={withLocale:"en",translations:{}}),ct.subscribe(e=>{null==e&&(Sr.set(S),ct.set(k))}),Object.keys(Co).forEach(e=>{xo(e,Co[e])});const M=e=>{C?(r(4,a=(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})(a)),r(6,w=0),$=0,r(7,x=!1),r(3,b=y[Math.floor(Math.random()*y.length)]),r(5,v=!0),clearInterval(i),i=setInterval(()=>{r(6,w-=75),20==++$&&(r(7,x=!0),clearInterval(i))},150)):(r(5,v=!0),r(7,x=!0)),e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(b.gId||b.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},E=()=>{window.postMessage({type:c,gameId:b.gId||b.id},window.location.href),r(5,v=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(b.gId||b.id)})};return n.$$set=e=>{"endpoint"in e&&r(13,s=e.endpoint),"datasource"in e&&r(14,l=e.datasource),"gameevent"in e&&r(15,c=e.gameevent),"lang"in e&&r(16,d=e.lang),"randombuttonicon"in e&&r(0,u=e.randombuttonicon),"buttontext"in e&&r(1,m=e.buttontext),"translationurl"in e&&r(17,p=e.translationurl),"clientstyling"in e&&r(18,h=e.clientstyling),"clientstylingurl"in e&&r(19,g=e.clientstylingurl),"filteredrandomgamecategories"in e&&r(20,f=e.filteredrandomgamecategories)},n.$$.update=()=>{if(65536&n.$$.dirty[0]&&d&&(t=d,ct.set(t)),131072&n.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{xo(e,t[e])})}).catch(e=>{console.log(e)}),24576&n.$$.dirty[0]&&s&&l&&((t=new URL(s+"/v1/casino/games")).searchParams.append("platform",ut(F)),t.searchParams.append("datasource",l),t.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),f&&t.searchParams.append("filter",`categories(id=${f})`),t.searchParams.append("expand","categories"),t.searchParams.append("pagination","offset=0,limit=1000"),fetch(t.href).then(e=>e.json()).then(e=>{(y=e.items).length?(r(4,a=y.slice(0,19)),r(8,C=!0)):(r(4,a=[]),r(8,C=!1))}).catch(e=>{console.log(e),r(8,C=!1)})),262148&n.$$.dirty[0]&&h&&o&&((e=document.createElement("style")).innerHTML=h,o.appendChild(e)),524292&n.$$.dirty[0]&&g&&o){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e,t},[u,m,o,b,a,v,w,x,C,t,M,E,()=>{r(5,v=!1),window.postMessage({type:"RandomWidgetState",state:v},window.location.href)},s,l,c,d,p,h,g,f,()=>M(!0),()=>E(),()=>M(),function(e){lt[e?"unshift":"push"](()=>{o=e,r(2,o)})}]}function Ro(e,t){o(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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, 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, 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;transition:transform 400ms ease-in-out}.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-casino-color-primary, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Po,To,n,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get gameevent(){return this.$$.ctx[15]}set gameevent(e){this.$$set({gameevent:e}),m()}get lang(){return this.$$.ctx[16]}set lang(e){this.$$set({lang:e}),m()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),m()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}});const Do={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"}};function Bo(n){let r;return{c(){(r=pe("div")).innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>',this.c=N},m(e,t){ue(e,r,t),n[3](r)},p:N,i:N,o:N,d(e){e&&me(r),n[3](null)}}}function Ao(t,e,n){let r,{clientstyling:a=""}=e,{clientstylingurl:i=""}=e;return t.$$set=e=>{"clientstyling"in e&&n(1,a=e.clientstyling),"clientstylingurl"in e&&n(2,i=e.clientstylingurl)},t.$$.update=()=>{if(3&t.$$.dirty&&a&&r&&((e=document.createElement("style")).innerHTML=a,r.appendChild(e)),5&t.$$.dirty&&i&&r){let e=new URL(i),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[r,a,i,function(e){lt[e?"unshift":"push"](()=>{r=e,n(0,r)})}]}function No(e,t,n){e=e.slice();return e[67]=t[n],e}function Oo(e,t,n){e=e.slice();return e[70]=t[n],e}function Ho(n){let a,r,i,o,s,l,c,d,e,u,m,p,h,g,f,y,b,v,w,$=n[17],x=[];for(let e=0;e<$.length;e+=1)x[e]=Wo(Oo(n,$,e));function C(e){return e[18]?Vo:Yo}let F=C(n),k=F(n);return{c(){a=pe("div"),r=pe("div"),i=pe("div");for(let e=0;e<x.length;e+=1)x[e].c();o=ge(),s=pe("div"),l=pe("button"),c=z("svg"),d=z("path"),u=ge(),m=pe("button"),p=z("svg"),h=z("path"),y=ge(),k.c(),fe(i,"class","WinnerButtonsContainer"),fe(d,"style",e=n[12]>=n[11].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"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(h,"style",g=n[12]>=n[11].length?"fill:#F6F6F62E":""),fe(h,"id","Path_36"),fe(h,"data-name","Path 36"),fe(h,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(h,"transform","translate(0 24.656) rotate(-90)"),fe(h,"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(m,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[6]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(a,"class",b="CasinoWinners "+(n[13]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(i,null);de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,m),de(m,p),de(p,h),de(a,y),k.m(a,null),v||(w=[U(l,"click",n[42]),U(m,"click",n[43])],v=!0)},p(t,n){if(1704963&n[0]){let e;for($=t[17],e=0;e<$.length;e+=1){var r=Oo(t,$,e);x[e]?x[e].p(r,n):(x[e]=Wo(r),x[e].c(),x[e].m(i,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=$.length}6144&n[0]&&e!==(e=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),6144&n[0]&&g!==(g=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(h,"style",g),64&n[0]&&f!==(f="ButtonsContainer "+("true"==t[6]?"ButtonsContainerNone":""))&&fe(s,"class",f),F===(F=C(t))&&k?k.p(t,n):(k.d(1),(k=F(t))&&(k.c(),k.m(a,null))),8192&n[0]&&b!==(b="CasinoWinners "+(t[13]?"Mobile":""))&&fe(a,"class",b)},d(e){e&&me(a),j(x,e),k.d(),v=!1,H(w)}}}function jo(e){let n;return{c(){S(n=pe("general-animation-loading"),"clientstyling",e[4]),S(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"clientstyling",e[4]),32&t[0]&&S(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function zo(n){let r,a,i,o,s,l=n[19]("recentWinners")+"";return{c(){r=pe("button"),a=he(l),fe(r,"class",i="WinnersButton "+("recent"==n[10]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=U(r,"click",n[40]),o=!0)},p(e,t){524288&t[0]&&l!==(l=e[19]("recentWinners")+"")&&ye(a,l),1025&t[0]&&i!==(i="WinnersButton "+("recent"==e[10]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",i)},d(e){e&&me(r),o=!1,s()}}}function Uo(n){let r,a,i,o,s,l,c=n[19]("topWinners")+"";return{c(){r=pe("button"),a=he(c),i=ge(),fe(r,"class",o="WinnersButton "+("top"==n[10]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),s||(l=U(r,"click",n[41]),s=!0)},p(e,t){524288&t[0]&&c!==(c=e[19]("topWinners")+"")&&ye(a,c),1026&t[0]&&o!==(o="WinnersButton "+("top"==e[10]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&me(r),s=!1,l()}}}function Wo(e){let n,r,a="recent"==e[70]&&zo(e),i="top"==e[70]&&Uo(e);return{c(){a&&a.c(),n=ge(),i&&i.c(),r=c()},m(e,t){a&&a.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,r,t)},p(e,t){"recent"==e[70]?a?a.p(e,t):((a=zo(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"top"==e[70]?i?i.p(e,t):((i=Uo(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&me(n),i&&i.d(e),e&&me(r)}}}function Yo(n){let a,i=n[11],o=[];for(let e=0;e<i.length;e+=1)o[e]=qo(No(n,i,e));return{c(){a=pe("div");for(let e=0;e<o.length;e+=1)o[e].c();fe(a,"class","WinnersSlider")},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null);n[45](a)},p(t,n){if(6883468&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var r=No(t,i,e);o[e]?o[e].p(r,n):(o[e]=qo(r),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){e&&me(a),j(o,e),n[45](null)}}}function Vo(e){let n;return{c(){S(n=pe("general-animation-loading"),"clientstyling",e[4]),S(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"clientstyling",e[4]),32&t[0]&&S(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function qo(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C,F,k,S,M=n[67].gameName+"",E=n[21](n[67].username)+"",L=n[19]("won")+"",G=n[67].specifiedCurrencyAmount.toFixed(2)+"",I=(n[7]?n[3]:n[2])+"";function _(){return n[44](n[67])}return{c(){r=pe("div"),a=pe("div"),i=pe("img"),l=ge(),c=pe("p"),d=he(M),u=ge(),m=pe("p"),p=he(E),h=ge(),g=pe("p"),f=he(L),y=ge(),b=pe("p"),v=he(G),w=ge(),$=pe("span"),x=he(I),C=ge(),ce(i.src,o=n[67]?.gameModel?.thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[67]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(a,"class","WinnerCard"),fe(r,"class",F="CardWrapper "+(n[16]?"CardWrapperAnimation":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,l),de(a,c),de(c,d),de(a,u),de(a,m),de(m,p),de(a,h),de(a,g),de(g,f),de(a,y),de(a,b),de(b,v),de(b,w),de(b,$),de($,x),de(r,C),k||(S=U(i,"click",_),k=!0)},p(e,t){n=e,2048&t[0]&&!ce(i.src,o=n[67]?.gameModel?.thumbnail)&&fe(i,"src",o),2048&t[0]&&s!==(s=n[67]?.gameModel?.thumbnail)&&fe(i,"alt",s),2048&t[0]&&M!==(M=n[67].gameName+"")&&ye(d,M),2048&t[0]&&E!==(E=n[21](n[67].username)+"")&&ye(p,E),524288&t[0]&&L!==(L=n[19]("won")+"")&&ye(f,L),2048&t[0]&&G!==(G=n[67].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,G),140&t[0]&&I!==(I=(n[7]?n[3]:n[2])+"")&&ye(x,I),65536&t[0]&&F!==(F="CardWrapper "+(n[16]?"CardWrapperAnimation":""))&&fe(r,"class",F)},d(e){e&&me(r),k=!1,S()}}}function Zo(n){let r;function a(e){return e[14]||e[15]?jo:Ho}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=N},m(e,t){ue(e,r,t),o.m(r,null),n[46](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o.d(),n[46](null)}}}function Jo(n,e,r){let t;mt(n,ra,e=>r(19,t=e));let a,i,B,o,A,s,N,l,c,d,{endpoint:u=""}=e,{session:m=""}=e,{userid:p=""}=e,{periodrecent:h="Today"}=e,{periodtop:g="Last7Days"}=e,{numberusersrecent:f="20"}=e,{numberuserstop:y="20"}=e,{amountlimit:b="1"}=e,{vendorCategory:v="All"}=e,{lang:w="en"}=e,{isrecentavailable:$="true"}=e,{istopavailable:x="true"}=e,{defaultcurrency:C=""}=e,{usercurrency:F=""}=e,{clientstyling:k=""}=e,{clientstylingurl:S=""}=e,{enableautoscroll:M=""}=e,{tabsorder:E=""}=e,{translationurl:L=""}=e,{winnersdatasources:G=""}=e,{hascustomstyling:I="false"}=e,_=[],T=0,P=0,O=window.navigator.userAgent,R=!0,D=!1,H=!1,j=[],z=!1;Object.keys(Do).forEach(e=>{Ro(e,Do[e])});const U=()=>{j=G.split(",").map(function(e){return e.trim()});const t=new URL(`${u}/v1/casino/${i}-winners`);r(18,z=!0),t.searchParams.append("limit","recent"==i?f:y),t.searchParams.append("specifiedCurrency",d),t.searchParams.append("period","recent"==i?h:g),t.searchParams.append("language",w),t.searchParams.append("amountLimit",b),t.searchParams.append("vendorCategory",v),j.forEach(e=>{t.searchParams.append("dataSource",e)}),setTimeout(()=>{fetch(t.href).then(e=>e.json()).then(e=>{r(11,_=[]),r(11,_=e.items.map(e=>e)),r(18,z=!1),setTimeout(()=>{r(12,P=Math.round(a.offsetWidth/225)),V(),"true"==M&&(clearInterval(l),T=0,P<N?l=setInterval(()=>{J()},3e3):clearInterval(l)),r(14,R=!1)},5)})},1e3)},W=e=>{i!==e&&(r(11,_=[]),r(10,i=e),U())},Y=(e,t,n,r)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n,subVendor:r},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(A||"Not logged in")})},V=n=>{var e=[...a.children];N=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{r(16,H=!0)},10)},q=()=>{V(T)},Z=()=>{var e;P>=_.length||(e=_.length,0===T?T=e-P:T-P<0?T=0:T-=P,q())},J=()=>{var e;P>=_.length||(e=_.length,"true"==M&&(T===e-P?T=0:T++),"false"==M&&(T===e-P?T=0:e-P<T+P?T=e-P:T+=P),q())},K=()=>{r(39,d=o?F:C)};return st(()=>(r(13,B=dt(O)),()=>{clearInterval(l)})),n.$$set=e=>{"endpoint"in e&&r(26,u=e.endpoint),"session"in e&&r(27,m=e.session),"userid"in e&&r(28,p=e.userid),"periodrecent"in e&&r(29,h=e.periodrecent),"periodtop"in e&&r(30,g=e.periodtop),"numberusersrecent"in e&&r(31,f=e.numberusersrecent),"numberuserstop"in e&&r(32,y=e.numberuserstop),"amountlimit"in e&&r(25,b=e.amountlimit),"vendorCategory"in e&&r(33,v=e.vendorCategory),"lang"in e&&r(34,w=e.lang),"isrecentavailable"in e&&r(0,$=e.isrecentavailable),"istopavailable"in e&&r(1,x=e.istopavailable),"defaultcurrency"in e&&r(2,C=e.defaultcurrency),"usercurrency"in e&&r(3,F=e.usercurrency),"clientstyling"in e&&r(4,k=e.clientstyling),"clientstylingurl"in e&&r(5,S=e.clientstylingurl),"enableautoscroll"in e&&r(6,M=e.enableautoscroll),"tabsorder"in e&&r(35,E=e.tabsorder),"translationurl"in e&&r(36,L=e.translationurl),"winnersdatasources"in e&&r(37,G=e.winnersdatasources),"hascustomstyling"in e&&r(38,I=e.hascustomstyling)},n.$$.update=()=>{if(1644167171&n.$$.dirty[0]|31&n.$$.dirty[1]&&$&&x&&h&&g&&f&&y&&b&&v&&w&&E&&(r(17,c=E.split(",")),r(10,i=c[0]),"false"==$&&r(25,b=""),K(),r(14,R=!1)),134217728&n.$$.dirty[0]&&m&&(r(7,o=!0),A=p),140&n.$$.dirty[0]&&o&&(F||C)&&K(),67108864&n.$$.dirty[0]|320&n.$$.dirty[1]&&u&&G&&d&&U(),8&n.$$.dirty[1]&&w&&(t=w,ct.set(t)),32&n.$$.dirty[1]&&L&&(t=new URL(L),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ro(e,t[e])})}).catch(e=>{console.log(e)})),128&n.$$.dirty[1]&&I&&"true"===I&&(k||S||!s||console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!k)&&S&&r(15,D=!0),272&n.$$.dirty[0]&&k&&s&&((e=document.createElement("style")).innerHTML=k,s.appendChild(e)),288&n.$$.dirty[0]&&S&&s){let e=new URL(S),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500),r(15,D=!1)})}var e,t},[$,x,C,F,k,S,M,o,s,a,i,_,P,B,R,D,H,c,z,t,W,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),Y,Z,J,b,u,m,p,h,g,f,y,v,w,E,L,G,I,d,()=>W("recent"),()=>W("top"),()=>Z(),()=>J(),e=>Y(e.gameId,e.gameModel.launchUrl,e.gameModel.name,e.gameModel.subVendor),function(e){lt[e?"unshift":"push"](()=>{a=e,r(9,a)})},function(e){lt[e?"unshift":"push"](()=>{s=e,r(8,s)})}]}function Ko(e,t){o(e,t)}customElements.get("general-animation-loading")||customElements.define("general-animation-loading",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ao,Bo,n,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-winners")||customElements.define("casino-winners",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, 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-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-casino-color-primary, 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:last-child{margin-right:0}.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}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Jo,Zo,n,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:25,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:35,translationurl:36,winnersdatasources:37,hascustomstyling:38},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources","hascustomstyling"]}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),m()}get session(){return this.$$.ctx[27]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[28]}set userid(e){this.$$set({userid:e}),m()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[30]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[25]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(e){this.$$set({vendorCategory:e}),m()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),m()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get tabsorder(){return this.$$.ctx[35]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),m()}get winnersdatasources(){return this.$$.ctx[37]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get hascustomstyling(){return this.$$.ctx[38]}set hascustomstyling(e){this.$$set({hascustomstyling:e}),m()}});const Xo={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"}};function Qo(e,t,n){e=e.slice();return e[48]=t[n],e[50]=n,e}function es(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v;function w(e){return e[5]?rs:as}let $=w(n),x=$(n);return{c(){r=pe("div"),a=pe("div"),i=pe("div"),o=pe("div"),s=pe("img"),c=ge(),d=pe("div"),x.c(),u=ge(),m=pe("div"),p=pe("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(p.src,h=n[11])||fe(p,"src",h),fe(p,"alt",""),fe(m,"class","title"),fe(i,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),P(i,"background","url("+n[10]+")"),fe(a,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(i,c),de(i,d),x.m(d,null),de(i,u),de(i,m),de(m,p),b||(v=U(a,"click",n[31]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),$===($=w(e))&&x?x.p(e,t):(x.d(1),(x=$(e))&&(x.c(),x.m(d,null))),2048&t[0]&&!ce(p.src,h=e[11])&&fe(p,"src",h),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",g),1024&t[0]&&P(i,"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&&me(r),x.d(),b=!1,v()}}}function ts(e){let n;return{c(){fe(n=pe("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function ns(e){let n;return{c(){(n=pe("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function rs(e){let n,r,a,i,o,s,B,l,c,A,N,d,O,H,u,m,p,h,g,j,f,y,z,U,b,W,Y,v,w,$,x,C,F,V,k,S,q,Z,M,J,K,E,L,G,I,_,X,T,P,Q,ee,R,te,D=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ae=e[7][1]+"",ie=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=pe("div"),r=pe("div"),a=pe("div"),i=pe("img"),s=pe("span"),B=he(D),l=pe("span"),c=pe("span"),A=he(ne),N=ge(),d=pe("span"),O=he(e[1]),H=ge(),u=pe("div"),m=pe("div"),p=pe("img"),g=pe("span"),j=he(re),f=pe("span"),y=pe("span"),z=he(ae),U=ge(),b=pe("span"),W=he(e[1]),Y=ge(),v=pe("div"),w=pe("div"),$=pe("div"),x=pe("img"),F=pe("span"),V=he(ie),k=pe("span"),S=pe("span"),q=he(oe),Z=ge(),M=pe("span"),J=he(e[1]),K=ge(),E=pe("div"),L=pe("div"),G=pe("img"),_=pe("span"),X=he(se),T=pe("span"),P=pe("span"),Q=he(le),ee=ge(),R=pe("span"),te=he(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,o=e[9][0])||fe(i,"src",o),fe(i,"alt",""),fe(s,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(p,"class","displayCardIcon"),ce(p.src,h=e[9][1])||fe(p,"src",h),fe(p,"alt",""),fe(g,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(x,"class","displayCardIcon"),ce(x.src,C=e[9][2])||fe(x,"src",C),fe(x,"alt",""),fe(F,"class","cardLabel"),fe($,"class","iconWrapper"),fe(S,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(k,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(G,"class","displayCardIcon"),ce(G.src,I=e[9][3])||fe(G,"src",I),fe(G,"alt",""),fe(_,"class","cardLabel"),fe(L,"class","iconWrapper"),fe(P,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(T,"class","cardTextWrapper"),fe(E,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(a,i),de(a,s),de(s,B),de(r,l),de(l,c),de(c,A),de(l,N),de(l,d),de(d,O),de(n,H),de(n,u),de(u,m),de(m,p),de(m,g),de(g,j),de(u,f),de(f,y),de(y,z),de(f,U),de(f,b),de(b,W),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,$),de($,x),de($,F),de(F,V),de(w,k),de(k,S),de(S,q),de(k,Z),de(k,M),de(M,J),de(v,K),de(v,E),de(E,L),de(L,G),de(L,_),de(_,X),de(E,T),de(T,P),de(P,Q),de(T,ee),de(T,R),de(R,te)},p(e,t){512&t[0]&&!ce(i.src,o=e[9][0])&&fe(i,"src",o),256&t[0]&&D!==(D=e[8][0]+"")&&ye(B,D),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(A,ne),2&t[0]&&ye(O,e[1]),512&t[0]&&!ce(p.src,h=e[9][1])&&fe(p,"src",h),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ae!==(ae=e[7][1]+"")&&ye(z,ae),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce(x.src,C=e[9][2])&&fe(x,"src",C),256&t[0]&&ie!==(ie=e[8][2]+"")&&ye(V,ie),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(q,oe),2&t[0]&&ye(J,e[1]),512&t[0]&&!ce(G.src,I=e[9][3])&&fe(G,"src",I),256&t[0]&&se!==(se=e[8][3]+"")&&ye(X,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&me(n),e&&me(Y),e&&me(v)}}}function as(t){let a,i=Array(4),o=[];for(let e=0;e<i.length;e+=1)o[e]=is(Qo(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var r=Qo(t,i,e);o[e]?o[e].p(r,n):(o[e]=is(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){j(o,e),e&&me(a)}}}function is(e){let n,r,a,i,o,s,l,c,d,u,m,p,h=e[8][e[50]]+"",g=(e[7][e[50]]??"")+"";return{c(){n=pe("div"),r=pe("div"),a=pe("img"),o=pe("span"),s=he(h),l=pe("span"),c=pe("span"),d=he(g),u=ge(),m=pe("span"),p=he(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,i=e[9][e[50]])||fe(a,"src",i),fe(a,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(m,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,p)},p(e,t){512&t[0]&&!ce(a.src,i=e[9][e[50]])&&fe(a,"src",i),256&t[0]&&h!==(h=e[8][e[50]]+"")&&ye(s,h),128&t[0]&&g!==(g=(e[7][e[50]]??"")+"")&&ye(d,g),2&t[0]&&ye(p,e[1])},d(e){e&&me(n)}}}function os(n){let r;function a(e){return e[13]?ns:e[3]?ts:es}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=N},m(e,t){ue(e,r,t),o.m(r,null),n[32](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o.d(),n[32](null)}}}function ss(r,e,a){let i,o,{visualstructure:s=""}=e,{title:t=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:p=""}=e,{currency:h=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:$=""}=e,{gameid:x=""}=e,B=window.navigator.userAgent,C=!1,F=!1,k="",S=[],M=[],E=[],L=[],G=[],I="",_="",T=!1,P=!0,R=!1;Object.keys(Xo).forEach(e=>{Ko(e,Xo[e])});const D=["typeSpread","typeLeft"],n=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+x})};return r.$$set=e=>{"visualstructure"in e&&a(0,s=e.visualstructure),"title"in e&&a(15,t=e.title),"caticon0"in e&&a(16,l=e.caticon0),"caticon1"in e&&a(17,c=e.caticon1),"caticon2"in e&&a(18,d=e.caticon2),"caticon3"in e&&a(19,u=e.caticon3),"iconlabels"in e&&a(20,m=e.iconlabels),"backgroundsrc"in e&&a(21,p=e.backgroundsrc),"currency"in e&&a(1,h=e.currency),"backgroundsrcmobile"in e&&a(22,g=e.backgroundsrcmobile),"titlelogopath"in e&&a(23,f=e.titlelogopath),"lang"in e&&a(24,y=e.lang),"clientstyling"in e&&a(25,b=e.clientstyling),"clientstylingurl"in e&&a(26,v=e.clientstylingurl),"translationurl"in e&&a(27,w=e.translationurl),"endpoint"in e&&a(28,$=e.endpoint),"gameid"in e&&a(29,x=e.gameid)},r.$$.update=()=>{if(268435456&r.$$.dirty[0]&&$&&(n=new URL($+"/v1/casino/jackpots/config"),fetch(n.href).then(e=>e.json()).then(e=>{a(30,M=e.egtJackpotIds.map(e=>e))})),33554436&r.$$.dirty[0]&&i&&b&&((n=document.createElement("style")).innerHTML=b,i.appendChild(n)),67108868&r.$$.dirty[0]&&i&&v){a(12,T=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{a(12,T=!1)},500)})}var e,t,n;1358954498&r.$$.dirty[0]&&$&&y&&h&&0<M.length&&$&&y&&h&&((t=new URL($+"/v1/casino/jackpots")).searchParams.append("filter","id="+x),t.searchParams.append("language",y),t.searchParams.append("additionalDataCurrency",h),fetch(t.href).then(e=>e.json().then(e=>{a(3,P=!1),o=e,M.includes(x)&&((e=null==(e=null==(e=o)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>S.push(+e)),e=o,a(6,k=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{a(13,R=!0),a(3,P=!1),console.error(e)}))),16777226&r.$$.dirty[0]&&h&&y&&!P&&(a(4,C=dt(B)&&1<window.innerHeight/window.innerWidth),a(5,F=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==S.length&&a(7,E=S.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),a(8,L=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),D.includes(s.trim())?a(0,s=s.trim()):(console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${D[0]}"`),a(0,s=D[0])),a(10,I=g&&C&&!F?g:p),a(11,_=f),a(9,G=[l,c,d,u])),16777216&r.$$.dirty[0]&&y&&(e=y,ct.set(e)),134217728&r.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ko(e,t[e])})}).catch(e=>{console.log(e)})},[s,h,i,P,C,F,k,E,L,G,I,_,T,R,n,t,l,c,d,u,m,p,g,f,y,b,v,w,$,x,M,()=>n(),function(e){lt[e?"unshift":"push"](()=>{i=e,a(2,i)})}]}function ls(e,t){o(e,t)}customElements.get("casino-jackpot-banner")||customElements.define("casino-jackpot-banner",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=':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:auto;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}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner: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:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ss,os,n,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get title(){return this.$$.ctx[15]}set title(e){this.$$set({title:e}),m()}get caticon0(){return this.$$.ctx[16]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[17]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[18]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[19]}set caticon3(e){this.$$set({caticon3:e}),m()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get lang(){return this.$$.ctx[24]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[27]}set translationurl(e){this.$$set({translationurl:e}),m()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),m()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),m()}});const cs={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."}};function ds(e,t,n){e=e.slice();return e[39]=t[n],e}function us(e,t,n){e=e.slice();return e[42]=t[n],e}function ms(n){let a,r,i,o,s,l,c,d,u,m,p,e,h,g,f=("vendor"==n[0]?n[8]("providers"):n[8]("collections"))+"",y=n[3],b=[];for(let e=0;e<y.length;e+=1)b[e]=bs(ds(n,y,e));return{c(){a=pe("div"),r=pe("div"),i=pe("p"),o=he(f),s=ge(),l=pe("div"),(c=pe("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',d=ge(),(u=pe("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',m=ge(),p=pe("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(i,"class","Title"),fe(l,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(p,"class","CategoriesSlider"),fe(a,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(r,s),de(r,l),de(l,c),de(l,d),de(l,u),de(a,m),de(a,p);for(let e=0;e<b.length;e+=1)b[e]&&b[e].m(p,null);n[23](p),h||(g=[U(c,"click",n[19]),U(u,"click",n[20])],h=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("providers"):t[8]("collections"))+"")&&ye(o,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var r=ds(t,y,e);b[e]?b[e].p(r,n):(b[e]=bs(r),b[e].c(),b[e].m(p,null))}for(;e<b.length;e+=1)b[e].d(1);b.length=y.length}128&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[7]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),j(b,e),n[23](null),h=!1,H(g)}}}function ps(e){let n;return{c(){fe(n=pe("div"),"class","LoadingSpinner")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function hs(e){let n,r,a=e[39].name+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){8&t[0]&&a!==(a=e[39].name+"")&&ye(r,a)},d(e){e&&me(n)}}}function gs(e){let n,r,a;return{c(){fe(n=pe("img"),"class","CategorySlideLogo"),ce(n.src,r=e[39].icon)||fe(n,"src",r),fe(n,"alt",a=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,r=e[39].icon)&&fe(n,"src",r),8&t[0]&&a!==(a=e[39].name+" icon")&&fe(n,"alt",a)},d(e){e&&me(n)}}}function fs(e){let n,r,a,i=e[42].name+"";return{c(){n=pe("p"),r=he(i),fe(n,"title",a=e[42].name)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){8&t[0]&&i!==(i=e[42].name+"")&&ye(r,i),8&t[0]&&a!==(a=e[42].name)&&fe(n,"title",a)},d(e){e&&me(n)}}}function ys(n){let r,a,i,o,s,l,c,d;function u(){return n[21](n[42])}let m="true"==n[2]&&fs(n);return{c(){r=pe("div"),a=pe("img"),s=ge(),m&&m.c(),l=ge(),fe(a,"class","CategorySlideGameImage"),ce(a.src,i=n[42].defaultThumbnail)||fe(a,"src",i),fe(a,"alt",o=n[42].name),fe(r,"class","CategorySlideGames")},m(e,t){var n;ue(e,r,t),de(r,a),de(r,s),m&&m.m(r,null),de(r,l),c||(d=U(a,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(a.src,i=n[42].defaultThumbnail)&&fe(a,"src",i),8&t[0]&&o!==(o=n[42].name)&&fe(a,"alt",o),"true"==n[2]?m?m.p(n,t):((m=fs(n)).c(),m.m(r,l)):m&&(m.d(1),m=null)},d(e){e&&me(r),m&&m.d(),c=!1,d()}}}function bs(n){let r,a,i,o,s,l,c,d,u;function m(e){return"logo"==e[1]?gs:"title"==e[1]?hs:void 0}let p=m(n),h=p&&p(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=ys(us(n,g,e));function y(){return n[22](n[39])}return{c(){r=pe("div"),a=pe("div"),i=pe("div"),h&&h.c(),o=ge(),s=pe("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(i,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(a,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),P(a,"background-image","url("+n[39]?.background+")"),P(a,"background-size","cover"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,r,t),de(r,a),de(a,i),h&&h.m(i,null),de(a,o),de(a,s);for(let e=0;e<f.length;e+=1)f[e]&&f[e].m(s,null);de(r,c),d||(u=U(a,"click",y),d=!0)},p(e,t){if(p===(p=m(n=e))&&h?h.p(n,t):(h&&h.d(1),(h=p&&p(n))&&(h.c(),h.m(i,null))),2060&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const a=us(n,g,e);f[e]?f[e].p(a,t):(f[e]=ys(a),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(a,"class",l),8&t[0]&&P(a,"background-image","url("+n[39]?.background+")")},d(e){e&&me(r),h&&h.d(),j(f,e),d=!1,u()}}}function vs(n){let r;function a(e){return e[6]?ps:ms}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=N},m(e,t){ue(e,r,t),o.m(r,null),n[24](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o.d(),n[24](null)}}}function ws(n,e,r){let t;mt(n,ra,e=>r(8,t=e));let a,i,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:p=""}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,b=[],v=!0,w=0,$=0,x=0,C=window.navigator.userAgent;Object.keys(cs).forEach(e=>{ls(e,cs[e])});const F=n=>{(o=[...a.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>i=e.getBoundingClientRect().width),x=Math.round(a.offsetWidth/i)},k=()=>{F(w)},S=()=>{x>=$||(0===w?w=$-x:w-x<-1?w=0:w--,k())},M=()=>{x>=$||(w===$-x?w=0:$-x<w+1?w=$-x:w++,k())},E=(e,t,n,r)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n,subVendor:r},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},L=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return st(()=>{r(7,l=dt(C))}),n.$$set=e=>{"endpoint"in e&&r(13,c=e.endpoint),"datasource"in e&&r(14,d=e.datasource),"lang"in e&&r(15,u=e.lang),"type"in e&&r(0,m=e.type),"titletype"in e&&r(1,p=e.titletype),"clientstyling"in e&&r(16,h=e.clientstyling),"clientstylingurl"in e&&r(17,g=e.clientstylingurl),"translationurl"in e&&r(18,f=e.translationurl),"collectionprovidersgamenames"in e&&r(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u&&((t=new URL(c+"/v2/casino/groups/"+d)).searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(6,v=!1);e=e.items.filter(e=>e.flags==m);r(3,b=e.map(e=>{var t;return{id:e.id,name:e.name,icon:e.icon||(null==(t=null==(t=null==(t=e.vendors)?void 0:t.items[0])?void 0:t.subVendors[0])?void 0:t.logo),games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}})),$=b.length})),24&n.$$.dirty[0]&&b&&a&&F(),32768&n.$$.dirty[0]&&u&&(t=u,ct.set(t)),65568&n.$$.dirty[0]&&h&&s&&((e=document.createElement("style")).innerHTML=h,s.appendChild(e)),131104&n.$$.dirty[0]&&g&&s){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ls(e,t[e])})}).catch(e=>{console.log(e)})},[m,p,y,b,a,s,v,l,t,S,M,E,L,c,d,u,h,g,f,()=>S(),()=>M(),e=>E(e.gameId,e.launchUrl,e.name,e.subVendor),e=>L(e.id),function(e){lt[e?"unshift":"push"](()=>{a=e,r(4,a)})},function(e){lt[e?"unshift":"push"](()=>{s=e,r(5,s)})}]}function $s(n){let r,a;return{c(){r=pe("div"),a=pe("casino-games-category-section"),this.c=N,S(a,"session",n[0]),S(a,"userid",n[1]),S(a,"endpoint",n[2]),S(a,"datasource",n[3]),S(a,"lang",n[5]),S(a,"currency",n[4]),S(a,"favorites",n[14]),S(a,"categoryid","FAVORITES"),S(a,"class","CategoryContainer"),S(a,"showgamename",n[11]),S(a,"clientstyling",n[6]),S(a,"clientstylingurl",n[7]),S(a,"livecasino",n[8]),S(a,"visiblegames",n[13]),S(a,"gamepagemodalurl",n[12]),S(a,"integratedgameframedesktop",n[10]),S(a,"integratedgameframemobile",n[9]),S(a,"casinomygames",n[15]),fe(r,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,r,t),de(r,a),n[18](r)},p(e,t){1&t[0]&&S(a,"session",e[0]),2&t[0]&&S(a,"userid",e[1]),4&t[0]&&S(a,"endpoint",e[2]),8&t[0]&&S(a,"datasource",e[3]),32&t[0]&&S(a,"lang",e[5]),16&t[0]&&S(a,"currency",e[4]),16384&t[0]&&S(a,"favorites",e[14]),2048&t[0]&&S(a,"showgamename",e[11]),64&t[0]&&S(a,"clientstyling",e[6]),128&t[0]&&S(a,"clientstylingurl",e[7]),256&t[0]&&S(a,"livecasino",e[8]),8192&t[0]&&S(a,"visiblegames",e[13]),4096&t[0]&&S(a,"gamepagemodalurl",e[12]),1024&t[0]&&S(a,"integratedgameframedesktop",e[10]),512&t[0]&&S(a,"integratedgameframemobile",e[9]),32768&t[0]&&S(a,"casinomygames",e[15])},i:N,o:N,d(e){e&&me(r),n[18](null)}}}function xs(t,e,s){let n,r,{endpoint:l=""}=e,{datasource:a=""}=e,{currency:i=""}=e,{lang:o=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:g="false"}=e,{showgamename:f=""}=e,{gamepagemodalurl:y="false"}=e,{visiblegames:b=""}=e,{favorites:v=""}=e,{categoryid:w=""}=e,{casinomygames:$="false"}=e,x=[];var C,F;({withLocale:C,translations:F}={withLocale:"en",translations:{}}),ct.subscribe(e=>{null==e&&(Sr.set(F),ct.set(C))});const k=n=>{if(n.data)switch(n.data.type){case"UserSessionID":s(0,c=n.data.session),s(1,d=n.data.userID),d&&d.length&&c&&0<c.length&&S(l,c,d);break;case"SetUnfavoredGame":e=`${l}/v1/player/${d}/favorites`,t=c,d,o=n.data.id,n.data.triggerFactor,x.includes(o)&&(x=x.filter(e=>e!=o)),fetch(e+"/"+o,{method:"DELETE",headers:{"X-SessionID":t}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+o},window.location.href),M(e,t)});break;case"SetFavoredGame":{var r=`${l}/v1/player/${d}/favorites`;var a=c;d;var i=n.data.id;n.data.triggerFactor;x.includes(i)||x.push(i);let e={items:x},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),M(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&S(l,c,d)}var e,t,o};let S=(e,t,n)=>{"true"==v&&c&&n&&fetch(e+`/v1/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(E(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),L(r.items)),r)).then(e=>e).catch(e=>{console.error(e)})};let M=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,E(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),r)).catch(e=>{console.error(e)})};const E=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},L=(e=[])=>(x=[],0<e.length&&e.forEach(e=>{x.push(e.id)}),x);return st(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)})),t.$$set=e=>{"endpoint"in e&&s(2,l=e.endpoint),"datasource"in e&&s(3,a=e.datasource),"currency"in e&&s(4,i=e.currency),"lang"in e&&s(5,o=e.lang),"session"in e&&s(0,c=e.session),"userid"in e&&s(1,d=e.userid),"clientstyling"in e&&s(6,u=e.clientstyling),"clientstylingurl"in e&&s(7,m=e.clientstylingurl),"livecasino"in e&&s(8,p=e.livecasino),"integratedgameframemobile"in e&&s(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&s(10,g=e.integratedgameframedesktop),"showgamename"in e&&s(11,f=e.showgamename),"gamepagemodalurl"in e&&s(12,y=e.gamepagemodalurl),"visiblegames"in e&&s(13,b=e.visiblegames),"favorites"in e&&s(14,v=e.favorites),"categoryid"in e&&s(17,w=e.categoryid),"casinomygames"in e&&s(15,$=e.casinomygames)},t.$$.update=()=>{if(16423&t.$$.dirty[0]&&l&&d&&c&&o&&v&&"true"==v&&S(l,c,d),65600&t.$$.dirty[0]&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),65664&t.$$.dirty[0]&&m&&n){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e},[c,d,l,a,i,o,u,m,p,h,g,f,y,b,v,$,n,w,function(e){lt[e?"unshift":"push"](()=>{n=e,s(16,n)})}]}function Cs(e,t){o(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-casino-typography, var(--emfe-w-color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ws,vs,n,{endpoint:13,datasource:14,lang:15,type:0,titletype:1,clientstyling:16,clientstylingurl:17,translationurl:18,collectionprovidersgamenames:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl","collectionprovidersgamenames"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),m()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),m()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},xs,$s,n,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,categoryid:17,casinomygames:15},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}});const Fs={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."}};function ks(e){let n;return{c(){S(n=pe("casino-games-category-section"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[14]),S(n,"categoryid","LASTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[12]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[13]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),16384&t[0]&&S(n,"favorites",e[14]),4096&t[0]&&S(n,"showgamename",e[12]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),8192&t[0]&&S(n,"visiblegames",e[13]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),1024&t[0]&&S(n,"integratedgameframedesktop",e[10]),512&t[0]&&S(n,"integratedgameframemobile",e[9]),32768&t[0]&&S(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Ss(e){let n,r,a=e[18]("noRecentGames")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){262144&t[0]&&a!==(a=e[18]("noRecentGames")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ms(n){let r,a;function i(e){return e[17]?Ss:ks}let o=i(n),s=o(n);return{c(){r=pe("div"),a=pe("div"),s.c(),this.c=N,fe(a,"class","CasinoLastPlayedSection"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),s.m(a,null),n[24](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:N,o:N,d(e){e&&me(r),s.d(),n[24](null)}}}function Es(t,e,n){let r;mt(t,ra,e=>n(18,r=e));let a,i,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:p=""}=e,{translationurl:h=""}=e,{livecasino:g="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{showgamename:v=""}=e,{visiblegames:w=""}=e,{favorites:$=""}=e,{lastplayedperiod:x="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:F=""}=e,{casinomygames:k="false"}=e,{lastplayedunique:S="true"}=e,M=window.navigator.userAgent,E=!1,L=[];Object.keys(Fs).forEach(e=>{Cs(e,Fs[e])});return t.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"currency"in e&&n(2,l=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,p=e.clientstylingurl),"translationurl"in e&&n(19,h=e.translationurl),"livecasino"in e&&n(8,g=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,b=e.gamepagemodalurl),"showgamename"in e&&n(12,v=e.showgamename),"visiblegames"in e&&n(13,w=e.visiblegames),"favorites"in e&&n(14,$=e.favorites),"lastplayedperiod"in e&&n(20,x=e.lastplayedperiod),"lastplayedorder"in e&&n(21,C=e.lastplayedorder),"lastplayedlimit"in e&&n(22,F=e.lastplayedlimit),"casinomygames"in e&&n(15,k=e.casinomygames),"lastplayedunique"in e&&n(23,S=e.lastplayedunique)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&o&&u&&c&&new Promise((e,t)=>{var n=new URL(`${o}/v1/player/${u}/games/last-played`);n.searchParams.append("unique",S),n.searchParams.append("limit",F),n.searchParams.append("order",C),n.searchParams.append("period",x),"PC"===ut(M)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),a=g?n:n.href,fetch(a).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(o+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",s),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{L=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===k&&(L=L.slice(0,JSON.parse(w))),window.postMessage({type:"LastPlayedData",lastPlayedGames:L},window.location.href)})}else n(17,E=!0)}),524288&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Cs(e,t[e])})}).catch(e=>{console.log(e)}),65600&t.$$.dirty[0]&&m&&i&&((e=document.createElement("style")).innerHTML=m,i.appendChild(e)),65664&t.$$.dirty[0]&&p&&i){let t=document.createElement("style");fetch(new URL(p)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;8&t.$$.dirty[0]&&c&&(e=c,ct.set(e))},[o,s,l,c,d,u,m,p,g,f,y,b,v,w,$,k,i,E,r,h,x,C,F,S,function(e){lt[e?"unshift":"push"](()=>{i=e,n(16,i)})}]}function Ls(e,t){o(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Es,Ms,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:19,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,casinomygames:15,lastplayedunique:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}});const Gs={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"No games in most played"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"}};function Is(e){let n;return{c(){S(n=pe("casino-games-category-section"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[14]),S(n,"categoryid","MOSTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[12]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[13]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),16384&t[0]&&S(n,"favorites",e[14]),4096&t[0]&&S(n,"showgamename",e[12]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),8192&t[0]&&S(n,"visiblegames",e[13]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),1024&t[0]&&S(n,"integratedgameframedesktop",e[10]),512&t[0]&&S(n,"integratedgameframemobile",e[9]),32768&t[0]&&S(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function _s(e){let n,r,a=e[18]("noGames")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){262144&t[0]&&a!==(a=e[18]("noGames")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ts(n){let r,a;function i(e){return e[17]?_s:Is}let o=i(n),s=o(n);return{c(){r=pe("div"),a=pe("div"),s.c(),this.c=N,fe(a,"class","casino-most-played-section"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),s.m(a,null),n[23](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:N,o:N,d(e){e&&me(r),s.d(),n[23](null)}}}function Ps(r,e,a){let t,{endpoint:i=""}=(mt(r,ra,e=>a(18,t=e)),e),{datasource:o=""}=e,{currency:n=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:h="false"}=e,{gamepagemodalurl:g="false"}=e,{showgamename:f=""}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,{translationurl:w=""}=e,{casinomygames:$="false"}=e,{mostplayedperiod:x="Last30Days"}=e,{mostplayedrounds:C="10"}=e,F=window.navigator.userAgent;Object.keys(Gs).forEach(e=>{Ls(e,Gs[e])});let k,S,M=[],E=!1;return r.$$set=e=>{"endpoint"in e&&a(0,i=e.endpoint),"datasource"in e&&a(1,o=e.datasource),"currency"in e&&a(2,n=e.currency),"lang"in e&&a(3,s=e.lang),"session"in e&&a(4,l=e.session),"userid"in e&&a(5,c=e.userid),"clientstyling"in e&&a(6,d=e.clientstyling),"clientstylingurl"in e&&a(7,u=e.clientstylingurl),"livecasino"in e&&a(8,m=e.livecasino),"integratedgameframemobile"in e&&a(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&a(10,h=e.integratedgameframedesktop),"gamepagemodalurl"in e&&a(11,g=e.gamepagemodalurl),"showgamename"in e&&a(12,f=e.showgamename),"visiblegames"in e&&a(13,y=e.visiblegames),"favorites"in e&&a(14,b=e.favorites),"lastPlayedEmpty"in e&&a(19,v=e.lastPlayedEmpty),"translationurl"in e&&a(20,w=e.translationurl),"casinomygames"in e&&a(15,$=e.casinomygames),"mostplayedperiod"in e&&a(21,x=e.mostplayedperiod),"mostplayedrounds"in e&&a(22,C=e.mostplayedrounds)},r.$$.update=()=>{if(41&r.$$.dirty[0]&&i&&c&&s&&(e={limit:100,device:ut(F),rounds:C},t=new URL(`${i}/v1/player/${c}/games/most-played`),e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x),(n=e.device)?"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),k=m?t:t.href,new Promise((e,t)=>{fetch(k).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(i+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",o),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{M=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===$&&(M=M.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:M},window.location.href)})}else a(17,E=!0)})),65600&r.$$.dirty[0]&&d&&S&&((n=document.createElement("style")).innerHTML=d,S.appendChild(n)),65664&r.$$.dirty[0]&&u&&S){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{S.appendChild(t)},1)})}var e,t,n;1048576&r.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ls(e,t[e])})}).catch(e=>{console.log(e)}),8&r.$$.dirty[0]&&s&&(e=s,ct.set(e))},[i,o,n,s,l,c,d,u,m,p,h,g,f,y,b,$,S,E,t,v,w,x,C,function(e){lt[e?"unshift":"push"](()=>{S=e,a(16,S)})}]}function Rs(e,t){o(e,t)}customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ps,Ts,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastPlayedEmpty:19,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastPlayedEmpty","translationurl","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get lastPlayedEmpty(){return this.$$.ctx[19]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});const Ds={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"}};function Bs(e,t,n){e=e.slice();return e[43]=t[n],e}function As(t){let a,n,i,r,o,e,s=t[27],l=[];for(let e=0;e<s.length;e+=1)l[e]=js(Bs(t,s,e));function c(e){return"Favorites"==e[25]?Ws:"MostPlayed"==e[25]?Us:"LastPlayed"==e[25]?zs:void 0}let d=c(t),u=d&&d(t);return{c(){a=pe("div"),n=pe("div"),i=pe("div");for(let e=0;e<l.length;e+=1)l[e].c();r=ge(),o=pe("div"),u&&u.c(),fe(i,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(a,"class",e="CasinoMyGames "+(t[26]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,n),de(n,i);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(i,null);de(a,r),de(a,o),u&&u.m(o,null)},p(t,n){if(2046935040&n[0]){let e;for(s=t[27],e=0;e<s.length;e+=1){var r=Bs(t,s,e);l[e]?l[e].p(r,n):(l[e]=js(r),l[e].c(),l[e].m(i,null))}for(;e<l.length;e+=1)l[e].d(1);l.length=s.length}d===(d=c(t))&&u?u.p(t,n):(u&&u.d(1),(u=d&&d(t))&&(u.c(),u.m(o,null))),67108864&n[0]&&e!==(e="CasinoMyGames "+(t[26]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),j(l,e),u&&u.d()}}}function Ns(n){let r,a,i,o,s,l,c,d,u,m,p=n[29]("favorites")+"";return{c(){r=pe("button"),a=he(p),i=ge(),o=pe("span"),s=he("("),l=he(n[28]),c=he(")"),fe(r,"class",d="MyGamesButton "+("Favorites"==n[25]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),de(r,o),de(o,s),de(o,l),de(o,c),u||(m=U(r,"click",n[32]),u=!0)},p(e,t){536870912&t[0]&&p!==(p=e[29]("favorites")+"")&&ye(a,p),268435456&t[0]&&ye(l,e[28]),33570816&t[0]&&d!==(d="MyGamesButton "+("Favorites"==e[25]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(r,"class",d)},d(e){e&&me(r),u=!1,m()}}}function Os(n){let r,a,i,o,s,l=n[29]("mostPlayed")+"";return{c(){r=pe("button"),a=he(l),fe(r,"class",i="MyGamesButton "+("MostPlayed"==n[25]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=U(r,"click",n[33]),o=!0)},p(e,t){536870912&t[0]&&l!==(l=e[29]("mostPlayed")+"")&&ye(a,l),33587200&t[0]&&i!==(i="MyGamesButton "+("MostPlayed"==e[25]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(r,"class",i)},d(e){e&&me(r),o=!1,s()}}}function Hs(n){let r,a,i,o,s,l,c=n[29]("recentlyPlayed")+"";return{c(){r=pe("button"),a=he(c),i=ge(),fe(r,"class",o="MyGamesButton "+("LastPlayed"==n[25]?"Active":"")+" "+("false"==n[16]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),s||(l=U(r,"click",n[34]),s=!0)},p(e,t){536870912&t[0]&&c!==(c=e[29]("recentlyPlayed")+"")&&ye(a,c),33619968&t[0]&&o!==(o="MyGamesButton "+("LastPlayed"==e[25]?"Active":"")+" "+("false"==e[16]?"Off":""))&&fe(r,"class",o)},d(e){e&&me(r),s=!1,l()}}}function js(e){let n,r,a,i="Favorites"==e[43]&&Ns(e),o="MostPlayed"==e[43]&&Os(e),s="LastPlayed"==e[43]&&Hs(e);return{c(){i&&i.c(),n=ge(),o&&o.c(),r=ge(),s&&s.c(),a=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,r,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){"Favorites"==e[43]?i?i.p(e,t):((i=Ns(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"MostPlayed"==e[43]?o?o.p(e,t):((o=Os(e)).c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null),"LastPlayed"==e[43]?s?s.p(e,t):((s=Hs(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){i&&i.d(e),e&&me(n),o&&o.d(e),e&&me(r),s&&s.d(e),e&&me(a)}}}function zs(e){let n;return{c(){S(n=pe("casino-last-played-section"),"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"favorites",e[14]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"class","CategoryContainer"),S(n,"showgamename",e[11]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"lastplayedperiod",e[18]),S(n,"lastplayedorder",e[20]),S(n,"lastplayedlimit",e[21]),S(n,"lastplayedunique",e[22]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13]),S(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16384&t[0]&&S(n,"favorites",e[14]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),2048&t[0]&&S(n,"showgamename",e[11]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),262144&t[0]&&S(n,"lastplayedperiod",e[18]),1048576&t[0]&&S(n,"lastplayedorder",e[20]),2097152&t[0]&&S(n,"lastplayedlimit",e[21]),4194304&t[0]&&S(n,"lastplayedunique",e[22]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13]),131072&t[0]&&S(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Us(e){let n;return{c(){S(n=pe("casino-most-played-section"),"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"userid",e[0]),S(n,"favorites",e[14]),S(n,"categoryindex","0"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[11]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"mostplayedrounds",e[23]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13]),S(n,"mostplayedperiod",e[19]),S(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),16384&t[0]&&S(n,"favorites",e[14]),2048&t[0]&&S(n,"showgamename",e[11]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),8388608&t[0]&&S(n,"mostplayedrounds",e[23]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13]),524288&t[0]&&S(n,"mostplayedperiod",e[19]),131072&t[0]&&S(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Ws(e){let n;return{c(){S(n=pe("casino-favorites-section"),"session",e[1]),S(n,"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"favorites",e[14]),S(n,"categoryid","FAVORITES"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[11]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13]),S(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),16384&t[0]&&S(n,"favorites",e[14]),2048&t[0]&&S(n,"showgamename",e[11]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13]),131072&t[0]&&S(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Ys(n){let r;function a(e){if(e[17])return As}let i=a(n),o=i&&i(n);return{c(){r=pe("div"),o&&o.c(),this.c=N},m(e,t){ue(e,r,t),o&&o.m(r,null),n[35](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o&&o.d(),n[35](null)}}}function Vs(t,e,n){let r;mt(t,ra,e=>n(29,r=e));let a,{userid:i=""}=e,{session:o=""}=e,{endpoint:s=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{currency:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:p=""}=e,{visiblegames:h=""}=e,{gamepagemodalurl:g=""}=e,{showgamename:f=""}=e,{integratedgameframedesktop:y=""}=e,{integratedgameframemobile:b=""}=e,{translationurl:v=""}=e,{favorites:w="false"}=e,{mostplayed:$="false"}=e,{lastplayed:x="false"}=e,{casinomygames:C="false"}=e,{lastplayedperiod:F="Last30Days"}=e,{mostplayedperiod:k="Last30Days"}=e,{lastplayedorder:S=""}=e,{lastplayedlimit:M=""}=e,{lastplayedunique:E="true"}=e,{mostplayedrounds:L=""}=e,D=window.navigator.userAgent,G="",I=!1,_=["","",""],T="0";var P,B;({withLocale:P,translations:B}={withLocale:"en",translations:{}}),ct.subscribe(e=>{null==e&&(Sr.set(B),ct.set(P))}),Object.keys(Ds).forEach(e=>{Rs(e,Ds[e])});const R=e=>{G!==e&&n(25,G=e)},A=()=>{var e;n(25,G="true"===w?"Favorites":"true"===$?"MostPlayed":"true"===x?"LastPlayed":""),n(27,_[0]="true"===w?"Favorites":"",_),n(27,_[1]="true"===$?"MostPlayed":"",_),n(27,_[2]="true"===x?"LastPlayed":"",_),e=c,ct.set(e)},N=e=>{e.data&&"UpdateCategoryFavoriteGames"===e.data.type&&n(28,T=e.data.receivedFavoriteResults.count)};return st(()=>(window.addEventListener("message",N,!1),n(26,I=dt(D)),()=>{window.removeEventListener("message",N)})),t.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,o=e.session),"endpoint"in e&&n(2,s=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,p=e.livecasino),"visiblegames"in e&&n(9,h=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"showgamename"in e&&n(11,f=e.showgamename),"integratedgameframedesktop"in e&&n(12,y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,b=e.integratedgameframemobile),"translationurl"in e&&n(31,v=e.translationurl),"favorites"in e&&n(14,w=e.favorites),"mostplayed"in e&&n(15,$=e.mostplayed),"lastplayed"in e&&n(16,x=e.lastplayed),"casinomygames"in e&&n(17,C=e.casinomygames),"lastplayedperiod"in e&&n(18,F=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,k=e.mostplayedperiod),"lastplayedorder"in e&&n(20,S=e.lastplayedorder),"lastplayedlimit"in e&&n(21,M=e.lastplayedlimit),"lastplayedunique"in e&&n(22,E=e.lastplayedunique),"mostplayedrounds"in e&&n(23,L=e.mostplayedrounds)},t.$$.update=()=>{if(28&t.$$.dirty[0]&&s&&l&&c&&A(),114688&t.$$.dirty[0]&&w&&$&&x&&A(),1&t.$$.dirty[1]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Rs(e,t[e])})}).catch(e=>{console.log(e)}),16777280&t.$$.dirty[0]&&u&&a&&((e=document.createElement("style")).innerHTML=u,a.appendChild(e)),16777344&t.$$.dirty[0]&&m&&a){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[i,o,s,l,c,d,u,m,p,h,g,f,y,b,w,$,x,C,F,k,S,M,E,L,a,G,I,_,T,r,R,v,()=>R("Favorites"),()=>R("MostPlayed"),()=>R("LastPlayed"),function(e){lt[e?"unshift":"push"](()=>{a=e,n(24,a)})}]}function qs(e,t){o(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Vs,Ys,n,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","showgamename","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),m()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),m()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});const Zs={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Pesquise por qualquer um dos nossos jogos."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."}};function Js(e,t,n){e=e.slice();return e[53]=t[n],e}function Ks(n){let r,a,i,o,s,l=n[20]("cancel")+"";return{c(){r=pe("small"),a=he(l),fe(r,"class",i="SearchCancelButton "+(n[12]?"NotVisible":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=U(r,"click",n[35]),o=!0)},p(e,t){1048576&t[0]&&l!==(l=e[20]("cancel")+"")&&ye(a,l),4096&t[0]&&i!==(i="SearchCancelButton "+(e[12]?"NotVisible":""))&&fe(r,"class",i)},d(e){e&&me(r),o=!1,s()}}}function Xs(e){let n,r,a,i;function o(e){return 1==e[16]&&e[11].length<2?tl:0!=e[14].length?el:void 0}let s=o(e),l=s&&s(e),c=!1===e[12]&&il(e),d=2<=e[11].length&&0==e[14].length&&sl(e);return{c(){l&&l.c(),n=ge(),r=pe("div"),c&&c.c(),a=ge(),d&&d.c(),fe(r,"class",i="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,r,t),c&&c.m(r,null),de(r,a),d&&d.m(r,null)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l&&l.d(1),(l=s&&s(e))&&(l.c(),l.m(n.parentNode,n))),!1===e[12]?c?c.p(e,t):((c=il(e)).c(),c.m(r,a)):c&&(c.d(1),c=null),2<=e[11].length&&0==e[14].length?d?d.p(e,t):((d=sl(e)).c(),d.m(r,null)):d&&(d.d(1),d=null),65536&t[0]&&i!==(i="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))&&fe(r,"class",i)},d(e){l&&l.d(e),e&&me(n),e&&me(r),c&&c.d(),d&&d.d()}}}function Qs(e){let n,r,a=e[20]("loading")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","LoadingContent")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1048576&t[0]&&a!==(a=e[20]("loading")+"")&&ye(r,a)},d(e){e&&me(n)}}}function el(e){let n,r,a=e[20]("searchResult")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1048576&t[0]&&a!==(a=e[20]("searchResult")+"")&&ye(r,a)},d(e){e&&me(n)}}}function tl(e){let n,r,a=0!==e[14].length&&nl(e),i=0==e[14].length&&rl(e);return{c(){a&&a.c(),n=ge(),i&&i.c(),r=c()},m(e,t){a&&a.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,r,t)},p(e,t){0!==e[14].length?a?a.p(e,t):((a=nl(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),0==e[14].length?i?i.p(e,t):((i=rl(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&me(n),i&&i.d(e),e&&me(r)}}}function nl(e){let n,r,a=e[20]("recentSearch")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1048576&t[0]&&a!==(a=e[20]("recentSearch")+"")&&ye(r,a)},d(e){e&&me(n)}}}function rl(e){let n,r,a,i,o,s=e[20]("noRecentSearches")+"",l="true"===e[10]&&al();return{c(){n=pe("div"),l&&l.c(),r=ge(),a=pe("p"),i=he(s),fe(a,"class","SearchMessage"),fe(n,"class",o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),l&&l.m(n,null),de(n,r),de(n,a),de(a,i)},p(e,t){"true"===e[10]?l||((l=al()).c(),l.m(n,r)):l&&(l.d(1),l=null),1048576&t[0]&&s!==(s=e[20]("noRecentSearches")+"")&&ye(i,s),1024&t[0]&&o!==(o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",o)},d(e){e&&me(n),l&&l.d()}}}function al(){let n;return{c(){(n=pe("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function il(t){let a,i=t[14],o=[];for(let e=0;e<i.length;e+=1)o[e]=ol(Js(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(17580543&n[0]){let e;for(i=t[14],e=0;e<i.length;e+=1){var r=Js(t,i,e);o[e]?o[e].p(r,n):(o[e]=ol(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){j(o,e),e&&me(a)}}}function ol(e){let n,r,a,i,o,s,l,c,d,u,m,p;return{c(){S(n=pe("casino-game-thumbnail"),"endpoint",e[0]),S(n,"session",e[18]),S(n,"userid",e[19]),S(n,"favorites",e[8]),S(n,"lang",e[1]),S(n,"gamethumbnail",r=e[53].thumbnail),S(n,"gamename",a=e[53].name),S(n,"gamevendor",i=e[53].vendor.name),S(n,"gamelaunchurl",o=e[53].launchUrl),S(n,"gameisnew",s=e[53].isNew),S(n,"gametag",l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags)),S(n,"gamecellsize",c=e[53].cellSize),S(n,"gameid",d=e[53].id),S(n,"showgamename",e[6]),S(n,"gamefunmode",u=e[53].hasFunMode),S(n,"gamefavorite",m=e[53].isFavorite),S(n,"livelobbyendpoint",p=e[53].details?e[53].launchUrl:""),S(n,"integratedgameframedesktop",e[4]),S(n,"integratedgameframemobile",e[5]),S(n,"clientstyling",e[2]),S(n,"clientstylingurl",e[3]),S(n,"gamepagemodalurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"endpoint",e[0]),262144&t[0]&&S(n,"session",e[18]),524288&t[0]&&S(n,"userid",e[19]),256&t[0]&&S(n,"favorites",e[8]),2&t[0]&&S(n,"lang",e[1]),16384&t[0]&&r!==(r=e[53].thumbnail)&&S(n,"gamethumbnail",r),16384&t[0]&&a!==(a=e[53].name)&&S(n,"gamename",a),16384&t[0]&&i!==(i=e[53].vendor.name)&&S(n,"gamevendor",i),16384&t[0]&&o!==(o=e[53].launchUrl)&&S(n,"gamelaunchurl",o),16384&t[0]&&s!==(s=e[53].isNew)&&S(n,"gameisnew",s),16384&t[0]&&l!==(l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags))&&S(n,"gametag",l),16384&t[0]&&c!==(c=e[53].cellSize)&&S(n,"gamecellsize",c),16384&t[0]&&d!==(d=e[53].id)&&S(n,"gameid",d),64&t[0]&&S(n,"showgamename",e[6]),16384&t[0]&&u!==(u=e[53].hasFunMode)&&S(n,"gamefunmode",u),16384&t[0]&&m!==(m=e[53].isFavorite)&&S(n,"gamefavorite",m),16384&t[0]&&p!==(p=e[53].details?e[53].launchUrl:"")&&S(n,"livelobbyendpoint",p),16&t[0]&&S(n,"integratedgameframedesktop",e[4]),32&t[0]&&S(n,"integratedgameframemobile",e[5]),4&t[0]&&S(n,"clientstyling",e[2]),8&t[0]&&S(n,"clientstylingurl",e[3]),128&t[0]&&S(n,"gamepagemodalurl",e[7])},d(e){e&&me(n)}}}function sl(e){let n,r,a,i,o,s,l,c,d=e[20]("notFound")+"",u=e[20]("notFoundText")+"",m="true"===e[10]&&ll();return{c(){n=pe("div"),m&&m.c(),r=ge(),a=pe("p"),i=he(d),o=ge(),s=pe("p"),l=he(u),fe(a,"class","SearchMessage"),fe(n,"class",c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),m&&m.m(n,null),de(n,r),de(n,a),de(a,i),de(n,o),de(n,s),de(s,l)},p(e,t){"true"===e[10]?m||((m=ll()).c(),m.m(n,r)):m&&(m.d(1),m=null),1048576&t[0]&&d!==(d=e[20]("notFound")+"")&&ye(i,d),1048576&t[0]&&u!==(u=e[20]("notFoundText")+"")&&ye(l,u),1024&t[0]&&c!==(c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",c)},d(e){e&&me(n),m&&m.d()}}}function ll(){let n;return{c(){(n=pe("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function cl(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C="true"===n[9]&&Ks(n);function F(e){return e[17]?Qs:Xs}let k=F(n),S=k(n);return{c(){r=pe("div"),a=pe("div"),i=pe("div"),(o=pe("div")).innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',s=ge(),l=pe("input"),d=ge(),u=pe("span"),m=z("svg"),p=z("path"),g=ge(),C&&C.c(),y=ge(),b=pe("div"),w=ge(),S.c(),this.c=N,fe(o,"class","SearchIcon"),fe(l,"class","SearchInput"),fe(l,"type","search"),fe(l,"placeholder",c=n[20]("placeHolderSearchGames")),fe(l,"maxlength",50),fe(p,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(p,"stroke","#717171"),fe(p,"stroke-width","2"),fe(p,"stroke-linecap","round"),fe(p,"stroke-linejoin","round"),fe(m,"width","11"),fe(m,"height","11"),fe(m,"fill","none"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(u,"class",h="SearchClearButton "+("true"!=n[9]?"WithoutCancel":"")+" "+(0!=n[11].length?"":"NotVisible")),fe(i,"class",f="Search "+(n[12]?"":"SearchAnimation")),fe(a,"class","SearchWrap"),fe(b,"class",v="true"!=n[9]?"OverlayCancel":""),fe(r,"class",("PC"!==ut(n[21])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(i,s),de(i,l),L(l,n[11]),n[33](l),de(i,d),de(i,u),de(u,m),de(m,p),de(i,g),C&&C.m(i,null),de(r,y),de(r,b),de(r,w),S.m(r,null),n[36](r),$||(x=[U(l,"input",n[32]),U(l,"focus",n[22]),U(u,"click",n[34]),U(b,"click",n[23])],$=!0)},p(e,t){1048576&t[0]&&c!==(c=e[20]("placeHolderSearchGames"))&&fe(l,"placeholder",c),2048&t[0]&&l.value!==e[11]&&L(l,e[11]),2560&t[0]&&h!==(h="SearchClearButton "+("true"!=e[9]?"WithoutCancel":"")+" "+(0!=e[11].length?"":"NotVisible"))&&fe(u,"class",h),"true"===e[9]?C?C.p(e,t):((C=Ks(e)).c(),C.m(i,null)):C&&(C.d(1),C=null),4096&t[0]&&f!==(f="Search "+(e[12]?"":"SearchAnimation"))&&fe(i,"class",f),512&t[0]&&v!==(v="true"!=e[9]?"OverlayCancel":"")&&fe(b,"class",v),k===(k=F(e))&&S?S.p(e,t):(S.d(1),(S=k(e))&&(S.c(),S.m(r,null)))},i:N,o:N,d(e){e&&me(r),n[33](null),C&&C.d(),S.d(),n[36](null),$=!1,H(x)}}}function dl(r,e,o){let t;mt(r,ra,e=>o(20,t=e));let n,a,i,s,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:p=""}=e,{clientstylingurl:h=""}=e,{integratedgameframedesktop:g="false"}=e,{integratedgameframemobile:f="false"}=e,{showgamename:y=""}=e,{gamepagemodalurl:b="true"}=e,{translationurl:v=""}=e,{showfavorites:w=""}=e,{cancelbutton:$="true"}=e,{notfoundicon:x="false"}=e,C=window.navigator.userAgent,F=[],k=[],S={},M="",E=!0,L=!1,G=!1,I=!1,_=[];Object.keys(Zs).forEach(e=>{qs(e,Zs[e])});const T=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===(k=(k=localStorage.getItem("searchedGamesWds_casino"))?k.split(","):[]).indexOf(t))&&(k.unshift(t),n=k.join(","),localStorage.setItem("searchedGamesWds_casino",n))}"UserSessionID"==e.data.type&&(o(18,i=e.data.session),o(19,s=e.data.userid),o(31,I=!0)),"CategoryChange"==e.data.type&&R()},D=()=>{if(o(12,E=!1),o(16,L=!0),l&&c&&m&&M.length<2){o(14,F=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],r=0,a=(t=e?e.split(","):t).length;if(0<a){for(r=0;r<a;r++){var i=new URL(l+"/v1/casino/games/"+t[r]);i.searchParams.append("language",m),i.searchParams.append("datasource",c),i.searchParams.append("platform",ut(C)),n.push(((e,r)=>new Promise((t,n)=>{o(17,G=!0),r&&Object.keys(S).indexOf(r)>=0?(o(17,G=!1),t(S[r])):fetch(e).then(e=>e.json()).then(e=>{o(17,G=!1),e.error||(S[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{o(17,G=!1),console.error(e),n(e)})}))(i,t[r]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),o(14,F=e.map(e=>(e.isFavorite=B(e.id),e))),F.length?P("searchSuccess","SearchWidget"):P("searchFail","SearchWidget")}).catch(e=>{P("searchError","SearchWidget")})}}N(L),P("searchAttempt","SearchWidget"),P("SearchInitialized","SearchWidget")},P=(e,t)=>{"function"==typeof gtag&>ag("event",e,{context:t})},B=t=>-1!==_.findIndex(e=>e==t),R=()=>{o(11,M=""),o(12,E=!0),o(17,G=!1),o(14,F=[]),o(16,L=!1),N(L)},A=()=>{o(11,M=""),n.focus()},N=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)};return st(()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)})),r.$$set=e=>{"endpoint"in e&&o(0,l=e.endpoint),"datasource"in e&&o(27,c=e.datasource),"session"in e&&o(28,d=e.session),"userid"in e&&o(29,u=e.userid),"lang"in e&&o(1,m=e.lang),"clientstyling"in e&&o(2,p=e.clientstyling),"clientstylingurl"in e&&o(3,h=e.clientstylingurl),"integratedgameframedesktop"in e&&o(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(5,f=e.integratedgameframemobile),"showgamename"in e&&o(6,y=e.showgamename),"gamepagemodalurl"in e&&o(7,b=e.gamepagemodalurl),"translationurl"in e&&o(30,v=e.translationurl),"showfavorites"in e&&o(8,w=e.showfavorites),"cancelbutton"in e&&o(9,$=e.cancelbutton),"notfoundicon"in e&&o(10,x=e.notfoundicon)},r.$$.update=()=>{if(134223875&r.$$.dirty[0])if(2<=M.length){const r=new URL(l+"/v1/casino/games");r.searchParams.append("datasource",c),r.searchParams.append("expand","vendor"),r.searchParams.append("platform",ut(C)),r.searchParams.append("language",m),r.searchParams.append("pagination","offset=0,limit=30"),r.searchParams.append("filter","name="+M),e=r,new Promise((t,n)=>{o(17,G=!0),fetch(e.href).then(e=>e.json()).then(e=>{o(17,G=!1),t(e)}).catch(e=>{o(17,G=!1),console.error(e),n(e)})}).then(e=>{o(14,F=e.items.map(e=>(e.isFavorite=B(e.id),e)))})}else E||D();var e,t,n;if(2&r.$$.dirty[0]&&m&&(n=m,ct.set(n)),1073741824&r.$$.dirty[0]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qs(e,t[e])})}).catch(e=>{console.log(e)}),805306368&r.$$.dirty[0]&&d&&u&&(o(31,I=!0),o(18,i=d),o(19,s=u)),256&r.$$.dirty[0]|1&r.$$.dirty[1]&&w&&I&&(n=new URL(`${l}/v1/player/${s}/favorites/`),o(17,G=!0),t={method:"GET",headers:{"X-SessionID":i}},fetch(n.href,t).then(e=>e.json()).then(e=>{o(17,G=!1),_=e.items.map(e=>e.id)})),8196&r.$$.dirty[0]&&p&&a&&((t=document.createElement("style")).innerHTML=p,a.appendChild(t)),8200&r.$$.dirty[0]&&h&&a){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}},[l,m,p,h,g,f,y,b,w,$,x,M,E,a,F,n,L,G,i,s,t,C,D,()=>{"true"!=$&&R()},r=>{if(0===(null==r?void 0:r.length))return"";let a,i,o=99999999999;const s=new Date(Date.now());return r.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Da(e).diff(s)<o&&(o=Da(e).diff(s),i=t),Da(s).isAfter(n)&&Da(s).isBefore(e)&&(a=r[i].name)}),a},R,A,c,d,u,v,I,function(){M=this.value,o(11,M)},function(e){lt[e?"unshift":"push"](()=>{n=e,o(15,n)})},()=>A(),()=>R(),function(e){lt[e?"unshift":"push"](()=>{a=e,o(13,a)})}]}function ul(e,{delay:t=0,duration:n=400,easing:r=v}={}){const a=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*a}}function ml(n){let r,a,i,o,s,l,c,d,t,u,m,p;return{c(){r=pe("div"),a=pe("div"),(i=pe("div")).innerHTML="<slot></slot>",o=ge(),s=pe("span"),(l=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(l,"name","close"),fe(s,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(s,"role","button"),fe(a,"class","ModalWindow"),fe(a,"part","ModalWindow"),fe(a,"id","Modal"),Z(()=>n[19].call(a)),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(s,l),n[18](a),d=function(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===k){k=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){k=!0}}return k}());let a;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",a=U(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{a=U(n.contentWindow,"resize",t),t()}),de(e,n),()=>{(r||a&&n.contentWindow)&&a(),me(n)}}(a,n[19].bind(a)),n[20](r),u=!0,m||(p=U(s,"click",n[8]),m=!0)},p(e,t){n=e,(!u||10&t&&c!==(c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")))&&fe(s,"class",c)},i(e){u||(Z(()=>{u&&(t=t||ie(a,ul,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||ie(a,ul,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&me(r),n[18](null),d(),e&&t&&t.end(),n[20](null),m=!1,p()}}}function pl(e){let n,r,a=e[7]&&ml(e);return{c(){a&&a.c(),n=c(),this.c=N},m(e,t){a&&a.m(e,t),ue(e,n,t),r=!0},p(e,[t]){e[7]?a?(a.p(e,t),128&t&&ne(a,1)):((a=ml(e)).c(),ne(a,1),a.m(n.parentNode,n)):a&&(te={r:0,c:[],p:te},re(a,1,1,()=>{a=null}),te.r||H(te.c),te=te.p)},i(e){r||(ne(a),r=!0)},o(e){re(a),r=!1},d(e){a&&a.d(e),e&&me(n)}}}function hl(t,e,n){let r,a,i,o,{duration:s=350}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{identifier:u=""}=e,{clientstylingurl:m=""}=e,{endpoint:p=""}=e,{haspanicbutton:h="false"}=e,{gamepagemodalurl:g="false"}=e,{sessioncheck:f="true"}=e,{integratedgameframedesktop:y="false"}=e,b=window.navigator.userAgent,v=!1,w=!1,$=!1;const x=e=>{var t;"ShowModal"==e.data.type&&u==e.data.identifier&&(n(7,$=!0),window.postMessage({type:"DisableScroll"},window.location.href)),"ModalClosed"!=e.data.type||"true"!==y&&!dt(b)||n(7,$=!1),"ShowGameModal"===e.data.type&&(n(7,$=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrameModal"===e.data.type&&(n(7,$=!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&&(w=e.data.detailsObtained)},C=e=>{var t;w&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return st(()=>(n(3,v=dt(b)),window.addEventListener("message",x,!1),window.addEventListener("resize",C,!1),()=>{window.removeEventListener("message",x),window.removeEventListener("resize",x)})),t.$$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,d=e.clientstyling),"identifier"in e&&n(12,u=e.identifier),"clientstylingurl"in e&&n(13,m=e.clientstylingurl),"endpoint"in e&&n(14,p=e.endpoint),"haspanicbutton"in e&&n(1,h=e.haspanicbutton),"gamepagemodalurl"in e&&n(15,g=e.gamepagemodalurl),"sessioncheck"in e&&n(16,f=e.sessioncheck),"integratedgameframedesktop"in e&&n(17,y=e.integratedgameframedesktop)},t.$$.update=()=>{if(17920&t.$$.dirty&&l&&c&&p&&"true"==f&&aa(p,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2052&t.$$.dirty&&d&&a&&((e=document.createElement("style")).innerHTML=d,a.appendChild(e)),8196&t.$$.dirty&&m&&a){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[s,h,a,v,r,void 0,void 0,$,()=>{n(7,$=!1),n(3,v=dt(b)),window.postMessage({type:"ModalClosed",gamepagemodalurl:g,mobileView:v,closeIntegratedGameFrameDesktop:!0},window.location.href)},l,c,d,u,m,p,g,f,y,function(e){lt[e?"unshift":"push"](()=>{r=e,n(4,r)})},function(){i=this.clientWidth,o=this.clientHeight,n(5,i),n(6,o)},function(e){lt[e?"unshift":"push"](()=>{a=e,n(2,a)})}]}function gl(e,t,n){e=e.slice();return e[26]=t[n],e[27]=t,e[28]=n,e}function fl(e,t,n){e=e.slice();return e[29]=t[n],e[28]=n,e}function yl(t){let a,n,i,r,e,o=t[3],s=[];for(let e=0;e<o.length;e+=1)s[e]=Fl(gl(t,o,e));return{c(){a=pe("div"),n=pe("div"),i=he(t[1]),r=ge();for(let e=0;e<s.length;e+=1)s[e].c();fe(n,"class","CasinoCalendarDailyDay"),fe(a,"class",e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,n),de(n,i),de(a,r);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(a,null)},p(t,n){if(2&n&&ye(i,t[1]),409&n){let e;for(o=t[3],e=0;e<o.length;e+=1){var r=gl(t,o,e);s[e]?s[e].p(r,n):(s[e]=Fl(r),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}64&n&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),j(s,e)}}}function bl(e){let n;return{c(){(n=pe("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function vl(e){let n,r;return{c(){n=z("svg"),fe(r=z("path"),"stroke-linecap","round"),fe(r,"stroke-linejoin","round"),fe(r,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,r)},d(e){e&&me(n)}}}function wl(e){let n,r;return{c(){n=z("svg"),fe(r=z("path"),"stroke-linecap","round"),fe(r,"stroke-linejoin","round"),fe(r,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,r)},d(e){e&&me(n)}}}function $l(t){let r,a,i=t[26].details,o=[];for(let e=0;e<i.length;e+=1)o[e]=xl(fl(t,i,e));let s=t[26].detailsExpanded&&Cl(t);return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=ge(),s&&s.c(),a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n),s&&s.m(t,n),ue(t,a,n)},p(t,n){if(280&n){let e;for(i=t[26].details,e=0;e<i.length;e+=1){const s=fl(t,i,e);o[e]?o[e].p(s,n):(o[e]=xl(s),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}t[26].detailsExpanded?s?s.p(t,n):((s=Cl(t)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){j(o,e),e&&me(r),s&&s.d(e),e&&me(a)}}}function xl(n){let r,a,i,o,s,l,c,d,u=n[29].title+"";function m(){return n[18](n[26],n[28])}return{c(){r=pe("div"),a=pe("div"),i=pe("button"),o=he(u),fe(i,"class",s="HeaderButton "+(n[29].expandedTab?"Active":"")),fe(a,"class","Header"),fe(r,"class",l=n[28]==n[4]?"SelectedTab":""),fe(r,"id","CollapseMoreInfoButton"),P(r,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),c||(d=U(i,"click",m),c=!0)},p(e,t){n=e,8&t&&u!==(u=n[29].title+"")&&ye(o,u),8&t&&s!==(s="HeaderButton "+(n[29].expandedTab?"Active":""))&&fe(i,"class",s),16&t&&l!==(l=n[28]==n[4]?"SelectedTab":"")&&fe(r,"class",l),8&t&&P(r,"height",n[26].expandedInfo?"100%":"")},d(e){e&&me(r),c=!1,d()}}}function Cl(e){let n,r,a,i=e[26].details[e[4]].description+"";return{c(){n=pe("div"),r=he(i),fe(n,"class",a="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){24&t&&i!==(i=e[26].details[e[4]].description+"")&&ye(r,i),24&t&&a!==(a="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))&&fe(n,"class",a)},d(e){e&&me(n)}}}function Fl(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C=n[26].title+"",F=n[26].description+"";function k(e){return 1==e[26].expandedInfo?wl:vl}let S=k(n),M=S(n);function E(){return n[17](n[26],n[27],n[28])}let L=1==n[26].expandedInfo&&$l(n);return{c(){r=pe("div"),a=pe("div"),i=he(C),o=ge(),s=pe("div"),l=pe("img"),u=ge(),m=pe("div"),p=he(F),h=ge(),g=pe("div"),f=pe("button"),y=he(n[0]),b=ge(),M.c(),v=ge(),L&&L.c(),w=ge(),fe(a,"class","CasinoCalendarDailyTitle"),fe(l,"class","CasinoCalendarFitImage"),ce(l.src,c=n[26].image)||fe(l,"src",c),fe(l,"alt",d=n[26].image),fe(s,"class","CasinoCalendarImage"),fe(m,"class","CasinoCalendarDailyDescription"),fe(f,"class","MoreInfoButton"),fe(g,"class","CasinoCalendarTabs"),fe(r,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(s,l),de(r,u),de(r,m),de(m,p),de(r,h),de(r,g),de(g,f),de(f,y),de(f,b),M.m(f,null),de(g,v),L&&L.m(g,null),de(r,w),$||(x=U(f,"click",E),$=!0)},p(e,t){n=e,8&t&&C!==(C=n[26].title+"")&&ye(i,C),8&t&&!ce(l.src,c=n[26].image)&&fe(l,"src",c),8&t&&d!==(d=n[26].image)&&fe(l,"alt",d),8&t&&F!==(F=n[26].description+"")&&ye(p,F),1&t&&ye(y,n[0]),S!==(S=k(n))&&(M.d(1),M=S(n))&&(M.c(),M.m(f,null)),1==n[26].expandedInfo?L?L.p(n,t):((L=$l(n)).c(),L.m(g,null)):L&&(L.d(1),L=null)},d(e){e&&me(r),M.d(),L&&L.d(),$=!1,x()}}}function kl(n){let r;function a(e){return e[5]?bl:yl}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=N},m(e,t){ue(e,r,t),o.m(r,null),n[19](r)},p(e,[t]){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o.d(),n[19](null)}}}function Sl(t,e,r){let n,{dailybackground:a=""}=e,{dailybuttontitle:i=""}=e,{dailyday:o=""}=e,{dailydescription:s="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{translationUrl:p=""}=e,h=[],g=0,f=!0,y=!1,b=window.navigator.userAgent;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),ct.subscribe(e=>{null==e&&(Sr.set(w),ct.set(v))});const $=e=>{"DailyEventsData"==e.data.type&&(r(5,f=!1),r(3,h=e.data.data),h.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.details.forEach((e,t)=>{e.expandedTab=0==t})})),"ModalClosed"==e.data.type&&(r(4,g=0),h.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t}))},x=e=>{r(4,g=0),r(3,h[e].detailsExpanded=!h[e].detailsExpanded,h),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},C=(e,t)=>{r(4,g=t),e.details.forEach((e,t)=>{e.expandedTab=g==t})};return st(()=>(window.addEventListener("message",$,!1),dt(b)&&r(6,y=!0),()=>{window.removeEventListener("message",$)})),t.$$set=e=>{"dailybackground"in e&&r(9,a=e.dailybackground),"dailybuttontitle"in e&&r(0,i=e.dailybuttontitle),"dailyday"in e&&r(1,o=e.dailyday),"dailydescription"in e&&r(10,s=e.dailydescription),"dailyicon"in e&&r(11,l=e.dailyicon),"dailytitle"in e&&r(12,c=e.dailytitle),"lang"in e&&r(13,d=e.lang),"clientstyling"in e&&r(14,u=e.clientstyling),"clientstylingurl"in e&&r(15,m=e.clientstylingurl),"translationUrl"in e&&r(16,p=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty&&d&&(e=d,ct.set(e)),16388&t.$$.dirty&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),32772&t.$$.dirty&&m&&n){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[i,o,n,h,g,f,y,x,C,a,s,l,c,d,u,m,p,(e,t,n)=>{r(3,t[n].expandedInfo=!e.expandedInfo,h),x(n)},(e,t)=>{C(e,t)},function(e){lt[e?"unshift":"push"](()=>{n=e,r(2,n)})}]}function Ml(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C,F,k;return{c(){r=pe("div"),a=pe("div"),i=pe("div"),o=pe("div"),(s=pe("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=ge(),c=pe("div"),d=pe("div"),u=pe("img"),p=ge(),h=pe("div"),g=he(n[2]),f=ge(),y=pe("div"),b=ge(),v=pe("div"),w=pe("button"),$=he(n[3]),this.c=N,fe(s,"class","CalendarBar"),ce(u.src,m=n[1])||fe(u,"src",m),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(h,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(v,"class","CasinoCalendarDailyItemButton"),fe(c,"class",x="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),P(c,"background-image","url('"+n[0]+"')"),P(c,"background-size","cover"),P(c,"background-position","center"),P(c,"-webkit-background-size","cover"),P(c,"-moz-background-size","cover"),P(c,"-o-background-size","cover"),fe(o,"class","CalendarCard"),fe(i,"class","CasinoCalendarItems"),fe(a,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(o,l),de(o,c),de(c,d),de(d,u),de(c,p),de(c,h),de(h,g),de(c,f),de(c,y),n[14](y),de(c,b),de(c,v),de(v,w),de(w,$),n[16](r),F||(k=U(w,"click",n[15]),F=!0)},p(e,[t]){2&t&&!ce(u.src,m=e[1])&&fe(u,"src",m),2&t&&fe(u,"alt",e[1]),4&t&&ye(g,e[2]),8&t&&ye($,e[3]),16&t&&x!==(x="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",x),1&t&&P(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(a,"class",C)},i:N,o:N,d(e){e&&me(r),n[14](null),n[16](null),F=!1,k()}}}function El(t,e,n){let r,a,{cmsendpoint:i=""}=e,{lang:o=""}=e,{dailybackground:s=""}=e,{dailyicon:l=""}=e,{dailyday:c=""}=e,{dailydescription:d="<p></p>"}=e,{dailybuttontitle:u=""}=e,{index:m="0"}=e,{clientstyling:p=""}=e,{clientstylingurl:h=""}=e;var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),ct.subscribe(e=>{null==e&&(Sr.set(f),ct.set(g))});let y=!1,b=window.navigator.userAgent;const v=()=>{window.postMessage({type:"OpenCalendar",index:m},window.location.href),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};return st(()=>{dt(b)&&n(7,y=!0)}),t.$$set=e=>{"cmsendpoint"in e&&n(9,i=e.cmsendpoint),"lang"in e&&n(10,o=e.lang),"dailybackground"in e&&n(0,s=e.dailybackground),"dailyicon"in e&&n(1,l=e.dailyicon),"dailyday"in e&&n(2,c=e.dailyday),"dailydescription"in e&&n(11,d=e.dailydescription),"dailybuttontitle"in e&&n(3,u=e.dailybuttontitle),"index"in e&&n(4,m=e.index),"clientstyling"in e&&n(12,p=e.clientstyling),"clientstylingurl"in e&&n(13,h=e.clientstylingurl)},t.$$.update=()=>{if(2063&t.$$.dirty&&l&&c&&d&&u&&s&&((e=document.createElement("div")).innerHTML=d,r)&&r.append(e),4128&t.$$.dirty&&p&&a&&((e=document.createElement("style")).innerHTML=p,a.appendChild(e)),8224&t.$$.dirty&&h&&a){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[s,l,c,u,m,a,r,y,v,i,o,d,p,h,function(e){lt[e?"unshift":"push"](()=>{r=e,n(6,r)})},()=>v(),function(e){lt[e?"unshift":"push"](()=>{a=e,n(5,a)})}]}function Ll(e,t,n){e=e.slice();return e[21]=t[n],e[23]=n,e}function Gl(t){let r,a,e,i=t[4],o=[];for(let e=0;e<i.length;e+=1)o[e]=Tl(Ll(t,i,e));let s=1==t[9]&&Pl(t);return{c(){r=pe("div");for(let e=0;e<o.length;e+=1)o[e].c();a=ge(),s&&s.c(),fe(r,"class",e="CasinoCalendarItem "+(t[8]?"Mobile":""))},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null);de(r,a),s&&s.m(r,null)},p(t,n){if(23&n){let e;for(i=t[4],e=0;e<i.length;e+=1){const s=Ll(t,i,e);o[e]?o[e].p(s,n):(o[e]=Tl(s),o[e].c(),o[e].m(r,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}1==t[9]?s?s.p(t,n):((s=Pl(t)).c(),s.m(r,null)):s&&(s.d(1),s=null),256&n&&e!==(e="CasinoCalendarItem "+(t[8]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),j(o,e),s&&s.d()}}}function Il(e){let n;return{c(){fe(n=pe("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function _l(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){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Tl(e){let n,r,a,i,o,s;return{c(){S(n=pe("casino-calendar-daily-item"),"dailybackground",r=e[21].dailyBackground),S(n,"dailyicon",a=e[21].dailyIcon),S(n,"dailyday",i=e[21].dailyDay),S(n,"dailydescription",o=e[21].dailyDescription),S(n,"dailybuttontitle",s=e[21].dailyButtonTitle),S(n,"index",e[23]),S(n,"lang",e[0]),S(n,"clientstyling",e[1]),S(n,"clientstylingurl",e[2])},m(e,t){ue(e,n,t)},p(e,t){16&t&&r!==(r=e[21].dailyBackground)&&S(n,"dailybackground",r),16&t&&a!==(a=e[21].dailyIcon)&&S(n,"dailyicon",a),16&t&&i!==(i=e[21].dailyDay)&&S(n,"dailyday",i),16&t&&o!==(o=e[21].dailyDescription)&&S(n,"dailydescription",o),16&t&&s!==(s=e[21].dailyButtonTitle)&&S(n,"dailybuttontitle",s),1&t&&S(n,"lang",e[0]),2&t&&S(n,"clientstyling",e[1]),4&t&&S(n,"clientstylingurl",e[2])},d(e){e&&me(n)}}}function Pl(e){let n,r,a,i,o,s,l,c;return{c(){n=pe("casino-modal"),S(r=pe("casino-calendar-daily-details"),"dailybackground",a=e[4][e[5]].dailyBackground),S(r,"dailybuttontitle",i=e[4][e[5]].dailyButtonTitle),S(r,"dailyday",o=e[4][e[5]].dailyDay),S(r,"dailydescription",s=e[4][e[5]].dailyDescription),S(r,"dailyicon",l=e[4][e[5]].dailyIcon),S(r,"dailytitle",c=e[4][e[5]].dailyTitle),S(r,"lang",e[0]),S(r,"clientstyling",e[1]),S(r,"clientstylingurl",e[2]),S(n,"identifier","Calendar")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){48&t&&a!==(a=e[4][e[5]].dailyBackground)&&S(r,"dailybackground",a),48&t&&i!==(i=e[4][e[5]].dailyButtonTitle)&&S(r,"dailybuttontitle",i),48&t&&o!==(o=e[4][e[5]].dailyDay)&&S(r,"dailyday",o),48&t&&s!==(s=e[4][e[5]].dailyDescription)&&S(r,"dailydescription",s),48&t&&l!==(l=e[4][e[5]].dailyIcon)&&S(r,"dailyicon",l),48&t&&c!==(c=e[4][e[5]].dailyTitle)&&S(r,"dailytitle",c),1&t&&S(r,"lang",e[0]),2&t&&S(r,"clientstyling",e[1]),4&t&&S(r,"clientstylingurl",e[2])},d(e){e&&me(n)}}}function Rl(n){let r;function a(e){return e[7]?_l:e[6]?Il:e[4]?.length?Gl:void 0}let i=a(n),o=i&&i(n);return{c(){r=pe("div"),o&&o.c(),this.c=N},m(e,t){ue(e,r,t),o&&o.m(r,null),n[13](r)},p(e,[t]){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o&&o.d(),n[13](null)}}}function Dl(n,e,r){let a,i,{cmsendpoint:o=""}=e,{env:s=""}=e,{userroles:l=""}=e,{lang:c="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,m=0,p=!0,h=!1,t=!1,g=window.navigator.userAgent,f=!1;const y=e=>{var t;e.data&&"OpenCalendar"==e.data.type&&(r(5,m=e.data.index),r(9,f=!0),window.postMessage({type:"ShowModal",selectedIndex:m,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:null==(t=i[m])?void 0:t.dailyEvents})),e.data&&"ModalClosed"==e.data.type&&r(9,f=!1)};return st(()=>(window.addEventListener("message",y,!1),dt(g)&&r(8,t=!0),()=>{window.removeEventListener("message",y)})),n.$$set=e=>{"cmsendpoint"in e&&r(10,o=e.cmsendpoint),"env"in e&&r(11,s=e.env),"userroles"in e&&r(12,l=e.userroles),"lang"in e&&r(0,c=e.lang),"clientstyling"in e&&r(1,d=e.clientstyling),"clientstylingurl"in e&&r(2,u=e.clientstylingurl)},n.$$.update=()=>{if(7169&n.$$.dirty&&o&&c&&s&&l&&(r(6,p=!0),(e=new URL(`${o}/${c}/daily-calendar?env=${s}/`)).searchParams.append("userRoles",l),(t=ut(g))&&("PC"===t?e.searchParams.append("device","dk"):"iPad"===t||"iPhone"===t?e.searchParams.append("device","ios"):e.searchParams.append("device","mtWeb")),fetch(e.href).then(e=>e.json()).then(e=>{r(4,i=e)}).catch(e=>{console.log(e),r(7,h=!0)}).finally(()=>{r(6,p=!1)})),10&n.$$.dirty&&d&&a&&((t=document.createElement("style")).innerHTML=d,a.appendChild(t)),12&n.$$.dirty&&u&&a){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e,t},[c,d,u,a,i,m,p,h,t,f,o,s,l,function(e){lt[e?"unshift":"push"](()=>{a=e,r(3,a)})}]}function Bl(e,t,n){e=e.slice();return e[136]=t[n],e[138]=n,e}function Al(e){let n,r,a,i,o,s,l="true"==e[22]&&0==ac&&!e[78]&&Ol(e),c=!e[77]&&!e[76]&&"false"==e[53]&&Hl(e);function d(e){return e[72]?Ul:e[78]?void 0:zl}let u=d(e),m=u&&u(e),p=e[74]&&"true"==e[17]&&nc(e);return{c(){n=pe("section"),r=pe("casino-search"),a=ge(),l&&l.c(),i=ge(),c&&c.c(),o=ge(),m&&m.c(),s=ge(),p&&p.c(),S(r,"endpoint",e[1]),S(r,"datasource",e[3]),S(r,"showgamename",e[20]),S(r,"lang",e[5]),S(r,"clientstyling",e[8]),S(r,"clientstylingurl",e[10]),S(r,"integratedgameframedesktop",e[31]),S(r,"integratedgameframemobile",e[32]),S(r,"translationurl",e[11]),S(r,"showfavorites",e[15]),fe(n,"class","CategoriesLobby"),P(n,"max-width",e[16]+"px")},m(e,t){ue(e,n,t),de(n,r),de(n,a),l&&l.m(n,null),de(n,i),c&&c.m(n,null),de(n,o),m&&m.m(n,null),de(n,s),p&&p.m(n,null)},p(e,t){2&t[0]&&S(r,"endpoint",e[1]),8&t[0]&&S(r,"datasource",e[3]),1048576&t[0]&&S(r,"showgamename",e[20]),32&t[0]&&S(r,"lang",e[5]),256&t[0]&&S(r,"clientstyling",e[8]),1024&t[0]&&S(r,"clientstylingurl",e[10]),1&t[1]&&S(r,"integratedgameframedesktop",e[31]),2&t[1]&&S(r,"integratedgameframemobile",e[32]),2048&t[0]&&S(r,"translationurl",e[11]),32768&t[0]&&S(r,"showfavorites",e[15]),"true"!=e[22]||0!=ac||e[78]?l&&(l.d(1),l=null):l?l.p(e,t):((l=Ol(e)).c(),l.m(n,i)),e[77]||e[76]||"false"!=e[53]?c&&(c.d(1),c=null):c?c.p(e,t):((c=Hl(e)).c(),c.m(n,o)),u===(u=d(e))&&m?m.p(e,t):(m&&m.d(1),(m=u&&u(e))&&(m.c(),m.m(n,s))),e[74]&&"true"==e[17]?p?p.p(e,t):((p=nc(e)).c(),p.m(n,null)):p&&(p.d(1),p=null),65536&t[0]&&P(n,"max-width",e[16]+"px")},d(e){e&&me(n),l&&l.d(),c&&c.d(),m&&m.d(),p&&p.d()}}}function Nl(e){let n,r,a=e[81]("500")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){524288&t[2]&&a!==(a=e[81]("500")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ol(e){let n;return{c(){S(n=pe("casino-random-game"),"datasource",e[3]),S(n,"filteredrandomgamecategories",e[23]),S(n,"endpoint",e[1]),S(n,"lang",e[5]),S(n,"gameevent",e[71]),S(n,"randombuttonicon",e[67]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&S(n,"datasource",e[3]),8388608&t[0]&&S(n,"filteredrandomgamecategories",e[23]),2&t[0]&&S(n,"endpoint",e[1]),32&t[0]&&S(n,"lang",e[5]),512&t[2]&&S(n,"gameevent",e[71]),32&t[2]&&S(n,"randombuttonicon",e[67]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function Hl(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$=n[81]("filters")+"",x=n[80]&&jl(n);return{c(){r=pe("div"),x&&x.c(),a=ge(),i=pe("div"),o=pe("div"),s=he($),l=ge(),c=pe("div"),d=z("svg"),u=z("defs"),m=z("style"),p=he(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=z("path"),g=ge(),f=pe("div"),y=pe("span"),b=he(n[80]),fe(o,"class","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(d,"xmlns","http://www.w3.org/2000/svg"),fe(d,"width","20"),fe(d,"height","20"),fe(d,"viewBox","0 0 26 26"),fe(y,"class","NumberOfFilters"),fe(f,"class","NumberOfFiltersContainer"),fe(c,"class","FilterIconContainer"),fe(i,"class","FilterButtonWrapper"),fe(r,"class","FiltersButtonsContainer")},m(e,t){ue(e,r,t),x&&x.m(r,null),de(r,a),de(r,i),de(i,o),de(o,s),de(i,l),de(i,c),de(c,d),de(d,u),de(u,m),de(m,p),de(d,h),de(c,g),de(c,f),de(f,y),de(y,b),v||(w=U(i,"click",n[90]),v=!0)},p(e,t){e[80]?x?x.p(e,t):((x=jl(e)).c(),x.m(r,a)):x&&(x.d(1),x=null),524288&t[2]&&$!==($=e[81]("filters")+"")&&ye(s,$),262144&t[2]&&ye(b,e[80])},d(e){e&&me(r),x&&x.d(),v=!1,w()}}}function jl(n){let r,a,i,o,s,l,c,d=n[81]("clear")+"";return{c(){r=pe("div"),a=pe("div"),i=he(d),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(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),l||(c=U(r,"click",n[89]),l=!0)},p(e,t){524288&t[2]&&d!==(d=e[81]("clear")+"")&&ye(i,d)},d(e){e&&me(r),l=!1,c()}}}function zl(e){let n;function r(e){return e[77]?Vl:e[76]?Yl:Wl}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Ul(e){let n,r,a=e[81]("loading")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){524288&t[2]&&a!==(a=e[81]("loading")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Wl(e){let n;return{c(){S(n=pe("casino-games-category-section"),"userid",e[7]),S(n,"endpoint",e[1]),S(n,"datasource",e[3]),S(n,"favorites",e[15]),S(n,"lang",e[5]),S(n,"currency",e[4]),S(n,"session",e[6]),S(n,"categoryid",e[69]),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[20]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10]),S(n,"livecasino",e[21]),S(n,"visiblegames",e[14]),S(n,"gamepagemodalurl",e[24]),S(n,"integratedgameframedesktop",e[31]),S(n,"integratedgameframemobile",e[32]),S(n,"casinomygames",e[0]),S(n,"filterbylogo",e[55]),S(n,"addfilterselector",e[53]),S(n,"addsortingselector",e[54]),S(n,"casinogamesgridslider",e[25])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&S(n,"userid",e[7]),2&t[0]&&S(n,"endpoint",e[1]),8&t[0]&&S(n,"datasource",e[3]),32768&t[0]&&S(n,"favorites",e[15]),32&t[0]&&S(n,"lang",e[5]),16&t[0]&&S(n,"currency",e[4]),64&t[0]&&S(n,"session",e[6]),128&t[2]&&S(n,"categoryid",e[69]),1048576&t[0]&&S(n,"showgamename",e[20]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10]),2097152&t[0]&&S(n,"livecasino",e[21]),16384&t[0]&&S(n,"visiblegames",e[14]),16777216&t[0]&&S(n,"gamepagemodalurl",e[24]),1&t[1]&&S(n,"integratedgameframedesktop",e[31]),2&t[1]&&S(n,"integratedgameframemobile",e[32]),1&t[0]&&S(n,"casinomygames",e[0]),16777216&t[1]&&S(n,"filterbylogo",e[55]),4194304&t[1]&&S(n,"addfilterselector",e[53]),8388608&t[1]&&S(n,"addsortingselector",e[54]),33554432&t[0]&&S(n,"casinogamesgridslider",e[25])},d(e){e&&me(n)}}}function Yl(e){let n;return{c(){S(n=pe("casino-my-games"),"userid",e[7]),S(n,"session",e[6]),S(n,"endpoint",e[1]),S(n,"datasource",e[3]),S(n,"lang",e[5]),S(n,"currency",e[4]),S(n,"favorites",e[15]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10]),S(n,"livecasino",e[21]),S(n,"visiblegames",e[14]),S(n,"gamepagemodalurl",e[24]),S(n,"showgamename",e[20]),S(n,"integratedgameframedesktop",e[31]),S(n,"integratedgameframemobile",e[32]),S(n,"translationurl",e[11]),S(n,"mostplayed",e[57]),S(n,"lastplayed",e[58]),S(n,"filteredcategories",e[18]),S(n,"activecategory",e[19]),S(n,"lastplayedunique",e[63]),S(n,"categoryindex","0"),S(n,"categoryid","MYGAMES"),S(n,"casinomygames",e[0]),S(n,"lastplayedperiod",e[59]),S(n,"mostplayedperiod",e[60]),S(n,"lastplayedorder",e[61]),S(n,"lastplayedlimit",e[62]),S(n,"mostplayedrounds",e[64])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&S(n,"userid",e[7]),64&t[0]&&S(n,"session",e[6]),2&t[0]&&S(n,"endpoint",e[1]),8&t[0]&&S(n,"datasource",e[3]),32&t[0]&&S(n,"lang",e[5]),16&t[0]&&S(n,"currency",e[4]),32768&t[0]&&S(n,"favorites",e[15]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10]),2097152&t[0]&&S(n,"livecasino",e[21]),16384&t[0]&&S(n,"visiblegames",e[14]),16777216&t[0]&&S(n,"gamepagemodalurl",e[24]),1048576&t[0]&&S(n,"showgamename",e[20]),1&t[1]&&S(n,"integratedgameframedesktop",e[31]),2&t[1]&&S(n,"integratedgameframemobile",e[32]),2048&t[0]&&S(n,"translationurl",e[11]),67108864&t[1]&&S(n,"mostplayed",e[57]),134217728&t[1]&&S(n,"lastplayed",e[58]),262144&t[0]&&S(n,"filteredcategories",e[18]),524288&t[0]&&S(n,"activecategory",e[19]),2&t[2]&&S(n,"lastplayedunique",e[63]),1&t[0]&&S(n,"casinomygames",e[0]),268435456&t[1]&&S(n,"lastplayedperiod",e[59]),536870912&t[1]&&S(n,"mostplayedperiod",e[60]),1073741824&t[1]&&S(n,"lastplayedorder",e[61]),1&t[2]&&S(n,"lastplayedlimit",e[62]),4&t[2]&&S(n,"mostplayedrounds",e[64])},d(e){e&&me(n)}}}function Vl(t){let a,i=t[79],o=[];for(let e=0;e<i.length;e+=1)o[e]=tc(Bl(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(2133915647&n[0]|67108863&n[1]|1179672&n[2]){let e;for(i=t[79],e=0;e<i.length;e+=1){var r=Bl(t,i,e);o[e]?o[e].p(r,n):(o[e]=tc(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){j(o,e),e&&me(a)}}}function ql(e){let n,r;return{c(){n=pe("div"),S(r=pe("casino-winners"),"session",e[6]),S(r,"userid",e[7]),S(r,"periodrecent",e[33]),S(r,"periodtop",e[34]),S(r,"numberusersrecent",e[35]),S(r,"numberuserstop",e[36]),S(r,"amountlimit",e[37]),S(r,"isrecentavailable",e[30]),S(r,"istopavailable",e[29]),S(r,"defaultcurrency",e[38]),S(r,"usercurrency",e[4]),S(r,"enableautoscroll",e[28]),S(r,"tabsorder",e[27]),S(r,"lang",e[5]),S(r,"clientstyling",e[8]),S(r,"clientstylingurl",e[10]),S(r,"endpoint",e[1]),S(r,"winnersdatasources",e[65]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){64&t[0]&&S(r,"session",e[6]),128&t[0]&&S(r,"userid",e[7]),4&t[1]&&S(r,"periodrecent",e[33]),8&t[1]&&S(r,"periodtop",e[34]),16&t[1]&&S(r,"numberusersrecent",e[35]),32&t[1]&&S(r,"numberuserstop",e[36]),64&t[1]&&S(r,"amountlimit",e[37]),1073741824&t[0]&&S(r,"isrecentavailable",e[30]),536870912&t[0]&&S(r,"istopavailable",e[29]),128&t[1]&&S(r,"defaultcurrency",e[38]),16&t[0]&&S(r,"usercurrency",e[4]),268435456&t[0]&&S(r,"enableautoscroll",e[28]),134217728&t[0]&&S(r,"tabsorder",e[27]),32&t[0]&&S(r,"lang",e[5]),256&t[0]&&S(r,"clientstyling",e[8]),1024&t[0]&&S(r,"clientstylingurl",e[10]),2&t[0]&&S(r,"endpoint",e[1]),8&t[2]&&S(r,"winnersdatasources",e[65])},d(e){e&&me(n)}}}function Zl(e){let n,r,a;return{c(){n=pe("br"),r=ge(),S(a=pe("casino-calendar"),"userroles",e[9]),S(a,"cmsendpoint",e[12]),S(a,"env",e[2]),S(a,"lang",e[5]),S(a,"clientstyling",e[8]),S(a,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){512&t[0]&&S(a,"userroles",e[9]),4096&t[0]&&S(a,"cmsendpoint",e[12]),4&t[0]&&S(a,"env",e[2]),32&t[0]&&S(a,"lang",e[5]),256&t[0]&&S(a,"clientstyling",e[8]),1024&t[0]&&S(a,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function Jl(e){let n,r,a;return{c(){n=pe("br"),r=ge(),fe(a=pe("slot"),"name","je-jackpots-widget"),fe(a,"class",dt(e[82])?"":"JackpotsContainer")},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p:N,d(e){e&&me(n),e&&me(r),e&&me(a)}}}function Kl(e){let n,r,a,i;return{c(){n=pe("br"),r=ge(),S(a=pe("casino-jackpot-banner"),"title","Jackpot Cards"),S(a,"currency",i=e[4]||"RON"),S(a,"gameid","999"),S(a,"endpoint",e[1]),S(a,"lang",e[5]),S(a,"backgroundsrc","/assets/background0.jpg"),S(a,"backgroundsrcmobile","/assets/background0.jpg"),S(a,"titlelogopath","/assets/jackpots_logo.svg"),S(a,"caticon0","/assets/icon0.svg"),S(a,"caticon1","/assets/icon1.svg"),S(a,"caticon2","/assets/icon2.svg"),S(a,"caticon3","/assets/icon3.svg"),S(a,"visualstructure","typeSpread"),S(a,"clientstyling",e[8]),S(a,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){16&t[0]&&i!==(i=e[4]||"RON")&&S(a,"currency",i),2&t[0]&&S(a,"endpoint",e[1]),32&t[0]&&S(a,"lang",e[5]),256&t[0]&&S(a,"clientstyling",e[8]),1024&t[0]&&S(a,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function Xl(e){let n,r,a,i;return{c(){n=pe("br"),r=ge(),S(a=pe("casino-jackpot-banner"),"title","Egypt Quest"),S(a,"currency",i=e[4]||"RON"),S(a,"gameid","998"),S(a,"endpoint",e[1]),S(a,"lang",e[5]),S(a,"backgroundsrc",e[44]),S(a,"backgroundsrcmobile",e[45]),S(a,"titlelogopath",e[46]),S(a,"caticon0",e[40]),S(a,"caticon1",e[41]),S(a,"caticon2",e[42]),S(a,"caticon3",e[43]),S(a,"iconlabels",e[47]),S(a,"visualstructure",e[48]),S(a,"clientstyling",e[8]),S(a,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){16&t[0]&&i!==(i=e[4]||"RON")&&S(a,"currency",i),2&t[0]&&S(a,"endpoint",e[1]),32&t[0]&&S(a,"lang",e[5]),8192&t[1]&&S(a,"backgroundsrc",e[44]),16384&t[1]&&S(a,"backgroundsrcmobile",e[45]),32768&t[1]&&S(a,"titlelogopath",e[46]),512&t[1]&&S(a,"caticon0",e[40]),1024&t[1]&&S(a,"caticon1",e[41]),2048&t[1]&&S(a,"caticon2",e[42]),4096&t[1]&&S(a,"caticon3",e[43]),65536&t[1]&&S(a,"iconlabels",e[47]),131072&t[1]&&S(a,"visualstructure",e[48]),256&t[0]&&S(a,"clientstyling",e[8]),1024&t[0]&&S(a,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function Ql(e){let n;return{c(){S(n=pe("casino-collections-providers"),"endpoint",e[1]),S(n,"datasource",e[3]),S(n,"lang",e[5]),S(n,"type","vendor"),S(n,"titletype","logo"),S(n,"collectionprovidersgamenames",e[52]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"endpoint",e[1]),8&t[0]&&S(n,"datasource",e[3]),32&t[0]&&S(n,"lang",e[5]),2097152&t[1]&&S(n,"collectionprovidersgamenames",e[52]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function ec(e){let n;return{c(){S(n=pe("casino-collections-providers"),"endpoint",e[1]),S(n,"datasource",e[3]),S(n,"lang",e[5]),S(n,"type",e[50]),S(n,"collectionprovidersgamenames",e[52]),S(n,"titletype",e[51]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"endpoint",e[1]),8&t[0]&&S(n,"datasource",e[3]),32&t[0]&&S(n,"lang",e[5]),524288&t[1]&&S(n,"type",e[50]),2097152&t[1]&&S(n,"collectionprovidersgamenames",e[52]),1048576&t[1]&&S(n,"titletype",e[51]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function tc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y=n[26]&&n[138]==+n[26]&&ql(n),b=n[56]&&n[138]==+n[56]&&Zl(n),v=n[66]&&n[138]==+n[66]&&Jl(n);function w(e,t){return 256&t[1]|131072&t[2]&&(o=null),256&t[1]|131072&t[2]&&(s=null),(o=null==o?!(!e[39]||e[138]!=(""==e[39].split(",")[0]?e[79].length:+e[39].split(",")[0])):o)?Xl:(s=null==s?!(!e[39]||e[138]!=(""==e[39].split(",")[1]?e[79].length:+e[39].split(",")[1])):s)?Kl:void 0}let $=w(n,[-1,-1,-1,-1,-1]),x=$&&$(n);function C(e,t){return 262144&t[1]|131072&t[2]&&(c=null),262144&t[1]|131072&t[2]&&(d=null),(c=null==c?!(!e[49]||e[138]!=(""==e[49].split(",")[0]?e[79].length:+e[49].split(",")[0])):c)?ec:(d=null==d?!(!e[49]||e[138]!=(""==e[49].split(",")[1]?e[79].length:+e[49].split(",")[1])):d)?Ql:void 0}let F=C(n,[-1,-1,-1,-1,-1]),k=F&&F(n);return{c(){y&&y.c(),r=ge(),b&&b.c(),a=ge(),v&&v.c(),i=ge(),x&&x.c(),l=ge(),k&&k.c(),u=ge(),S(m=pe("casino-games-category-section"),"session",n[6]),S(m,"userid",n[7]),S(m,"endpoint",n[1]),S(m,"datasource",n[3]),S(m,"lang",n[5]),S(m,"currency",n[4]),S(m,"categoryid",p=n[136]),S(m,"categoryindex",n[138]),S(m,"categorygames","9"),S(m,"favorites",n[15]),S(m,"showgamename",n[20]),S(m,"class","CategoryContainer"),P(m,"background-color",n[138]%2!=0?n[13]:"transparent"),S(m,"clientstyling",n[8]),S(m,"clientstylingurl",n[10]),S(m,"livecasino",n[21]),S(m,"visiblegames",n[14]),S(m,"gamepagemodalurl",n[24]),S(m,"integratedgameframedesktop",n[31]),S(m,"integratedgameframemobile",n[32]),S(m,"casinomygames",n[0]),S(m,"filterbylogo",n[55]),S(m,"addfilterselector",n[53]),S(m,"addsortingselector",n[54]),S(m,"casinogamesgridslider",n[25])},m(e,t){y&&y.m(e,t),ue(e,r,t),b&&b.m(e,t),ue(e,a,t),v&&v.m(e,t),ue(e,i,t),x&&x.m(e,t),ue(e,l,t),k&&k.m(e,t),ue(e,u,t),ue(e,m,t),g||(f=E(h=n[85].call(null,m,n[136])),g=!0)},p(e,t){(n=e)[26]&&n[138]==+n[26]?y?y.p(n,t):((y=ql(n)).c(),y.m(r.parentNode,r)):y&&(y.d(1),y=null),n[56]&&n[138]==+n[56]?b?b.p(n,t):((b=Zl(n)).c(),b.m(a.parentNode,a)):b&&(b.d(1),b=null),n[66]&&n[138]==+n[66]?v?v.p(n,t):((v=Jl(n)).c(),v.m(i.parentNode,i)):v&&(v.d(1),v=null),$===($=w(n,t))&&x?x.p(n,t):(x&&x.d(1),(x=$&&$(n))&&(x.c(),x.m(l.parentNode,l))),F===(F=C(n,t))&&k?k.p(n,t):(k&&k.d(1),(k=F&&F(n))&&(k.c(),k.m(u.parentNode,u))),64&t[0]&&S(m,"session",n[6]),128&t[0]&&S(m,"userid",n[7]),2&t[0]&&S(m,"endpoint",n[1]),8&t[0]&&S(m,"datasource",n[3]),32&t[0]&&S(m,"lang",n[5]),16&t[0]&&S(m,"currency",n[4]),131072&t[2]&&p!==(p=n[136])&&S(m,"categoryid",p),32768&t[0]&&S(m,"favorites",n[15]),1048576&t[0]&&S(m,"showgamename",n[20]),8192&t[0]&&P(m,"background-color",n[138]%2!=0?n[13]:"transparent"),256&t[0]&&S(m,"clientstyling",n[8]),1024&t[0]&&S(m,"clientstylingurl",n[10]),2097152&t[0]&&S(m,"livecasino",n[21]),16384&t[0]&&S(m,"visiblegames",n[14]),16777216&t[0]&&S(m,"gamepagemodalurl",n[24]),1&t[1]&&S(m,"integratedgameframedesktop",n[31]),2&t[1]&&S(m,"integratedgameframemobile",n[32]),1&t[0]&&S(m,"casinomygames",n[0]),16777216&t[1]&&S(m,"filterbylogo",n[55]),4194304&t[1]&&S(m,"addfilterselector",n[53]),8388608&t[1]&&S(m,"addsortingselector",n[54]),33554432&t[0]&&S(m,"casinogamesgridslider",n[25]),h&&M(h.update)&&131072&t[2]&&h.update.call(null,n[136])},d(e){y&&y.d(e),e&&me(r),b&&b.d(e),e&&me(a),v&&v.d(e),e&&me(i),x&&x.d(e),e&&me(l),k&&k.d(e),e&&me(u),e&&me(m),g=!1,f()}}}function nc(n){let r,a,i,o=n[81]("breakButton")+"";return{c(){r=pe("div"),a=pe("button"),i=he(o),fe(a,"class","PanicButton "+("PC"!==ut(n[82])?"PanicButtonMobile ":"")),O(a,"PanicButtonAnimation",n[75]),fe(r,"class","PanicSection "+("PC"!==ut(n[82])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[91](a)},p(e,t){524288&t[2]&&o!==(o=e[81]("breakButton")+"")&&ye(i,o),8192&t[2]&&O(a,"PanicButtonAnimation",e[75])},d(e){e&&me(r),n[91](null)}}}function rc(n){let r;function a(e){return e[73]?Nl:Al}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=N},m(e,t){ue(e,r,t),o.m(r,null),n[92](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o.d(),n[92](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;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}@media screen and (max-width: 480px){.SearchResultsContainer{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}}@media screen and (max-width: 385px){.SearchResultsContainer{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}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},dl,cl,n,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),m()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),m()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),m()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),m()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),m()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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)}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},hl,pl,n,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["duration","session","userid","clientstyling","identifier","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),m()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get identifier(){return this.$$.ctx[12]}set identifier(e){this.$$set({identifier:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),m()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6))}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Sl,kl,n,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),m()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),m()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emfe-w-color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 16px;text-align:center;border-radius:0 0 2px 2px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:8px 6px;border-radius:5px;border:none;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},El,Ml,n,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),m()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),m()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;text-align:left;gap:10px}.Mobile{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto\n }.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Dl,Rl,n,{cmsendpoint:10,env:11,userroles:12,lang:0,clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","env","userroles","lang","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get env(){return this.$$.ctx[11]}set env(e){this.$$set({env:e}),m()}get userroles(){return this.$$.ctx[12]}set userroles(e){this.$$set({userroles:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}});let ac=!1;function ic(n,e,l){let D;mt(n,ra,e=>l(81,D=e));let B,{endpoint:c=""}=e,{env:A=""}=e,{datasource:a=""}=e,{currency:N=""}=e,{lang:i=""}=e,{session:o=""}=e,{userid:s=""}=e,{clientstyling:d=""}=e,{userroles:O=""}=e,{clientstylingurl:u=""}=e,{translationurl:m=""}=e,{cmsendpoint:H=""}=e,{categorybackground:j=""}=e,r=e["visiblegames"],{favorites:p=""}=e,{containermaxwidth:z="1300"}=e,{lobbyid:U="casinodefault"}=e,{haspanicbutton:W="false"}=e,{filteredcategories:h=""}=e,{activecategory:g=""}=e,{showgamename:Y=""}=e,{livecasino:V="false"}=e,{playrandomgame:q="false"}=e,{filteredrandomgamecategories:Z=""}=e,{gamepagemodalurl:J="false"}=e,{casinogamesgridslider:K="false"}=e,{positionwinnerswidget:X=""}=e,{tabsorder:Q=""}=e,{enableautoscroll:ee=""}=e,{istopavailable:te=""}=e,{isrecentavailable:ne=""}=e,{integratedgameframedesktop:re="false"}=e,{integratedgameframemobile:ae="false"}=e,{periodrecent:ie=""}=e,{periodtop:oe=""}=e,{numberusersrecent:se=""}=e,{numberuserstop:le=""}=e,{amountlimit:ce=""}=e,{defaultcurrency:de=""}=e,{showsubgroups:ue=""}=e,{positionjackpotbanners:me=""}=e,{caticon0:pe=""}=e,{caticon1:he=""}=e,{caticon2:ge=""}=e,{caticon3:fe=""}=e,{backgroundsrc:ye=""}=e,{backgroundsrcmobile:be=""}=e,{titlelogopath:ve=""}=e,{iconlabels:we=""}=e,{visualstructure:$e=""}=e,{positioncollections:xe=""}=e,{type:Ce=""}=e,{titletype:Fe=""}=e,{collectionprovidersgamenames:ke=""}=e,{addfilterselector:Se="false"}=e,{addsortingselector:Me="false"}=e,{filterbylogo:Ee=""}=e,{positioncasinocalendar:Le=""}=e,{casinomygames:f="false"}=e,{mostplayed:Ge=""}=e,{lastplayed:Ie=""}=e,{lastplayedperiod:_e="Last30Days"}=e,{mostplayedperiod:Te="Last30Days"}=e,{lastplayedorder:Pe=""}=e,{lastplayedlimit:Re=""}=e,{lastplayedunique:De="true"}=e,{mostplayedrounds:Be=""}=e,{winnersdatasources:Ae=""}=e,{positionjelobbywidget:Ne=""}=e,{randombuttonicon:Oe=""}=e,He=window.navigator.userAgent;B=dt(He)?"OpenGameFrame":"ShowGameModal";let y,b,v,je,w,ze,Ue,We,$,x,C=!1,F=!1,Ye=!1,k="",t=!1,S=0,M=!1,E=!0,Ve=!1,qe=[],L=[],Ze=!1,G=[],Je=0,I="",Ke=!1;var Xe,Qe;({withLocale:Xe,translations:Qe}={withLocale:"en",translations:{}}),ct.subscribe(e=>{null==e&&(Sr.set(Qe),ct.set(Xe))}),Object.keys(Ia).forEach(e=>{Ga(e,Ia[e])});const et=e=>{switch(Ze=!0,l(0,f="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Ze},window.location.href)}),e.data.itemId){case"LOBBY":l(77,E=!0),l(76,M=!1),l(69,w="");break;case"MYGAMES":l(0,f="true"),l(77,E=!1),l(76,M=!0),l(69,w="");break;case"FAVORITES":l(77,E=!1),l(76,M=!0),l(69,w="");break;case"MOSTPLAYED":"true"==Ge&&(l(69,w=""),l(77,E=!1),l(76,M=!0));break;case"LASTPLAYED":"true"==Ie&&(l(69,w=""),l(77,E=!1),l(76,M=!0));break;default:l(77,E=!1),l(76,M=!1),l(69,w=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},2e3)}},tt=n=>{if(n.data)switch(n.data.type){case"CategoryChange":et(n);break;case"UserSessionID":b=n.data.session,(y=n.data.userID)&&y.length&&b&&0<b.length&&_(c,b,y);break;case"SetUnfavoredGame":t=`${c}/v1/player/${y}/favorites`,o=b,y,s=n.data.id,G.includes(s)&&(G=G.filter(e=>e!=s)),fetch(t+"/"+s,{method:"DELETE",headers:{"X-SessionID":o}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+s},window.location.href),nt(t,o)});break;case"SetFavoredGame":{var r=`${c}/v1/player/${y}/favorites`;var a=b;y;var i=n.data.id;G.includes(i)||G.push(i);let e={items:G},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),nt(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":y&&y.length&&b&&0<b.length&&_(c,b,y);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),T();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),T();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:I,origin:n.data.origin},window.location.href),T();break;case"CategoryVendors":I=n.data.categoryid,T();break;case"searchCancelled":l(78,Ve=!1),w&&et({data:{itemId:w}});break;case"searchActive":l(78,Ve=!0);break;case"ModalClosed":break;case"SubgroupsIds":L.some(e=>n.data.subGroupsIds.includes(e))||L.push(...n.data.subGroupsIds)}var e,t,o,s};let _=(e,t,n)=>{"true"==p&&o&&n&&fetch(e+`/v1/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(($=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:$},window.location.href),it($.items)),$)).then(e=>e).catch(e=>{console.error(e)})},nt=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(($=e)&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:$,lobbyScreen:E},window.location.href),$)).catch(e=>{console.error(e)})};const rt=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},at=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},it=(e=[])=>(G=[],0<e.length&&e.forEach(e=>{G.push(e.id)}),G);const T=()=>{var e=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e&&I&&(e[I]?l(80,Je=e[I].length):l(80,Je=0))},ot=()=>{ze&&(Ue=ze.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},P=e=>{S=0,je=setInterval(()=>{S+=1,l(75,t=!0),3<=S&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(je))},1e3)},R=e=>{S<3&&l(75,t=!1),clearInterval(je)};return st(()=>(window.addEventListener("scroll",ot,!1),window.addEventListener("message",tt,!1),()=>{window.removeEventListener("scroll",ot),window.removeEventListener("message",tt),l(75,t=!1),null!=v&&v.removeEventListener("mousedown",P),null!=v&&v.removeEventListener("touchstart",P),null!=v&&v.removeEventListener("mouseup",R),null!=v&&v.removeEventListener("touchend",R)})),n.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"env"in e&&l(2,A=e.env),"datasource"in e&&l(3,a=e.datasource),"currency"in e&&l(4,N=e.currency),"lang"in e&&l(5,i=e.lang),"session"in e&&l(6,o=e.session),"userid"in e&&l(7,s=e.userid),"clientstyling"in e&&l(8,d=e.clientstyling),"userroles"in e&&l(9,O=e.userroles),"clientstylingurl"in e&&l(10,u=e.clientstylingurl),"translationurl"in e&&l(11,m=e.translationurl),"cmsendpoint"in e&&l(12,H=e.cmsendpoint),"categorybackground"in e&&l(13,j=e.categorybackground),"visiblegames"in e&&l(14,r=e.visiblegames),"favorites"in e&&l(15,p=e.favorites),"containermaxwidth"in e&&l(16,z=e.containermaxwidth),"lobbyid"in e&&l(86,U=e.lobbyid),"haspanicbutton"in e&&l(17,W=e.haspanicbutton),"filteredcategories"in e&&l(18,h=e.filteredcategories),"activecategory"in e&&l(19,g=e.activecategory),"showgamename"in e&&l(20,Y=e.showgamename),"livecasino"in e&&l(21,V=e.livecasino),"playrandomgame"in e&&l(22,q=e.playrandomgame),"filteredrandomgamecategories"in e&&l(23,Z=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(24,J=e.gamepagemodalurl),"casinogamesgridslider"in e&&l(25,K=e.casinogamesgridslider),"positionwinnerswidget"in e&&l(26,X=e.positionwinnerswidget),"tabsorder"in e&&l(27,Q=e.tabsorder),"enableautoscroll"in e&&l(28,ee=e.enableautoscroll),"istopavailable"in e&&l(29,te=e.istopavailable),"isrecentavailable"in e&&l(30,ne=e.isrecentavailable),"integratedgameframedesktop"in e&&l(31,re=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(32,ae=e.integratedgameframemobile),"periodrecent"in e&&l(33,ie=e.periodrecent),"periodtop"in e&&l(34,oe=e.periodtop),"numberusersrecent"in e&&l(35,se=e.numberusersrecent),"numberuserstop"in e&&l(36,le=e.numberuserstop),"amountlimit"in e&&l(37,ce=e.amountlimit),"defaultcurrency"in e&&l(38,de=e.defaultcurrency),"showsubgroups"in e&&l(87,ue=e.showsubgroups),"positionjackpotbanners"in e&&l(39,me=e.positionjackpotbanners),"caticon0"in e&&l(40,pe=e.caticon0),"caticon1"in e&&l(41,he=e.caticon1),"caticon2"in e&&l(42,ge=e.caticon2),"caticon3"in e&&l(43,fe=e.caticon3),"backgroundsrc"in e&&l(44,ye=e.backgroundsrc),"backgroundsrcmobile"in e&&l(45,be=e.backgroundsrcmobile),"titlelogopath"in e&&l(46,ve=e.titlelogopath),"iconlabels"in e&&l(47,we=e.iconlabels),"visualstructure"in e&&l(48,$e=e.visualstructure),"positioncollections"in e&&l(49,xe=e.positioncollections),"type"in e&&l(50,Ce=e.type),"titletype"in e&&l(51,Fe=e.titletype),"collectionprovidersgamenames"in e&&l(52,ke=e.collectionprovidersgamenames),"addfilterselector"in e&&l(53,Se=e.addfilterselector),"addsortingselector"in e&&l(54,Me=e.addsortingselector),"filterbylogo"in e&&l(55,Ee=e.filterbylogo),"positioncasinocalendar"in e&&l(56,Le=e.positioncasinocalendar),"casinomygames"in e&&l(0,f=e.casinomygames),"mostplayed"in e&&l(57,Ge=e.mostplayed),"lastplayed"in e&&l(58,Ie=e.lastplayed),"lastplayedperiod"in e&&l(59,_e=e.lastplayedperiod),"mostplayedperiod"in e&&l(60,Te=e.mostplayedperiod),"lastplayedorder"in e&&l(61,Pe=e.lastplayedorder),"lastplayedlimit"in e&&l(62,Re=e.lastplayedlimit),"lastplayedunique"in e&&l(63,De=e.lastplayedunique),"mostplayedrounds"in e&&l(64,Be=e.mostplayedrounds),"winnersdatasources"in e&&l(65,Ae=e.winnersdatasources),"positionjelobbywidget"in e&&l(66,Ne=e.positionjelobbywidget),"randombuttonicon"in e&&l(67,Oe=e.randombuttonicon)},n.$$.update=()=>{if(524320&n.$$.dirty[0]&&i&&g&&(l(69,w=g),et({data:{itemId:w}})),194&n.$$.dirty[0]&&o&&s&&c&&(l(74,Ye=!0),b=o,y=s)&&y.length&&b&&0<b.length&&"true"!=f&&_(c,b,y),67108992&n.$$.dirty[2]&&w&&L&&L&&!L.includes(decodeURI(w))&&""!=w&&window.postMessage({type:"NonExistentCategory"},window.location.href),42&n.$$.dirty[0]&&c&&a&&i&&(c||(k="Endpoint is missing! Please provide a valid endpointURL.",l(73,F=!0),l(72,C=!1),console.error(k)),a||(k="Datasource is missing! Please provide a valid datasource.",l(73,F=!0),l(72,C=!1),console.error(k)),(!i||i.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",l(73,F=!0),l(72,C=!1),console.error(k)),F||(l(72,C=!0),"true"==p&&_(c,b,y),t=i,ct.set(t),(t=new URL(c+"/v1/casino/groups/"+a)).searchParams.append("language",i),t.searchParams.append("platform",ut(He)),r=t,new Promise((t,n)=>{l(72,C=!0),fetch(r).then(e=>e.json()).then(e=>{l(72,C=!1),t(e)}).catch(e=>{l(73,F=!0),l(72,C=!1),console.error(e),n(e)})}).then(e=>{let r=h.split(",");e&&(We=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,h))for(var n of r)e.flags==n&&(t=!1);return t}),l(79,qe=We.filter(e=>{return!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==ue)}).map(e=>e.id)),l(88,L=e.items.map(e=>e.id.toString())),l(72,C=!1))}),T(),ze=void 0)),32&n.$$.dirty[0]&&i&&(Ke&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500),Ke=!1),2048&n.$$.dirty[0]&&m&&(t=new URL(m),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ga(e,t[e])})}).catch(e=>{console.log(e)})),256&n.$$.dirty[0]|256&n.$$.dirty[2]&&d&&x&&((e=document.createElement("style")).innerHTML=d,x.appendChild(e)),1024&n.$$.dirty[0]|256&n.$$.dirty[2]&&u&&x){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{x.appendChild(t)},1)})}var e,r,t;64&n.$$.dirty[2]&&v&&(null!=v&&v.addEventListener("mousedown",P,!1),null!=v&&v.addEventListener("touchstart",P,!1),null!=v&&v.addEventListener("mouseup",R,!1),null!=v)&&v.addEventListener("touchend",R,!1)},[f,c,A,a,N,i,o,s,d,O,u,m,H,j,r,p,z,W,h,g,Y,V,q,Z,J,K,X,Q,ee,te,ne,re,ae,ie,oe,se,le,ce,de,me,pe,he,ge,fe,ye,be,ve,we,$e,xe,Ce,Fe,ke,Se,Me,Ee,Le,Ge,Ie,_e,Te,Pe,Re,De,Be,Ae,Ne,Oe,v,w,x,B,C,F,Ye,t,M,E,Ve,qe,Je,D,He,rt,at,(e,t)=>{I=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:r,receivedFavoriteResults:$},window.location.href)},U,ue,L,()=>at(),()=>{rt()},function(e){lt[e?"unshift":"push"](()=>{v=e,l(68,v)})},function(e){lt[e?"unshift":"push"](()=>{x=e,l(70,x)})}]}function oc(e,t){o(e,t)}customElements.get("casino-page")||customElements.define("casino-page",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;position:relative}.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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:48px;line-height:18px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-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}.CategoryContainer,.JackpotsContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer,.JackpotsContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}.FiltersButtonsContainer{display:flex;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}.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)}@media screen and (max-width: 1300px){}.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}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}@media(max-width: 768px){}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ic,rc,n,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,clientstyling:8,userroles:9,clientstylingurl:10,translationurl:11,cmsendpoint:12,categorybackground:13,visiblegames:14,favorites:15,containermaxwidth:16,lobbyid:86,haspanicbutton:17,filteredcategories:18,activecategory:19,showgamename:20,livecasino:21,playrandomgame:22,filteredrandomgamecategories:23,gamepagemodalurl:24,casinogamesgridslider:25,positionwinnerswidget:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,integratedgameframedesktop:31,integratedgameframemobile:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,showsubgroups:87,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:48,positioncollections:49,type:50,titletype:51,collectionprovidersgamenames:52,addfilterselector:53,addsortingselector:54,filterbylogo:55,positioncasinocalendar:56,casinomygames:0,mostplayed:57,lastplayed:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayedrounds:64,winnersdatasources:65,positionjelobbywidget:66,randombuttonicon:67},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","env","datasource","currency","lang","session","userid","clientstyling","userroles","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","favorites","containermaxwidth","lobbyid","haspanicbutton","filteredcategories","activecategory","showgamename","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","casinogamesgridslider","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","showsubgroups","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","collectionprovidersgamenames","addfilterselector","addsortingselector","filterbylogo","positioncasinocalendar","casinomygames","mostplayed","lastplayed","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds","winnersdatasources","positionjelobbywidget","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get env(){return this.$$.ctx[2]}set env(e){this.$$set({env:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get userroles(){return this.$$.ctx[9]}set userroles(e){this.$$set({userroles:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get categorybackground(){return this.$$.ctx[13]}set categorybackground(e){this.$$set({categorybackground:e}),m()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),m()}get containermaxwidth(){return this.$$.ctx[16]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),m()}get lobbyid(){return this.$$.ctx[86]}set lobbyid(e){this.$$set({lobbyid:e}),m()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get filteredcategories(){return this.$$.ctx[18]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get activecategory(){return this.$$.ctx[19]}set activecategory(e){this.$$set({activecategory:e}),m()}get showgamename(){return this.$$.ctx[20]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[21]}set livecasino(e){this.$$set({livecasino:e}),m()}get playrandomgame(){return this.$$.ctx[22]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[23]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get casinogamesgridslider(){return this.$$.ctx[25]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get positionwinnerswidget(){return this.$$.ctx[26]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[31]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[32]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get showsubgroups(){return this.$$.ctx[87]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get visualstructure(){return this.$$.ctx[48]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[52]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get addfilterselector(){return this.$$.ctx[53]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[54]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[55]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get positioncasinocalendar(){return this.$$.ctx[56]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayed(){return this.$$.ctx[57]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[58]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[64]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get winnersdatasources(){return this.$$.ctx[65]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get positionjelobbywidget(){return this.$$.ctx[66]}set positionjelobbywidget(e){this.$$set({positionjelobbywidget:e}),m()}get randombuttonicon(){return this.$$.ctx[67]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}});const sc={en:{signIn:"LOGIN",register:"REGISTER",deposit:"DEPOSIT",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",loading:"Es lädt, bitte warten..."},it:{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",loading:"Loading, please wait..."},fr:{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",loading:"Chargement, veuillez patienter..."},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",loading:"Cargando por favor espere ..."},tr:{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",loading:"Yükleniyor, lütfen bekleyin..."},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off",loading:"Loading, please wait..."},ro:{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",loading:"Se incarca, te rugam asteapta…"},hr:{signIn:"PRIJAVA",register:"REGISTRACIJA",deposit:"UPLATA",playForFun:"Igraj za zabavu",playNow:"Započni sada!",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",loading:"Učitavanje"},hu:{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",loading:"Betöltés, kérjük várjon..."},pl:{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",loading:"Loading, please wait..."},pt:{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",loading:"Carregando, por favor espere ..."},sl:{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",loading:"Loading, please wait..."},sr:{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",loading:"Loading, please wait..."},"pt-br":{signIn:"ENTRAR",register:"REGISTRO",deposit:"DEPÓSITO",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Pressione o botão por 3 segundos para uma pausa de 24 horas",Loading:"Carregando, por favor espere..."},"es-mx":{signIn:"INGRESAR",register:"REGISTRO",deposit:"DEPÓSITO",playForFun:"Jugar Por Diversión",playNow:"Comenzar ahora!",breakButton:"Presionar botón 3 segundos para un bloqueo de 24 horas",Loading:"Cargando, por favor espere..."}};function lc(n){let r,a,i=n[13]&&uc(n);return{c(){r=pe("div"),a=pe("div"),i&&i.c(),fe(a,"class","CasinoGamePageContainer"),P(a,"background","rgba(0, 0, 0, 0.5)"),fe(r,"class","GamePageBackground"),P(r,"background",n[22]?"":`url(${n[12].backgroundImageUrl})`),P(r,"background-size","cover")},m(e,t){ue(e,r,t),de(r,a),i&&i.m(a,null),n[85](r)},p(e,t){e[13]?i?i.p(e,t):((i=uc(e)).c(),i.m(a,null)):i&&(i.d(1),i=null),4198400&t[0]&&P(r,"background",e[22]?"":`url(${e[12].backgroundImageUrl})`)},d(e){e&&me(r),i&&i.d(),n[85](null)}}}function cc(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function dc(e){let n,r,a=e[26]("loading")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){67108864&t[0]&&a!==(a=e[26]("loading")+"")&&ye(r,a)},d(e){e&&me(n)}}}function uc(e){let n;function r(e){return e[22]?hc:e[6]?pc:e[7]?void 0:mc}let a=r(e),i=a&&a(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i&&i.d(e),e&&me(n)}}}function mc(e){let n;function r(e){return e[14]?fc:gc}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function pc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w=n[26]("deposit")+"",$="true"===n[1]&&vc(n);function x(e){return e[19]?$c:wc}let C=x(n),F=C(n);return{c(){r=pe("div"),a=pe("div"),i=pe("iframe"),s=ge(),l=pe("div"),c=pe("button"),d=he(w),u=ge(),m=pe("p"),p=pe("span"),h=he(n[4]),g=ge(),$&&$.c(),f=ge(),F.c(),fe(i,"title","Games"),fe(i,"id","IframeGame"),fe(i,"class","GamesContainer"),fe(i,"aria-hidden","false"),ce(i.src,o=n[12].launchUrl)||fe(i,"src",o),fe(c,"class","DepositButton"),fe(m,"class","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(a,"id","IframeGame"),fe(a,"style",n[25]),fe(r,"id","IframeContainer"),P(r,"width",n[20]),P(r,"height",n[21]),O(r,"FullsScreenLayout",n[19])},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[65](i),de(a,s),de(a,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,p),de(p,h),n[67](m),de(l,g),$&&$.m(l,null),de(l,f),F.m(l,null),n[71](l),n[72](a),n[73](r),b||(v=U(c,"click",n[66]),b=!0)},p(e,t){4096&t[0]&&!ce(i.src,o=e[12].launchUrl)&&fe(i,"src",o),67108864&t[0]&&w!==(w=e[26]("deposit")+"")&&ye(d,w),16&t[0]&&ye(h,e[4]),"true"===e[1]?$?$.p(e,t):(($=vc(e)).c(),$.m(l,f)):$&&($.d(1),$=null),C===(C=x(e))&&F?F.p(e,t):(F.d(1),(F=C(e))&&(F.c(),F.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),33554432&t[0]&&fe(a,"style",e[25]),1048576&t[0]&&P(r,"width",e[20]),2097152&t[0]&&P(r,"height",e[21]),524288&t[0]&&O(r,"FullsScreenLayout",e[19])},d(e){e&&me(r),n[65](null),n[67](null),$&&$.d(),F.d(),n[71](null),n[72](null),n[73](null),b=!1,v()}}}function hc(e){let n;function r(e){return e[6]?Fc:e[15]&&!e[7]?Cc:e[7]?void 0:xc}let a=r(e),i=a&&a(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i&&i.d(e),e&&me(n)}}}function gc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$=n[12].name+"",x=n[26]("signIn")+"",C=n[26]("register")+"";return{c(){r=pe("div"),a=pe("h3"),i=he($),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),m=he(x),p=ge(),h=pe("button"),g=he(C),f=ge(),y=pe("p"),b=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(h,"class","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,m),de(d,p),de(d,h),de(h,g),de(r,f),de(r,y),de(y,b),v||(w=[U(u,"click",n[83]),U(h,"click",n[84])],v=!0)},p(e,t){4096&t[0]&&$!==($=e[12].name+"")&&ye(i,$),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&x!==(x=e[26]("signIn")+"")&&ye(m,x),67108864&t[0]&&C!==(C=e[26]("register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4])},d(e){e&&me(r),v=!1,H(w)}}}function fc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x=n[26]("signIn")+"",C=n[26]("register")+"";function F(e){return e[19]?bc:yc}let k=F(n),S=k(n);return{c(){r=pe("div"),a=pe("div"),i=pe("iframe"),s=ge(),l=pe("div"),c=pe("div"),d=pe("button"),u=he(x),m=ge(),p=pe("button"),h=he(C),g=ge(),f=pe("p"),y=pe("span"),b=he(n[4]),v=ge(),S.c(),fe(i,"title","Games"),fe(i,"id","IframeGame"),fe(i,"class","GamesContainer"),fe(i,"aria-hidden","false"),ce(i.src,o=n[12].launchUrl)||fe(i,"src",o),fe(d,"class","LoginButton"),fe(p,"class","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(f,"class","Time"),fe(l,"class","BottomGame"),fe(a,"id","IframeGame"),fe(a,"style",n[25]),fe(r,"id","IframeContainer"),P(r,"width",n[20]),P(r,"height",n[21]),O(r,"FullsScreenLayout",n[19])},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[74](i),de(a,s),de(a,l),de(l,c),de(c,d),de(d,u),de(c,m),de(c,p),de(p,h),de(l,g),de(l,f),de(f,y),de(y,b),n[77](f),de(l,v),S.m(l,null),n[80](l),n[81](a),n[82](r),w||($=[U(d,"click",n[75]),U(p,"click",n[76])],w=!0)},p(e,t){4096&t[0]&&!ce(i.src,o=e[12].launchUrl)&&fe(i,"src",o),67108864&t[0]&&x!==(x=e[26]("signIn")+"")&&ye(u,x),67108864&t[0]&&C!==(C=e[26]("register")+"")&&ye(h,C),16&t[0]&&ye(b,e[4]),k===(k=F(e))&&S?S.p(e,t):(S.d(1),(S=k(e))&&(S.c(),S.m(l,null))),33554432&t[0]&&fe(a,"style",e[25]),1048576&t[0]&&P(r,"width",e[20]),2097152&t[0]&&P(r,"height",e[21]),524288&t[0]&&O(r,"FullsScreenLayout",e[19])},d(e){e&&me(r),n[74](null),n[77](null),S.d(),n[80](null),n[81](null),n[82](null),w=!1,H($)}}}function yc(n){let r,a,i;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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[79]),a=!0)},p:N,d(e){e&&me(r),a=!1,i()}}}function bc(n){let r,a,i;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: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[78]),a=!0)},p:N,d(e){e&&me(r),a=!1,i()}}}function vc(n){let r,a,i,o=n[26]("breakButton")+"";return{c(){r=pe("div"),a=pe("button"),i=he(o),fe(a,"class","Button"),O(a,"PanicButtonAnimation",n[11]),fe(r,"class","PanicSection")},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[68](a)},p(e,t){67108864&t[0]&&o!==(o=e[26]("breakButton")+"")&&ye(i,o),2048&t[0]&&O(a,"PanicButtonAnimation",e[11])},d(e){e&&me(r),n[68](null)}}}function wc(n){let r,a,i;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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[70]),a=!0)},p:N,d(e){e&&me(r),a=!1,i()}}}function $c(n){let r,a,i;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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[69]),a=!0)},p:N,d(e){e&&me(r),a=!1,i()}}}function xc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$=n[12].name+"",x=n[26]("signIn")+"",C=n[26]("register")+"";return{c(){r=pe("div"),a=pe("h3"),i=he($),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),m=he(x),p=ge(),h=pe("button"),g=he(C),f=ge(),y=pe("p"),b=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(h,"class","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,m),de(d,p),de(d,h),de(h,g),de(r,f),de(r,y),de(y,b),v||(w=[U(u,"click",n[63]),U(h,"click",n[64])],v=!0)},p(e,t){4096&t[0]&&$!==($=e[12].name+"")&&ye(i,$),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&x!==(x=e[26]("signIn")+"")&&ye(m,x),67108864&t[0]&&C!==(C=e[26]("register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4])},d(e){e&&me(r),v=!1,H(w)}}}function Cc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C,F=n[12].name+"",k=n[26]("signIn")+"",S=n[26]("register")+"",M=n[26]("playForFun")+"";return{c(){r=pe("div"),a=pe("h3"),i=he(F),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),m=he(k),p=ge(),h=pe("button"),g=he(S),f=ge(),y=pe("button"),b=he(M),v=ge(),w=pe("p"),$=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(h,"class","RegisterButton"),fe(y,"class","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(r,"class","GameDetails")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,m),de(d,p),de(d,h),de(h,g),de(d,f),de(d,y),de(y,b),de(r,v),de(r,w),de(w,$),x||(C=[U(u,"click",n[60]),U(h,"click",n[61]),U(y,"click",n[62])],x=!0)},p(e,t){4096&t[0]&&F!==(F=e[12].name+"")&&ye(i,F),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&k!==(k=e[26]("signIn")+"")&&ye(m,k),67108864&t[0]&&S!==(S=e[26]("register")+"")&&ye(g,S),67108864&t[0]&&M!==(M=e[26]("playForFun")+"")&&ye(b,M),16&t[0]&&ye($,e[4])},d(e){e&&me(r),x=!1,H(C)}}}function Fc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C=n[12].name+"",F=n[26]("deposit")+"",k=n[26]("playNow")+"",S="true"==n[0]&&kc(n),M="true"===n[1]&&Gc(n);return{c(){S&&S.c(),r=ge(),a=pe("div"),i=pe("h3"),o=he(C),s=ge(),l=pe("img"),d=ge(),u=pe("div"),m=pe("button"),p=he(F),h=ge(),g=pe("button"),f=he(k),y=ge(),M&&M.c(),b=ge(),v=pe("p"),w=he(n[4]),ce(l.src,c=n[12].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(m,"class","DepositButton"),fe(g,"class","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(a,"class","GameDetails")},m(e,t){S&&S.m(e,t),ue(e,r,t),ue(e,a,t),de(a,i),de(i,o),de(a,s),de(a,l),de(a,d),de(a,u),de(u,m),de(m,p),de(u,h),de(u,g),de(g,f),de(a,y),M&&M.m(a,null),de(a,b),de(a,v),de(v,w),$||(x=[U(m,"click",n[57]),U(g,"click",n[58])],$=!0)},p(e,t){"true"==e[0]?S?S.p(e,t):((S=kc(e)).c(),S.m(r.parentNode,r)):S&&(S.d(1),S=null),4096&t[0]&&C!==(C=e[12].name+"")&&ye(o,C),4096&t[0]&&!ce(l.src,c=e[12].thumbnail)&&fe(l,"src",c),67108864&t[0]&&F!==(F=e[26]("deposit")+"")&&ye(p,F),67108864&t[0]&&k!==(k=e[26]("playNow")+"")&&ye(f,k),"true"===e[1]?M?M.p(e,t):((M=Gc(e)).c(),M.m(a,b)):M&&(M.d(1),M=null),16&t[0]&&ye(w,e[4])},d(e){S&&S.d(e),e&&me(r),e&&me(a),M&&M.d(),$=!1,H(x)}}}function kc(e){let n;function r(e){return e[8]?Sc:Mc}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Sc(e){let n,r,a,i;return{c(){n=pe("div"),r=pe("div"),a=pe("div"),fe(n,"class",i="LoaderRipple "+("true"==e[1]?"LoaderWithPanicButton":""))},m(e,t){ue(e,n,t),de(n,r),de(n,a)},p(e,t){2&t[0]&&i!==(i="LoaderRipple "+("true"==e[1]?"LoaderWithPanicButton":""))&&fe(n,"class",i)},d(e){e&&me(n)}}}function Mc(e){let n;function r(e){return e[12].isFavored?Lc:Ec}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Ec(n){let r,a,i,o,s,l;return{c(){r=pe("div"),a=z("svg"),P(i=z("path"),"fill","var(--emfe-w-color-white, #FFFFFF)"),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(a,"version","1.1"),fe(a,"class","UnfavoredIcon"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(a,"x","20px"),fe(a,"y","20px"),fe(a,"viewBox","0 0 512.001 512.001"),P(a,"enable-background","new 0 0 512.001 512.001"),fe(a,"xml:space","preserve"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),s||(l=U(r,"click",n[56]),s=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o)},d(e){e&&me(r),s=!1,l()}}}function Lc(n){let r,a,i,o,s,l;return{c(){r=pe("div"),a=z("svg"),P(i=z("path"),"fill","var(--emfe-w-color-white, #FFFFFF)"),fe(i,"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(a,"version","1.1"),fe(a,"class","FavoredIcon"),fe(a,"part","FavoredIcon"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"viewBox","0 0 19.481 19.481"),fe(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(a,"enable-background","new 0 0 19.481 19.481"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),s||(l=U(r,"click",n[55]),s=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o)},d(e){e&&me(r),s=!1,l()}}}function Gc(n){let r,a,i,o=n[26]("breakButton")+"";return{c(){r=pe("div"),a=pe("button"),i=he(o),fe(a,"class","PanicButton "+("PC"!==ut(n[27])?"PanicButtonMobile":"")),O(a,"PanicButtonAnimation",n[11]),fe(r,"class","PanicSection "+("PC"!==ut(n[27])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[59](a)},p(e,t){67108864&t[0]&&o!==(o=e[26]("breakButton")+"")&&ye(i,o),2048&t[0]&&O(a,"PanicButtonAnimation",e[11])},d(e){e&&me(r),n[59](null)}}}function Ic(n){let r;function a(e){return e[10]?dc:e[9]?cc:lc}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=N},m(e,t){ue(e,r,t),o.m(r,null),n[86](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:N,o:N,d(e){e&&me(r),o.d(),n[86](null)}}}function _c(n,e,a){let D;mt(n,ra,e=>a(26,D=e));let B,t,r,i,A,o,s,l,c,N,O,d,u,H,j,m,p,h,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:v=""}=e,{clientstyling:w=""}=e,{clientstylingurl:$=""}=e,{translationurl:x=""}=e,{favorites:z=""}=e,{loginurl:C=""}=e,{registerurl:F=""}=e,{depositurl:k=""}=e,{loginevent:U=""}=e,{registerevent:W=""}=e,{depositevent:Y=""}=e,{shortcashierenabled:V=""}=e,{clockformat:q=""}=e,{haspanicbutton:Z="false"}=e,{playforfun:J="true"}=e,{checksession:K="true"}=e,{integratedgameframedesktop:S="false"}=e,{integratedgameframemobile:X="false"}=e,{gameid:Q=""}=e,M=!1,ee=!1,E=!1,te=!1,L=!0,ne=!1,re=0,G=!1,ae=!1,ie=!1,oe=!0,I=!1,_=window.navigator.userAgent,se=!1,le=[],ce="false",de;var ue,me;({withLocale:ue,translations:me}={withLocale:"en",translations:{}}),ct.subscribe(e=>{null==e&&(Sr.set(me),ct.set(ue))}),Object.keys(sc).forEach(e=>{oc(e,sc[e])});const pe=e=>{var t=new URL(e.launchUrl);return t.searchParams.append("language",y),r&&0<r.length&&(a(6,M=!0),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,e},he=(e,t)=>{e=new URL(f+"/v1/casino/games/"+e);e.searchParams.append("language",y),e.searchParams.append("expand","vendor"),oe=t||!1,fetch(e.href).then(e=>e.json()).then(e=>{a(12,o=pe(e[0])),a(10,L=!1),o.launchUrl&&(a(12,o.isFavored=we(o,o.hasFunMode),o),a(8,E=!1))},e=>{console.error("There was an error",e),a(9,te=!0)}).then(()=>{s&&(oe||(a(20,N=o.width),a(21,O=o.height),H=o.width+"px",j=o.height+"px",d=o.width,u=o.height),xe())}).finally(()=>{a(10,L=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href)},ge=()=>{null!=i&&i.addEventListener("mousedown",Le,!1),null!=i&&i.addEventListener("touchstart",Le,!1),null!=i&&i.addEventListener("mouseup",Ge,!1),null!=i&&i.addEventListener("touchend",Ge,!1)},fe=()=>{a(11,ne=!1),null!=i&&i.removeEventListener("mousedown",Le),null!=i&&i.removeEventListener("touchstart",Le),null!=i&&i.removeEventListener("mouseup",Ge),null!=i&&i.removeEventListener("touchend",Ge)},ye=e=>{var t;switch(e.data.type){case"GameLaunchID":he(e.data.gameId,!0);break;case"LaunchGameFrame":$e(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":"true"===S||dt(_)?(a(54,ce="false"),fe(),dt(_)?setTimeout(()=>{a(13,G="true"===X)},500):setTimeout(()=>{a(13,G="true"===S)},500)):"false"===S&&!0!==(null==(t=e.data)?void 0:t.closeIntegratedGameFrameDesktop)&&window.postMessage({type:"DisableScroll"},window.location.href);break;case"UserSessionID":if(0<e.data.session.length){r=e.data.session,e.data.userID,a(6,M=!0);let t=setInterval(()=>{var e;o&&((e=new URL(o.launchUrl)).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),a(12,o.launchUrl=e,o),clearInterval(t))},250)}break;case"ModalSize":a(20,N=e.data.modalContainerSize.modalWidth),a(21,O=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(le=e.data.receivedFavoriteResults.items,o)&&o.id&&(a(12,o.isFavored=be(o.id),o),a(8,E=!1))}},be=t=>-1!==le.findIndex(e=>e.id==t),ve=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(12,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(12,o.isFavored=!0,o))},we=(e,t)=>(a(15,ie="true"==J&&e.hasAnonymousFunMode),a(14,ae="true"==J&&t),a(13,G=!0),be(e.id)),$e=(e,t)=>{e=new URL(f+"/v1/casino/games/"+e);e.searchParams.append("language",y),fetch(e.href).then(e=>e.json()).then(e=>{a(12,o=pe(e[0])),a(10,L=!1),o.launchUrl&&(a(12,o.isFavored=we(o,t),o),a(8,E=!1))}).finally(()=>{a(10,L=!1)})},xe=()=>{var e=getComputedStyle(s),e=(getComputedStyle(l),parseInt(e.width.slice(0,-2)),parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width)*e,u=parseInt(o.height),H=d?Math.floor(d)+"px":"1280px",j=u?Math.floor(u)+"px":"720px",Ie()},Ce=e=>{dt(_)?Fe(X):Fe(S)},Fe=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",subVendor:o.subVendor,gameId:o.id,launchUrl:null==(e=o.launchUrl)?void 0:e.href},window.location.href)},ke=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:G},window.location.href),G&&(s&&xe(),window.addEventListener("ModalSize",ye,!1))},T=()=>{U&&(dt(_)&&window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:U,transition:"Login"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},P=()=>{W&&(dt(_)&&window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:W,transition:"Register"},window.location.href)),F&&(window.location=F),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Se=e=>{V&&!e?window.postMessage({type:"OpenShortCashier"},window.location.href):Y&&(window.postMessage({type:Y},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"IntegratedGamePage"}),k&&!V&&(window.location=k)};function Me(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!I||R()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Me,!1),document.addEventListener("mozfullscreenchange",Me,!1),document.addEventListener("fullscreenchange",Me,!1),document.addEventListener("MSFullscreenChange",Me,!1));const R=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(I?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),a(19,I=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),a(19,I=!0)))},Ee=(setInterval(()=>{a(4,B=q?Da().format(q):Da().format("LTS"))},100),()=>{"true"==K?aa(f,b).then(e=>{r=e.Guid,e.UserID,a(6,M=!0)},e=>{a(6,M=!1),console.error("err on session",e)}):(r=b,a(6,M=!0))}),Le=e=>{re=0,A=setInterval(()=>{re+=1,a(11,ne=!0),3<=re&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(A))},1e3)},Ge=e=>{re<3&&a(11,ne=!1),clearInterval(A)},Ie=()=>{var e=I?"100%":H,t=I?"100%":j,n=I||!oe?"none":o.width?Math.floor(o.width)+"px":"1280px",r=I||!oe?"none":o.height?Math.floor(o.height)+100+"px":"720px";a(25,de=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),I||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),a(16,s.style.height=g+"px",s),a(17,l.style.height=g+"px",l),e&&a(18,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return e=()=>{a(7,ee=(b||v)&&!M)},_e().$$.before_update.push(e),st(()=>(window.addEventListener("resize",ke,!1),window.addEventListener("message",ye,!1),()=>{fe(),window.removeEventListener("resize",ke),window.removeEventListener("message",ye)})),n.$$set=e=>{"endpoint"in e&&a(34,f=e.endpoint),"lang"in e&&a(35,y=e.lang),"session"in e&&a(36,b=e.session),"userid"in e&&a(37,v=e.userid),"clientstyling"in e&&a(38,w=e.clientstyling),"clientstylingurl"in e&&a(39,$=e.clientstylingurl),"translationurl"in e&&a(40,x=e.translationurl),"favorites"in e&&a(0,z=e.favorites),"loginurl"in e&&a(41,C=e.loginurl),"registerurl"in e&&a(42,F=e.registerurl),"depositurl"in e&&a(43,k=e.depositurl),"loginevent"in e&&a(44,U=e.loginevent),"registerevent"in e&&a(45,W=e.registerevent),"depositevent"in e&&a(46,Y=e.depositevent),"shortcashierenabled"in e&&a(47,V=e.shortcashierenabled),"clockformat"in e&&a(48,q=e.clockformat),"haspanicbutton"in e&&a(1,Z=e.haspanicbutton),"playforfun"in e&&a(49,J=e.playforfun),"checksession"in e&&a(50,K=e.checksession),"integratedgameframedesktop"in e&&a(51,S=e.integratedgameframedesktop),"integratedgameframemobile"in e&&a(52,X=e.integratedgameframemobile),"gameid"in e&&a(53,Q=e.gameid)},n.$$.update=()=>{if(16&n.$$.dirty[1]&&y&&(t=y,ct.set(t),a(22,se=dt(_))),4194328&n.$$.dirty[1]&&f&&Q&&y&&he(Q,!0),104&n.$$.dirty[1]&&b&&v&&f&&Ee(),524328&n.$$.dirty[1]&&"false"==K&&b&&f&&Ee(),512&n.$$.dirty[1]&&x&&fetch(x).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{oc(e,t[e])})}).catch(e=>{console.log(e)}),1&n.$$.dirty[0]&&z&&a(8,E=!0),8&n.$$.dirty[0]|128&n.$$.dirty[1]&&w&&m&&((t=document.createElement("style")).innerHTML=w,m.appendChild(t)),8&n.$$.dirty[0]|256&n.$$.dirty[1]&&$&&m){let t=document.createElement("style");var e;$&&(e=new URL($),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{m.appendChild(t)},1)}))}var t;4&n.$$.dirty[0]|8388608&n.$$.dirty[1]&&"true"==ce&&i&&ge(),4&n.$$.dirty[0]&&i&&ge()},[z,Z,i,m,B,t,M,ee,E,te,L,ne,o,G,ae,ie,s,l,c,I,N,O,se,p,h,"",D,_,ve,Ce,T,P,Se,R,f,y,b,v,w,$,x,C,F,k,U,W,Y,V,q,J,K,S,X,Q,ce,()=>ve(o.id),()=>ve(o.id),()=>Se(se),()=>{Ce()},function(e){lt[e?"unshift":"push"](()=>{i=e,a(2,i)})},()=>T(),()=>P(),()=>{Ce()},()=>T(),()=>P(),function(e){lt[e?"unshift":"push"](()=>{t=e,a(5,t)})},()=>Se(se),function(e){lt[e?"unshift":"push"](()=>{h=e,a(24,h)})},function(e){lt[e?"unshift":"push"](()=>{i=e,a(2,i)})},()=>R(),()=>R(),function(e){lt[e?"unshift":"push"](()=>{p=e,a(23,p)})},function(e){lt[e?"unshift":"push"](()=>{l=e,a(17,l)})},function(e){lt[e?"unshift":"push"](()=>{s=e,a(16,s)})},function(e){lt[e?"unshift":"push"](()=>{t=e,a(5,t)})},()=>T(),()=>P(),function(e){lt[e?"unshift":"push"](()=>{h=e,a(24,h)})},()=>R(),()=>R(),function(e){lt[e?"unshift":"push"](()=>{p=e,a(23,p)})},function(e){lt[e?"unshift":"push"](()=>{l=e,a(17,l)})},function(e){lt[e?"unshift":"push"](()=>{s=e,a(16,s)})},()=>T(),()=>P(),function(e){lt[e?"unshift":"push"](()=>{c=e,a(18,c)})},function(e){lt[e?"unshift":"push"](()=>{m=e,a(3,m)})}]}function Tc(e,t){o(e,t)}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoGamePageContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-color-bg, var(--emfe-w-color-background, #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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, 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-casino-color-primary, 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-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, 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-button-typography, var(--emfe-w-color-white, #FFFFFF))}p{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:60px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100% !important;height:30px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.LoaderRipple{width:80px;height:80px;position:absolute;top:0;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}.LoaderRipple.LoaderWithPanicButton{top:40px}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},_c,Ic,n,{endpoint:34,lang:35,session:36,userid:37,clientstyling:38,clientstylingurl:39,translationurl:40,favorites:0,loginurl:41,registerurl:42,depositurl:43,loginevent:44,registerevent:45,depositevent:46,shortcashierenabled:47,clockformat:48,haspanicbutton:1,playforfun:49,checksession:50,integratedgameframedesktop:51,integratedgameframemobile:52,gameid:53},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","shortcashierenabled","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[34]}set endpoint(e){this.$$set({endpoint:e}),m()}get lang(){return this.$$.ctx[35]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[36]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[37]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[38]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[39]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[40]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),m()}get loginurl(){return this.$$.ctx[41]}set loginurl(e){this.$$set({loginurl:e}),m()}get registerurl(){return this.$$.ctx[42]}set registerurl(e){this.$$set({registerurl:e}),m()}get depositurl(){return this.$$.ctx[43]}set depositurl(e){this.$$set({depositurl:e}),m()}get loginevent(){return this.$$.ctx[44]}set loginevent(e){this.$$set({loginevent:e}),m()}get registerevent(){return this.$$.ctx[45]}set registerevent(e){this.$$set({registerevent:e}),m()}get depositevent(){return this.$$.ctx[46]}set depositevent(e){this.$$set({depositevent:e}),m()}get shortcashierenabled(){return this.$$.ctx[47]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),m()}get clockformat(){return this.$$.ctx[48]}set clockformat(e){this.$$set({clockformat:e}),m()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get playforfun(){return this.$$.ctx[49]}set playforfun(e){this.$$set({playforfun:e}),m()}get checksession(){return this.$$.ctx[50]}set checksession(e){this.$$set({checksession:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[51]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[52]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get gameid(){return this.$$.ctx[53]}set gameid(e){this.$$set({gameid:e}),m()}});const Pc={en:{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-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"},it:{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:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"},tr:{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:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},ro:{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:{signIn:"Prijava",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započni sada!",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata"},hu:{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:{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:{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:{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:{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"},"pt-br":{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Começa agora!",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas"},"es-mx":{signIn:"Ingresar",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Comienza ahora!",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas"}};function Rc(e,t){o(e,t)}const Dc={en:{title:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{title:"訂金",loading:"加載請稍候…"},fr:{title:"Dépôt",loading:"Chargement, veuillez patienter ..."},ro:{title:"Depunere",loading:"Se încarcă..."},es:{title:"Deposita",loading:"Cargando ..."},pt:{title:"Depósito",loading:"Carregando, por favor espere ..."},hr:{title:"Uplata",loading:"Učitavanje"},"pt-br":{title:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{title:"Depositar",Loading:"Cargando, por favor espere..."}};function Bc(e){let n,r,a;return{c(){n=pe("div"),ce((r=pe("iframe")).src,a=e[3])||fe(r,"src",a),fe(r,"title","Deposit Iframe"),fe(n,"class","DepositIframeWrapper")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){8&t&&!ce(r.src,a=e[3])&&fe(r,"src",a)},d(e){e&&me(n)}}}function Ac(e){let n,r,a=e[4]("loading")+"";return{c(){n=pe("p"),r=he(a)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t&&a!==(a=e[4]("loading")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Nc(n){let r,a,i,o,s,l=n[4]("title")+"",c=n[5]&&function(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f=n[4]("title")+"";return{c(){r=pe("div"),a=z("svg"),i=z("defs"),o=z("style"),s=he(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=z("g"),c=z("g"),d=z("path"),u=ge(),m=pe("h2"),p=he(f),fe(d,"class","aaa"),fe(d,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),fe(d,"transform","translate(15 15) rotate(180)"),fe(c,"transform","translate(20 158)"),fe(l,"transform","translate(-20 -158)"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"width","15"),fe(a,"height","15"),fe(a,"viewBox","0 0 15 15"),fe(m,"class","DepositTitleMobile"),fe(r,"class","MenuReturnButton")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(a,l),de(l,c),de(c,d),de(r,u),de(r,m),de(m,p),h||(g=U(r,"click",n[17]),h=!0)},p(e,t){16&t&&f!==(f=e[4]("title")+"")&&ye(p,f)},d(e){e&&me(r),h=!1,g()}}}(n);function d(e){return e[1]?Ac:Bc}let u=d(n),m=u(n);return{c(){r=pe("div"),c&&c.c(),a=ge(),i=pe("h2"),o=he(l),s=ge(),m.c(),this.c=N,fe(i,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),fe(r,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),P(r,"--dynamic-height",n[2])},m(e,t){ue(e,r,t),c&&c.m(r,null),de(r,a),de(r,i),de(i,o),de(r,s),m.m(r,null),n[18](r)},p(e,[t]){e[5]&&c.p(e,t),16&t&&l!==(l=e[4]("title")+"")&&ye(o,l),u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(r,null))),4&t&&P(r,"--dynamic-height",e[2])},i:N,o:N,d(e){e&&me(r),c&&c.d(),m.d(),n[18](null)}}}function Oc(r,e,a){let t;mt(r,ra,e=>a(4,t=e));let i,n,{endpoint:o=""}=e,{session:s=""}=e,{playerid:l=""}=e,{lang:c="en"}=e,{hasdefaultamount:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{translationurl:p=""}=e,{playercurrency:h=""}=e,{shortcashierenabled:g="false"}=e,f=window.navigator.userAgent,y="PC"!==ut(f),b=!0,v=0,w="";Object.keys(Dc).forEach(e=>{Rc(e,Dc[e])});const $=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:y},window.location.href)},x=e=>{if(e.data)switch("ProfileDetailsData"===e.data.type&&a(7,h=e.data.profileDetails.currency),e.data["MMFE:setQuickDepositHeight"]&&a(2,n=e.data["MMFE:setQuickDepositHeight"].toString()+"px"),"true"===e.data["MMFE:openFullCashier"]&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),e.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href)}};return st(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)})),r.$$set=e=>{"endpoint"in e&&a(8,o=e.endpoint),"session"in e&&a(9,s=e.session),"playerid"in e&&a(10,l=e.playerid),"lang"in e&&a(11,c=e.lang),"hasdefaultamount"in e&&a(12,d=e.hasdefaultamount),"clientstyling"in e&&a(13,u=e.clientstyling),"clientstylingurl"in e&&a(14,m=e.clientstylingurl),"translationurl"in e&&a(15,p=e.translationurl),"playercurrency"in e&&a(7,h=e.playercurrency),"shortcashierenabled"in e&&a(16,g=e.shortcashierenabled)},r.$$.update=()=>{if(2048&r.$$.dirty&&c&&(n=c,ct.set(n)),16385&r.$$.dirty&&m&&i){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}if(8193&r.$$.dirty&&u&&i&&((n=document.createElement("style")).innerHTML=u,i.appendChild(n)),32768&r.$$.dirty&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Rc(e,t[e])})}).catch(e=>{console.log(e)}),69504&r.$$.dirty&&s&&l&&o&&h&&c&&g){var e=new URL(`${o}/v1/player/${l}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(g&&e.searchParams.append("isShortCashier",g),d)switch(h){case"USD":v=.4;break;case"CDF":v=1e3}var t={method:"POST",headers:{"X-SessionId":s,currency:h||"EUR",amount:v,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(e.href,t).then(e=>e.json()).then(e=>{a(1,b=!1),a(3,w=e.CashierUrl)},e=>{console.error(e)})}var n},[i,b,n,w,t,y,$,h,o,s,l,c,d,u,m,p,g,()=>$(),function(e){lt[e?"unshift":"push"](()=>{i=e,a(0,i)})}]}customElements.get("player-deposit")||customElements.define("player-deposit",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".DepositWrapper{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.DepositTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.DepositTitleMobile{font-size:16px}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Oc,Nc,n,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,shortcashierenabled:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","session","playerid","lang","hasdefaultamount","clientstyling","clientstylingurl","translationurl","playercurrency","shortcashierenabled"]}get endpoint(){return this.$$.ctx[8]}set endpoint(e){this.$$set({endpoint:e}),m()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),m()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$$set({playerid:e}),m()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),m()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),m()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),m()}get playercurrency(){return this.$$.ctx[7]}set playercurrency(e){this.$$set({playercurrency:e}),m()}get shortcashierenabled(){return this.$$.ctx[16]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),m()}});const Hc=d["document"];function jc(e){let n;function r(e){return e[25]?Yc:e[30]?Wc:void 0}let a=r(e),i=a&&a(e);return{c(){n=pe("div"),i&&i.c(),fe(n,"class","CasinoIntegratedGamePage")},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n,null)))},d(e){e&&me(n),i&&i.d()}}}function zc(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Uc(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:N,d(e){e&&me(n)}}}function Wc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C,F,k,S,M,E=n[43]("signIn")+"",L=n[43]("register")+"";function G(e){return e[36]?qc:Vc}let I=G(n),_=I(n),T="true"==n[12]&&!n[36]&&Zc();return{c(){r=pe("div"),(a=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}</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>',i=ge(),o=pe("p"),s=pe("span"),l=he(n[23]),c=ge(),d=pe("div"),u=ge(),m=pe("div"),p=pe("div"),h=pe("iframe"),f=ge(),y=pe("div"),b=pe("div"),v=pe("button"),w=he(E),$=ge(),x=pe("button"),C=he(L),F=ge(),_.c(),k=ge(),T&&T.c(),fe(a,"class","backButton"),fe(o,"class","Time"),fe(r,"class","GamePageIntegratedTopSection"),fe(h,"title","Games"),fe(h,"class","GamesContainer"),fe(h,"aria-hidden","false"),ce(h.src,g=n[29].launchUrl)||fe(h,"src",g),fe(v,"class","LoginButton"),fe(x,"class","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(p,"id","IframeGame"),P(p,"width",n[36]?"100%":n[37]),P(p,"height",n[36]?"100%":n[38]),P(p,"max-width",n[36]||!n[31]?"none":n[29].width?Math.floor(n[29].width)+"px":"1280px"),P(p,"max-height",n[36]||!n[31]?"none":n[29].height?Math.floor(n[29].height)+100+"px":"720px"),fe(m,"id","IframeContainer"),O(m,"FullsScreenLayout",n[36])},m(e,t){ue(e,r,t),de(r,a),de(r,i),de(r,o),de(o,s),de(s,l),n[74](o),de(r,c),de(r,d),ue(e,u,t),ue(e,m,t),de(m,p),de(p,h),n[75](h),de(p,f),de(p,y),de(y,b),de(b,v),de(v,w),de(b,$),de(b,x),de(x,C),de(y,F),_.m(y,null),n[80](y),n[81](p),de(m,k),T&&T.m(m,null),n[82](m),S||(M=[U(a,"click",n[73]),U(v,"click",n[76]),U(x,"click",n[77])],S=!0)},p(e,t){8388608&t[0]&&ye(l,e[23]),536870912&t[0]&&!ce(h.src,g=e[29].launchUrl)&&fe(h,"src",g),4096&t[1]&&E!==(E=e[43]("signIn")+"")&&ye(w,E),4096&t[1]&&L!==(L=e[43]("register")+"")&&ye(C,L),I===(I=G(e))&&_?_.p(e,t):(_.d(1),(_=I(e))&&(_.c(),_.m(y,null))),96&t[1]&&P(p,"width",e[36]?"100%":e[37]),160&t[1]&&P(p,"height",e[36]?"100%":e[38]),536870912&t[0]|33&t[1]&&P(p,"max-width",e[36]||!e[31]?"none":e[29].width?Math.floor(e[29].width)+"px":"1280px"),536870912&t[0]|33&t[1]&&P(p,"max-height",e[36]||!e[31]?"none":e[29].height?Math.floor(e[29].height)+100+"px":"720px"),"true"!=e[12]||e[36]?T&&(T.d(1),T=null):T||((T=Zc()).c(),T.m(m,null)),32&t[1]&&O(m,"FullsScreenLayout",e[36])},d(e){e&&me(r),n[74](null),e&&me(u),e&&me(m),n[75](null),_.d(),n[80](null),n[81](null),T&&T.d(),n[82](null),S=!1,H(M)}}}function Yc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C,F,k,S=n[43]("deposit")+"",M=n[42]&&Jc(n),E="true"===n[11]&&Qc(n);function L(e){return e[36]?td:ed}let G=L(n),I=G(n),_="true"==n[12]&&!n[36]&&nd();return{c(){r=pe("div"),(a=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}</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>',i=ge(),o=pe("p"),s=pe("span"),l=he(n[23]),c=ge(),d=pe("div"),u=he(S),m=ge(),M&&M.c(),p=ge(),h=pe("div"),g=pe("div"),f=pe("iframe"),w=ge(),$=pe("div"),E&&E.c(),x=ge(),I.c(),C=ge(),_&&_.c(),fe(a,"class","backButton"),fe(o,"class","Time"),fe(d,"class","DepositButton"),fe(r,"class","GamePageIntegratedTopSection"),fe(f,"title","Games"),fe(f,"id","IframeGame"),fe(f,"class","GamesContainer"),fe(f,"aria-hidden","false"),ce(f.src,y=n[29].launchUrl)||fe(f,"src",y),fe(f,"width",b=n[33]+"px"),fe(f,"height",v=n[34]+"px"),fe($,"class","BottomGame BottomGameLoggedin"),fe(g,"id","IframeGame"),P(g,"width",n[36]?"100%":n[37]),P(g,"height",n[36]?"100%":n[38]),P(g,"max-width",n[36]?"none":n[29].width?n[29].width+"px":"1280px"),P(g,"max-height",n[36]?"none":n[29].height?Math.floor(n[29].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),O(h,"FullsScreenLayout",n[36])},m(e,t){ue(e,r,t),de(r,a),de(r,i),de(r,o),de(o,s),de(s,l),n[62](o),de(r,c),de(r,d),de(d,u),de(r,m),M&&M.m(r,null),ue(e,p,t),ue(e,h,t),de(h,g),de(g,f),n[66](f),de(g,w),de(g,$),E&&E.m($,null),de($,x),I.m($,null),n[70]($),n[71](g),de(h,C),_&&_.m(h,null),n[72](h),F||(k=[U(a,"click",n[61]),U(d,"click",n[63])],F=!0)},p(e,t){8388608&t[0]&&ye(l,e[23]),4096&t[1]&&S!==(S=e[43]("deposit")+"")&&ye(u,S),e[42]?M?M.p(e,t):((M=Jc(e)).c(),M.m(r,null)):M&&(M.d(1),M=null),536870912&t[0]&&!ce(f.src,y=e[29].launchUrl)&&fe(f,"src",y),4&t[1]&&b!==(b=e[33]+"px")&&fe(f,"width",b),8&t[1]&&v!==(v=e[34]+"px")&&fe(f,"height",v),"true"===e[11]?E?E.p(e,t):((E=Qc(e)).c(),E.m($,x)):E&&(E.d(1),E=null),G===(G=L(e))&&I?I.p(e,t):(I.d(1),(I=G(e))&&(I.c(),I.m($,null))),96&t[1]&&P(g,"width",e[36]?"100%":e[37]),160&t[1]&&P(g,"height",e[36]?"100%":e[38]),536870912&t[0]|32&t[1]&&P(g,"max-width",e[36]?"none":e[29].width?e[29].width+"px":"1280px"),536870912&t[0]|32&t[1]&&P(g,"max-height",e[36]?"none":e[29].height?Math.floor(e[29].height)+100+"px":"720px"),"true"!=e[12]||e[36]?_&&(_.d(1),_=null):_||((_=nd()).c(),_.m(h,null)),32&t[1]&&O(h,"FullsScreenLayout",e[36])},d(e){e&&me(r),n[62](null),M&&M.d(),e&&me(p),e&&me(h),n[66](null),E&&E.d(),I.d(),n[70](null),n[71](null),_&&_.d(),n[72](null),F=!1,H(k)}}}function Vc(n){let r,a,i;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){ue(e,r,t),a||(i=U(r,"click",n[79]),a=!0)},p:N,d(e){e&&me(r),a=!1,i()}}}function qc(n){let r,a,i;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[78]),a=!0)},p:N,d(e){e&&me(r),a=!1,i()}}}function Zc(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Jc(n){let r,a,i,o,s,l,c,d;function u(e){return"gmcore"===e[6]?Xc:Kc}let m=u(n),p=m(n);return{c(){r=pe("div"),a=ge(),i=pe("div"),o=pe("div"),(s=pe("div")).innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',l=ge(),p.c(),fe(r,"class","ShortCashierWindow"),fe(s,"class","ClosePopUpButtonShortCashier"),fe(o,"class","ShortCashierContainerMobile"),fe(i,"class","ShortCashierContainerWrapperMobile")},m(e,t){ue(e,r,t),ue(e,a,t),ue(e,i,t),de(i,o),de(o,s),de(o,l),p.m(o,null),c||(d=[U(r,"click",n[64]),U(s,"click",n[65])],c=!0)},p(e,t){m===(m=u(e))&&p?p.p(e,t):(p.d(1),(p=m(e))&&(p.c(),p.m(o,null)))},d(e){e&&me(r),e&&me(a),e&&me(i),p.d(),c=!1,H(d)}}}function Kc(e){let n,r,a,i,o,s,l,c,d,u;return{c(){S(n=pe("user-deposit-withdrawal"),"endpoint",e[0]),S(n,"type","deposit"),S(n,"channel",r=e[39]?"Mobile":"Desktop"),S(n,"is-short-cashier",e[8]),S(n,"language",e[1]),S(n,"product-type",e[13]),S(n,"user-id",e[3]),S(n,"session",e[2]),S(n,"success-url",a="https://"+window.location.hostname+"/"+e[1]+e[14]),S(n,"cancel-url",i="https://"+window.location.hostname+"/"+e[1]+e[16]),S(n,"fail-url",o="https://"+window.location.hostname+"/"+e[1]+e[15]),S(n,"sports-url",s="https://"+window.location.hostname+"/"+e[1]+e[17]),S(n,"casino-url",l="https://"+window.location.hostname+"/"+e[1]+e[18]),S(n,"contact-url",c="https://"+window.location.hostname+"/"+e[1]+e[19]),S(n,"home-url",d="https://"+window.location.hostname+"/"+e[1]+e[20]),S(n,"deposit-url",u="https://"+window.location.hostname+"/"+e[1]+e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"endpoint",e[0]),256&t[1]&&r!==(r=e[39]?"Mobile":"Desktop")&&S(n,"channel",r),256&t[0]&&S(n,"is-short-cashier",e[8]),2&t[0]&&S(n,"language",e[1]),8192&t[0]&&S(n,"product-type",e[13]),8&t[0]&&S(n,"user-id",e[3]),4&t[0]&&S(n,"session",e[2]),16386&t[0]&&a!==(a="https://"+window.location.hostname+"/"+e[1]+e[14])&&S(n,"success-url",a),65538&t[0]&&i!==(i="https://"+window.location.hostname+"/"+e[1]+e[16])&&S(n,"cancel-url",i),32770&t[0]&&o!==(o="https://"+window.location.hostname+"/"+e[1]+e[15])&&S(n,"fail-url",o),131074&t[0]&&s!==(s="https://"+window.location.hostname+"/"+e[1]+e[17])&&S(n,"sports-url",s),262146&t[0]&&l!==(l="https://"+window.location.hostname+"/"+e[1]+e[18])&&S(n,"casino-url",l),524290&t[0]&&c!==(c="https://"+window.location.hostname+"/"+e[1]+e[19])&&S(n,"contact-url",c),1048578&t[0]&&d!==(d="https://"+window.location.hostname+"/"+e[1]+e[20])&&S(n,"home-url",d),130&t[0]&&u!==(u="https://"+window.location.hostname+"/"+e[1]+e[7])&&S(n,"deposit-url",u)},d(e){e&&me(n)}}}function Xc(e){let n;return{c(){S(n=pe("player-deposit"),"endpoint",e[0]),S(n,"session",e[2]),S(n,"playerid",e[3]),S(n,"lang",e[1]),S(n,"hasdefaultamount",e[9]),S(n,"playercurrency",e[10]),S(n,"shortcashierenabled",e[8]),S(n,"clientstyling",e[4]),S(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"endpoint",e[0]),4&t[0]&&S(n,"session",e[2]),8&t[0]&&S(n,"playerid",e[3]),2&t[0]&&S(n,"lang",e[1]),512&t[0]&&S(n,"hasdefaultamount",e[9]),1024&t[0]&&S(n,"playercurrency",e[10]),256&t[0]&&S(n,"shortcashierenabled",e[8]),16&t[0]&&S(n,"clientstyling",e[4]),32&t[0]&&S(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function Qc(n){let r,a,i,o=n[43]("breakButton")+"";return{c(){r=pe("div"),a=pe("button"),i=he(o),fe(a,"class","PanicButton "+("PC"!==ut(n[44])?"PanicButtonMobile":"")),fe(a,"part","PanicButton "+("PC"!==ut(n[44])?"PanicButtonMobile":"")),O(a,"PanicButtonAnimation",n[28]),fe(r,"class","PanicSection")},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[67](a)},p(e,t){4096&t[1]&&o!==(o=e[43]("breakButton")+"")&&ye(i,o),268435456&t[0]&&O(a,"PanicButtonAnimation",e[28])},d(e){e&&me(r),n[67](null)}}}function ed(n){let r,a,i;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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[69]),a=!0)},p:N,d(e){e&&me(r),a=!1,i()}}}function td(n){let r,a,i;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: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[68]),a=!0)},p:N,d(e){e&&me(r),a=!1,i()}}}function nd(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function rd(n){let r,a,i;function o(e){return e[27]?Uc:e[26]?zc:jc}let s=o(n),l=s(n);return{c(){r=pe("script"),a=ge(),i=pe("div"),l.c(),this.c=N,fe(r,"type","module"),ce(r.src,"https://unpkg.com/@everymatrix/user-deposit-withdrawal")||fe(r,"src","https://unpkg.com/@everymatrix/user-deposit-withdrawal")},m(e,t){de(Hc.head,r),ue(e,a,t),ue(e,i,t),l.m(i,null),n[83](i)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(i,null)))},i:N,o:N,d(e){me(r),e&&me(a),e&&me(i),l.d(),n[83](null)}}}function ad(n,e,r){let D;mt(n,ra,e=>r(43,D=e));let B,t,a,i,A,o,s,l,c,d,u,m,N,O,p,h,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:H=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{translationurl:$=""}=e,{gmversion:j=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:F=""}=e,{loginevent:k=""}=e,{registerevent:S=""}=e,{depositevent:M=""}=e,{shortcashierenabled:E="false"}=e,{hasdefaultamount:z=""}=e,{playercurrency:U=""}=e,{clockformat:L=""}=e,{haspanicbutton:W="false"}=e,{playforfun:G="true"}=e,{checksession:Y="true"}=e,{gamebanneractive:V="false"}=e,{gameid:I=""}=e,_=!1,q=!1,Z=!0,T=!1,J=0,K=!1,X=!1,Q=!0,P=!1,ee=window.navigator.userAgent,te=!1,ne=!1,{producttype:re=""}=e,{successurl:ae=""}=e,{failurl:ie=""}=e,{cancelurl:oe=""}=e,{sportsurl:se=""}=e,{casinourl:le=""}=e,{contacturl:ce=""}=e,{homeurl:de=""}=e;var ue,me;({withLocale:ue,translations:me}={withLocale:"en",translations:{}}),ct.subscribe(e=>{null==e&&(Sr.set(me),ct.set(ue))}),Object.keys(Pc).forEach(e=>{Tc(e,Pc[e])});const pe=(e,t)=>{e=new URL(f+"/v1/casino/games/"+e);e.searchParams.append("language",y),e.searchParams.append("expand","vendor"),r(31,Q=t||!1),fetch(e.href).then(e=>e.json()).then(e=>{var t;r(29,o=(e=e[0],(t=new URL(e.launchUrl)).searchParams.append("language",y),a&&0<a.length&&(r(25,_=!0),t.searchParams.append("_sid",a),t.searchParams.append("funMode","false")),e.launchUrl=t,p.scrollIntoView(),e)),o.launchUrl&&(K=!0,r(30,X="true"==G&&o.hasFunMode),"true"==G)&&o.hasAnonymousFunMode},e=>{console.error("There was an error",e),r(26,q=!0)}).then(()=>{s&&(he(),Q||(r(37,N=o.width),r(38,O=o.height),u=o.width,m=o.height))})},he=()=>{var e=getComputedStyle(s),t=getComputedStyle(d),e=(r(33,l=parseInt(e.width.slice(0,-2))),r(34,c=parseInt(e.height.slice(0,-2))),o.width/(o.height+100));u=parseInt(t.width),m=parseInt(t.height),l/e>c-h.clientHeight-g.clientHeight?(m=c-h.clientHeight-g.clientHeight,u=c*e):(u=l,m=l/e),r(37,N=u?Math.floor(u)+"px":"1280px"),r(38,O=m?Math.floor(m)+"px":"720px")},ge=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:K},window.location.href),K&&s&&"PC"==ut(ee)&&he()},fe=()=>{k&&(window.postMessage({type:k,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},ye=()=>{S&&(window.postMessage({type:S,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},be=()=>{E?(r(42,ne=!0),window.postMessage({type:"DisableScroll"},window.location.href)):M&&(window.postMessage({type:M},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag)&>ag("event","GoToDeposit",{context:"IntegratedGamePage"}),F&&!E&&(window.location=F)},ve=e=>{r(42,ne=!1),window.postMessage({type:"EnableScroll"},window.location.href),null!=e&&e.stopPropagation()},we=e=>{e.data&&"CloseShortCashier"===e.data.type&&ve()};function $e(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!P||R()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",$e,!1),document.addEventListener("mozfullscreenchange",$e,!1),document.addEventListener("fullscreenchange",$e,!1),document.addEventListener("MSFullscreenChange",$e,!1));const R=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(P?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen()),r(36,P=!P)},xe=setInterval(()=>{r(23,B=L?Da().format(L):Da().format("LTS"))},100),Ce=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},Fe=e=>{J=0,A=setInterval(()=>{J+=1,r(28,T=!0),3<=J&&clearInterval(A)},1e3)},ke=e=>{J<3&&r(28,T=!1),clearInterval(A)};return st(()=>(window.addEventListener("message",we,!1),window.addEventListener("resize",ge,!1),()=>{r(28,T=!1),null!=i&&i.removeEventListener("mousedown",Fe),null!=i&&i.removeEventListener("touchstart",Fe),null!=i&&i.removeEventListener("mouseup",ke),null!=i&&i.removeEventListener("touchend",ke),window.removeEventListener("message",we),window.removeEventListener("resize",ge),clearInterval(xe)})),n.$$set=e=>{"endpoint"in e&&r(0,f=e.endpoint),"lang"in e&&r(1,y=e.lang),"session"in e&&r(2,b=e.session),"userid"in e&&r(3,H=e.userid),"clientstyling"in e&&r(4,v=e.clientstyling),"clientstylingurl"in e&&r(5,w=e.clientstylingurl),"translationurl"in e&&r(51,$=e.translationurl),"gmversion"in e&&r(6,j=e.gmversion),"loginurl"in e&&r(52,x=e.loginurl),"registerurl"in e&&r(53,C=e.registerurl),"depositurl"in e&&r(7,F=e.depositurl),"loginevent"in e&&r(54,k=e.loginevent),"registerevent"in e&&r(55,S=e.registerevent),"depositevent"in e&&r(56,M=e.depositevent),"shortcashierenabled"in e&&r(8,E=e.shortcashierenabled),"hasdefaultamount"in e&&r(9,z=e.hasdefaultamount),"playercurrency"in e&&r(10,U=e.playercurrency),"clockformat"in e&&r(57,L=e.clockformat),"haspanicbutton"in e&&r(11,W=e.haspanicbutton),"playforfun"in e&&r(58,G=e.playforfun),"checksession"in e&&r(59,Y=e.checksession),"gamebanneractive"in e&&r(12,V=e.gamebanneractive),"gameid"in e&&r(60,I=e.gameid),"producttype"in e&&r(13,re=e.producttype),"successurl"in e&&r(14,ae=e.successurl),"failurl"in e&&r(15,ie=e.failurl),"cancelurl"in e&&r(16,oe=e.cancelurl),"sportsurl"in e&&r(17,se=e.sportsurl),"casinourl"in e&&r(18,le=e.casinourl),"contacturl"in e&&r(19,ce=e.contacturl),"homeurl"in e&&r(20,de=e.homeurl)},n.$$.update=()=>{if(2&n.$$.dirty[0]&&y&&(t=y,ct.set(t),r(39,te=dt(ee)),r(27,Z=!1)),3&n.$$.dirty[0]|536870912&n.$$.dirty[1]&&f&&I&&y&&pe(I),13&n.$$.dirty[0]&&b&&H&&f&&("true"==Y?aa(f,b).then(e=>{a=e.Guid,e.UserID,r(25,_=!0)},e=>{r(25,_=!1),console.error("err on session",e)}):a=b),4194320&n.$$.dirty[0]&&v&&p&&((t=document.createElement("style")).innerHTML=v,p.appendChild(t)),4194336&n.$$.dirty[0]&&w&&p){let t=document.createElement("style");var e;w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{p.appendChild(t)},1)}))}var t;2097152&n.$$.dirty[0]&&i&&(null!=i&&i.addEventListener("mousedown",Fe,!1),null!=i&&i.addEventListener("touchstart",Fe,!1),null!=i&&i.addEventListener("mouseup",ke,!1),null!=i)&&i.addEventListener("touchend",ke,!1),1048576&n.$$.dirty[1]&&$&&fetch($).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Tc(e,t[e])})}).catch(e=>{console.log(e)})},[f,y,b,H,v,w,j,F,E,z,U,W,V,re,ae,ie,oe,se,le,ce,de,i,p,B,t,_,q,Z,T,o,X,Q,s,l,c,d,P,N,O,te,h,g,ne,D,ee,fe,ye,be,ve,R,Ce,$,x,C,k,S,M,L,G,Y,I,()=>Ce(),function(e){lt[e?"unshift":"push"](()=>{g=e,r(41,g)})},()=>be(),e=>ve(e),e=>ve(e),function(e){lt[e?"unshift":"push"](()=>{t=e,r(24,t)})},function(e){lt[e?"unshift":"push"](()=>{i=e,r(21,i)})},()=>R(),()=>R(),function(e){lt[e?"unshift":"push"](()=>{h=e,r(40,h)})},function(e){lt[e?"unshift":"push"](()=>{d=e,r(35,d)})},function(e){lt[e?"unshift":"push"](()=>{s=e,r(32,s)})},()=>Ce(),function(e){lt[e?"unshift":"push"](()=>{g=e,r(41,g)})},function(e){lt[e?"unshift":"push"](()=>{t=e,r(24,t)})},()=>fe(),()=>ye(),()=>R(),()=>R(),function(e){lt[e?"unshift":"push"](()=>{h=e,r(40,h)})},function(e){lt[e?"unshift":"push"](()=>{d=e,r(35,d)})},function(e){lt[e?"unshift":"push"](()=>{s=e,r(32,s)})},function(e){lt[e?"unshift":"push"](()=>{p=e,r(22,p)})}]}function id(e){let n,r,a,i,o,s,l,c,d,u,m,p="true"==e[23]&&sd(e);return{c(){n=pe("div"),r=pe("div"),a=pe("div"),i=ge(),o=pe("div"),s=ge(),l=pe("casino-categories-slider"),c=ge(),d=pe("casino-page"),(u=pe("div")).innerHTML='<slot name="content"></slot>',m=ge(),p&&p.c(),fe(a,"class","HeaderPlaceholder"),P(a,"height",e[82]+"px"),fe(o,"class","ScrollTop"),S(l,"endpoint",e[75]),S(l,"datasource",e[76]),S(l,"lang",e[77]),S(l,"session",e[81]),S(l,"userid",e[4]),S(l,"sessioncheck","false"),S(l,"actionevent",e[19]),S(l,"filteredcategories",e[9]),S(l,"mostplayed",e[64]),S(l,"lastplayed",e[66]),S(l,"favorites",e[16]),S(l,"activecategory",e[1]),S(l,"translationurl",e[11]),S(l,"clientstyling",e[5]),S(l,"clientstylingurl",e[6]),S(l,"containermaxwidth",e[17]),S(l,"location","secondaryMenu"),S(l,"showsubgroups",e[53]),S(l,"categoriesicon",e[30]),S(l,"lobbyiconimage",e[31]),S(l,"mygamesiconimage",e[32]),fe(u,"slot","je-jackpots-widget"),S(d,"session",e[81]),S(d,"userid",e[4]),S(d,"endpoint",e[75]),S(d,"datasource",e[76]),S(d,"lang",e[77]),S(d,"showgamename",e[22]),S(d,"cmsendpoint",e[2]),S(d,"env",e[3]),S(d,"visiblegames",e[25]),S(d,"playrandomgame",e[24]),S(d,"activecategory",e[1]),S(d,"favorites",e[16]),S(d,"clientstyling",e[5]),S(d,"clientstylingurl",e[6]),S(d,"lobbyid",e[8]),S(d,"containermaxwidth",e[17]),S(d,"haspanicbutton",e[18]),S(d,"livecasino",e[20]),S(d,"currency",e[0]),S(d,"filteredcategories",e[9]),S(d,"gamepagemodalurl",e[28]),S(d,"randombuttonicon",e[68]),S(d,"positioncasinocalendar",e[58]),S(d,"filteredrandomgamecategories",e[69]),S(d,"positionwinnerswidget",e[33]),S(d,"periodrecent",e[38]),S(d,"periodtop",e[39]),S(d,"userroles",e[10]),S(d,"numberusersrecent",e[40]),S(d,"numberuserstop",e[41]),S(d,"amountlimit",e[42]),S(d,"translationurl",e[11]),S(d,"isrecentavailable",e[37]),S(d,"istopavailable",e[36]),S(d,"integratedgameframedesktop",e[26]),S(d,"integratedgameframemobile",e[27]),S(d,"defaultcurrency",e[43]),S(d,"enableautoscroll",e[35]),S(d,"collectionprovidersgamenames",e[57]),S(d,"tabsorder",e[34]),S(d,"positionjackpotbanners",e[44]),S(d,"backgroundsrc",e[49]),S(d,"backgroundsrcmobile",e[50]),S(d,"titlelogopath",e[51]),S(d,"caticon0",e[45]),S(d,"caticon1",e[46]),S(d,"caticon2",e[47]),S(d,"caticon3",e[48]),S(d,"iconlabels",e[52]),S(d,"positioncollections",e[54]),S(d,"type",e[55]),S(d,"titletype",e[56]),S(d,"casinomygames",cd),S(d,"filterbylogo",e[72]),S(d,"addfilterselector",e[70]),S(d,"addsortingselector",e[71]),S(d,"lastplayedunique",e[63]),S(d,"lastplayedlimit",e[62]),S(d,"lastplayedorder",e[61]),S(d,"mostplayedrounds",e[65]),S(d,"mostplayed",e[64]),S(d,"lastplayed",e[66]),S(d,"lastplayedperiod",e[59]),S(d,"mostplayedperiod",e[60]),S(d,"showsubgroups",e[53]),S(d,"winnersdatasources",e[73]),S(d,"casinogamesgridslider",e[29]),S(d,"positionjelobbywidget",e[67]),fe(r,"class","WidgetsSection"),fe(n,"class","CasinoLobby")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(r,o),de(r,s),de(r,l),de(r,c),de(r,d),de(d,u),de(r,m),p&&p.m(r,null)},p(e,t){1048576&t[2]&&P(a,"height",e[82]+"px"),8192&t[2]&&S(l,"endpoint",e[75]),16384&t[2]&&S(l,"datasource",e[76]),32768&t[2]&&S(l,"lang",e[77]),524288&t[2]&&S(l,"session",e[81]),16&t[0]&&S(l,"userid",e[4]),524288&t[0]&&S(l,"actionevent",e[19]),512&t[0]&&S(l,"filteredcategories",e[9]),4&t[2]&&S(l,"mostplayed",e[64]),16&t[2]&&S(l,"lastplayed",e[66]),65536&t[0]&&S(l,"favorites",e[16]),2&t[0]&&S(l,"activecategory",e[1]),2048&t[0]&&S(l,"translationurl",e[11]),32&t[0]&&S(l,"clientstyling",e[5]),64&t[0]&&S(l,"clientstylingurl",e[6]),131072&t[0]&&S(l,"containermaxwidth",e[17]),4194304&t[1]&&S(l,"showsubgroups",e[53]),1073741824&t[0]&&S(l,"categoriesicon",e[30]),1&t[1]&&S(l,"lobbyiconimage",e[31]),2&t[1]&&S(l,"mygamesiconimage",e[32]),524288&t[2]&&S(d,"session",e[81]),16&t[0]&&S(d,"userid",e[4]),8192&t[2]&&S(d,"endpoint",e[75]),16384&t[2]&&S(d,"datasource",e[76]),32768&t[2]&&S(d,"lang",e[77]),4194304&t[0]&&S(d,"showgamename",e[22]),4&t[0]&&S(d,"cmsendpoint",e[2]),8&t[0]&&S(d,"env",e[3]),33554432&t[0]&&S(d,"visiblegames",e[25]),16777216&t[0]&&S(d,"playrandomgame",e[24]),2&t[0]&&S(d,"activecategory",e[1]),65536&t[0]&&S(d,"favorites",e[16]),32&t[0]&&S(d,"clientstyling",e[5]),64&t[0]&&S(d,"clientstylingurl",e[6]),256&t[0]&&S(d,"lobbyid",e[8]),131072&t[0]&&S(d,"containermaxwidth",e[17]),262144&t[0]&&S(d,"haspanicbutton",e[18]),1048576&t[0]&&S(d,"livecasino",e[20]),1&t[0]&&S(d,"currency",e[0]),512&t[0]&&S(d,"filteredcategories",e[9]),268435456&t[0]&&S(d,"gamepagemodalurl",e[28]),64&t[2]&&S(d,"randombuttonicon",e[68]),134217728&t[1]&&S(d,"positioncasinocalendar",e[58]),128&t[2]&&S(d,"filteredrandomgamecategories",e[69]),4&t[1]&&S(d,"positionwinnerswidget",e[33]),128&t[1]&&S(d,"periodrecent",e[38]),256&t[1]&&S(d,"periodtop",e[39]),1024&t[0]&&S(d,"userroles",e[10]),512&t[1]&&S(d,"numberusersrecent",e[40]),1024&t[1]&&S(d,"numberuserstop",e[41]),2048&t[1]&&S(d,"amountlimit",e[42]),2048&t[0]&&S(d,"translationurl",e[11]),64&t[1]&&S(d,"isrecentavailable",e[37]),32&t[1]&&S(d,"istopavailable",e[36]),67108864&t[0]&&S(d,"integratedgameframedesktop",e[26]),134217728&t[0]&&S(d,"integratedgameframemobile",e[27]),4096&t[1]&&S(d,"defaultcurrency",e[43]),16&t[1]&&S(d,"enableautoscroll",e[35]),67108864&t[1]&&S(d,"collectionprovidersgamenames",e[57]),8&t[1]&&S(d,"tabsorder",e[34]),8192&t[1]&&S(d,"positionjackpotbanners",e[44]),262144&t[1]&&S(d,"backgroundsrc",e[49]),524288&t[1]&&S(d,"backgroundsrcmobile",e[50]),1048576&t[1]&&S(d,"titlelogopath",e[51]),16384&t[1]&&S(d,"caticon0",e[45]),32768&t[1]&&S(d,"caticon1",e[46]),65536&t[1]&&S(d,"caticon2",e[47]),131072&t[1]&&S(d,"caticon3",e[48]),2097152&t[1]&&S(d,"iconlabels",e[52]),8388608&t[1]&&S(d,"positioncollections",e[54]),16777216&t[1]&&S(d,"type",e[55]),33554432&t[1]&&S(d,"titletype",e[56]),1024&t[2]&&S(d,"filterbylogo",e[72]),256&t[2]&&S(d,"addfilterselector",e[70]),512&t[2]&&S(d,"addsortingselector",e[71]),2&t[2]&&S(d,"lastplayedunique",e[63]),1&t[2]&&S(d,"lastplayedlimit",e[62]),1073741824&t[1]&&S(d,"lastplayedorder",e[61]),8&t[2]&&S(d,"mostplayedrounds",e[65]),4&t[2]&&S(d,"mostplayed",e[64]),16&t[2]&&S(d,"lastplayed",e[66]),268435456&t[1]&&S(d,"lastplayedperiod",e[59]),536870912&t[1]&&S(d,"mostplayedperiod",e[60]),4194304&t[1]&&S(d,"showsubgroups",e[53]),2048&t[2]&&S(d,"winnersdatasources",e[73]),536870912&t[0]&&S(d,"casinogamesgridslider",e[29]),32&t[2]&&S(d,"positionjelobbywidget",e[67]),"true"==e[23]?p?p.p(e,t):((p=sd(e)).c(),p.m(r,null)):p&&(p.d(1),p=null)},d(e){e&&me(n),p&&p.d()}}}function od(e){let n,r;return{c(){n=pe("p"),r=he(e[80]),P(n,"color","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){262144&t[2]&&ye(r,e[80])},d(e){e&&me(n)}}}function sd(e){let n,r;return{c(){n=pe("casino-modal"),S(r=pe("casino-game-page"),"session",e[81]),S(r,"userid",e[4]),S(r,"endpoint",e[75]),S(r,"datasource",e[76]),S(r,"lang",e[77]),S(r,"loginevent",e[12]),S(r,"registerevent",e[13]),S(r,"depositevent",e[14]),S(r,"checksession","false"),S(r,"playforfun",e[21]),S(r,"translationurl",e[11]),S(r,"shortcashierenabled",e[15]),S(r,"favorites",e[16]),S(r,"clientstyling",e[5]),S(r,"clientstylingurl",e[6]),S(r,"clockformat",e[7]),S(r,"haspanicbutton",e[18]),S(r,"currency",e[0]),S(r,"integratedgameframedesktop",e[26]),S(r,"integratedgameframemobile",e[27]),S(n,"session",e[81]),S(n,"userid",e[4]),S(n,"endpoint",e[75]),S(n,"datasource",e[76]),S(n,"lang",e[77]),S(n,"sessioncheck","false"),S(n,"translationurl",e[11]),S(n,"clientstyling",e[5]),S(n,"clientstylingurl",e[6]),S(n,"gamepagemodalurl",e[28]),S(n,"haspanicbutton",e[18]),S(n,"integratedgameframedesktop",e[26]),S(n,"identifier","Lobby")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){524288&t[2]&&S(r,"session",e[81]),16&t[0]&&S(r,"userid",e[4]),8192&t[2]&&S(r,"endpoint",e[75]),16384&t[2]&&S(r,"datasource",e[76]),32768&t[2]&&S(r,"lang",e[77]),4096&t[0]&&S(r,"loginevent",e[12]),8192&t[0]&&S(r,"registerevent",e[13]),16384&t[0]&&S(r,"depositevent",e[14]),2097152&t[0]&&S(r,"playforfun",e[21]),2048&t[0]&&S(r,"translationurl",e[11]),32768&t[0]&&S(r,"shortcashierenabled",e[15]),65536&t[0]&&S(r,"favorites",e[16]),32&t[0]&&S(r,"clientstyling",e[5]),64&t[0]&&S(r,"clientstylingurl",e[6]),128&t[0]&&S(r,"clockformat",e[7]),262144&t[0]&&S(r,"haspanicbutton",e[18]),1&t[0]&&S(r,"currency",e[0]),67108864&t[0]&&S(r,"integratedgameframedesktop",e[26]),134217728&t[0]&&S(r,"integratedgameframemobile",e[27]),524288&t[2]&&S(n,"session",e[81]),16&t[0]&&S(n,"userid",e[4]),8192&t[2]&&S(n,"endpoint",e[75]),16384&t[2]&&S(n,"datasource",e[76]),32768&t[2]&&S(n,"lang",e[77]),2048&t[0]&&S(n,"translationurl",e[11]),32&t[0]&&S(n,"clientstyling",e[5]),64&t[0]&&S(n,"clientstylingurl",e[6]),268435456&t[0]&&S(n,"gamepagemodalurl",e[28]),262144&t[0]&&S(n,"haspanicbutton",e[18]),67108864&t[0]&&S(n,"integratedgameframedesktop",e[26])},d(e){e&&me(n)}}}function ld(n){let r,a;function i(e){return e[79]?od:id}let o=i(n),s=o(n);return{c(){r=pe("div"),s.c(),this.c=N,fe(r,"class",a=n[78]?"DisplayNone":"")},m(e,t){ue(e,r,t),s.m(r,null),n[93](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),65536&t[2]&&a!==(a=e[78]?"DisplayNone":"")&&fe(r,"class",a)},i:N,o:N,d(e){e&&me(r),s.d(),n[93](null)}}}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}@keyframes ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}.ShortCashierWindow{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;z-index:17}.ShortCashierContainerMobile{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;width:80vw;top:32px;left:50%;transform:translateX(-100%);padding:10px;box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:"";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:78%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.ClosePopUpButtonShortCashier{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier svg{position:absolute;top:10px;right:10px}.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-button-typography, var(--emfe-w-color-white, #FFFFFF));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-button-typography, var(--emfe-w-color-white, #FFFFFF))}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));float:right}.FullscreenButton svg{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.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-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));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-button-typography, 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{position:fixed;top:0;left:0;bottom:0;right:0;width:100%;height:100%;z-index:9999;overflow:auto;background:#000}.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-button-typography, 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-button-typography, 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:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ad,rd,n,{endpoint:0,lang:1,session:2,userid:3,clientstyling:4,clientstylingurl:5,translationurl:51,gmversion:6,loginurl:52,registerurl:53,depositurl:7,loginevent:54,registerevent:55,depositevent:56,shortcashierenabled:8,hasdefaultamount:9,playercurrency:10,clockformat:57,haspanicbutton:11,playforfun:58,checksession:59,gamebanneractive:12,gameid:60,producttype:13,successurl:14,failurl:15,cancelurl:16,sportsurl:17,casinourl:18,contacturl:19,homeurl:20},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","gmversion","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","shortcashierenabled","hasdefaultamount","playercurrency","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid","producttype","successurl","failurl","cancelurl","sportsurl","casinourl","contacturl","homeurl"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[51]}set translationurl(e){this.$$set({translationurl:e}),m()}get gmversion(){return this.$$.ctx[6]}set gmversion(e){this.$$set({gmversion:e}),m()}get loginurl(){return this.$$.ctx[52]}set loginurl(e){this.$$set({loginurl:e}),m()}get registerurl(){return this.$$.ctx[53]}set registerurl(e){this.$$set({registerurl:e}),m()}get depositurl(){return this.$$.ctx[7]}set depositurl(e){this.$$set({depositurl:e}),m()}get loginevent(){return this.$$.ctx[54]}set loginevent(e){this.$$set({loginevent:e}),m()}get registerevent(){return this.$$.ctx[55]}set registerevent(e){this.$$set({registerevent:e}),m()}get depositevent(){return this.$$.ctx[56]}set depositevent(e){this.$$set({depositevent:e}),m()}get shortcashierenabled(){return this.$$.ctx[8]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),m()}get hasdefaultamount(){return this.$$.ctx[9]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),m()}get playercurrency(){return this.$$.ctx[10]}set playercurrency(e){this.$$set({playercurrency:e}),m()}get clockformat(){return this.$$.ctx[57]}set clockformat(e){this.$$set({clockformat:e}),m()}get haspanicbutton(){return this.$$.ctx[11]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get playforfun(){return this.$$.ctx[58]}set playforfun(e){this.$$set({playforfun:e}),m()}get checksession(){return this.$$.ctx[59]}set checksession(e){this.$$set({checksession:e}),m()}get gamebanneractive(){return this.$$.ctx[12]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),m()}get gameid(){return this.$$.ctx[60]}set gameid(e){this.$$set({gameid:e}),m()}get producttype(){return this.$$.ctx[13]}set producttype(e){this.$$set({producttype:e}),m()}get successurl(){return this.$$.ctx[14]}set successurl(e){this.$$set({successurl:e}),m()}get failurl(){return this.$$.ctx[15]}set failurl(e){this.$$set({failurl:e}),m()}get cancelurl(){return this.$$.ctx[16]}set cancelurl(e){this.$$set({cancelurl:e}),m()}get sportsurl(){return this.$$.ctx[17]}set sportsurl(e){this.$$set({sportsurl:e}),m()}get casinourl(){return this.$$.ctx[18]}set casinourl(e){this.$$set({casinourl:e}),m()}get contacturl(){return this.$$.ctx[19]}set contacturl(e){this.$$set({contacturl:e}),m()}get homeurl(){return this.$$.ctx[20]}set homeurl(e){this.$$set({homeurl:e}),m()}});let cd="false";function dd(t,e,n){let r,a,i,o,{endpoint:s=""}=e,{cmsendpoint:l="https://wt1-stage.everymatrix.com/apijson"}=e,{env:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{session:m=""}=e,{userid:p=""}=e,{opsession:h=""}=e,{clientstyling:g=""}=e,{clientstylingurl:f=""}=e,{clockformat:y=""}=e,{lobbyid:b=""}=e,{currency:v=""}=e,{filteredcategories:w=""}=e,{userroles:$=""}=e,{translationurl:x=""}=e,{loginurl:D=""}=e,{registerurl:B=""}=e,{depositurl:A=""}=e,{loginevent:N=""}=e,{registerevent:O=""}=e,{depositevent:H=""}=e,{shortcashierenabled:j=""}=e,{favorites:C=""}=e,{desktopoffset:F="0"}=e,{mobileoffset:k="0"}=e,{containermaxwidth:z=""}=e,{haspanicbutton:U="false"}=e,{activecategory:S="LOBBY"}=e,{actionevent:W="CategoryChange"}=e,{livecasino:Y="false"}=e,{playforfun:V="true"}=e,{showgamename:q="false"}=e,{gamemodal:Z="true"}=e,{playrandomgame:J="false"}=e,{visiblegames:K="10"}=e,{integratedgameframedesktop:X="false"}=e,{integratedgameframemobile:Q="false"}=e,{gamepagemodalurl:ee="false"}=e,{casinogamesgridslider:te="false"}=e,{categoriesicon:ne="false"}=e,{lobbyiconimage:re=""}=e,{mygamesiconimage:ae=""}=e,{positionwinnerswidget:ie=""}=e,{tabsorder:oe=""}=e,{enableautoscroll:se=""}=e,{istopavailable:le=""}=e,{isrecentavailable:ce=""}=e,{periodrecent:de=""}=e,{periodtop:ue=""}=e,{numberusersrecent:me=""}=e,{numberuserstop:pe=""}=e,{amountlimit:he=""}=e,{defaultcurrency:ge=""}=e,{positionjackpotbanners:fe=""}=e,{caticon0:ye=""}=e,{caticon1:be=""}=e,{caticon2:ve=""}=e,{caticon3:we=""}=e,{backgroundsrc:$e=""}=e,{backgroundsrcmobile:xe=""}=e,{titlelogopath:Ce=""}=e,{iconlabels:Fe=""}=e,{showsubgroups:ke="false"}=e,{positioncollections:Se=""}=e,{type:Me=""}=e,{titletype:Ee=""}=e,{collectionprovidersgamenames:Le=""}=e,{positioncasinocalendar:Ge=""}=e,{lastplayedperiod:Ie="Last30Days"}=e,{mostplayedperiod:_e="Last30Days"}=e,{lastplayedorder:Te=""}=e,{lastplayedlimit:Pe=""}=e,{lastplayedunique:Re="true"}=e,{mostplayed:M=""}=e,{mostplayedrounds:De=""}=e,{lastplayed:E="false"}=e,{positionjelobbywidget:Be=""}=e,{randombuttonicon:Ae=""}=e,{filteredrandomgamecategories:Ne=""}=e,{addfilterselector:Oe="false"}=e,{addsortingselector:He="false"}=e,{filterbylogo:je="false"}=e,{winnersdatasources:ze=""}=e,L=!1,G=!1,I="Loading, please wait ...",_="",T=window.navigator.userAgent,P=!1,R=0,Ue=!1;var We,Ye;({withLocale:We,translations:Ye}={withLocale:"en",translations:{}}),ct.subscribe(e=>{null==e&&(Sr.set(Ye),ct.set(We))});const Ve=e=>{if(e.data)switch(e.data.type){case"searchCancelled":P=!0;break;case"WidgetTopReference":(Ue=e.data.scrollTop)&&(R||n(82,R="PC"===ut(T)?parseInt(F):parseInt(k)),P||window.scrollTo({top:R}),P=!1);break;case"OpenGameFrame":window.postMessage({type:"ShowGameModal",gameId:e.data.gameId,isMobile:dt(T),gamefunmode:e.data.gamefunmode,gamepagemodalurl:e.data.gamepagemodalurl,identifier:"Lobby"},window.location.href);break;case"UserSessionID":n(81,_=e.data.session),e.data.userID;break;case"CategoryChange":window.postMessage({type:"GetFavoredGame"},window.location.href),n(1,S=e.data.itemId)}};return st(()=>(window.addEventListener("popstate",e=>{window.postMessage({type:"GetFavoredGame"},window.location.href)}),window.addEventListener("message",Ve,!1),n(82,R="PC"===ut(T)?parseInt(F):parseInt(k)),()=>{window.removeEventListener("message",Ve),window.removeEventListener("popstate",e=>{window.postMessage({type:"GetFavoredGame"},window.location.href)})})),t.$$set=e=>{"endpoint"in e&&n(83,s=e.endpoint),"cmsendpoint"in e&&n(2,l=e.cmsendpoint),"env"in e&&n(3,c=e.env),"datasource"in e&&n(84,d=e.datasource),"lang"in e&&n(85,u=e.lang),"session"in e&&n(86,m=e.session),"userid"in e&&n(4,p=e.userid),"opsession"in e&&n(87,h=e.opsession),"clientstyling"in e&&n(5,g=e.clientstyling),"clientstylingurl"in e&&n(6,f=e.clientstylingurl),"clockformat"in e&&n(7,y=e.clockformat),"lobbyid"in e&&n(8,b=e.lobbyid),"currency"in e&&n(0,v=e.currency),"filteredcategories"in e&&n(9,w=e.filteredcategories),"userroles"in e&&n(10,$=e.userroles),"translationurl"in e&&n(11,x=e.translationurl),"loginurl"in e&&n(88,D=e.loginurl),"registerurl"in e&&n(89,B=e.registerurl),"depositurl"in e&&n(90,A=e.depositurl),"loginevent"in e&&n(12,N=e.loginevent),"registerevent"in e&&n(13,O=e.registerevent),"depositevent"in e&&n(14,H=e.depositevent),"shortcashierenabled"in e&&n(15,j=e.shortcashierenabled),"favorites"in e&&n(16,C=e.favorites),"desktopoffset"in e&&n(91,F=e.desktopoffset),"mobileoffset"in e&&n(92,k=e.mobileoffset),"containermaxwidth"in e&&n(17,z=e.containermaxwidth),"haspanicbutton"in e&&n(18,U=e.haspanicbutton),"activecategory"in e&&n(1,S=e.activecategory),"actionevent"in e&&n(19,W=e.actionevent),"livecasino"in e&&n(20,Y=e.livecasino),"playforfun"in e&&n(21,V=e.playforfun),"showgamename"in e&&n(22,q=e.showgamename),"gamemodal"in e&&n(23,Z=e.gamemodal),"playrandomgame"in e&&n(24,J=e.playrandomgame),"visiblegames"in e&&n(25,K=e.visiblegames),"integratedgameframedesktop"in e&&n(26,X=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(27,Q=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(28,ee=e.gamepagemodalurl),"casinogamesgridslider"in e&&n(29,te=e.casinogamesgridslider),"categoriesicon"in e&&n(30,ne=e.categoriesicon),"lobbyiconimage"in e&&n(31,re=e.lobbyiconimage),"mygamesiconimage"in e&&n(32,ae=e.mygamesiconimage),"positionwinnerswidget"in e&&n(33,ie=e.positionwinnerswidget),"tabsorder"in e&&n(34,oe=e.tabsorder),"enableautoscroll"in e&&n(35,se=e.enableautoscroll),"istopavailable"in e&&n(36,le=e.istopavailable),"isrecentavailable"in e&&n(37,ce=e.isrecentavailable),"periodrecent"in e&&n(38,de=e.periodrecent),"periodtop"in e&&n(39,ue=e.periodtop),"numberusersrecent"in e&&n(40,me=e.numberusersrecent),"numberuserstop"in e&&n(41,pe=e.numberuserstop),"amountlimit"in e&&n(42,he=e.amountlimit),"defaultcurrency"in e&&n(43,ge=e.defaultcurrency),"positionjackpotbanners"in e&&n(44,fe=e.positionjackpotbanners),"caticon0"in e&&n(45,ye=e.caticon0),"caticon1"in e&&n(46,be=e.caticon1),"caticon2"in e&&n(47,ve=e.caticon2),"caticon3"in e&&n(48,we=e.caticon3),"backgroundsrc"in e&&n(49,$e=e.backgroundsrc),"backgroundsrcmobile"in e&&n(50,xe=e.backgroundsrcmobile),"titlelogopath"in e&&n(51,Ce=e.titlelogopath),"iconlabels"in e&&n(52,Fe=e.iconlabels),"showsubgroups"in e&&n(53,ke=e.showsubgroups),"positioncollections"in e&&n(54,Se=e.positioncollections),"type"in e&&n(55,Me=e.type),"titletype"in e&&n(56,Ee=e.titletype),"collectionprovidersgamenames"in e&&n(57,Le=e.collectionprovidersgamenames),"positioncasinocalendar"in e&&n(58,Ge=e.positioncasinocalendar),"lastplayedperiod"in e&&n(59,Ie=e.lastplayedperiod),"mostplayedperiod"in e&&n(60,_e=e.mostplayedperiod),"lastplayedorder"in e&&n(61,Te=e.lastplayedorder),"lastplayedlimit"in e&&n(62,Pe=e.lastplayedlimit),"lastplayedunique"in e&&n(63,Re=e.lastplayedunique),"mostplayed"in e&&n(64,M=e.mostplayed),"mostplayedrounds"in e&&n(65,De=e.mostplayedrounds),"lastplayed"in e&&n(66,E=e.lastplayed),"positionjelobbywidget"in e&&n(67,Be=e.positionjelobbywidget),"randombuttonicon"in e&&n(68,Ae=e.randombuttonicon),"filteredrandomgamecategories"in e&&n(69,Ne=e.filteredrandomgamecategories),"addfilterselector"in e&&n(70,Oe=e.addfilterselector),"addsortingselector"in e&&n(71,He=e.addsortingselector),"filterbylogo"in e&&n(72,je=e.filterbylogo),"winnersdatasources"in e&&n(73,ze=e.winnersdatasources)},t.$$.update=()=>{if(8388608&t.$$.dirty[2]&&u&&ia(u),16&t.$$.dirty[0]|18874368&t.$$.dirty[2]&&m&&p&&s&&aa(s,m).then(e=>{n(81,_=e.Guid),e.UserID,n(0,v=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),65536&t.$$.dirty[0]|14680084&t.$$.dirty[2]&&s&&d&&u&&M&&E&&C&&(s||(n(80,I="Endpoint is missing! Please provide a valid endpointURL."),n(79,G=!0),console.error(I)),d||(n(80,I="Datasource is missing! Please provide a valid datasource."),n(79,G=!0),console.error(I)),(!u||u.length<2)&&(n(80,I="Language is missing! Please provide a valid language (alpha2code)"),n(79,G=!0),console.error(I)),ia(u),n(75,r=s),n(76,a=d),n(77,i=u),n(79,G=!1)),33554432&t.$$.dirty[2]&&h&&n(81,_=h),32&t.$$.dirty[0]|4096&t.$$.dirty[2]&&g&&o&&((e=document.createElement("style")).innerHTML=g,o.appendChild(e)),64&t.$$.dirty[0]|4096&t.$$.dirty[2]&&f&&o){n(78,L=!0);let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(78,L=!1)},500))})}var e},[v,S,l,c,p,g,f,y,b,w,$,x,N,O,H,j,C,z,U,W,Y,V,q,Z,J,K,X,Q,ee,te,ne,re,ae,ie,oe,se,le,ce,de,ue,me,pe,he,ge,fe,ye,be,ve,we,$e,xe,Ce,Fe,ke,Se,Me,Ee,Le,Ge,Ie,_e,Te,Pe,Re,M,De,E,Be,Ae,Ne,Oe,He,je,ze,o,r,a,i,L,G,I,_,R,s,d,u,m,h,D,B,A,F,k,function(e){lt[e?"unshift":"push"](()=>{o=e,n(74,o)})}]}class ud extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},dd,ld,n,{endpoint:83,cmsendpoint:2,env:3,datasource:84,lang:85,session:86,userid:4,opsession:87,clientstyling:5,clientstylingurl:6,clockformat:7,lobbyid:8,currency:0,filteredcategories:9,userroles:10,translationurl:11,loginurl:88,registerurl:89,depositurl:90,loginevent:12,registerevent:13,depositevent:14,shortcashierenabled:15,favorites:16,desktopoffset:91,mobileoffset:92,containermaxwidth:17,haspanicbutton:18,activecategory:1,actionevent:19,livecasino:20,playforfun:21,showgamename:22,gamemodal:23,playrandomgame:24,visiblegames:25,integratedgameframedesktop:26,integratedgameframemobile:27,gamepagemodalurl:28,casinogamesgridslider:29,categoriesicon:30,lobbyiconimage:31,mygamesiconimage:32,positionwinnerswidget:33,tabsorder:34,enableautoscroll:35,istopavailable:36,isrecentavailable:37,periodrecent:38,periodtop:39,numberusersrecent:40,numberuserstop:41,amountlimit:42,defaultcurrency:43,positionjackpotbanners:44,caticon0:45,caticon1:46,caticon2:47,caticon3:48,backgroundsrc:49,backgroundsrcmobile:50,titlelogopath:51,iconlabels:52,showsubgroups:53,positioncollections:54,type:55,titletype:56,collectionprovidersgamenames:57,positioncasinocalendar:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayed:64,mostplayedrounds:65,lastplayed:66,positionjelobbywidget:67,randombuttonicon:68,filteredrandomgamecategories:69,addfilterselector:70,addsortingselector:71,filterbylogo:72,winnersdatasources:73},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","cmsendpoint","env","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","userroles","translationurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","shortcashierenabled","favorites","desktopoffset","mobileoffset","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","showgamename","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","casinogamesgridslider","categoriesicon","lobbyiconimage","mygamesiconimage","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","showsubgroups","positioncollections","type","titletype","collectionprovidersgamenames","positioncasinocalendar","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayed","mostplayedrounds","lastplayed","positionjelobbywidget","randombuttonicon","filteredrandomgamecategories","addfilterselector","addsortingselector","filterbylogo","winnersdatasources"]}get endpoint(){return this.$$.ctx[83]}set endpoint(e){this.$$set({endpoint:e}),m()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get env(){return this.$$.ctx[3]}set env(e){this.$$set({env:e}),m()}get datasource(){return this.$$.ctx[84]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[85]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[86]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[4]}set userid(e){this.$$set({userid:e}),m()}get opsession(){return this.$$.ctx[87]}set opsession(e){this.$$set({opsession:e}),m()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get clockformat(){return this.$$.ctx[7]}set clockformat(e){this.$$set({clockformat:e}),m()}get lobbyid(){return this.$$.ctx[8]}set lobbyid(e){this.$$set({lobbyid:e}),m()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),m()}get filteredcategories(){return this.$$.ctx[9]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get userroles(){return this.$$.ctx[10]}set userroles(e){this.$$set({userroles:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get loginurl(){return this.$$.ctx[88]}set loginurl(e){this.$$set({loginurl:e}),m()}get registerurl(){return this.$$.ctx[89]}set registerurl(e){this.$$set({registerurl:e}),m()}get depositurl(){return this.$$.ctx[90]}set depositurl(e){this.$$set({depositurl:e}),m()}get loginevent(){return this.$$.ctx[12]}set loginevent(e){this.$$set({loginevent:e}),m()}get registerevent(){return this.$$.ctx[13]}set registerevent(e){this.$$set({registerevent:e}),m()}get depositevent(){return this.$$.ctx[14]}set depositevent(e){this.$$set({depositevent:e}),m()}get shortcashierenabled(){return this.$$.ctx[15]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),m()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),m()}get desktopoffset(){return this.$$.ctx[91]}set desktopoffset(e){this.$$set({desktopoffset:e}),m()}get mobileoffset(){return this.$$.ctx[92]}set mobileoffset(e){this.$$set({mobileoffset:e}),m()}get containermaxwidth(){return this.$$.ctx[17]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),m()}get haspanicbutton(){return this.$$.ctx[18]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),m()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),m()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),m()}get playforfun(){return this.$$.ctx[21]}set playforfun(e){this.$$set({playforfun:e}),m()}get showgamename(){return this.$$.ctx[22]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamemodal(){return this.$$.ctx[23]}set gamemodal(e){this.$$set({gamemodal:e}),m()}get playrandomgame(){return this.$$.ctx[24]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get visiblegames(){return this.$$.ctx[25]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[26]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[27]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get gamepagemodalurl(){return this.$$.ctx[28]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get casinogamesgridslider(){return this.$$.ctx[29]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get categoriesicon(){return this.$$.ctx[30]}set categoriesicon(e){this.$$set({categoriesicon:e}),m()}get lobbyiconimage(){return this.$$.ctx[31]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),m()}get mygamesiconimage(){return this.$$.ctx[32]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),m()}get positionwinnerswidget(){return this.$$.ctx[33]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[34]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[35]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[36]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[37]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get periodrecent(){return this.$$.ctx[38]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[39]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[40]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[41]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[42]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[43]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get positionjackpotbanners(){return this.$$.ctx[44]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[45]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[46]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[47]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[48]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[49]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[50]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[51]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[52]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get showsubgroups(){return this.$$.ctx[53]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positioncollections(){return this.$$.ctx[54]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[55]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[56]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[57]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get positioncasinocalendar(){return this.$$.ctx[58]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayed(){return this.$$.ctx[64]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get mostplayedrounds(){return this.$$.ctx[65]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get lastplayed(){return this.$$.ctx[66]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get positionjelobbywidget(){return this.$$.ctx[67]}set positionjelobbywidget(e){this.$$set({positionjelobbywidget:e}),m()}get randombuttonicon(){return this.$$.ctx[68]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[69]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get addfilterselector(){return this.$$.ctx[70]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[71]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[72]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get winnersdatasources(){return this.$$.ctx[73]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",ud),ud});
|
|
32
|
+
`},X,f,b,v,w,r,x,k,F,S,M,L,E,G,_,T,ge,fe,function(e){st[e?"unshift":"push"](()=>{s=e,o(19,s)})},()=>ve(a),()=>be(a),function(e){st[e?"unshift":"push"](()=>{g=e,o(15,g)})},()=>ve(a),function(e){st[e?"unshift":"push"](()=>{l=e,o(12,l)})}]}function pi(e,t){o(e,t)}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15;padding:8px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.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{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},mi,si,n,{session:44,userid:45,lang:1,clientstyling:46,clientstylingurl:47,translationurl:48,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:49,gameid:6,gameisnew:7,gametag:8,gamefunmode:50,gamefavorite:0,gamecellsize:9,showfavoredcategory:51,showgamename:10,currency:52,gamepagemodalurl:53,endpoint:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[44]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[45]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[48]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),m()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),m()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),m()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),m()}get gamelaunchurl(){return this.$$.ctx[49]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),m()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),m()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),m()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),m()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$$set({gamefunmode:e}),m()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),m()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),m()}get showfavoredcategory(){return this.$$.ctx[51]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),m()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),m()}get currency(){return this.$$.ctx[52]}set currency(e){this.$$set({currency:e}),m()}get gamepagemodalurl(){return this.$$.ctx[53]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$$set({endpoint:e}),m()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),m()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),m()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const hi={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};function gi(e,t,n){e=e.slice();return e[36]=t[n],e[37]=t,e[38]=n,e}function fi(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,e,$,A,x,C,B,k,F,S,M,L,E,N,G=n[11]("filterby")+"",_=n[11]("providers")+"",T=n[11]("clear")+"";function O(e){return e[7]?vi:bi}let I=O(n),P=I(n),R=n[5],D=[];for(let e=0;e<R.length;e+=1)D[e]=xi(gi(n,R,e));return{c(){r=pe("div"),a=pe("div"),i=pe("div"),o=z("svg"),s=z("path"),l=ge(),c=pe("div"),d=pe("span"),u=he(G),m=ge(),p=pe("div"),h=pe("span"),g=he(_),f=ge(),P.c(),y=ge(),b=pe("span"),v=z("svg"),w=z("path"),A=ge(),x=pe("div"),C=pe("ul");for(let e=0;e<D.length;e+=1)D[e].c();B=ge(),k=pe("button"),F=he(T),fe(s,"id","noun_filter_736223"),fe(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),fe(s,"transform","translate(-5 -6.2)"),fe(s,"fill","#fff"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","16"),fe(o,"height","16"),fe(o,"viewBox","0 0 16 16"),fe(d,"class","FilterName"),fe(p,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(i,"class","FilterMainArea"),fe(w,"id","arrow"),fe(w,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(w,"transform","translate(-274.511 -441.088)"),fe(w,"fill","#d1d1d1"),fe(v,"xmlns","http://www.w3.org/2000/svg"),fe(v,"width","14"),fe(v,"height","6.835"),fe(v,"viewBox","0 0 14 6.835"),fe(b,"class",e="TriangleInactive "+(n[4]?"TriangleActive":"")),fe(a,"class",$="FilterSelector "+(n[4]?"FilterSelectorOpen":"")),fe(C,"class","FilterDropdown"),fe(k,"class","ClearFilters"),k.disabled=S=n[7]&&n[6].length!=n[5].length,fe(x,"class",M="FilterDropdownContainer "+(n[4]?"FilterOpen":"")),fe(r,"class",L="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(i,l),de(i,c),de(c,d),de(d,u),de(c,m),de(c,p),de(p,h),de(h,g),de(p,f),P.m(p,null),de(a,y),de(a,b),de(b,v),de(v,w),de(r,A),de(r,x),de(x,C);for(let e=0;e<D.length;e+=1)D[e]&&D[e].m(C,null);de(x,B),de(x,k),de(k,F),E||(N=[U(a,"click",n[22]),U(k,"click",n[25])],E=!0)},p(t,n){if(2048&n[0]&&G!==(G=t[11]("filterby")+"")&&ye(u,G),2048&n[0]&&_!==(_=t[11]("providers")+"")&&ye(g,_),I===(I=O(t))&&P?P.p(t,n):(P.d(1),(P=I(t))&&(P.c(),P.m(p,null))),16&n[0]&&e!==(e="TriangleInactive "+(t[4]?"TriangleActive":""))&&fe(b,"class",e),16&n[0]&&$!==($="FilterSelector "+(t[4]?"FilterSelectorOpen":""))&&fe(a,"class",$),8228&n[0]){let e;for(R=t[5],e=0;e<R.length;e+=1){const a=gi(t,R,e);D[e]?D[e].p(a,n):(D[e]=xi(a),D[e].c(),D[e].m(C,null))}for(;e<D.length;e+=1)D[e].d(1);D.length=R.length}2048&n[0]&&T!==(T=t[11]("clear")+"")&&ye(F,T),224&n[0]&&S!==(S=t[7]&&t[6].length!=t[5].length)&&(k.disabled=S),16&n[0]&&M!==(M="FilterDropdownContainer "+(t[4]?"FilterOpen":""))&&fe(x,"class",M),3&n[0]&&L!==(L="FilterContainer "+("true"==t[0]&&"true"==t[1]?"FilerContainerSplit":""))&&fe(r,"class",L)},d(e){e&&me(r),P.d(),H(D,e),E=!1,j(N)}}}function yi(e){let n,r,a=e[11]("500")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2048&t[0]&&a!==(a=e[11]("500")+"")&&ye(r,a)},d(e){e&&me(n)}}}function bi(e){let n,r;return{c(){n=pe("span"),r=he(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&ye(r,e[8])},d(e){e&&me(n)}}}function vi(e){let n,r,a=e[11]("all")+"";return{c(){n=pe("span"),r=he(a),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2048&t[0]&&a!==(a=e[11]("all")+"")&&ye(r,a)},d(e){e&&me(n)}}}function wi(e){let n,r;return{c(){ce((n=pe("img")).src,r=e[36].logo)||fe(n,"src",r),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,r=e[36].logo)&&fe(n,"src",r)},d(e){e&&me(n)}}}function $i(e){let n,r,a,i,o,s,l,c,d=e[36].name+"",u=e[36].games.count+"";return{c(){n=pe("div"),r=pe("span"),a=he(d),i=ge(),o=pe("span"),s=he("("),l=he(u),c=he(")"),fe(n,"class","FilterItemLabel")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(n,i),de(n,o),de(o,s),de(o,l),de(o,c)},p(e,t){32&t[0]&&d!==(d=e[36].name+"")&&ye(a,d),32&t[0]&&u!==(u=e[36].games.count+"")&&ye(l,u)},d(e){e&&me(n)}}}function xi(n){let r,a,i,o,s,l,c,d,u,m,p,h;function g(){n[23].call(i,n[37],n[38])}function f(){return n[24](n[36])}function y(e){return"false"===e[2]?$i:"true"===e[2]?wi:void 0}let b=y(n),v=b&&b(n);return{c(){r=pe("li"),a=pe("label"),i=pe("input"),s=ge(),l=pe("span"),c=ge(),v&&v.c(),d=ge(),fe(i,"type","checkbox"),fe(i,"name","checkbox"),i.__value=o=n[36].name,i.value=i.__value,fe(l,"class","FiltersCheckmark"),fe(a,"class","FilterLabel"),fe(r,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),r.value=m=n[36].name},m(e,t){ue(e,r,t),de(r,a),de(a,i),i.checked=n[36].isFilterSelected,de(a,s),de(a,l),de(a,c),v&&v.m(a,null),de(r,d),p||(h=[U(i,"change",g),U(i,"click",f)],p=!0)},p(e,t){n=e,32&t[0]&&o!==(o=n[36].name)&&(i.__value=o,i.value=i.__value),32&t[0]&&(i.checked=n[36].isFilterSelected),b===(b=y(n))&&v?v.p(n,t):(v&&v.d(1),(v=b&&b(n))&&(v.c(),v.m(a,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(r,"class",u),32&t[0]&&m!==(m=n[36].name)&&(r.value=m)},d(e){e&&me(r),v&&v.d(),p=!1,j(h)}}}function Ci(n){let r;function a(e){return e[10]?yi:e[9]?void 0:fi}let i=a(n),o=i&&i(n);return{c(){r=pe("div"),o&&o.c(),this.c=O},m(e,t){ue(e,r,t),o&&o.m(r,null),n[26](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o&&o.d(),n[26](null)}}}function ki(n,e,r){let t;ut(n,na,e=>r(11,t=e));let a,{endpoint:i=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:m="false"}=e,{addsortingselector:p="false"}=e,{filterbylogo:h="false"}=e,g=!1,f=window.navigator.userAgent,y=[],b=[],v={},w=!1,$=0,x=!0,C=!1;var k,F;({withLocale:k,translations:F}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(Fr.set(F),lt.set(k))}),Object.keys(hi).forEach(e=>{pi(e,hi[e])}),v[u]&&(v={[u]:[]});const S=()=>{r(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},M=t=>{var e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,b.length&&0!=b.filter(e=>e.name===t.name).length?r(6,b=b.filter(e=>e.name!==t.name)):b.push(t),null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})):((e=JSON.parse(e))[u]=b.map(e=>e.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),L()},L=()=>{r(7,w=b.length===y.length||0==b.length),r(8,$=b.length)},E=()=>{r(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),r(5,y),window.postMessage({type:"ApplyFilters"},window.location.href),r(7,w=!0),r(4,g=!1)},G=e=>{"SortingOpened"==e.data.type&&r(4,g=!1)};return ot(()=>(window.addEventListener("message",G,!1),()=>{window.removeEventListener("message",G)})),n.$$set=e=>{"endpoint"in e&&r(15,i=e.endpoint),"datasource"in e&&r(16,o=e.datasource),"lang"in e&&r(17,s=e.lang),"translationurl"in e&&r(18,l=e.translationurl),"clientstyling"in e&&r(19,c=e.clientstyling),"clientstylingurl"in e&&r(20,d=e.clientstylingurl),"categoryid"in e&&r(21,u=e.categoryid),"addfilterselector"in e&&r(0,m=e.addfilterselector),"addsortingselector"in e&&r(1,p=e.addsortingselector),"filterbylogo"in e&&r(2,h=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&i&&o&&u&&h&&(t=new URL(i+"/v1/casino/vendors"),r(4,g=!1),t.searchParams.append("fields","id,name,logo,subVendors,games"),t.searchParams.append("language",s),t.searchParams.append("datasource",o),t.searchParams.append("platform",dt(f)),1<(u.match(/\$/g)||[]).length?(t.searchParams.append("filter",`games(subGroups=${u})`),t.searchParams.append("subVendors",`games(subGroups=${u})`)):t.searchParams.append("filter",`games(groups=${u})`),e=t,r(9,x=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),r(6,b=[]);let n=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach(e=>{var t;0<=(null==(t=(n=n||{currentCategoryId:[]})[u])?void 0:t.indexOf(e.id))?(e.isFilterSelected=!0,b.push(e)):e.isFilterSelected=!1}),r(5,y=e),L()}).catch(e=>{console.error(e),r(10,C=!0),n(e)}).finally(()=>{r(9,x=!1)})})),524296&n.$$.dirty[0]&&c&&a&&((t=document.createElement("style")).innerHTML=c,a.appendChild(t)),1048584&n.$$.dirty[0]&&d&&a){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{pi(e,t[e])})}).catch(e=>{console.log(e)})},[m,p,h,a,g,y,b,w,$,x,C,t,S,M,E,i,o,s,l,c,d,u,()=>S(),function(e,t){e[t].isFilterSelected=this.checked,r(5,y)},e=>M(e),()=>E(),function(e){st[e?"unshift":"push"](()=>{a=e,r(3,a)})}]}function Fi(e,t){o(e,t)}customElements.get("casino-filter")||customElements.define("casino-filter",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ki,Ci,n,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),m()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}});const Si={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};function Mi(e,t,n){e=e.slice();return e[23]=t[n],e}function Li(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,e,C,k,F,S,M,L,E,G=n[4]("sortby")+"",_=(n[3]||n[4]("all"))+"",T=Object.values(n[5]),I=[];for(let e=0;e<T.length;e+=1)I[e]=Ei(Mi(n,T,e));return{c(){r=pe("div"),a=pe("div"),i=pe("div"),o=z("svg"),s=z("g"),l=z("path"),c=z("path"),d=z("path"),u=ge(),m=pe("div"),p=pe("span"),h=he(G),g=ge(),f=pe("div"),y=pe("span"),b=he(_),v=ge(),w=pe("span"),$=z("svg"),x=z("path"),k=ge(),F=pe("div"),S=pe("ul");for(let e=0;e<I.length;e+=1)I[e].c();fe(l,"id","Path_5267"),fe(l,"data-name","Path 5267"),fe(l,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),fe(l,"transform","translate(-206.448 0)"),fe(l,"fill","#fff"),fe(c,"id","Path_5268"),fe(c,"data-name","Path 5268"),fe(c,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),fe(c,"transform","translate(0 0)"),fe(c,"fill","#fff"),fe(d,"id","Path_5269"),fe(d,"data-name","Path 5269"),fe(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),fe(d,"transform","translate(-412.896 0)"),fe(d,"fill","#fff"),fe(s,"id","sortby"),fe(s,"transform","translate(-306 -342)"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","20"),fe(o,"height","20"),fe(o,"viewBox","0 0 26.003 22.819"),fe(p,"class","SorterName"),fe(f,"class","SorterValueContainer"),fe(m,"class","SorterTextContainer"),fe(i,"class","SorterMainArea"),fe(x,"id","arrow"),fe(x,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(x,"transform","translate(-274.511 -441.088)"),fe(x,"fill","#d1d1d1"),fe($,"xmlns","http://www.w3.org/2000/svg"),fe($,"width","14"),fe($,"height","6.835"),fe($,"viewBox","0 0 14 6.835"),fe(w,"class",e="TriangleInactive "+(n[1]?"TriangleActive":"")),fe(a,"class",C="SorterSelector "+(n[1]?"SorterSelectorOpen":"")),fe(S,"class","SorterDropdown"),fe(F,"class",M="SorterDropdownContainer "+(n[1]?"SorterOpen":"")),fe(r,"class","SorterContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(s,l),de(s,c),de(s,d),de(i,u),de(i,m),de(m,p),de(p,h),de(m,g),de(m,f),de(f,y),de(y,b),de(a,v),de(a,w),de(w,$),de($,x),de(r,k),de(r,F),de(F,S);for(let e=0;e<I.length;e+=1)I[e]&&I[e].m(S,null);L||(E=U(a,"click",n[13]),L=!0)},p(t,n){if(16&n&&G!==(G=t[4]("sortby")+"")&&ye(h,G),24&n&&_!==(_=(t[3]||t[4]("all"))+"")&&ye(b,_),2&n&&e!==(e="TriangleInactive "+(t[1]?"TriangleActive":""))&&fe(w,"class",e),2&n&&C!==(C="SorterSelector "+(t[1]?"SorterSelectorOpen":""))&&fe(a,"class",C),120&n){let e;for(T=Object.values(t[5]),e=0;e<T.length;e+=1){var r=Mi(t,T,e);I[e]?I[e].p(r,n):(I[e]=Ei(r),I[e].c(),I[e].m(S,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=T.length}2&n&&M!==(M="SorterDropdownContainer "+(t[1]?"SorterOpen":""))&&fe(F,"class",M)},d(e){e&&me(r),H(I,e),L=!1,E()}}}function Ei(n){let r,a,i,o,s,l,c,d,u,m,p,h,e=n[23]+"";function g(){return n[14](n[23])}return{c(){r=pe("li"),a=pe("label"),i=pe("input"),s=ge(),l=pe("span"),c=ge(),d=pe("span"),u=he(e),m=ge(),fe(i,"type","radio"),fe(i,"name","radio"),i.value=n[23],i.checked=o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"),fe(l,"class","SortersCheckmark"),fe(a,"class","SorterLabel CustomRadioButton"),fe(r,"class","SorterItem"),r.value=n[23]},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,s),de(a,l),de(a,c),de(a,d),de(d,u),de(r,m),p||(h=U(i,"click",g),p=!0)},p(e,t){n=e,24&t&&o!==(o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"))&&(i.checked=o)},d(e){e&&me(r),p=!1,h()}}}function Gi(n){let r;function a(e){if(!e[2])return Li}let i=a(n),o=i&&i(n);return{c(){r=pe("div"),o&&o.c(),this.c=O},m(e,t){ue(e,r,t),o&&o.m(r,null),n[15](r)},p(e,[t]){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o&&o.d(),n[15](null)}}}function _i(t,e,r){let n;ut(t,na,e=>r(4,n=e));let a,{lang:i=""}=e,{translationurl:o=""}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{categoryid:c=""}=e,d=!1,u=!0,m="",p="All";var h,g;({withLocale:h,translations:g}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(Fr.set(g),lt.set(h))}),Object.keys(Si).forEach(e=>{Fi(e,Si[e])});const f={All:n("all"),name:n("az"),isNew:n("newest"),"advancedTags(name(hot))":n("hottest")},y=e=>{r(3,p=e);var t,n=localStorage.getItem("vendorSortingBy");for(t in m=e,f)if(f[t]===e){m=t;break}null==n?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):((n=JSON.parse(n))[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(n))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),r(1,d=!d)},b=()=>{r(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&r(1,d=!1)};return ot(()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})),t.$$set=e=>{"lang"in e&&r(8,i=e.lang),"translationurl"in e&&r(9,o=e.translationurl),"clientstyling"in e&&r(10,s=e.clientstyling),"clientstylingurl"in e&&r(11,l=e.clientstylingurl),"categoryid"in e&&r(12,c=e.categoryid)},t.$$.update=()=>{if(4096&t.$$.dirty&&c&&(r(3,p="All"),r(2,u=!1),r(1,d=!1),e=null==(e=JSON.parse(localStorage.getItem("vendorSortingBy")))?void 0:e[c],r(3,p=e||"All"),r(3,p=f[e])),1025&t.$$.dirty&&s&&a&&((e=document.createElement("style")).innerHTML=s,a.appendChild(e)),2049&t.$$.dirty&&l&&a){let t=document.createElement("style");fetch(new URL(l)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e;512&t.$$.dirty&&o&&fetch(o).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Fi(e,t[e])})}).catch(e=>{console.log(e)})},[a,d,u,p,n,f,y,b,i,o,s,l,c,()=>b(),e=>y(e),function(e){st[e?"unshift":"push"](()=>{a=e,r(0,a)})}]}function Ti(e,t,n){e=e.slice();return e[76]=t[n],e[78]=n,e}function Ii(e,t,n){e=e.slice();return e[76]=t[n],e[79]=t,e[78]=n,e}function Pi(e,t,n){e=e.slice();return e[76]=t[n],e[78]=n,e}function Ri(e){let n;function r(e){return e[25]?Ni:e[36]?Bi:void 0}let a=r(e),i=a&&a(e);return{c(){n=pe("div"),i&&i.c()},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n,null)))},d(e){e&&me(n),i&&i.d()}}}function Di(e){let n,r,a;function i(e){return e[29]?uo:e[26].length?lo:co}let o=i(e),s=o(e);function l(e){return e[26]?po:mo}let c=l(e),d=c(e);return{c(){n=pe("div"),r=pe("div"),s.c(),a=ge(),d.c(),fe(r,"class","CasinoGamesHeader Searched "+(ct(e[41])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,r),s.m(r,null),de(n,a),d.m(n,null)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&me(n),s.d(),d.d()}}}function Ai(e){let n;function r(e){return e[31]?yo:fo}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a!==(a=r(e))&&(i.d(1),i=a(e))&&(i.c(),i.m(n.parentNode,n))},d(e){i.d(e),e&&me(n)}}}function Bi(n){let r,a,i,o,s="true"!==n[17]&&Oi(n);function l(e){return e[22]&&!e[33]?zi:e[39]?Hi:ji}let c=l(n),d=c(n);return{c(){r=pe("div"),s&&s.c(),a=ge(),i=pe("ul"),d.c(),fe(i,"class",o=(0!=n[39].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer")},m(e,t){ue(e,r,t),s&&s.m(r,null),de(r,a),de(r,i),d.m(i,null),n[51](i)},p(e,t){"true"!==e[17]?s?s.p(e,t):((s=Oi(e)).c(),s.m(r,a)):s&&(s.d(1),s=null),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(i,null))),256&t[1]&&o!==(o=(0!=e[39].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"class",o)},d(e){e&&me(r),s&&s.d(),d.d(),n[51](null)}}}function Ni(e){let n,r,a="true"!==e[17]&&Qi(e);function i(e){return e[22]&&!e[33]?oo:0!==e[26].length?io:ao}let o=i(e),s=o(e);return{c(){n=pe("div"),a&&a.c(),r=ge(),s.c(),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),a&&a.m(n,null),de(n,r),s.m(n,null)},p(e,t){"true"!==e[17]?a?a.p(e,t):((a=Qi(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(n,null)))},d(e){e&&me(n),a&&a.d(),s.d()}}}function Oi(n){let r,a,i,o,s,l,c,d,u=n[40]("favorites")+"",m=n[39].items.length+"";return{c(){r=pe("div"),a=pe("h3"),i=he(u),o=ge(),s=pe("span"),l=he("("),c=he(m),d=he(")"),fe(s,"class","CategoryFavName"),fe(a,"class","CategoryName"),fe(r,"class","CasinoGamesHeader")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(s,l),de(s,c),de(s,d),n[50](a)},p(e,t){512&t[1]&&u!==(u=e[40]("favorites")+"")&&ye(i,u),256&t[1]&&m!==(m=e[39].items.length+"")&&ye(c,m)},d(e){e&&me(r),n[50](null)}}}function ji(e){let n,r,a=e[40]("waiting")+"";return{c(){n=pe("p"),r=he(a)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("waiting")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Hi(t){let r,a=t[39].items,i=[];for(let e=0;e<a.length;e+=1)i[e]=Xi(Ti(t,a,e));let o=null;return a.length||(o=Ui(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,r,n),o&&o.m(t,n)},p(t,n){if(131048&n[0]|4064&n[1]){let e;for(a=t[39].items,e=0;e<a.length;e+=1){const o=Ti(t,a,e);i[e]?i[e].p(o,n):(i[e]=Xi(o),i[e].c(),i[e].m(r.parentNode,r))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length,!a.length&&o?o.p(t,n):a.length?o&&(o.d(1),o=null):((o=Ui(t)).c(),o.m(r.parentNode,r))}},d(e){H(i,e),e&&me(r),o&&o.d(e)}}}function zi(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Ui(e){let n,r,a,i,o,s,l,c,d,u,m,p,h,g,f=e[40]("noFavoritesTitle")+"",t=(b=e,ct(b[41])?Yi:Wi),y=t(e);var b;return{c(){n=pe("p"),r=z("svg"),a=z("rect"),i=z("rect"),o=z("circle"),s=z("path"),l=z("path"),c=z("path"),d=z("path"),u=ge(),m=pe("span"),p=he(f),h=ge(),y.c(),g=ge(),fe(a,"x","1"),fe(a,"y","18.053"),fe(a,"width","90.263"),fe(a,"height","90.263"),fe(a,"rx","12"),fe(a,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(a,"stroke-width","1.5"),fe(i,"x","106.737"),fe(i,"y","56.737"),fe(i,"width","90.263"),fe(i,"height","90.263"),fe(i,"rx","12"),fe(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(i,"stroke-width","1.5"),fe(o,"cx","70.5"),fe(o,"cy","32.237"),fe(o,"r","31.487"),fe(o,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(o,"stroke-width","1.5"),fe(o,"stroke-dasharray","5 0"),fe(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),fe(s,"fill","var(--emfe-w-color-gray-150, #828282)"),fe(l,"d","M78 43h11v13H78V43z"),fe(l,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),fe(c,"fill","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"stroke-linecap","round"),fe(c,"stroke-linejoin","round"),fe(d,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),fe(d,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(d,"stroke-width","1.5"),fe(d,"stroke-linecap","round"),fe(d,"stroke-linejoin","round"),fe(r,"width","198"),fe(r,"height","148"),fe(r,"viewBox","0 0 198 148"),fe(r,"fill","none"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(m,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class","NoFavoriteGames "+(ct(e[41])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(r,o),de(r,s),de(r,l),de(r,c),de(r,d),de(n,u),de(n,m),de(m,p),de(n,h),y.m(n,null),de(n,g)},p(e,t){512&t[1]&&f!==(f=e[40]("noFavoritesTitle")+"")&&ye(p,f),y.p(e,t)},d(e){e&&me(n),y.d()}}}function Wi(e){let n,r,a=e[40]("noFavorites")+"";return{c(){n=pe("span"),r=he(a),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noFavorites")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Yi(e){let n,r,a=e[40]("noFavoritesMobile")+"";return{c(){n=pe("span"),r=he(a),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noFavoritesMobile")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Vi(e){let n,r=e[76].gameModel.isFavorite&&qi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[76].gameModel.isFavorite?r?r.p(e,t):((r=qi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function qi(e){let n,r=function(e){let n,r,a;function i(e,t){return 256&t[1]&&(r=null),(n=null==n?!!ct(e[41]):n)?Ji:(r=null==r?!!e[76].gameModel.platform.includes("PC"):r)?Zi:void 0}let o=i(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),a=c()},m(e,t){s&&s.m(e,t),ue(e,a,t)},p(e,t){o===(o=i(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(a.parentNode,a)))},d(e){s&&s.d(e),e&&me(a)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&me(n)}}}function Zi(e){let n,r,a,i,o,s,l,c,d,u,m,p,h,g,f;return{c(){S(n=pe("casino-game-thumbnail"),"class",r=""+(vo+(e[76].cellSize||"1x1"))),S(n,"part",a=""+(vo+(e[76].cellSize||"1x1"))),S(n,"session",e[6]),S(n,"userid",e[7]),S(n,"lang",e[5]),S(n,"favorites",e[8]),S(n,"gamethumbnail",i=e[76].gameModel.thumbnail),S(n,"gamename",o=e[76].gameModel.name),S(n,"gamevendor",s=e[76].gameModel.vendor.name),S(n,"gamelaunchurl",l=e[76].launchUrl),S(n,"gameisnew",c=e[76].gameModel.isNew),S(n,"gametag",d=0<e[76].gameModel.advancedTags?.length&&e[42](e[76].gameModel.advancedTags)),S(n,"gamecellsize",u=e[76].cellSize),S(n,"gameid",m=e[76].gameModel.id),S(n,"gamefunmode",p=e[76].gameModel.hasFunMode),S(n,"showgamename",e[12]),S(n,"gamefavorite",h=e[76].gameModel.isFavorite),S(n,"showfavoredcategory",e[36]),S(n,"connectlive",g=1==e[37][e[76].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[38]),S(n,"currency",e[11]),S(n,"livelobbyendpoint",f=e[76].gameModel.details?e[76].gameModel.launchUrl:""),S(n,"clientstyling",e[9]),S(n,"clientstylingurl",e[10]),S(n,"endpoint",e[3]),S(n,"livecasino",e[13]),S(n,"gamepagemodalurl",e[14]),S(n,"integratedgameframedesktop",e[15]),S(n,"integratedgameframemobile",e[16])},m(e,t){ue(e,n,t)},p(e,t){256&t[1]&&r!==(r=""+(vo+(e[76].cellSize||"1x1")))&&S(n,"class",r),256&t[1]&&a!==(a=""+(vo+(e[76].cellSize||"1x1")))&&S(n,"part",a),64&t[0]&&S(n,"session",e[6]),128&t[0]&&S(n,"userid",e[7]),32&t[0]&&S(n,"lang",e[5]),256&t[0]&&S(n,"favorites",e[8]),256&t[1]&&i!==(i=e[76].gameModel.thumbnail)&&S(n,"gamethumbnail",i),256&t[1]&&o!==(o=e[76].gameModel.name)&&S(n,"gamename",o),256&t[1]&&s!==(s=e[76].gameModel.vendor.name)&&S(n,"gamevendor",s),256&t[1]&&l!==(l=e[76].launchUrl)&&S(n,"gamelaunchurl",l),256&t[1]&&c!==(c=e[76].gameModel.isNew)&&S(n,"gameisnew",c),256&t[1]&&d!==(d=0<e[76].gameModel.advancedTags?.length&&e[42](e[76].gameModel.advancedTags))&&S(n,"gametag",d),256&t[1]&&u!==(u=e[76].cellSize)&&S(n,"gamecellsize",u),256&t[1]&&m!==(m=e[76].gameModel.id)&&S(n,"gameid",m),256&t[1]&&p!==(p=e[76].gameModel.hasFunMode)&&S(n,"gamefunmode",p),4096&t[0]&&S(n,"showgamename",e[12]),256&t[1]&&h!==(h=e[76].gameModel.isFavorite)&&S(n,"gamefavorite",h),32&t[1]&&S(n,"showfavoredcategory",e[36]),320&t[1]&&g!==(g=1==e[37][e[76].id]?"connect":"disconnect")&&S(n,"connectlive",g),128&t[1]&&S(n,"visibilityconnect",e[38]),2048&t[0]&&S(n,"currency",e[11]),256&t[1]&&f!==(f=e[76].gameModel.details?e[76].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",f),512&t[0]&&S(n,"clientstyling",e[9]),1024&t[0]&&S(n,"clientstylingurl",e[10]),8&t[0]&&S(n,"endpoint",e[3]),8192&t[0]&&S(n,"livecasino",e[13]),16384&t[0]&&S(n,"gamepagemodalurl",e[14]),32768&t[0]&&S(n,"integratedgameframedesktop",e[15]),65536&t[0]&&S(n,"integratedgameframemobile",e[16])},d(e){e&&me(n)}}}function Ji(e){let n,r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android"),a=r&&Ki(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){(r=256&t[1]?e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android"):r)?a?a.p(e,t):((a=Ki(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function Ki(e){let n,r,a,i,o,s,l,c,d,u,m,p,h,g,f;return{c(){S(n=pe("casino-game-thumbnail"),"class",r=""+(vo+(e[76].cellSize||"1x1"))),S(n,"part",a=""+(vo+(e[76].cellSize||"1x1"))),S(n,"session",e[6]),S(n,"userid",e[7]),S(n,"lang",e[5]),S(n,"favorites",e[8]),S(n,"gamethumbnail",i=e[76].gameModel.thumbnail),S(n,"gamename",o=e[76].gameModel.name),S(n,"gamevendor",s=e[76].gameModel.vendor.name),S(n,"gamelaunchurl",l=e[76].launchUrl),S(n,"gameisnew",c=e[76].gameModel.isNew),S(n,"gametag",d=0<e[76].gameModel.advancedTags?.length&&e[42](e[76].gameModel.advancedTags)),S(n,"gamecellsize",u=e[76].cellSize),S(n,"gameid",m=e[76].gameModel.id),S(n,"gamefunmode",p=e[76].gameModel.hasFunMode),S(n,"showgamename",e[12]),S(n,"gamefavorite",h=e[76].gameModel.isFavorite),S(n,"showfavoredcategory",e[36]),S(n,"connectlive",g=1==e[37][e[76].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[38]),S(n,"currency",e[11]),S(n,"livelobbyendpoint",f=e[76].gameModel.details?e[76].gameModel.launchUrl:""),S(n,"clientstyling",e[9]),S(n,"clientstylingurl",e[10]),S(n,"endpoint",e[3]),S(n,"livecasino",e[13]),S(n,"gamepagemodalurl",e[14]),S(n,"integratedgameframedesktop",e[15]),S(n,"integratedgameframemobile",e[16])},m(e,t){ue(e,n,t)},p(e,t){256&t[1]&&r!==(r=""+(vo+(e[76].cellSize||"1x1")))&&S(n,"class",r),256&t[1]&&a!==(a=""+(vo+(e[76].cellSize||"1x1")))&&S(n,"part",a),64&t[0]&&S(n,"session",e[6]),128&t[0]&&S(n,"userid",e[7]),32&t[0]&&S(n,"lang",e[5]),256&t[0]&&S(n,"favorites",e[8]),256&t[1]&&i!==(i=e[76].gameModel.thumbnail)&&S(n,"gamethumbnail",i),256&t[1]&&o!==(o=e[76].gameModel.name)&&S(n,"gamename",o),256&t[1]&&s!==(s=e[76].gameModel.vendor.name)&&S(n,"gamevendor",s),256&t[1]&&l!==(l=e[76].launchUrl)&&S(n,"gamelaunchurl",l),256&t[1]&&c!==(c=e[76].gameModel.isNew)&&S(n,"gameisnew",c),256&t[1]&&d!==(d=0<e[76].gameModel.advancedTags?.length&&e[42](e[76].gameModel.advancedTags))&&S(n,"gametag",d),256&t[1]&&u!==(u=e[76].cellSize)&&S(n,"gamecellsize",u),256&t[1]&&m!==(m=e[76].gameModel.id)&&S(n,"gameid",m),256&t[1]&&p!==(p=e[76].gameModel.hasFunMode)&&S(n,"gamefunmode",p),4096&t[0]&&S(n,"showgamename",e[12]),256&t[1]&&h!==(h=e[76].gameModel.isFavorite)&&S(n,"gamefavorite",h),32&t[1]&&S(n,"showfavoredcategory",e[36]),320&t[1]&&g!==(g=1==e[37][e[76].id]?"connect":"disconnect")&&S(n,"connectlive",g),128&t[1]&&S(n,"visibilityconnect",e[38]),2048&t[0]&&S(n,"currency",e[11]),256&t[1]&&f!==(f=e[76].gameModel.details?e[76].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",f),512&t[0]&&S(n,"clientstyling",e[9]),1024&t[0]&&S(n,"clientstylingurl",e[10]),8&t[0]&&S(n,"endpoint",e[3]),8192&t[0]&&S(n,"livecasino",e[13]),16384&t[0]&&S(n,"gamepagemodalurl",e[14]),32768&t[0]&&S(n,"integratedgameframedesktop",e[15]),65536&t[0]&&S(n,"integratedgameframemobile",e[16])},d(e){e&&me(n)}}}function Xi(e){let n,r=e[76].gameModel&&Vi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[76].gameModel?r?r.p(e,t):((r=Vi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function Qi(n){let r,a,i,o,s=n[25].name+"";function l(e){return e[27]?to:eo}let c=l(n),d=c(n);return{c(){r=pe("div"),a=pe("h3"),i=he(s),o=ge(),d.c(),fe(a,"class","CategoryName"),fe(r,"class","CasinoGamesHeader")},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[46](a),de(r,o),d.m(r,null)},p(e,t){33554432&t[0]&&s!==(s=e[25].name+"")&&ye(i,s),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(r,null)))},d(e){e&&me(r),n[46](null),d.d()}}}function eo(e){let n,r,a,i="true"==e[1]&&no(e),o="true"==e[2]&&ro(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),o&&o.c(),fe(n,"class",a="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),o&&o.m(n,null)},p(e,t){"true"==e[1]?i?i.p(e,t):((i=no(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),"true"==e[2]?o?o.p(e,t):((o=ro(e)).c(),o.m(n,null)):o&&(o.d(1),o=null),6&t[0]&&a!==(a="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")&&fe(n,"class",a)},d(e){e&&me(n),i&&i.d(),o&&o.d()}}}function to(n){let r,a,i,o,s,l,c,d,u=n[40]("viewAll")+"",m=n[25].games.total+"";return{c(){r=pe("a"),a=pe("span"),i=he(u),o=he(" ("),s=he(m),l=he(")"),fe(a,"class","CategoryLoadMore"),fe(r,"class","CategoryNameLink")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(a,l),c||(d=U(r,"click",n[47]),c=!0)},p(e,t){512&t[1]&&u!==(u=e[40]("viewAll")+"")&&ye(i,u),33554432&t[0]&&m!==(m=e[25].games.total+"")&&ye(s,m)},d(e){e&&me(r),c=!1,d()}}}function no(e){let n;return{c(){S(n=pe("casino-filter"),"clientstylingurl",e[10]),S(n,"clientstyling",e[9]),S(n,"endpoint",e[3]),S(n,"datasource",e[4]),S(n,"lang",e[5]),S(n,"categoryid",e[0]),S(n,"addfilterselector",e[1]),S(n,"addsortingselector",e[2]),S(n,"filterbylogo",e[18])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&S(n,"clientstylingurl",e[10]),512&t[0]&&S(n,"clientstyling",e[9]),8&t[0]&&S(n,"endpoint",e[3]),16&t[0]&&S(n,"datasource",e[4]),32&t[0]&&S(n,"lang",e[5]),1&t[0]&&S(n,"categoryid",e[0]),2&t[0]&&S(n,"addfilterselector",e[1]),4&t[0]&&S(n,"addsortingselector",e[2]),262144&t[0]&&S(n,"filterbylogo",e[18])},d(e){e&&me(n)}}}function ro(e){let n;return{c(){S(n=pe("casino-sort"),"clientstylingurl",e[10]),S(n,"clientstyling",e[9]),S(n,"lang",e[5]),S(n,"categoryid",e[0]),S(n,"addsortingselector",e[2])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&S(n,"clientstylingurl",e[10]),512&t[0]&&S(n,"clientstyling",e[9]),32&t[0]&&S(n,"lang",e[5]),1&t[0]&&S(n,"categoryid",e[0]),4&t[0]&&S(n,"addsortingselector",e[2])},d(e){e&&me(n)}}}function ao(e){let n,r,a=e[40]("noResults")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","NoSearchResults")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noResults")+"")&&ye(r,a)},d(e){e&&me(n)}}}function io(n){let a,e,i=n[26],o=[];for(let e=0;e<i.length;e+=1)o[e]=so(Ii(n,i,e));return{c(){a=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(a,"class",e=(0===n[39].items.length&&n[36]?"":"CasinoGamesGrid")+" "+(n[24]&&"true"==n[19]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null);n[49](a)},p(t,n){if(69861352&n[0]|2240&n[1]){let e;for(i=t[26],e=0;e<i.length;e+=1){var r=Ii(t,i,e);o[e]?o[e].p(r,n):(o[e]=so(r),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}17301504&n[0]|288&n[1]&&e!==(e=(0===t[39].items.length&&t[36]?"":"CasinoGamesGrid")+" "+(t[24]&&"true"==t[19]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&fe(a,"class",e)},d(e){e&&me(a),H(o,e),n[49](null)}}}function oo(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function so(e){let n,r=function(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b=n[78];const v=()=>n[48](r,b),w=()=>n[48](null,b);return{c(){S(r=pe("casino-game-thumbnail"),"session",n[6]),S(r,"userid",n[7]),S(r,"lang",n[5]),S(r,"class",a=""+(vo+(n[76].cellSize||"1x1"))),S(r,"part",i=""+(vo+(n[76].cellSize||"1x1"))),S(r,"favorites",n[8]),S(r,"gamethumbnail",o=n[76].thumbnail),S(r,"gamename",s=n[76].name),S(r,"gamevendor",l=n[76].vendor.name),S(r,"gamelaunchurl",c=n[76].launchUrl),S(r,"gameisnew",d=n[76].isNew),S(r,"gametag",u=0<n[76].advancedTags?.length&&n[42](n[76].advancedTags)),S(r,"gamecellsize",m=n[76].cellSize),S(r,"gameid",p=n[76].id),S(r,"gamefunmode",h=n[76].hasFunMode),S(r,"gamefavorite",g=n[76].isFavorite),S(r,"showgamename",n[12]),S(r,"connectlive",f=1==n[37][n[76].id]?"connect":"disconnect"),S(r,"visibilityconnect",n[38]),S(r,"currency",n[11]),S(r,"livelobbyendpoint",y=n[76].details?n[76].href:""),S(r,"clientstyling",n[9]),S(r,"clientstylingurl",n[10]),S(r,"endpoint",n[3]),S(r,"livecasino",n[13]),S(r,"gamepagemodalurl",n[14]),S(r,"integratedgameframedesktop",n[15]),S(r,"integratedgameframemobile",n[16]),S(r,"casinogamesgridslider",n[19])},m(e,t){ue(e,r,t),v()},p(e,t){n=e,64&t[0]&&S(r,"session",n[6]),128&t[0]&&S(r,"userid",n[7]),32&t[0]&&S(r,"lang",n[5]),67108864&t[0]&&a!==(a=""+(vo+(n[76].cellSize||"1x1")))&&S(r,"class",a),67108864&t[0]&&i!==(i=""+(vo+(n[76].cellSize||"1x1")))&&S(r,"part",i),256&t[0]&&S(r,"favorites",n[8]),67108864&t[0]&&o!==(o=n[76].thumbnail)&&S(r,"gamethumbnail",o),67108864&t[0]&&s!==(s=n[76].name)&&S(r,"gamename",s),67108864&t[0]&&l!==(l=n[76].vendor.name)&&S(r,"gamevendor",l),67108864&t[0]&&c!==(c=n[76].launchUrl)&&S(r,"gamelaunchurl",c),67108864&t[0]&&d!==(d=n[76].isNew)&&S(r,"gameisnew",d),67108864&t[0]&&u!==(u=0<n[76].advancedTags?.length&&n[42](n[76].advancedTags))&&S(r,"gametag",u),67108864&t[0]&&m!==(m=n[76].cellSize)&&S(r,"gamecellsize",m),67108864&t[0]&&p!==(p=n[76].id)&&S(r,"gameid",p),67108864&t[0]&&h!==(h=n[76].hasFunMode)&&S(r,"gamefunmode",h),67108864&t[0]&&g!==(g=n[76].isFavorite)&&S(r,"gamefavorite",g),4096&t[0]&&S(r,"showgamename",n[12]),67108864&t[0]|64&t[1]&&f!==(f=1==n[37][n[76].id]?"connect":"disconnect")&&S(r,"connectlive",f),128&t[1]&&S(r,"visibilityconnect",n[38]),2048&t[0]&&S(r,"currency",n[11]),67108864&t[0]&&y!==(y=n[76].details?n[76].href:"")&&S(r,"livelobbyendpoint",y),512&t[0]&&S(r,"clientstyling",n[9]),1024&t[0]&&S(r,"clientstylingurl",n[10]),8&t[0]&&S(r,"endpoint",n[3]),8192&t[0]&&S(r,"livecasino",n[13]),16384&t[0]&&S(r,"gamepagemodalurl",n[14]),32768&t[0]&&S(r,"integratedgameframedesktop",n[15]),65536&t[0]&&S(r,"integratedgameframemobile",n[16]),524288&t[0]&&S(r,"casinogamesgridslider",n[19]),b!==n[78]&&(w(),b=n[78],v())},d(e){e&&me(r),w()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&me(n)}}}function lo(e){let n,r,a=e[40]("searchedItems")+"";return{c(){n=pe("h3"),r=he(a),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("searchedItems")+"")&&ye(r,a)},d(e){e&&me(n)}}}function co(e){let n,r,a=e[40]("noResults")+"";return{c(){n=pe("h3"),r=he(a),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noResults")+"")&&ye(r,a)},d(e){e&&me(n)}}}function uo(e){let n,r,a=e[40]("recentSearchedItems")+"";return{c(){n=pe("h3"),r=he(a),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("recentSearchedItems")+"")&&ye(r,a)},d(e){e&&me(n)}}}function mo(e){let n;return{c(){(n=pe("p")).textContent="Waiting",fe(n,"class","SearchWaiting")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function po(t){let r,a,i=!t[32]&&ho(t),o=t[26],s=[];for(let e=0;e<o.length;e+=1)s[e]=go(Pi(t,o,e));return{c(){i&&i.c(),r=ge(),a=pe("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),ue(e,r,t),ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(a,null)},p(t,n){if(t[32]?i&&(i.d(1),i=null):i?i.p(t,n):((i=ho(t)).c(),i.m(r.parentNode,r)),1140981736&n[0]|2048&n[1]){let e;for(o=t[26],e=0;e<o.length;e+=1){const i=Pi(t,o,e);s[e]?s[e].p(i,n):(s[e]=go(i),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){i&&i.d(e),e&&me(r),e&&me(a),H(s,e)}}}function ho(e){let n,r,a=e[40]("noRecentSearch")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(ct(e[41])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noRecentSearch")+"")&&ye(r,a)},d(e){e&&me(n)}}}function go(e){let n,r,a,i,o,s,l,c,d,u,m,p,h,g;return{c(){S(n=pe("casino-game-thumbnail"),"class",r=""+(vo+(e[76].cellSize||"1x1"))),S(n,"part",a=""+(vo+(e[76].cellSize||"1x1"))),S(n,"session",e[6]),S(n,"userid",e[7]),S(n,"lang",e[5]),S(n,"searchitem",e[30]),S(n,"favorites",e[8]),S(n,"gamethumbnail",i=e[76].thumbnail),S(n,"gamename",o=e[76].name),S(n,"gamevendor",s=e[76].vendor.name),S(n,"gamelaunchurl",l=e[76].launchUrl),S(n,"gameisnew",c=e[76].isNew),S(n,"gametag",d=0<e[76].advancedTags?.length&&e[42](e[76].advancedTags)),S(n,"gamecellsize",u=e[76].cellSize),S(n,"gameid",m=e[76].id),S(n,"gamefunmode",p=e[76].hasFunMode),S(n,"showgamename",e[12]),S(n,"gamefavorite",h=e[76].isFavorite),S(n,"currency",e[11]),S(n,"livelobbyendpoint",g=e[76].details?e[76].href:""),S(n,"clientstyling",e[9]),S(n,"clientstylingurl",e[10]),S(n,"endpoint",e[3]),S(n,"livecasino",e[13]),S(n,"gamepagemodalurl",e[14]),S(n,"integratedgameframedesktop",e[15]),S(n,"integratedgameframemobile",e[16])},m(e,t){ue(e,n,t)},p(e,t){67108864&t[0]&&r!==(r=""+(vo+(e[76].cellSize||"1x1")))&&S(n,"class",r),67108864&t[0]&&a!==(a=""+(vo+(e[76].cellSize||"1x1")))&&S(n,"part",a),64&t[0]&&S(n,"session",e[6]),128&t[0]&&S(n,"userid",e[7]),32&t[0]&&S(n,"lang",e[5]),1073741824&t[0]&&S(n,"searchitem",e[30]),256&t[0]&&S(n,"favorites",e[8]),67108864&t[0]&&i!==(i=e[76].thumbnail)&&S(n,"gamethumbnail",i),67108864&t[0]&&o!==(o=e[76].name)&&S(n,"gamename",o),67108864&t[0]&&s!==(s=e[76].vendor.name)&&S(n,"gamevendor",s),67108864&t[0]&&l!==(l=e[76].launchUrl)&&S(n,"gamelaunchurl",l),67108864&t[0]&&c!==(c=e[76].isNew)&&S(n,"gameisnew",c),67108864&t[0]&&d!==(d=0<e[76].advancedTags?.length&&e[42](e[76].advancedTags))&&S(n,"gametag",d),67108864&t[0]&&u!==(u=e[76].cellSize)&&S(n,"gamecellsize",u),67108864&t[0]&&m!==(m=e[76].id)&&S(n,"gameid",m),67108864&t[0]&&p!==(p=e[76].hasFunMode)&&S(n,"gamefunmode",p),4096&t[0]&&S(n,"showgamename",e[12]),67108864&t[0]&&h!==(h=e[76].isFavorite)&&S(n,"gamefavorite",h),2048&t[0]&&S(n,"currency",e[11]),67108864&t[0]&&g!==(g=e[76].details?e[76].href:"")&&S(n,"livelobbyendpoint",g),512&t[0]&&S(n,"clientstyling",e[9]),1024&t[0]&&S(n,"clientstylingurl",e[10]),8&t[0]&&S(n,"endpoint",e[3]),8192&t[0]&&S(n,"livecasino",e[13]),16384&t[0]&&S(n,"gamepagemodalurl",e[14]),32768&t[0]&&S(n,"integratedgameframedesktop",e[15]),65536&t[0]&&S(n,"integratedgameframemobile",e[16])},d(e){e&&me(n)}}}function fo(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function yo(e){let n;return{c(){(n=pe("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function bo(n){let r;function a(e){return e[23]?Ai:e[28]?Di:Ri}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=O,fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[52](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[52](null)}}}customElements.get("casino-sort")||customElements.define("casino-sort",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},_i,Gi,n,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),m()}});const vo="game-tile-";function wo(t,e,l){let D;ut(t,na,e=>l(40,D=e));let a,i,o,n,A,r,s,c,d,u,{endpoint:m=""}=e,{datasource:p=""}=e,{lang:h=""}=e,{session:B=""}=e,{userid:N=""}=e,{favorites:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{currency:O=""}=e,{categoryid:v=""}=e,{showgamename:j=""}=e,{livecasino:H="false"}=e,{gamepagemodalurl:z="false"}=e,{integratedgameframedesktop:U="false"}=e,{integratedgameframemobile:W="false"}=e,{casinomygames:w="false"}=e,{addfilterselector:Y="false"}=e,{addsortingselector:V="false"}=e,{filterbylogo:q=""}=e,{casinogamesgridslider:Z="false"}=e,$=!0,J=!1,x=!0,K=window.navigator.userAgent,C=[],k=!0,F=40,S=!1,M=!1,X=!1,L=!1,Q=!1,ee=!0,te=!1,E=!1,ne=!1,G=new Array(1e4),_={},re="",T="",I={items:[],count:0,name:""},ae=(Object.keys(Ta).forEach(e=>{_a(e,Ta[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>F&&oe(v),l(37,_[t]=1,_)):l(37,_[t]=0,_)})}));const P=(e,r,a)=>{l(22,$=!0);let t,i="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),s=JSON.parse(localStorage.getItem("vendorSortingBy"));return i=1<(v.match(/\$/g)||[]).length?(t=v.split("$").slice(0,2).join("$"),new URL(`${m}/v1/casino/groups/${p}/${t}/subGroups`)):new URL(`${m}/v1/casino/groups/${p}/`+v),new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",dt(K)),i.searchParams.append("pagination",`games(offset=${r},limit=${a})`),i.searchParams.append("language",h),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),o&&o[v])if(o[v].length&&!1===x&&!1===E){let t="";l(31,Q=!0),o[v].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),i.searchParams.append("filter",""+t)}else l(31,Q=!1);s&&(s[v]?s[v]&&"All"!=s[v]&&("isNew"==s[v]||"advancedTags(name(hot))"==s[v]?(i.searchParams.append("sortedField",`games(${s[v]})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${s[v]})`)):T&&"All"!=T&&("advancedTags(name(hot))"==T||"isNew"==T?(i.searchParams.append("sortedField",`games(${T})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${T})`))),fetch(i).then(e=>e.json()).then(e=>{l(22,$=!1),1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),l(45,u=!0),l(23,J=!1),A=e.games.total,t(e)},e=>{l(23,J=!0),console.error(e),n(e)})})},ie=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==v&&(l(28,S=!1),l(24,x=!1),l(27,k=!1),l(26,C=t.data.mostPlayedGames),l(25,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),l(22,$=!1);break;case"LastPlayedData":"LASTPLAYED"==v&&(l(28,S=!1),l(24,x=!1),l(27,k=!1),l(26,C=t.data.lastPlayedGames),l(25,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),l(22,$=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(28,S=!0),l(29,M=!0),0<t.data.searchData.length?(l(26,C=t.data.searchData),l(32,ee=!0),C&&C.forEach(e=>{e.isFavorite=R(e.id)})):(l(26,C=[]),l(32,ee=!1));break;case"OutOfRecentSearches":l(28,S=!1),l(29,M=!1);break;case"SearchData":l(28,S=!0),l(29,M=!1),l(26,C=t.data.searchData.items||[]),l(30,L=!0),t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+v:l(28,S=!1),l(24,x=!0),l(1,Y="false"),l(2,V="false"),l(27,k=!0),l(30,L=!1),ne=!1,t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items),P(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(25,o=e),l(26,C=o.games.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":F=20;break;case"ApplySorter":l(0,v=t.data.itemId),T=t.data.sortBy,P(0,0,F).then(e=>{l(25,o=e),l(26,C=o.games.items),l(27,k=!1)});break;case"CategoryUpdate":l(28,S=!1),l(24,x=!1),l(30,L=!1),ne=!0,l(0,v=t.data.itemId),"MOSTPLAYED"!==v&&l(27,k=!1),"true"!==w&&P(0,0,F).then(e=>{l(25,o=e),o.games.items.forEach(e=>{e.isFavorite=R(e.id)}),l(26,C=o.games.items),l(27,k=!1),C.length<10&&0==t.data.origin&&(X=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:X},window.location.href)},500))});break;case"FavoriteUpdate":o&&(l(26,C=o.games.items),C.forEach(e=>{e.isFavorite=R(e.id)})),t.data.lobbyScreen&&l(24,x=!0);break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(s=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;E?x||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate",lobbyScreen:t.data.lobbyScreen},window.location.href)}break;case"ShowFavoriteSection":l(24,x=!1),t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),l(39,I.items=(e=e,I,n=window.navigator.userAgent,ct(n)?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})),I),l(39,I.name="Favorites",I),l(36,E=!0),l(22,$=!1));break;case"UserSessionID":if(a=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&a&&0<a.length){var r=`${m}/v1/player/${i}/favorites/`;n=a;l(22,$=!0);let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{l(22,$=!1),s=e?e.items:[],C.forEach(e=>{e.isFavorite=R(e.id)});e=C;l(26,C=void 0),l(26,C=e),t(s)}).catch(e=>{console.error(e),n(e)})});return}else return void 0}var e,n},oe=e=>{F+=1,l(33,te=!0),F<=A&&P(0,0,F).then(e=>{l(25,o=e),o.games.items.length>C.length&&(l(26,C=o.games.items),C.forEach(e=>{e.isFavorite=R(e.id)})),l(33,te=!1)})},R=t=>!!s&&-1!==s.findIndex(e=>e.id==t),se=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return ot(()=>(window.addEventListener("visibilitychange",e=>{document[d]?l(38,re="disconnect"):l(38,re="connect")}),window.addEventListener("message",ie,!1),"FAVORITES"===v&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ie),window.removeEventListener("visibilitychange",ie)})),t.$$set=e=>{"endpoint"in e&&l(3,m=e.endpoint),"datasource"in e&&l(4,p=e.datasource),"lang"in e&&l(5,h=e.lang),"session"in e&&l(6,B=e.session),"userid"in e&&l(7,N=e.userid),"favorites"in e&&l(8,g=e.favorites),"clientstyling"in e&&l(9,f=e.clientstyling),"clientstylingurl"in e&&l(10,y=e.clientstylingurl),"translationurl"in e&&l(44,b=e.translationurl),"currency"in e&&l(11,O=e.currency),"categoryid"in e&&l(0,v=e.categoryid),"showgamename"in e&&l(12,j=e.showgamename),"livecasino"in e&&l(13,H=e.livecasino),"gamepagemodalurl"in e&&l(14,z=e.gamepagemodalurl),"integratedgameframedesktop"in e&&l(15,U=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(16,W=e.integratedgameframemobile),"casinomygames"in e&&l(17,w=e.casinomygames),"addfilterselector"in e&&l(1,Y=e.addfilterselector),"addsortingselector"in e&&l(2,V=e.addsortingselector),"filterbylogo"in e&&l(18,q=e.filterbylogo),"casinogamesgridslider"in e&&l(19,Z=e.casinogamesgridslider)},t.$$.update=()=>{if(2097152&t.$$.dirty[0]|16384&t.$$.dirty[1]&&u&&G&&ne&&G.forEach((e,t)=>{e&&(e.elems_index=t,ae.observe(e))}),33&t.$$.dirty[0]&&h&&v)switch(v){case"FAVORITES":l(36,E=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&l(36,E=!1)}if(8192&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{_a(e,t[e])})}).catch(e=>{console.log(e)}),1049088&t.$$.dirty[0]&&f&&c&&((e=document.createElement("style")).innerHTML=f,c.appendChild(e)),1049600&t.$$.dirty[0]&&y&&c){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{c.appendChild(t)},1)})}var e},[v,Y,V,m,p,h,B,N,g,f,y,O,j,H,z,U,W,w,q,Z,c,G,$,J,x,o,C,k,S,M,L,Q,ee,te,n,r,E,_,re,I,D,K,r=>{if(0===(null==r?void 0:r.length))return"";let a,i="",o=999999999999;const s=new Date(Date.now());return r.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ra(e).diff(s)<o&&(o=Ra(e).diff(s),a=t),Ra(s).isAfter(n)&&Ra(s).isBefore(e)&&(i=r[a].name)}),i},se,b,u,function(e){st[e?"unshift":"push"](()=>{r=e,l(35,r)})},e=>se(o.id),function(e,t){st[e?"unshift":"push"](()=>{G[t]=e,l(21,G)})},function(e){st[e?"unshift":"push"](()=>{n=e,l(34,n)})},function(e){st[e?"unshift":"push"](()=>{r=e,l(35,r)})},function(e){st[e?"unshift":"push"](()=>{n=e,l(34,n)})},function(e){st[e?"unshift":"push"](()=>{c=e,l(20,c)})}]}function $o(e,t){o(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},wo,bo,n,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:44,currency:11,categoryid:0,showgamename:12,livecasino:13,gamepagemodalurl:14,integratedgameframedesktop:15,integratedgameframemobile:16,casinomygames:17,addfilterselector:1,addsortingselector:2,filterbylogo:18,casinogamesgridslider:19},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[44]}set translationurl(e){this.$$set({translationurl:e}),m()}get currency(){return this.$$.ctx[11]}set currency(e){this.$$set({currency:e}),m()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[13]}set livecasino(e){this.$$set({livecasino:e}),m()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[15]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[16]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[18]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get casinogamesgridslider(){return this.$$.ctx[19]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}});const xo={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna",noGames:"There are no random games to play"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"There are no random games to play"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"}};function Co(e,t,n){e=e.slice();return e[36]=t[n],e[38]=n,e}function ko(n){let r,a,i,o,s,l,c,d=!n[7]&&Fo(n),u=n[7]&&Mo(n);return{c(){r=pe("div"),a=pe("div"),(i=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(),d&&d.c(),s=ge(),u&&u.c(),fe(i,"class","ModalCloseBtn"),fe(i,"role","button"),fe(a,"class","ModalContainer"),fe(r,"class","ModalWindow")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),d&&d.m(a,null),de(a,s),u&&u.m(a,null),l||(c=U(i,"click",n[12]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Fo(e)).c(),d.m(a,s)),e[7]?u?u.p(e,t):((u=Mo(e)).c(),u.m(a,null)):u&&(u.d(1),u=null)},d(e){e&&me(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Fo(t){let n,r,a,i,o,s,e=t[9]("randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=So(Co(t,l,e));return{c(){n=pe("div"),r=pe("main"),a=pe("div");for(let e=0;e<c.length;e+=1)c[e].c();i=ge(),o=pe("p"),s=he(e),fe(a,"class","items"),M(a,"transform","translateY("+t[6]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(n,"class","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(a,null);de(n,i),de(n,o),de(o,s)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var r=Co(t,l,e);c[e]?c[e].p(r,n):(c[e]=So(r),c[e].c(),c[e].m(a,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&M(a,"transform","translateY("+t[6]+"px)"),512&n[0]&&e!==(e=t[9]("randomGameLoading")+"")&&ye(s,e)},d(e){e&&me(n),H(c,e)}}}function So(e){let n,r,a,i,o,s;return{c(){n=pe("div"),r=pe("img"),s=ge(),fe(r,"class","RandomGameImage"),ce(r.src,a=e[36].thumbnail)||fe(r,"src",a),fe(r,"alt",i=e[36].name),fe(r,"title",o=e[36].name),fe(n,"class","item")},m(e,t){ue(e,n,t),de(n,r),de(n,s)},p(e,t){16&t[0]&&!ce(r.src,a=e[36].thumbnail)&&fe(r,"src",a),16&t[0]&&i!==(i=e[36].name)&&fe(r,"alt",i),16&t[0]&&o!==(o=e[36].name)&&fe(r,"title",o)},d(e){e&&me(n)}}}function Mo(e){let n;function r(e){return e[8]?Eo:Lo}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Lo(e){let n,r,a=e[9]("noGames")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","RandomGameLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[0]&&a!==(a=e[9]("noGames")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Eo(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C=n[3].name+"",k=n[3].vendor.name+"",F=n[9]("playNowRandomGame")+"";return{c(){r=pe("div"),a=pe("div"),i=pe("img"),c=ge(),(d=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-button-typography, var(--emfe-w-color-white, #FFFFFF));}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ge(),m=pe("div"),p=pe("p"),h=he(C),g=ge(),f=pe("p"),y=he(k),b=ge(),v=pe("button"),w=he(F),fe(i,"class","RandomGameImage"),ce(i.src,o=n[3].thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[3].name),fe(i,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(a,"class","item"),fe(p,"class","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(r,"class","RandomGameWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,c),de(a,d),de(r,u),de(r,m),de(m,p),de(p,h),de(m,g),de(m,f),de(f,y),de(m,b),de(m,v),de(v,w),$||(x=[U(d,"click",n[21]),U(v,"click",n[22])],$=!0)},p(e,t){8&t[0]&&!ce(i.src,o=e[3].thumbnail)&&fe(i,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(i,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(i,"title",l),8&t[0]&&C!==(C=e[3].name+"")&&ye(h,C),8&t[0]&&k!==(k=e[3].vendor.name+"")&&ye(y,k),512&t[0]&&F!==(F=e[9]("playNowRandomGame")+"")&&ye(w,F)},d(e){e&&me(r),$=!1,j(x)}}}function Go(e){let n,r,a=e[9]("playRandomGame")+"";return{c(){n=pe("span"),r=he(a),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[0]&&a!==(a=e[9]("playRandomGame")+"")&&ye(r,a)},d(e){e&&me(n)}}}function _o(e){let n,r;return{c(){n=pe("span"),r=he(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2&t[0]&&ye(r,e[1])},d(e){e&&me(n)}}}function To(n){let r,a,i,o,s,l,c,d,u=n[5]&&ko(n);function m(e){return e[1]?_o:e[1]?void 0:Go}let p=m(n),h=p&&p(n);return{c(){r=pe("div"),u&&u.c(),a=ge(),i=pe("div"),o=pe("button"),h&&h.c(),s=ge(),l=pe("span"),this.c=O,fe(l,"class","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(i,"class","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),u&&u.m(r,null),de(r,a),de(r,i),de(i,o),h&&h.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[24](r),c||(d=U(o,"click",n[23]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=ko(e)).c(),u.m(r,a)):u&&(u.d(1),u=null),p===(p=m(e))&&h?h.p(e,t):(h&&h.d(1),(h=p&&p(e))&&(h.c(),h.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:O,o:O,d(e){e&&me(r),u&&u.d(),h&&h.d(),n[24](null),c=!1,d()}}}function Io(n,e,r){let t;ut(n,na,e=>r(9,t=e));let a,i,o,{endpoint:s=""}=e,{datasource:l=""}=e,{gameevent:c=""}=e,{lang:d=""}=e,{randombuttonicon:u=""}=e,{buttontext:m=""}=e,{translationurl:p=""}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{filteredrandomgamecategories:f=""}=e,y=[],b="",v=!1,w=0,$=0,x=!1,C=!1,k=window.navigator.userAgent;var F,S;({withLocale:F,translations:S}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(Fr.set(S),lt.set(F))}),Object.keys(xo).forEach(e=>{$o(e,xo[e])});const M=e=>{C?(r(4,a=(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})(a)),r(6,w=0),$=0,r(7,x=!1),r(3,b=y[Math.floor(Math.random()*y.length)]),r(5,v=!0),clearInterval(i),i=setInterval(()=>{r(6,w-=75),20==++$&&(r(7,x=!0),clearInterval(i))},150)):(r(5,v=!0),r(7,x=!0)),e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(b.gId||b.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},L=()=>{window.postMessage({type:c,gameId:b.gId||b.id},window.location.href),r(5,v=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(b.gId||b.id)})};return n.$$set=e=>{"endpoint"in e&&r(13,s=e.endpoint),"datasource"in e&&r(14,l=e.datasource),"gameevent"in e&&r(15,c=e.gameevent),"lang"in e&&r(16,d=e.lang),"randombuttonicon"in e&&r(0,u=e.randombuttonicon),"buttontext"in e&&r(1,m=e.buttontext),"translationurl"in e&&r(17,p=e.translationurl),"clientstyling"in e&&r(18,h=e.clientstyling),"clientstylingurl"in e&&r(19,g=e.clientstylingurl),"filteredrandomgamecategories"in e&&r(20,f=e.filteredrandomgamecategories)},n.$$.update=()=>{if(65536&n.$$.dirty[0]&&d&&(t=d,lt.set(t)),131072&n.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{$o(e,t[e])})}).catch(e=>{console.log(e)}),24576&n.$$.dirty[0]&&s&&l&&((t=new URL(s+"/v1/casino/games")).searchParams.append("platform",dt(k)),t.searchParams.append("datasource",l),t.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),f&&t.searchParams.append("filter",`categories(id=${f})`),t.searchParams.append("expand","categories"),t.searchParams.append("pagination","offset=0,limit=1000"),fetch(t.href).then(e=>e.json()).then(e=>{(y=e.items).length?(r(4,a=y.slice(0,19)),r(8,C=!0)):(r(4,a=[]),r(8,C=!1))}).catch(e=>{console.log(e),r(8,C=!1)})),262148&n.$$.dirty[0]&&h&&o&&((e=document.createElement("style")).innerHTML=h,o.appendChild(e)),524292&n.$$.dirty[0]&&g&&o){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e,t},[u,m,o,b,a,v,w,x,C,t,M,L,()=>{r(5,v=!1),window.postMessage({type:"RandomWidgetState",state:v},window.location.href)},s,l,c,d,p,h,g,f,()=>M(!0),()=>L(),()=>M(),function(e){st[e?"unshift":"push"](()=>{o=e,r(2,o)})}]}function Po(e,t){o(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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, 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, 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;transition:transform 400ms ease-in-out}.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-casino-color-primary, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Io,To,n,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get gameevent(){return this.$$.ctx[15]}set gameevent(e){this.$$set({gameevent:e}),m()}get lang(){return this.$$.ctx[16]}set lang(e){this.$$set({lang:e}),m()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),m()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}});const Ro={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"}};function Do(n){let r;return{c(){(r=pe("div")).innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>',this.c=O},m(e,t){ue(e,r,t),n[3](r)},p:O,i:O,o:O,d(e){e&&me(r),n[3](null)}}}function Ao(t,e,n){let r,{clientstyling:a=""}=e,{clientstylingurl:i=""}=e;return t.$$set=e=>{"clientstyling"in e&&n(1,a=e.clientstyling),"clientstylingurl"in e&&n(2,i=e.clientstylingurl)},t.$$.update=()=>{if(3&t.$$.dirty&&a&&r&&((e=document.createElement("style")).innerHTML=a,r.appendChild(e)),5&t.$$.dirty&&i&&r){let e=new URL(i),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[r,a,i,function(e){st[e?"unshift":"push"](()=>{r=e,n(0,r)})}]}function Bo(e,t,n){e=e.slice();return e[67]=t[n],e}function No(e,t,n){e=e.slice();return e[70]=t[n],e}function Oo(n){let a,r,i,o,s,l,c,d,e,u,m,p,h,g,f,y,b,v,w,$=n[17],x=[];for(let e=0;e<$.length;e+=1)x[e]=Uo(No(n,$,e));function C(e){return e[18]?Yo:Wo}let k=C(n),F=k(n);return{c(){a=pe("div"),r=pe("div"),i=pe("div");for(let e=0;e<x.length;e+=1)x[e].c();o=ge(),s=pe("div"),l=pe("button"),c=z("svg"),d=z("path"),u=ge(),m=pe("button"),p=z("svg"),h=z("path"),y=ge(),F.c(),fe(i,"class","WinnerButtonsContainer"),fe(d,"style",e=n[12]>=n[11].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"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(h,"style",g=n[12]>=n[11].length?"fill:#F6F6F62E":""),fe(h,"id","Path_36"),fe(h,"data-name","Path 36"),fe(h,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(h,"transform","translate(0 24.656) rotate(-90)"),fe(h,"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(m,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[6]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(a,"class",b="CasinoWinners "+(n[13]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(i,null);de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,m),de(m,p),de(p,h),de(a,y),F.m(a,null),v||(w=[U(l,"click",n[42]),U(m,"click",n[43])],v=!0)},p(t,n){if(1704963&n[0]){let e;for($=t[17],e=0;e<$.length;e+=1){var r=No(t,$,e);x[e]?x[e].p(r,n):(x[e]=Uo(r),x[e].c(),x[e].m(i,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=$.length}6144&n[0]&&e!==(e=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),6144&n[0]&&g!==(g=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(h,"style",g),64&n[0]&&f!==(f="ButtonsContainer "+("true"==t[6]?"ButtonsContainerNone":""))&&fe(s,"class",f),k===(k=C(t))&&F?F.p(t,n):(F.d(1),(F=k(t))&&(F.c(),F.m(a,null))),8192&n[0]&&b!==(b="CasinoWinners "+(t[13]?"Mobile":""))&&fe(a,"class",b)},d(e){e&&me(a),H(x,e),F.d(),v=!1,j(w)}}}function jo(e){let n;return{c(){S(n=pe("general-animation-loading"),"clientstyling",e[4]),S(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"clientstyling",e[4]),32&t[0]&&S(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function Ho(n){let r,a,i,o,s,l=n[19]("recentWinners")+"";return{c(){r=pe("button"),a=he(l),fe(r,"class",i="WinnersButton "+("recent"==n[10]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=U(r,"click",n[40]),o=!0)},p(e,t){524288&t[0]&&l!==(l=e[19]("recentWinners")+"")&&ye(a,l),1025&t[0]&&i!==(i="WinnersButton "+("recent"==e[10]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",i)},d(e){e&&me(r),o=!1,s()}}}function zo(n){let r,a,i,o,s,l,c=n[19]("topWinners")+"";return{c(){r=pe("button"),a=he(c),i=ge(),fe(r,"class",o="WinnersButton "+("top"==n[10]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),s||(l=U(r,"click",n[41]),s=!0)},p(e,t){524288&t[0]&&c!==(c=e[19]("topWinners")+"")&&ye(a,c),1026&t[0]&&o!==(o="WinnersButton "+("top"==e[10]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&me(r),s=!1,l()}}}function Uo(e){let n,r,a="recent"==e[70]&&Ho(e),i="top"==e[70]&&zo(e);return{c(){a&&a.c(),n=ge(),i&&i.c(),r=c()},m(e,t){a&&a.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,r,t)},p(e,t){"recent"==e[70]?a?a.p(e,t):((a=Ho(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"top"==e[70]?i?i.p(e,t):((i=zo(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&me(n),i&&i.d(e),e&&me(r)}}}function Wo(n){let a,i=n[11],o=[];for(let e=0;e<i.length;e+=1)o[e]=Vo(Bo(n,i,e));return{c(){a=pe("div");for(let e=0;e<o.length;e+=1)o[e].c();fe(a,"class","WinnersSlider")},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null);n[45](a)},p(t,n){if(6883468&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var r=Bo(t,i,e);o[e]?o[e].p(r,n):(o[e]=Vo(r),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){e&&me(a),H(o,e),n[45](null)}}}function Yo(e){let n;return{c(){S(n=pe("general-animation-loading"),"clientstyling",e[4]),S(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"clientstyling",e[4]),32&t[0]&&S(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function Vo(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C,k,F,S,M=n[67].gameName+"",L=n[21](n[67].username)+"",E=n[19]("won")+"",G=n[67].specifiedCurrencyAmount.toFixed(2)+"",_=(n[7]?n[3]:n[2])+"";function T(){return n[44](n[67])}return{c(){r=pe("div"),a=pe("div"),i=pe("img"),l=ge(),c=pe("p"),d=he(M),u=ge(),m=pe("p"),p=he(L),h=ge(),g=pe("p"),f=he(E),y=ge(),b=pe("p"),v=he(G),w=ge(),$=pe("span"),x=he(_),C=ge(),ce(i.src,o=n[67]?.gameModel?.thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[67]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(a,"class","WinnerCard"),fe(r,"class",k="CardWrapper "+(n[16]?"CardWrapperAnimation":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,l),de(a,c),de(c,d),de(a,u),de(a,m),de(m,p),de(a,h),de(a,g),de(g,f),de(a,y),de(a,b),de(b,v),de(b,w),de(b,$),de($,x),de(r,C),F||(S=U(i,"click",T),F=!0)},p(e,t){n=e,2048&t[0]&&!ce(i.src,o=n[67]?.gameModel?.thumbnail)&&fe(i,"src",o),2048&t[0]&&s!==(s=n[67]?.gameModel?.thumbnail)&&fe(i,"alt",s),2048&t[0]&&M!==(M=n[67].gameName+"")&&ye(d,M),2048&t[0]&&L!==(L=n[21](n[67].username)+"")&&ye(p,L),524288&t[0]&&E!==(E=n[19]("won")+"")&&ye(f,E),2048&t[0]&&G!==(G=n[67].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,G),140&t[0]&&_!==(_=(n[7]?n[3]:n[2])+"")&&ye(x,_),65536&t[0]&&k!==(k="CardWrapper "+(n[16]?"CardWrapperAnimation":""))&&fe(r,"class",k)},d(e){e&&me(r),F=!1,S()}}}function qo(n){let r;function a(e){return e[14]||e[15]?jo:Oo}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[46](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[46](null)}}}function Zo(n,e,r){let t;ut(n,na,e=>r(19,t=e));let a,i,A,o,B,s,N,l,c,d,{endpoint:u=""}=e,{session:m=""}=e,{userid:p=""}=e,{periodrecent:h="Today"}=e,{periodtop:g="Last7Days"}=e,{numberusersrecent:f="20"}=e,{numberuserstop:y="20"}=e,{amountlimit:b="1"}=e,{vendorCategory:v="All"}=e,{lang:w="en"}=e,{isrecentavailable:$="true"}=e,{istopavailable:x="true"}=e,{defaultcurrency:C=""}=e,{usercurrency:k=""}=e,{clientstyling:F=""}=e,{clientstylingurl:S=""}=e,{enableautoscroll:M=""}=e,{tabsorder:L=""}=e,{translationurl:E=""}=e,{winnersdatasources:G=""}=e,{hascustomstyling:_="false"}=e,T=[],I=0,P=0,O=window.navigator.userAgent,R=!0,D=!1,j=!1,H=[],z=!1;Object.keys(Ro).forEach(e=>{Po(e,Ro[e])});const U=()=>{H=G.split(",").map(function(e){return e.trim()});const t=new URL(`${u}/v1/casino/${i}-winners`);r(18,z=!0),t.searchParams.append("limit","recent"==i?f:y),t.searchParams.append("specifiedCurrency",d),t.searchParams.append("period","recent"==i?h:g),t.searchParams.append("language",w),t.searchParams.append("amountLimit",b),t.searchParams.append("vendorCategory",v),H.forEach(e=>{t.searchParams.append("dataSource",e)}),setTimeout(()=>{fetch(t.href).then(e=>e.json()).then(e=>{r(11,T=[]),r(11,T=e.items.map(e=>e)),r(18,z=!1),setTimeout(()=>{r(12,P=Math.round(a.offsetWidth/225)),V(),"true"==M&&(clearInterval(l),I=0,P<N?l=setInterval(()=>{J()},3e3):clearInterval(l)),r(14,R=!1)},5)})},1e3)},W=e=>{i!==e&&(r(11,T=[]),r(10,i=e),U())},Y=(e,t,n,r)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n,subVendor:r},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(B||"Not logged in")})},V=n=>{var e=[...a.children];N=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{r(16,j=!0)},10)},q=()=>{V(I)},Z=()=>{var e;P>=T.length||(e=T.length,0===I?I=e-P:I-P<0?I=0:I-=P,q())},J=()=>{var e;P>=T.length||(e=T.length,"true"==M&&(I===e-P?I=0:I++),"false"==M&&(I===e-P?I=0:e-P<I+P?I=e-P:I+=P),q())},K=()=>{r(39,d=o?k:C)};return ot(()=>(r(13,A=ct(O)),()=>{clearInterval(l)})),n.$$set=e=>{"endpoint"in e&&r(26,u=e.endpoint),"session"in e&&r(27,m=e.session),"userid"in e&&r(28,p=e.userid),"periodrecent"in e&&r(29,h=e.periodrecent),"periodtop"in e&&r(30,g=e.periodtop),"numberusersrecent"in e&&r(31,f=e.numberusersrecent),"numberuserstop"in e&&r(32,y=e.numberuserstop),"amountlimit"in e&&r(25,b=e.amountlimit),"vendorCategory"in e&&r(33,v=e.vendorCategory),"lang"in e&&r(34,w=e.lang),"isrecentavailable"in e&&r(0,$=e.isrecentavailable),"istopavailable"in e&&r(1,x=e.istopavailable),"defaultcurrency"in e&&r(2,C=e.defaultcurrency),"usercurrency"in e&&r(3,k=e.usercurrency),"clientstyling"in e&&r(4,F=e.clientstyling),"clientstylingurl"in e&&r(5,S=e.clientstylingurl),"enableautoscroll"in e&&r(6,M=e.enableautoscroll),"tabsorder"in e&&r(35,L=e.tabsorder),"translationurl"in e&&r(36,E=e.translationurl),"winnersdatasources"in e&&r(37,G=e.winnersdatasources),"hascustomstyling"in e&&r(38,_=e.hascustomstyling)},n.$$.update=()=>{if(1644167171&n.$$.dirty[0]|31&n.$$.dirty[1]&&$&&x&&h&&g&&f&&y&&b&&v&&w&&L&&(r(17,c=L.split(",")),r(10,i=c[0]),"false"==$&&r(25,b=""),K(),r(14,R=!1)),134217728&n.$$.dirty[0]&&m&&(r(7,o=!0),B=p),140&n.$$.dirty[0]&&o&&(k||C)&&K(),67108864&n.$$.dirty[0]|320&n.$$.dirty[1]&&u&&G&&d&&U(),8&n.$$.dirty[1]&&w&&(t=w,lt.set(t)),32&n.$$.dirty[1]&&E&&(t=new URL(E),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Po(e,t[e])})}).catch(e=>{console.log(e)})),128&n.$$.dirty[1]&&_&&"true"===_&&(F||S||!s||console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!F)&&S&&r(15,D=!0),272&n.$$.dirty[0]&&F&&s&&((e=document.createElement("style")).innerHTML=F,s.appendChild(e)),288&n.$$.dirty[0]&&S&&s){let e=new URL(S),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500),r(15,D=!1)})}var e,t},[$,x,C,k,F,S,M,o,s,a,i,T,P,A,R,D,j,c,z,t,W,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),Y,Z,J,b,u,m,p,h,g,f,y,v,w,L,E,G,_,d,()=>W("recent"),()=>W("top"),()=>Z(),()=>J(),e=>Y(e.gameId,e.gameModel.launchUrl,e.gameModel.name,e.gameModel.subVendor),function(e){st[e?"unshift":"push"](()=>{a=e,r(9,a)})},function(e){st[e?"unshift":"push"](()=>{s=e,r(8,s)})}]}function Jo(e,t){o(e,t)}customElements.get("general-animation-loading")||customElements.define("general-animation-loading",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ao,Do,n,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-winners")||customElements.define("casino-winners",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, 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-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-casino-color-primary, 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:last-child{margin-right:0}.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}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Zo,qo,n,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:25,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:35,translationurl:36,winnersdatasources:37,hascustomstyling:38},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources","hascustomstyling"]}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),m()}get session(){return this.$$.ctx[27]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[28]}set userid(e){this.$$set({userid:e}),m()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[30]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[25]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(e){this.$$set({vendorCategory:e}),m()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),m()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get tabsorder(){return this.$$.ctx[35]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),m()}get winnersdatasources(){return this.$$.ctx[37]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get hascustomstyling(){return this.$$.ctx[38]}set hascustomstyling(e){this.$$set({hascustomstyling:e}),m()}});const Ko={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"}};function Xo(e,t,n){e=e.slice();return e[48]=t[n],e[50]=n,e}function Qo(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v;function w(e){return e[5]?ns:rs}let $=w(n),x=$(n);return{c(){r=pe("div"),a=pe("div"),i=pe("div"),o=pe("div"),s=pe("img"),c=ge(),d=pe("div"),x.c(),u=ge(),m=pe("div"),p=pe("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(p.src,h=n[11])||fe(p,"src",h),fe(p,"alt",""),fe(m,"class","title"),fe(i,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),M(i,"background","url("+n[10]+")"),fe(a,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(i,c),de(i,d),x.m(d,null),de(i,u),de(i,m),de(m,p),b||(v=U(a,"click",n[31]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),$===($=w(e))&&x?x.p(e,t):(x.d(1),(x=$(e))&&(x.c(),x.m(d,null))),2048&t[0]&&!ce(p.src,h=e[11])&&fe(p,"src",h),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",g),1024&t[0]&&M(i,"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&&me(r),x.d(),b=!1,v()}}}function es(e){let n;return{c(){fe(n=pe("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function ts(e){let n;return{c(){(n=pe("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function ns(e){let n,r,a,i,o,s,A,l,c,B,N,d,O,j,u,m,p,h,g,H,f,y,z,U,b,W,Y,v,w,$,x,C,k,V,F,S,q,Z,M,J,K,L,E,G,_,T,X,I,P,Q,ee,R,te,D=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ae=e[7][1]+"",ie=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=pe("div"),r=pe("div"),a=pe("div"),i=pe("img"),s=pe("span"),A=he(D),l=pe("span"),c=pe("span"),B=he(ne),N=ge(),d=pe("span"),O=he(e[1]),j=ge(),u=pe("div"),m=pe("div"),p=pe("img"),g=pe("span"),H=he(re),f=pe("span"),y=pe("span"),z=he(ae),U=ge(),b=pe("span"),W=he(e[1]),Y=ge(),v=pe("div"),w=pe("div"),$=pe("div"),x=pe("img"),k=pe("span"),V=he(ie),F=pe("span"),S=pe("span"),q=he(oe),Z=ge(),M=pe("span"),J=he(e[1]),K=ge(),L=pe("div"),E=pe("div"),G=pe("img"),T=pe("span"),X=he(se),I=pe("span"),P=pe("span"),Q=he(le),ee=ge(),R=pe("span"),te=he(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,o=e[9][0])||fe(i,"src",o),fe(i,"alt",""),fe(s,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(p,"class","displayCardIcon"),ce(p.src,h=e[9][1])||fe(p,"src",h),fe(p,"alt",""),fe(g,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(x,"class","displayCardIcon"),ce(x.src,C=e[9][2])||fe(x,"src",C),fe(x,"alt",""),fe(k,"class","cardLabel"),fe($,"class","iconWrapper"),fe(S,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(F,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(G,"class","displayCardIcon"),ce(G.src,_=e[9][3])||fe(G,"src",_),fe(G,"alt",""),fe(T,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(P,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(I,"class","cardTextWrapper"),fe(L,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(a,i),de(a,s),de(s,A),de(r,l),de(l,c),de(c,B),de(l,N),de(l,d),de(d,O),de(n,j),de(n,u),de(u,m),de(m,p),de(m,g),de(g,H),de(u,f),de(f,y),de(y,z),de(f,U),de(f,b),de(b,W),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,$),de($,x),de($,k),de(k,V),de(w,F),de(F,S),de(S,q),de(F,Z),de(F,M),de(M,J),de(v,K),de(v,L),de(L,E),de(E,G),de(E,T),de(T,X),de(L,I),de(I,P),de(P,Q),de(I,ee),de(I,R),de(R,te)},p(e,t){512&t[0]&&!ce(i.src,o=e[9][0])&&fe(i,"src",o),256&t[0]&&D!==(D=e[8][0]+"")&&ye(A,D),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(B,ne),2&t[0]&&ye(O,e[1]),512&t[0]&&!ce(p.src,h=e[9][1])&&fe(p,"src",h),256&t[0]&&re!==(re=e[8][1]+"")&&ye(H,re),128&t[0]&&ae!==(ae=e[7][1]+"")&&ye(z,ae),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce(x.src,C=e[9][2])&&fe(x,"src",C),256&t[0]&&ie!==(ie=e[8][2]+"")&&ye(V,ie),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(q,oe),2&t[0]&&ye(J,e[1]),512&t[0]&&!ce(G.src,_=e[9][3])&&fe(G,"src",_),256&t[0]&&se!==(se=e[8][3]+"")&&ye(X,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&me(n),e&&me(Y),e&&me(v)}}}function rs(t){let a,i=Array(4),o=[];for(let e=0;e<i.length;e+=1)o[e]=as(Xo(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var r=Xo(t,i,e);o[e]?o[e].p(r,n):(o[e]=as(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){H(o,e),e&&me(a)}}}function as(e){let n,r,a,i,o,s,l,c,d,u,m,p,h=e[8][e[50]]+"",g=(e[7][e[50]]??"")+"";return{c(){n=pe("div"),r=pe("div"),a=pe("img"),o=pe("span"),s=he(h),l=pe("span"),c=pe("span"),d=he(g),u=ge(),m=pe("span"),p=he(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,i=e[9][e[50]])||fe(a,"src",i),fe(a,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(m,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,p)},p(e,t){512&t[0]&&!ce(a.src,i=e[9][e[50]])&&fe(a,"src",i),256&t[0]&&h!==(h=e[8][e[50]]+"")&&ye(s,h),128&t[0]&&g!==(g=(e[7][e[50]]??"")+"")&&ye(d,g),2&t[0]&&ye(p,e[1])},d(e){e&&me(n)}}}function is(n){let r;function a(e){return e[13]?ts:e[3]?es:Qo}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[32](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[32](null)}}}function os(r,e,a){let i,o,{visualstructure:s=""}=e,{title:t=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:p=""}=e,{currency:h=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:$=""}=e,{gameid:x=""}=e,A=window.navigator.userAgent,C=!1,k=!1,F="",S=[],M=[],L=[],E=[],G=[],_="",T="",I=!1,P=!0,R=!1;Object.keys(Ko).forEach(e=>{Jo(e,Ko[e])});const D=["typeSpread","typeLeft"],n=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+x})};return r.$$set=e=>{"visualstructure"in e&&a(0,s=e.visualstructure),"title"in e&&a(15,t=e.title),"caticon0"in e&&a(16,l=e.caticon0),"caticon1"in e&&a(17,c=e.caticon1),"caticon2"in e&&a(18,d=e.caticon2),"caticon3"in e&&a(19,u=e.caticon3),"iconlabels"in e&&a(20,m=e.iconlabels),"backgroundsrc"in e&&a(21,p=e.backgroundsrc),"currency"in e&&a(1,h=e.currency),"backgroundsrcmobile"in e&&a(22,g=e.backgroundsrcmobile),"titlelogopath"in e&&a(23,f=e.titlelogopath),"lang"in e&&a(24,y=e.lang),"clientstyling"in e&&a(25,b=e.clientstyling),"clientstylingurl"in e&&a(26,v=e.clientstylingurl),"translationurl"in e&&a(27,w=e.translationurl),"endpoint"in e&&a(28,$=e.endpoint),"gameid"in e&&a(29,x=e.gameid)},r.$$.update=()=>{if(268435456&r.$$.dirty[0]&&$&&(n=new URL($+"/v1/casino/jackpots/config"),fetch(n.href).then(e=>e.json()).then(e=>{a(30,M=e.egtJackpotIds.map(e=>e))})),33554436&r.$$.dirty[0]&&i&&b&&((n=document.createElement("style")).innerHTML=b,i.appendChild(n)),67108868&r.$$.dirty[0]&&i&&v){a(12,I=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{a(12,I=!1)},500)})}var e,t,n;1358954498&r.$$.dirty[0]&&$&&y&&h&&0<M.length&&$&&y&&h&&((t=new URL($+"/v1/casino/jackpots")).searchParams.append("filter","id="+x),t.searchParams.append("language",y),t.searchParams.append("additionalDataCurrency",h),fetch(t.href).then(e=>e.json().then(e=>{a(3,P=!1),o=e,M.includes(x)&&((e=null==(e=null==(e=o)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>S.push(+e)),e=o,a(6,F=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{a(13,R=!0),a(3,P=!1),console.error(e)}))),16777226&r.$$.dirty[0]&&h&&y&&!P&&(a(4,C=ct(A)&&1<window.innerHeight/window.innerWidth),a(5,k=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==S.length&&a(7,L=S.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),a(8,E=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),D.includes(s.trim())?a(0,s=s.trim()):(console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${D[0]}"`),a(0,s=D[0])),a(10,_=g&&C&&!k?g:p),a(11,T=f),a(9,G=[l,c,d,u])),16777216&r.$$.dirty[0]&&y&&(e=y,lt.set(e)),134217728&r.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Jo(e,t[e])})}).catch(e=>{console.log(e)})},[s,h,i,P,C,k,F,L,E,G,_,T,I,R,n,t,l,c,d,u,m,p,g,f,y,b,v,w,$,x,M,()=>n(),function(e){st[e?"unshift":"push"](()=>{i=e,a(2,i)})}]}function ss(e,t){o(e,t)}customElements.get("casino-jackpot-banner")||customElements.define("casino-jackpot-banner",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':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:auto;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}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner: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:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},os,is,n,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get title(){return this.$$.ctx[15]}set title(e){this.$$set({title:e}),m()}get caticon0(){return this.$$.ctx[16]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[17]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[18]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[19]}set caticon3(e){this.$$set({caticon3:e}),m()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get lang(){return this.$$.ctx[24]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[27]}set translationurl(e){this.$$set({translationurl:e}),m()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),m()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),m()}});const ls={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."}};function cs(e,t,n){e=e.slice();return e[39]=t[n],e}function ds(e,t,n){e=e.slice();return e[42]=t[n],e}function us(n){let a,r,i,o,s,l,c,d,u,m,p,e,h,g,f=("vendor"==n[0]?n[8]("providers"):n[8]("collections"))+"",y=n[3],b=[];for(let e=0;e<y.length;e+=1)b[e]=ys(cs(n,y,e));return{c(){a=pe("div"),r=pe("div"),i=pe("p"),o=he(f),s=ge(),l=pe("div"),(c=pe("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',d=ge(),(u=pe("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',m=ge(),p=pe("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(i,"class","Title"),fe(l,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(p,"class","CategoriesSlider"),fe(a,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":"")+" "+("vendor"===n[0]?"Providers":"Collections"))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(r,s),de(r,l),de(l,c),de(l,d),de(l,u),de(a,m),de(a,p);for(let e=0;e<b.length;e+=1)b[e]&&b[e].m(p,null);n[23](p),h||(g=[U(c,"click",n[19]),U(u,"click",n[20])],h=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("providers"):t[8]("collections"))+"")&&ye(o,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var r=cs(t,y,e);b[e]?b[e].p(r,n):(b[e]=ys(r),b[e].c(),b[e].m(p,null))}for(;e<b.length;e+=1)b[e].d(1);b.length=y.length}129&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[7]?"Mobile":"")+" "+("vendor"===t[0]?"Providers":"Collections"))&&fe(a,"class",e)},d(e){e&&me(a),H(b,e),n[23](null),h=!1,j(g)}}}function ms(e){let n;return{c(){fe(n=pe("div"),"class","LoadingSpinner")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function ps(e){let n,r,a=e[39].name+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){8&t[0]&&a!==(a=e[39].name+"")&&ye(r,a)},d(e){e&&me(n)}}}function hs(e){let n,r,a;return{c(){fe(n=pe("img"),"class","CategorySlideLogo"),ce(n.src,r=e[39].icon)||fe(n,"src",r),fe(n,"alt",a=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,r=e[39].icon)&&fe(n,"src",r),8&t[0]&&a!==(a=e[39].name+" icon")&&fe(n,"alt",a)},d(e){e&&me(n)}}}function gs(e){let n,r,a,i=e[42].name+"";return{c(){n=pe("p"),r=he(i),fe(n,"title",a=e[42].name)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){8&t[0]&&i!==(i=e[42].name+"")&&ye(r,i),8&t[0]&&a!==(a=e[42].name)&&fe(n,"title",a)},d(e){e&&me(n)}}}function fs(n){let r,a,i,o,s,l,c,d;function u(){return n[21](n[42])}let m="true"==n[2]&&gs(n);return{c(){r=pe("div"),a=pe("img"),s=ge(),m&&m.c(),l=ge(),fe(a,"class","CategorySlideGameImage"),ce(a.src,i=n[42].defaultThumbnail)||fe(a,"src",i),fe(a,"alt",o=n[42].name),fe(r,"class","CategorySlideGames")},m(e,t){var n;ue(e,r,t),de(r,a),de(r,s),m&&m.m(r,null),de(r,l),c||(d=U(a,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(a.src,i=n[42].defaultThumbnail)&&fe(a,"src",i),8&t[0]&&o!==(o=n[42].name)&&fe(a,"alt",o),"true"==n[2]?m?m.p(n,t):((m=gs(n)).c(),m.m(r,l)):m&&(m.d(1),m=null)},d(e){e&&me(r),m&&m.d(),c=!1,d()}}}function ys(n){let r,a,i,o,s,l,c,d,u;function m(e){return"logo"==e[1]?hs:"title"==e[1]?ps:void 0}let p=m(n),h=p&&p(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=fs(ds(n,g,e));function y(){return n[22](n[39])}return{c(){r=pe("div"),a=pe("div"),i=pe("div"),h&&h.c(),o=ge(),s=pe("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(i,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(a,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),M(a,"background-image","url("+n[39]?.background+")"),M(a,"background-size","cover"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,r,t),de(r,a),de(a,i),h&&h.m(i,null),de(a,o),de(a,s);for(let e=0;e<f.length;e+=1)f[e]&&f[e].m(s,null);de(r,c),d||(u=U(a,"click",y),d=!0)},p(e,t){if(p===(p=m(n=e))&&h?h.p(n,t):(h&&h.d(1),(h=p&&p(n))&&(h.c(),h.m(i,null))),2060&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const a=ds(n,g,e);f[e]?f[e].p(a,t):(f[e]=fs(a),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(a,"class",l),8&t[0]&&M(a,"background-image","url("+n[39]?.background+")")},d(e){e&&me(r),h&&h.d(),H(f,e),d=!1,u()}}}function bs(n){let r;function a(e){return e[6]?ms:us}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[24](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[24](null)}}}function vs(n,e,r){let t;ut(n,na,e=>r(8,t=e));let a,i,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:p=""}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,b=[],v=!0,w=0,$=0,x=0,C=window.navigator.userAgent;Object.keys(ls).forEach(e=>{ss(e,ls[e])});const k=n=>{(o=[...a.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>i=e.getBoundingClientRect().width),x=Math.round(a.offsetWidth/i)},F=()=>{k(w)},S=()=>{x>=$||(0===w?w=$-x:w-x<-1?w=0:w--,F())},M=()=>{x>=$||(w===$-x?w=0:$-x<w+1?w=$-x:w++,F())},L=(e,t,n,r)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n,subVendor:r},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},E=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return ot(()=>{r(7,l=ct(C))}),n.$$set=e=>{"endpoint"in e&&r(13,c=e.endpoint),"datasource"in e&&r(14,d=e.datasource),"lang"in e&&r(15,u=e.lang),"type"in e&&r(0,m=e.type),"titletype"in e&&r(1,p=e.titletype),"clientstyling"in e&&r(16,h=e.clientstyling),"clientstylingurl"in e&&r(17,g=e.clientstylingurl),"translationurl"in e&&r(18,f=e.translationurl),"collectionprovidersgamenames"in e&&r(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u&&((t=new URL(c+"/v2/casino/groups/"+d)).searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(6,v=!1);e=e.items.filter(e=>e.flags==m);r(3,b=e.map(e=>{var t;return{id:e.id,name:e.name,icon:e.icon||(null==(t=null==(t=null==(t=e.vendors)?void 0:t.items[0])?void 0:t.subVendors[0])?void 0:t.logo),games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}})),$=b.length})),24&n.$$.dirty[0]&&b&&a&&k(),32768&n.$$.dirty[0]&&u&&(t=u,lt.set(t)),65568&n.$$.dirty[0]&&h&&s&&((e=document.createElement("style")).innerHTML=h,s.appendChild(e)),131104&n.$$.dirty[0]&&g&&s){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ss(e,t[e])})}).catch(e=>{console.log(e)})},[m,p,y,b,a,s,v,l,t,S,M,L,E,c,d,u,h,g,f,()=>S(),()=>M(),e=>L(e.gameId,e.launchUrl,e.name,e.subVendor),e=>E(e.id),function(e){st[e?"unshift":"push"](()=>{a=e,r(4,a)})},function(e){st[e?"unshift":"push"](()=>{s=e,r(5,s)})}]}function ws(n){let r,a;return{c(){r=pe("div"),a=pe("casino-games-category-section"),this.c=O,S(a,"session",n[0]),S(a,"userid",n[1]),S(a,"endpoint",n[2]),S(a,"datasource",n[3]),S(a,"lang",n[5]),S(a,"currency",n[4]),S(a,"favorites",n[14]),S(a,"categoryid","FAVORITES"),S(a,"class","CategoryContainer"),S(a,"showgamename",n[11]),S(a,"clientstyling",n[6]),S(a,"clientstylingurl",n[7]),S(a,"livecasino",n[8]),S(a,"visiblegames",n[13]),S(a,"gamepagemodalurl",n[12]),S(a,"integratedgameframedesktop",n[10]),S(a,"integratedgameframemobile",n[9]),S(a,"casinomygames",n[15]),fe(r,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,r,t),de(r,a),n[18](r)},p(e,t){1&t[0]&&S(a,"session",e[0]),2&t[0]&&S(a,"userid",e[1]),4&t[0]&&S(a,"endpoint",e[2]),8&t[0]&&S(a,"datasource",e[3]),32&t[0]&&S(a,"lang",e[5]),16&t[0]&&S(a,"currency",e[4]),16384&t[0]&&S(a,"favorites",e[14]),2048&t[0]&&S(a,"showgamename",e[11]),64&t[0]&&S(a,"clientstyling",e[6]),128&t[0]&&S(a,"clientstylingurl",e[7]),256&t[0]&&S(a,"livecasino",e[8]),8192&t[0]&&S(a,"visiblegames",e[13]),4096&t[0]&&S(a,"gamepagemodalurl",e[12]),1024&t[0]&&S(a,"integratedgameframedesktop",e[10]),512&t[0]&&S(a,"integratedgameframemobile",e[9]),32768&t[0]&&S(a,"casinomygames",e[15])},i:O,o:O,d(e){e&&me(r),n[18](null)}}}function $s(t,e,s){let n,r,{endpoint:l=""}=e,{datasource:a=""}=e,{currency:i=""}=e,{lang:o=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:g="false"}=e,{showgamename:f=""}=e,{gamepagemodalurl:y="false"}=e,{visiblegames:b=""}=e,{favorites:v=""}=e,{categoryid:w=""}=e,{casinomygames:$="false"}=e,x=[];var C,k;({withLocale:C,translations:k}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(Fr.set(k),lt.set(C))});const F=n=>{if(n.data)switch(n.data.type){case"UserSessionID":s(0,c=n.data.session),s(1,d=n.data.userID),d&&d.length&&c&&0<c.length&&S(l,c,d);break;case"SetUnfavoredGame":e=`${l}/v1/player/${d}/favorites`,t=c,d,o=n.data.id,n.data.triggerFactor,x.includes(o)&&(x=x.filter(e=>e!=o)),fetch(e+"/"+o,{method:"DELETE",headers:{"X-SessionID":t}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+o},window.location.href),M(e,t)});break;case"SetFavoredGame":{var r=`${l}/v1/player/${d}/favorites`;var a=c;d;var i=n.data.id;n.data.triggerFactor;x.includes(i)||x.push(i);let e={items:x},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),M(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&S(l,c,d)}var e,t,o};let S=(e,t,n)=>{"true"==v&&c&&n&&fetch(e+`/v1/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(L(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),E(r.items)),r)).then(e=>e).catch(e=>{console.error(e)})};let M=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,L(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),r)).catch(e=>{console.error(e)})};const L=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},E=(e=[])=>(x=[],0<e.length&&e.forEach(e=>{x.push(e.id)}),x);return ot(()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)})),t.$$set=e=>{"endpoint"in e&&s(2,l=e.endpoint),"datasource"in e&&s(3,a=e.datasource),"currency"in e&&s(4,i=e.currency),"lang"in e&&s(5,o=e.lang),"session"in e&&s(0,c=e.session),"userid"in e&&s(1,d=e.userid),"clientstyling"in e&&s(6,u=e.clientstyling),"clientstylingurl"in e&&s(7,m=e.clientstylingurl),"livecasino"in e&&s(8,p=e.livecasino),"integratedgameframemobile"in e&&s(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&s(10,g=e.integratedgameframedesktop),"showgamename"in e&&s(11,f=e.showgamename),"gamepagemodalurl"in e&&s(12,y=e.gamepagemodalurl),"visiblegames"in e&&s(13,b=e.visiblegames),"favorites"in e&&s(14,v=e.favorites),"categoryid"in e&&s(17,w=e.categoryid),"casinomygames"in e&&s(15,$=e.casinomygames)},t.$$.update=()=>{if(16423&t.$$.dirty[0]&&l&&d&&c&&o&&v&&"true"==v&&S(l,c,d),65600&t.$$.dirty[0]&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),65664&t.$$.dirty[0]&&m&&n){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e},[c,d,l,a,i,o,u,m,p,h,g,f,y,b,v,$,n,w,function(e){st[e?"unshift":"push"](()=>{n=e,s(16,n)})}]}function xs(e,t){o(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-casino-typography, var(--emfe-w-color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},vs,bs,n,{endpoint:13,datasource:14,lang:15,type:0,titletype:1,clientstyling:16,clientstylingurl:17,translationurl:18,collectionprovidersgamenames:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl","collectionprovidersgamenames"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),m()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),m()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},$s,ws,n,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,categoryid:17,casinomygames:15},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}});const Cs={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."}};function ks(e){let n;return{c(){S(n=pe("casino-games-category-section"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[14]),S(n,"categoryid","LASTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[12]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[13]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),16384&t[0]&&S(n,"favorites",e[14]),4096&t[0]&&S(n,"showgamename",e[12]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),8192&t[0]&&S(n,"visiblegames",e[13]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),1024&t[0]&&S(n,"integratedgameframedesktop",e[10]),512&t[0]&&S(n,"integratedgameframemobile",e[9]),32768&t[0]&&S(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Fs(e){let n,r,a=e[18]("noRecentGames")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){262144&t[0]&&a!==(a=e[18]("noRecentGames")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ss(n){let r,a;function i(e){return e[17]?Fs:ks}let o=i(n),s=o(n);return{c(){r=pe("div"),a=pe("div"),s.c(),this.c=O,fe(a,"class","CasinoLastPlayedSection"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),s.m(a,null),n[24](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:O,o:O,d(e){e&&me(r),s.d(),n[24](null)}}}function Ms(t,e,n){let r;ut(t,na,e=>n(18,r=e));let a,i,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:p=""}=e,{translationurl:h=""}=e,{livecasino:g="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{showgamename:v=""}=e,{visiblegames:w=""}=e,{favorites:$=""}=e,{lastplayedperiod:x="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:k=""}=e,{casinomygames:F="false"}=e,{lastplayedunique:S="true"}=e,M=window.navigator.userAgent,L=!1,E=[];Object.keys(Cs).forEach(e=>{xs(e,Cs[e])});return t.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"currency"in e&&n(2,l=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,p=e.clientstylingurl),"translationurl"in e&&n(19,h=e.translationurl),"livecasino"in e&&n(8,g=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,b=e.gamepagemodalurl),"showgamename"in e&&n(12,v=e.showgamename),"visiblegames"in e&&n(13,w=e.visiblegames),"favorites"in e&&n(14,$=e.favorites),"lastplayedperiod"in e&&n(20,x=e.lastplayedperiod),"lastplayedorder"in e&&n(21,C=e.lastplayedorder),"lastplayedlimit"in e&&n(22,k=e.lastplayedlimit),"casinomygames"in e&&n(15,F=e.casinomygames),"lastplayedunique"in e&&n(23,S=e.lastplayedunique)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&o&&u&&c&&new Promise((e,t)=>{var n=new URL(`${o}/v1/player/${u}/games/last-played`);n.searchParams.append("unique",S),n.searchParams.append("limit",k),n.searchParams.append("order",C),n.searchParams.append("period",x),"PC"===dt(M)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),a=g?n:n.href,fetch(a).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(o+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",s),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{E=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===F&&(E=E.slice(0,JSON.parse(w))),window.postMessage({type:"LastPlayedData",lastPlayedGames:E},window.location.href)})}else n(17,L=!0)}),524288&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{xs(e,t[e])})}).catch(e=>{console.log(e)}),65600&t.$$.dirty[0]&&m&&i&&((e=document.createElement("style")).innerHTML=m,i.appendChild(e)),65664&t.$$.dirty[0]&&p&&i){let t=document.createElement("style");fetch(new URL(p)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;8&t.$$.dirty[0]&&c&&(e=c,lt.set(e))},[o,s,l,c,d,u,m,p,g,f,y,b,v,w,$,F,i,L,r,h,x,C,k,S,function(e){st[e?"unshift":"push"](()=>{i=e,n(16,i)})}]}function Ls(e,t){o(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ms,Ss,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:19,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,casinomygames:15,lastplayedunique:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}});const Es={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"No games in most played"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"}};function Gs(e){let n;return{c(){S(n=pe("casino-games-category-section"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[14]),S(n,"categoryid","MOSTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[12]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[13]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),16384&t[0]&&S(n,"favorites",e[14]),4096&t[0]&&S(n,"showgamename",e[12]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),8192&t[0]&&S(n,"visiblegames",e[13]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),1024&t[0]&&S(n,"integratedgameframedesktop",e[10]),512&t[0]&&S(n,"integratedgameframemobile",e[9]),32768&t[0]&&S(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function _s(e){let n,r,a=e[18]("noGames")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){262144&t[0]&&a!==(a=e[18]("noGames")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ts(n){let r,a;function i(e){return e[17]?_s:Gs}let o=i(n),s=o(n);return{c(){r=pe("div"),a=pe("div"),s.c(),this.c=O,fe(a,"class","casino-most-played-section"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),s.m(a,null),n[23](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:O,o:O,d(e){e&&me(r),s.d(),n[23](null)}}}function Is(r,e,a){let t,{endpoint:i=""}=(ut(r,na,e=>a(18,t=e)),e),{datasource:o=""}=e,{currency:n=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:h="false"}=e,{gamepagemodalurl:g="false"}=e,{showgamename:f=""}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,{translationurl:w=""}=e,{casinomygames:$="false"}=e,{mostplayedperiod:x="Last30Days"}=e,{mostplayedrounds:C="10"}=e,k=window.navigator.userAgent;Object.keys(Es).forEach(e=>{Ls(e,Es[e])});let F,S,M=[],L=!1;return r.$$set=e=>{"endpoint"in e&&a(0,i=e.endpoint),"datasource"in e&&a(1,o=e.datasource),"currency"in e&&a(2,n=e.currency),"lang"in e&&a(3,s=e.lang),"session"in e&&a(4,l=e.session),"userid"in e&&a(5,c=e.userid),"clientstyling"in e&&a(6,d=e.clientstyling),"clientstylingurl"in e&&a(7,u=e.clientstylingurl),"livecasino"in e&&a(8,m=e.livecasino),"integratedgameframemobile"in e&&a(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&a(10,h=e.integratedgameframedesktop),"gamepagemodalurl"in e&&a(11,g=e.gamepagemodalurl),"showgamename"in e&&a(12,f=e.showgamename),"visiblegames"in e&&a(13,y=e.visiblegames),"favorites"in e&&a(14,b=e.favorites),"lastPlayedEmpty"in e&&a(19,v=e.lastPlayedEmpty),"translationurl"in e&&a(20,w=e.translationurl),"casinomygames"in e&&a(15,$=e.casinomygames),"mostplayedperiod"in e&&a(21,x=e.mostplayedperiod),"mostplayedrounds"in e&&a(22,C=e.mostplayedrounds)},r.$$.update=()=>{if(41&r.$$.dirty[0]&&i&&c&&s&&(e={limit:100,device:dt(k),rounds:C},t=new URL(`${i}/v1/player/${c}/games/most-played`),e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x),(n=e.device)?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),F=m?t:t.href,new Promise((e,t)=>{fetch(F).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(i+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",o),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{M=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===$&&(M=M.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:M},window.location.href)})}else a(17,L=!0)})),65600&r.$$.dirty[0]&&d&&S&&((n=document.createElement("style")).innerHTML=d,S.appendChild(n)),65664&r.$$.dirty[0]&&u&&S){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{S.appendChild(t)},1)})}var e,t,n;1048576&r.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ls(e,t[e])})}).catch(e=>{console.log(e)}),8&r.$$.dirty[0]&&s&&(e=s,lt.set(e))},[i,o,n,s,l,c,d,u,m,p,h,g,f,y,b,$,S,L,t,v,w,x,C,function(e){st[e?"unshift":"push"](()=>{S=e,a(16,S)})}]}function Ps(e,t){o(e,t)}customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Is,Ts,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastPlayedEmpty:19,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastPlayedEmpty","translationurl","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get lastPlayedEmpty(){return this.$$.ctx[19]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});const Rs={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"}};function Ds(e,t,n){e=e.slice();return e[43]=t[n],e}function As(t){let a,n,i,r,o,e,s=t[27],l=[];for(let e=0;e<s.length;e+=1)l[e]=js(Ds(t,s,e));function c(e){return"Favorites"==e[25]?Us:"MostPlayed"==e[25]?zs:"LastPlayed"==e[25]?Hs:void 0}let d=c(t),u=d&&d(t);return{c(){a=pe("div"),n=pe("div"),i=pe("div");for(let e=0;e<l.length;e+=1)l[e].c();r=ge(),o=pe("div"),u&&u.c(),fe(i,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(a,"class",e="CasinoMyGames "+(t[26]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,n),de(n,i);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(i,null);de(a,r),de(a,o),u&&u.m(o,null)},p(t,n){if(2046935040&n[0]){let e;for(s=t[27],e=0;e<s.length;e+=1){var r=Ds(t,s,e);l[e]?l[e].p(r,n):(l[e]=js(r),l[e].c(),l[e].m(i,null))}for(;e<l.length;e+=1)l[e].d(1);l.length=s.length}d===(d=c(t))&&u?u.p(t,n):(u&&u.d(1),(u=d&&d(t))&&(u.c(),u.m(o,null))),67108864&n[0]&&e!==(e="CasinoMyGames "+(t[26]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),H(l,e),u&&u.d()}}}function Bs(n){let r,a,i,o,s,l,c,d,u,m,p=n[29]("favorites")+"";return{c(){r=pe("button"),a=he(p),i=ge(),o=pe("span"),s=he("("),l=he(n[28]),c=he(")"),fe(r,"class",d="MyGamesButton "+("Favorites"==n[25]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),de(r,o),de(o,s),de(o,l),de(o,c),u||(m=U(r,"click",n[32]),u=!0)},p(e,t){536870912&t[0]&&p!==(p=e[29]("favorites")+"")&&ye(a,p),268435456&t[0]&&ye(l,e[28]),33570816&t[0]&&d!==(d="MyGamesButton "+("Favorites"==e[25]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(r,"class",d)},d(e){e&&me(r),u=!1,m()}}}function Ns(n){let r,a,i,o,s,l=n[29]("mostPlayed")+"";return{c(){r=pe("button"),a=he(l),fe(r,"class",i="MyGamesButton "+("MostPlayed"==n[25]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=U(r,"click",n[33]),o=!0)},p(e,t){536870912&t[0]&&l!==(l=e[29]("mostPlayed")+"")&&ye(a,l),33587200&t[0]&&i!==(i="MyGamesButton "+("MostPlayed"==e[25]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(r,"class",i)},d(e){e&&me(r),o=!1,s()}}}function Os(n){let r,a,i,o,s,l,c=n[29]("recentlyPlayed")+"";return{c(){r=pe("button"),a=he(c),i=ge(),fe(r,"class",o="MyGamesButton "+("LastPlayed"==n[25]?"Active":"")+" "+("false"==n[16]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),s||(l=U(r,"click",n[34]),s=!0)},p(e,t){536870912&t[0]&&c!==(c=e[29]("recentlyPlayed")+"")&&ye(a,c),33619968&t[0]&&o!==(o="MyGamesButton "+("LastPlayed"==e[25]?"Active":"")+" "+("false"==e[16]?"Off":""))&&fe(r,"class",o)},d(e){e&&me(r),s=!1,l()}}}function js(e){let n,r,a,i="Favorites"==e[43]&&Bs(e),o="MostPlayed"==e[43]&&Ns(e),s="LastPlayed"==e[43]&&Os(e);return{c(){i&&i.c(),n=ge(),o&&o.c(),r=ge(),s&&s.c(),a=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,r,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){"Favorites"==e[43]?i?i.p(e,t):((i=Bs(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"MostPlayed"==e[43]?o?o.p(e,t):((o=Ns(e)).c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null),"LastPlayed"==e[43]?s?s.p(e,t):((s=Os(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){i&&i.d(e),e&&me(n),o&&o.d(e),e&&me(r),s&&s.d(e),e&&me(a)}}}function Hs(e){let n;return{c(){S(n=pe("casino-last-played-section"),"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"favorites",e[14]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"class","CategoryContainer"),S(n,"showgamename",e[11]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"lastplayedperiod",e[18]),S(n,"lastplayedorder",e[20]),S(n,"lastplayedlimit",e[21]),S(n,"lastplayedunique",e[22]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13]),S(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16384&t[0]&&S(n,"favorites",e[14]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),2048&t[0]&&S(n,"showgamename",e[11]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),262144&t[0]&&S(n,"lastplayedperiod",e[18]),1048576&t[0]&&S(n,"lastplayedorder",e[20]),2097152&t[0]&&S(n,"lastplayedlimit",e[21]),4194304&t[0]&&S(n,"lastplayedunique",e[22]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13]),131072&t[0]&&S(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function zs(e){let n;return{c(){S(n=pe("casino-most-played-section"),"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"userid",e[0]),S(n,"favorites",e[14]),S(n,"categoryindex","0"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[11]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"mostplayedrounds",e[23]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13]),S(n,"mostplayedperiod",e[19]),S(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),16384&t[0]&&S(n,"favorites",e[14]),2048&t[0]&&S(n,"showgamename",e[11]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),8388608&t[0]&&S(n,"mostplayedrounds",e[23]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13]),524288&t[0]&&S(n,"mostplayedperiod",e[19]),131072&t[0]&&S(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Us(e){let n;return{c(){S(n=pe("casino-favorites-section"),"session",e[1]),S(n,"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"favorites",e[14]),S(n,"categoryid","FAVORITES"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[11]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13]),S(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),16384&t[0]&&S(n,"favorites",e[14]),2048&t[0]&&S(n,"showgamename",e[11]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13]),131072&t[0]&&S(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Ws(n){let r;function a(e){if(e[17])return As}let i=a(n),o=i&&i(n);return{c(){r=pe("div"),o&&o.c(),this.c=O},m(e,t){ue(e,r,t),o&&o.m(r,null),n[35](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o&&o.d(),n[35](null)}}}function Ys(t,e,n){let r;ut(t,na,e=>n(29,r=e));let a,{userid:i=""}=e,{session:o=""}=e,{endpoint:s=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{currency:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:p=""}=e,{visiblegames:h=""}=e,{gamepagemodalurl:g=""}=e,{showgamename:f=""}=e,{integratedgameframedesktop:y=""}=e,{integratedgameframemobile:b=""}=e,{translationurl:v=""}=e,{favorites:w="false"}=e,{mostplayed:$="false"}=e,{lastplayed:x="false"}=e,{casinomygames:C="false"}=e,{lastplayedperiod:k="Last30Days"}=e,{mostplayedperiod:F="Last30Days"}=e,{lastplayedorder:S=""}=e,{lastplayedlimit:M=""}=e,{lastplayedunique:L="true"}=e,{mostplayedrounds:E=""}=e,D=window.navigator.userAgent,G="",_=!1,T=["","",""],I="0";var P,A;({withLocale:P,translations:A}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(Fr.set(A),lt.set(P))}),Object.keys(Rs).forEach(e=>{Ps(e,Rs[e])});const R=e=>{G!==e&&n(25,G=e)},B=()=>{var e;n(25,G="true"===w?"Favorites":"true"===$?"MostPlayed":"true"===x?"LastPlayed":""),n(27,T[0]="true"===w?"Favorites":"",T),n(27,T[1]="true"===$?"MostPlayed":"",T),n(27,T[2]="true"===x?"LastPlayed":"",T),e=c,lt.set(e)},N=e=>{e.data&&"UpdateCategoryFavoriteGames"===e.data.type&&n(28,I=e.data.receivedFavoriteResults.count)};return ot(()=>(window.addEventListener("message",N,!1),n(26,_=ct(D)),()=>{window.removeEventListener("message",N)})),t.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,o=e.session),"endpoint"in e&&n(2,s=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,p=e.livecasino),"visiblegames"in e&&n(9,h=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"showgamename"in e&&n(11,f=e.showgamename),"integratedgameframedesktop"in e&&n(12,y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,b=e.integratedgameframemobile),"translationurl"in e&&n(31,v=e.translationurl),"favorites"in e&&n(14,w=e.favorites),"mostplayed"in e&&n(15,$=e.mostplayed),"lastplayed"in e&&n(16,x=e.lastplayed),"casinomygames"in e&&n(17,C=e.casinomygames),"lastplayedperiod"in e&&n(18,k=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,F=e.mostplayedperiod),"lastplayedorder"in e&&n(20,S=e.lastplayedorder),"lastplayedlimit"in e&&n(21,M=e.lastplayedlimit),"lastplayedunique"in e&&n(22,L=e.lastplayedunique),"mostplayedrounds"in e&&n(23,E=e.mostplayedrounds)},t.$$.update=()=>{if(28&t.$$.dirty[0]&&s&&l&&c&&B(),114688&t.$$.dirty[0]&&w&&$&&x&&B(),1&t.$$.dirty[1]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ps(e,t[e])})}).catch(e=>{console.log(e)}),16777280&t.$$.dirty[0]&&u&&a&&((e=document.createElement("style")).innerHTML=u,a.appendChild(e)),16777344&t.$$.dirty[0]&&m&&a){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[i,o,s,l,c,d,u,m,p,h,g,f,y,b,w,$,x,C,k,F,S,M,L,E,a,G,_,T,I,r,R,v,()=>R("Favorites"),()=>R("MostPlayed"),()=>R("LastPlayed"),function(e){st[e?"unshift":"push"](()=>{a=e,n(24,a)})}]}function Vs(e,t){o(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ys,Ws,n,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","showgamename","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),m()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),m()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});const qs={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Pesquise por qualquer um dos nossos jogos."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."}};function Zs(e,t,n){e=e.slice();return e[53]=t[n],e}function Js(n){let r,a,i,o,s,l=n[20]("cancel")+"";return{c(){r=pe("small"),a=he(l),fe(r,"class",i="SearchCancelButton "+(n[12]?"NotVisible":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=U(r,"click",n[35]),o=!0)},p(e,t){1048576&t[0]&&l!==(l=e[20]("cancel")+"")&&ye(a,l),4096&t[0]&&i!==(i="SearchCancelButton "+(e[12]?"NotVisible":""))&&fe(r,"class",i)},d(e){e&&me(r),o=!1,s()}}}function Ks(e){let n,r,a,i;function o(e){return 1==e[16]&&e[11].length<2?el:0!=e[14].length?Qs:void 0}let s=o(e),l=s&&s(e),c=!1===e[12]&&al(e),d=2<=e[11].length&&0==e[14].length&&ol(e);return{c(){l&&l.c(),n=ge(),r=pe("div"),c&&c.c(),a=ge(),d&&d.c(),fe(r,"class",i="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,r,t),c&&c.m(r,null),de(r,a),d&&d.m(r,null)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l&&l.d(1),(l=s&&s(e))&&(l.c(),l.m(n.parentNode,n))),!1===e[12]?c?c.p(e,t):((c=al(e)).c(),c.m(r,a)):c&&(c.d(1),c=null),2<=e[11].length&&0==e[14].length?d?d.p(e,t):((d=ol(e)).c(),d.m(r,null)):d&&(d.d(1),d=null),65536&t[0]&&i!==(i="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))&&fe(r,"class",i)},d(e){l&&l.d(e),e&&me(n),e&&me(r),c&&c.d(),d&&d.d()}}}function Xs(e){let n,r,a=e[20]("loading")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","LoadingContent")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1048576&t[0]&&a!==(a=e[20]("loading")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Qs(e){let n,r,a=e[20]("searchResult")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1048576&t[0]&&a!==(a=e[20]("searchResult")+"")&&ye(r,a)},d(e){e&&me(n)}}}function el(e){let n,r,a=0!==e[14].length&&tl(e),i=0==e[14].length&&nl(e);return{c(){a&&a.c(),n=ge(),i&&i.c(),r=c()},m(e,t){a&&a.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,r,t)},p(e,t){0!==e[14].length?a?a.p(e,t):((a=tl(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),0==e[14].length?i?i.p(e,t):((i=nl(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&me(n),i&&i.d(e),e&&me(r)}}}function tl(e){let n,r,a=e[20]("recentSearch")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1048576&t[0]&&a!==(a=e[20]("recentSearch")+"")&&ye(r,a)},d(e){e&&me(n)}}}function nl(e){let n,r,a,i,o,s=e[20]("noRecentSearches")+"",l="true"===e[10]&&rl();return{c(){n=pe("div"),l&&l.c(),r=ge(),a=pe("p"),i=he(s),fe(a,"class","SearchMessage"),fe(n,"class",o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),l&&l.m(n,null),de(n,r),de(n,a),de(a,i)},p(e,t){"true"===e[10]?l||((l=rl()).c(),l.m(n,r)):l&&(l.d(1),l=null),1048576&t[0]&&s!==(s=e[20]("noRecentSearches")+"")&&ye(i,s),1024&t[0]&&o!==(o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",o)},d(e){e&&me(n),l&&l.d()}}}function rl(){let n;return{c(){(n=pe("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function al(t){let a,i=t[14],o=[];for(let e=0;e<i.length;e+=1)o[e]=il(Zs(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(17580543&n[0]){let e;for(i=t[14],e=0;e<i.length;e+=1){var r=Zs(t,i,e);o[e]?o[e].p(r,n):(o[e]=il(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){H(o,e),e&&me(a)}}}function il(e){let n,r,a,i,o,s,l,c,d,u,m,p;return{c(){S(n=pe("casino-game-thumbnail"),"endpoint",e[0]),S(n,"session",e[18]),S(n,"userid",e[19]),S(n,"favorites",e[8]),S(n,"lang",e[1]),S(n,"gamethumbnail",r=e[53].thumbnail),S(n,"gamename",a=e[53].name),S(n,"gamevendor",i=e[53].vendor.name),S(n,"gamelaunchurl",o=e[53].launchUrl),S(n,"gameisnew",s=e[53].isNew),S(n,"gametag",l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags)),S(n,"gamecellsize",c=e[53].cellSize),S(n,"gameid",d=e[53].id),S(n,"showgamename",e[6]),S(n,"gamefunmode",u=e[53].hasFunMode),S(n,"gamefavorite",m=e[53].isFavorite),S(n,"livelobbyendpoint",p=e[53].details?e[53].launchUrl:""),S(n,"integratedgameframedesktop",e[4]),S(n,"integratedgameframemobile",e[5]),S(n,"clientstyling",e[2]),S(n,"clientstylingurl",e[3]),S(n,"gamepagemodalurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"endpoint",e[0]),262144&t[0]&&S(n,"session",e[18]),524288&t[0]&&S(n,"userid",e[19]),256&t[0]&&S(n,"favorites",e[8]),2&t[0]&&S(n,"lang",e[1]),16384&t[0]&&r!==(r=e[53].thumbnail)&&S(n,"gamethumbnail",r),16384&t[0]&&a!==(a=e[53].name)&&S(n,"gamename",a),16384&t[0]&&i!==(i=e[53].vendor.name)&&S(n,"gamevendor",i),16384&t[0]&&o!==(o=e[53].launchUrl)&&S(n,"gamelaunchurl",o),16384&t[0]&&s!==(s=e[53].isNew)&&S(n,"gameisnew",s),16384&t[0]&&l!==(l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags))&&S(n,"gametag",l),16384&t[0]&&c!==(c=e[53].cellSize)&&S(n,"gamecellsize",c),16384&t[0]&&d!==(d=e[53].id)&&S(n,"gameid",d),64&t[0]&&S(n,"showgamename",e[6]),16384&t[0]&&u!==(u=e[53].hasFunMode)&&S(n,"gamefunmode",u),16384&t[0]&&m!==(m=e[53].isFavorite)&&S(n,"gamefavorite",m),16384&t[0]&&p!==(p=e[53].details?e[53].launchUrl:"")&&S(n,"livelobbyendpoint",p),16&t[0]&&S(n,"integratedgameframedesktop",e[4]),32&t[0]&&S(n,"integratedgameframemobile",e[5]),4&t[0]&&S(n,"clientstyling",e[2]),8&t[0]&&S(n,"clientstylingurl",e[3]),128&t[0]&&S(n,"gamepagemodalurl",e[7])},d(e){e&&me(n)}}}function ol(e){let n,r,a,i,o,s,l,c,d=e[20]("notFound")+"",u=e[20]("notFoundText")+"",m="true"===e[10]&&sl();return{c(){n=pe("div"),m&&m.c(),r=ge(),a=pe("p"),i=he(d),o=ge(),s=pe("p"),l=he(u),fe(a,"class","SearchMessage"),fe(n,"class",c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),m&&m.m(n,null),de(n,r),de(n,a),de(a,i),de(n,o),de(n,s),de(s,l)},p(e,t){"true"===e[10]?m||((m=sl()).c(),m.m(n,r)):m&&(m.d(1),m=null),1048576&t[0]&&d!==(d=e[20]("notFound")+"")&&ye(i,d),1048576&t[0]&&u!==(u=e[20]("notFoundText")+"")&&ye(l,u),1024&t[0]&&c!==(c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",c)},d(e){e&&me(n),m&&m.d()}}}function sl(){let n;return{c(){(n=pe("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function ll(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C="true"===n[9]&&Js(n);function k(e){return e[17]?Xs:Ks}let F=k(n),S=F(n);return{c(){r=pe("div"),a=pe("div"),i=pe("div"),(o=pe("div")).innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',s=ge(),l=pe("input"),d=ge(),u=pe("span"),m=z("svg"),p=z("path"),g=ge(),C&&C.c(),y=ge(),b=pe("div"),w=ge(),S.c(),this.c=O,fe(o,"class","SearchIcon"),fe(l,"class","SearchInput"),fe(l,"type","search"),fe(l,"placeholder",c=n[20]("placeHolderSearchGames")),fe(l,"maxlength",50),fe(p,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(p,"stroke","#717171"),fe(p,"stroke-width","2"),fe(p,"stroke-linecap","round"),fe(p,"stroke-linejoin","round"),fe(m,"width","11"),fe(m,"height","11"),fe(m,"fill","none"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(u,"class",h="SearchClearButton "+("true"!=n[9]?"WithoutCancel":"")+" "+(0!=n[11].length?"":"NotVisible")),fe(i,"class",f="Search "+(n[12]?"":"SearchAnimation")),fe(a,"class","SearchWrap"),fe(b,"class",v="true"!=n[9]?"OverlayCancel":""),fe(r,"class",("PC"!==dt(n[21])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(i,s),de(i,l),G(l,n[11]),n[33](l),de(i,d),de(i,u),de(u,m),de(m,p),de(i,g),C&&C.m(i,null),de(r,y),de(r,b),de(r,w),S.m(r,null),n[36](r),$||(x=[U(l,"input",n[32]),U(l,"focus",n[22]),U(u,"click",n[34]),U(b,"click",n[23])],$=!0)},p(e,t){1048576&t[0]&&c!==(c=e[20]("placeHolderSearchGames"))&&fe(l,"placeholder",c),2048&t[0]&&l.value!==e[11]&&G(l,e[11]),2560&t[0]&&h!==(h="SearchClearButton "+("true"!=e[9]?"WithoutCancel":"")+" "+(0!=e[11].length?"":"NotVisible"))&&fe(u,"class",h),"true"===e[9]?C?C.p(e,t):((C=Js(e)).c(),C.m(i,null)):C&&(C.d(1),C=null),4096&t[0]&&f!==(f="Search "+(e[12]?"":"SearchAnimation"))&&fe(i,"class",f),512&t[0]&&v!==(v="true"!=e[9]?"OverlayCancel":"")&&fe(b,"class",v),F===(F=k(e))&&S?S.p(e,t):(S.d(1),(S=F(e))&&(S.c(),S.m(r,null)))},i:O,o:O,d(e){e&&me(r),n[33](null),C&&C.d(),S.d(),n[36](null),$=!1,j(x)}}}function cl(r,e,o){let t;ut(r,na,e=>o(20,t=e));let n,a,i,s,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:p=""}=e,{clientstylingurl:h=""}=e,{integratedgameframedesktop:g="false"}=e,{integratedgameframemobile:f="false"}=e,{showgamename:y=""}=e,{gamepagemodalurl:b="true"}=e,{translationurl:v=""}=e,{showfavorites:w=""}=e,{cancelbutton:$="true"}=e,{notfoundicon:x="false"}=e,C=window.navigator.userAgent,k=[],F=[],S={},M="",L=!0,E=!1,G=!1,_=!1,T=[];Object.keys(qs).forEach(e=>{Vs(e,qs[e])});const I=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===(F=(F=localStorage.getItem("searchedGamesWds_casino"))?F.split(","):[]).indexOf(t))&&(F.unshift(t),n=F.join(","),localStorage.setItem("searchedGamesWds_casino",n))}"UserSessionID"==e.data.type&&(o(18,i=e.data.session),o(19,s=e.data.userid),o(31,_=!0)),"CategoryChange"==e.data.type&&R()},D=()=>{if(o(12,L=!1),o(16,E=!0),l&&c&&m&&M.length<2){o(14,k=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],r=0,a=(t=e?e.split(","):t).length;if(0<a){for(r=0;r<a;r++){var i=new URL(l+"/v1/casino/games/"+t[r]);i.searchParams.append("language",m),i.searchParams.append("datasource",c),i.searchParams.append("platform",dt(C)),n.push(((e,r)=>new Promise((t,n)=>{o(17,G=!0),r&&Object.keys(S).indexOf(r)>=0?(o(17,G=!1),t(S[r])):fetch(e).then(e=>e.json()).then(e=>{o(17,G=!1),e.error||(S[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{o(17,G=!1),console.error(e),n(e)})}))(i,t[r]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),o(14,k=e.map(e=>(e.isFavorite=A(e.id),e))),k.length?P("searchSuccess","SearchWidget"):P("searchFail","SearchWidget")}).catch(e=>{P("searchError","SearchWidget")})}}N(E),P("searchAttempt","SearchWidget"),P("SearchInitialized","SearchWidget")},P=(e,t)=>{"function"==typeof gtag&>ag("event",e,{context:t})},A=t=>-1!==T.findIndex(e=>e==t),R=()=>{o(11,M=""),o(12,L=!0),o(17,G=!1),o(14,k=[]),o(16,E=!1),N(E)},B=()=>{o(11,M=""),n.focus()},N=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)};return ot(()=>(window.addEventListener("message",I,!1),()=>{window.removeEventListener("message",I)})),r.$$set=e=>{"endpoint"in e&&o(0,l=e.endpoint),"datasource"in e&&o(27,c=e.datasource),"session"in e&&o(28,d=e.session),"userid"in e&&o(29,u=e.userid),"lang"in e&&o(1,m=e.lang),"clientstyling"in e&&o(2,p=e.clientstyling),"clientstylingurl"in e&&o(3,h=e.clientstylingurl),"integratedgameframedesktop"in e&&o(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(5,f=e.integratedgameframemobile),"showgamename"in e&&o(6,y=e.showgamename),"gamepagemodalurl"in e&&o(7,b=e.gamepagemodalurl),"translationurl"in e&&o(30,v=e.translationurl),"showfavorites"in e&&o(8,w=e.showfavorites),"cancelbutton"in e&&o(9,$=e.cancelbutton),"notfoundicon"in e&&o(10,x=e.notfoundicon)},r.$$.update=()=>{if(134223875&r.$$.dirty[0])if(2<=M.length){const r=new URL(l+"/v1/casino/games");r.searchParams.append("datasource",c),r.searchParams.append("expand","vendor"),r.searchParams.append("platform",dt(C)),r.searchParams.append("language",m),r.searchParams.append("pagination","offset=0,limit=30"),r.searchParams.append("filter","name="+M),e=r,new Promise((t,n)=>{o(17,G=!0),fetch(e.href).then(e=>e.json()).then(e=>{o(17,G=!1),t(e)}).catch(e=>{o(17,G=!1),console.error(e),n(e)})}).then(e=>{o(14,k=e.items.map(e=>(e.isFavorite=A(e.id),e)))})}else L||D();var e,t,n;if(2&r.$$.dirty[0]&&m&&(n=m,lt.set(n)),1073741824&r.$$.dirty[0]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Vs(e,t[e])})}).catch(e=>{console.log(e)}),805306368&r.$$.dirty[0]&&d&&u&&(o(31,_=!0),o(18,i=d),o(19,s=u)),256&r.$$.dirty[0]|1&r.$$.dirty[1]&&w&&_&&(n=new URL(`${l}/v1/player/${s}/favorites/`),o(17,G=!0),t={method:"GET",headers:{"X-SessionID":i}},fetch(n.href,t).then(e=>e.json()).then(e=>{o(17,G=!1),T=e.items.map(e=>e.id)})),8196&r.$$.dirty[0]&&p&&a&&((t=document.createElement("style")).innerHTML=p,a.appendChild(t)),8200&r.$$.dirty[0]&&h&&a){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}},[l,m,p,h,g,f,y,b,w,$,x,M,L,a,k,n,E,G,i,s,t,C,D,()=>{"true"!=$&&R()},r=>{if(0===(null==r?void 0:r.length))return"";let a,i,o=99999999999;const s=new Date(Date.now());return r.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ra(e).diff(s)<o&&(o=Ra(e).diff(s),i=t),Ra(s).isAfter(n)&&Ra(s).isBefore(e)&&(a=r[i].name)}),a},R,B,c,d,u,v,_,function(){M=this.value,o(11,M)},function(e){st[e?"unshift":"push"](()=>{n=e,o(15,n)})},()=>B(),()=>R(),function(e){st[e?"unshift":"push"](()=>{a=e,o(13,a)})}]}function dl(e,t,n){e=e.slice();return e[27]=t[n],e[28]=t,e[29]=n,e}function ul(e,t,n){e=e.slice();return e[30]=t[n],e[29]=n,e}function ml(n){let a,r,i,o,s,l,e,c,d,u=n[3],m=[];for(let e=0;e<u.length;e+=1)m[e]=vl(dl(n,u,e));return{c(){a=pe("div"),(r=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>',i=ge(),o=pe("div"),s=he(n[1]),l=ge();for(let e=0;e<m.length;e+=1)m[e].c();fe(r,"class","ModalCloseBtn"),fe(r,"role","button"),fe(o,"class","CasinoCalendarDailyDay"),fe(a,"class",e="CasinoCalendarDailyDetailsBackground "+(n[6]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),de(a,o),de(o,s),de(a,l);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(a,null);c||(d=U(r,"click",n[7]),c=!0)},p(t,n){if(2&n[0]&&ye(s,t[1]),793&n[0]){let e;for(u=t[3],e=0;e<u.length;e+=1){var r=dl(t,u,e);m[e]?m[e].p(r,n):(m[e]=vl(r),m[e].c(),m[e].m(a,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}64&n[0]&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),H(m,e),c=!1,d()}}}function pl(e){let n;return{c(){(n=pe("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function hl(e){let n,r;return{c(){n=z("svg"),fe(r=z("path"),"stroke-linecap","round"),fe(r,"stroke-linejoin","round"),fe(r,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,r)},d(e){e&&me(n)}}}function gl(e){let n,r;return{c(){n=z("svg"),fe(r=z("path"),"stroke-linecap","round"),fe(r,"stroke-linejoin","round"),fe(r,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,r)},d(e){e&&me(n)}}}function fl(t){let r,n,a,i=t[27].details,o=[];for(let e=0;e<i.length;e+=1)o[e]=yl(ul(t,i,e));let s=t[27].detailsExpanded&&bl(t);return{c(){r=pe("div");for(let e=0;e<o.length;e+=1)o[e].c();n=ge(),s&&s.c(),a=c(),fe(r,"class","DetailsTabsTitles")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null);ue(e,n,t),s&&s.m(e,t),ue(e,a,t)},p(t,n){if(536&n[0]){let e;for(i=t[27].details,e=0;e<i.length;e+=1){const s=ul(t,i,e);o[e]?o[e].p(s,n):(o[e]=yl(s),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}t[27].detailsExpanded?s?s.p(t,n):((s=bl(t)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){e&&me(r),H(o,e),e&&me(n),s&&s.d(e),e&&me(a)}}}function yl(n){let r,a,i,o,s,l,c,d,u=n[30].title+"";function m(){return n[19](n[27],n[29])}return{c(){r=pe("div"),a=pe("div"),i=pe("button"),s=ge(),fe(i,"class",o="HeaderButton "+(n[30].expandedTab?"Active":"")),fe(a,"class","Header"),fe(r,"class",l=n[29]==n[4]?"SelectedTab":""),fe(r,"id","CollapseMoreInfoButton"),M(r,"height",n[27].expandedInfo?"100%":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),i.innerHTML=u,de(r,s),c||(d=U(i,"click",m),c=!0)},p(e,t){n=e,8&t[0]&&u!==(u=n[30].title+"")&&(i.innerHTML=u),8&t[0]&&o!==(o="HeaderButton "+(n[30].expandedTab?"Active":""))&&fe(i,"class",o),16&t[0]&&l!==(l=n[29]==n[4]?"SelectedTab":"")&&fe(r,"class",l),8&t[0]&&M(r,"height",n[27].expandedInfo?"100%":"")},d(e){e&&me(r),c=!1,d()}}}function bl(e){let n,r,a=e[27].details[e[4]].description+"";return{c(){fe(n=pe("div"),"class",r="DetailTabsDescription "+(e[27].details[e[4]].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),n.innerHTML=a},p(e,t){24&t[0]&&a!==(a=e[27].details[e[4]].description+"")&&(n.innerHTML=a),24&t[0]&&r!==(r="DetailTabsDescription "+(e[27].details[e[4]].expandedTab?"":"NotVisible"))&&fe(n,"class",r)},d(e){e&&me(n)}}}function vl(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$=n[27].title+"",x=n[27].description+"";function C(e){return 1==e[27].expandedInfo?gl:hl}let k=C(n),F=k(n);function S(){return n[18](n[27],n[28],n[29])}let M=1==n[27].expandedInfo&&fl(n);return{c(){r=pe("div"),a=pe("div"),i=ge(),o=pe("div"),s=pe("img"),d=ge(),u=pe("div"),m=ge(),p=pe("div"),h=pe("button"),g=new _(!1),f=ge(),F.c(),y=ge(),M&&M.c(),b=ge(),fe(a,"class","CasinoCalendarDailyTitle"),fe(s,"class","CasinoCalendarFitImage"),ce(s.src,l=n[27].image)||fe(s,"src",l),fe(s,"alt",c=n[27].image),fe(o,"class","CasinoCalendarImage"),fe(u,"class","CasinoCalendarDailyDescription"),g.a=f,fe(h,"class","MoreInfoButton"),fe(p,"class","CasinoCalendarTabs"),fe(r,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,r,t),de(r,a),a.innerHTML=$,de(r,i),de(r,o),de(o,s),de(r,d),de(r,u),u.innerHTML=x,de(r,m),de(r,p),de(p,h),g.m(n[0],h),de(h,f),F.m(h,null),de(p,y),M&&M.m(p,null),de(r,b),v||(w=U(h,"click",S),v=!0)},p(e,t){n=e,8&t[0]&&$!==($=n[27].title+"")&&(a.innerHTML=$),8&t[0]&&!ce(s.src,l=n[27].image)&&fe(s,"src",l),8&t[0]&&c!==(c=n[27].image)&&fe(s,"alt",c),8&t[0]&&x!==(x=n[27].description+"")&&(u.innerHTML=x),1&t[0]&&g.p(n[0]),k!==(k=C(n))&&(F.d(1),F=k(n))&&(F.c(),F.m(h,null)),1==n[27].expandedInfo?M?M.p(n,t):((M=fl(n)).c(),M.m(p,null)):M&&(M.d(1),M=null)},d(e){e&&me(r),F.d(),M&&M.d(),v=!1,w()}}}function wl(n){let r;function a(e){return e[5]?pl:ml}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[20](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[20](null)}}}function $l(t,e,r){let n,{dailybackground:a=""}=e,{dailybuttontitle:i=""}=e,{dailyday:o=""}=e,{dailydescription:s="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{translationUrl:p=""}=e,h=[],g=0,f=!0,y=!1,b=window.navigator.userAgent;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(Fr.set(w),lt.set(v))});const $=e=>{"DailyEventsData"==e.data.type&&(r(5,f=!1),r(3,h=e.data.data),h.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.details.forEach((e,t)=>{e.expandedTab=0==t})}))},x=e=>{r(4,g=0),r(3,h[e].detailsExpanded=!h[e].detailsExpanded,h),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},C=(e,t)=>{r(4,g=t),e.details.forEach((e,t)=>{e.expandedTab=g==t})};return ot(()=>(window.addEventListener("message",$,!1),ct(b)&&r(6,y=!0),()=>{window.removeEventListener("message",$)})),t.$$set=e=>{"dailybackground"in e&&r(10,a=e.dailybackground),"dailybuttontitle"in e&&r(0,i=e.dailybuttontitle),"dailyday"in e&&r(1,o=e.dailyday),"dailydescription"in e&&r(11,s=e.dailydescription),"dailyicon"in e&&r(12,l=e.dailyicon),"dailytitle"in e&&r(13,c=e.dailytitle),"lang"in e&&r(14,d=e.lang),"clientstyling"in e&&r(15,u=e.clientstyling),"clientstylingurl"in e&&r(16,m=e.clientstylingurl),"translationUrl"in e&&r(17,p=e.translationUrl)},t.$$.update=()=>{if(16384&t.$$.dirty[0]&&d&&(e=d,lt.set(e)),32772&t.$$.dirty[0]&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),65540&t.$$.dirty[0]&&m&&n){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[i,o,n,h,g,f,y,()=>{window.postMessage({type:"ModalClosed"},window.location.href),r(4,g=0),h.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t})},x,C,a,s,l,c,d,u,m,p,(e,t,n)=>{r(3,t[n].expandedInfo=!e.expandedInfo,h),x(n)},(e,t)=>{C(e,t)},function(e){st[e?"unshift":"push"](()=>{n=e,r(2,n)})}]}function xl(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C,k,F;return{c(){r=pe("div"),a=pe("div"),i=pe("div"),o=pe("div"),(s=pe("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=ge(),c=pe("div"),d=pe("div"),u=pe("img"),p=ge(),h=pe("div"),g=he(n[2]),f=ge(),y=pe("div"),b=ge(),v=pe("div"),w=pe("button"),$=he(n[3]),this.c=O,fe(s,"class","CalendarBar"),ce(u.src,m=n[1])||fe(u,"src",m),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(h,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(v,"class","CasinoCalendarDailyItemButton"),fe(c,"class",x="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),M(c,"background-image","url('"+n[0]+"')"),M(c,"background-size","cover"),M(c,"background-position","center"),M(c,"-webkit-background-size","cover"),M(c,"-moz-background-size","cover"),M(c,"-o-background-size","cover"),fe(o,"class","CalendarCard"),fe(i,"class","CasinoCalendarItems"),fe(a,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(o,l),de(o,c),de(c,d),de(d,u),de(c,p),de(c,h),de(h,g),de(c,f),de(c,y),n[14](y),de(c,b),de(c,v),de(v,w),de(w,$),n[16](r),k||(F=U(w,"click",n[15]),k=!0)},p(e,[t]){2&t&&!ce(u.src,m=e[1])&&fe(u,"src",m),2&t&&fe(u,"alt",e[1]),4&t&&ye(g,e[2]),8&t&&ye($,e[3]),16&t&&x!==(x="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",x),1&t&&M(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(a,"class",C)},i:O,o:O,d(e){e&&me(r),n[14](null),n[16](null),k=!1,F()}}}function Cl(t,e,n){let r,a,{cmsendpoint:i=""}=e,{lang:o=""}=e,{dailybackground:s=""}=e,{dailyicon:l=""}=e,{dailyday:c=""}=e,{dailydescription:d="<p></p>"}=e,{dailybuttontitle:u=""}=e,{index:m="0"}=e,{clientstyling:p=""}=e,{clientstylingurl:h=""}=e;var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(Fr.set(f),lt.set(g))});let y=!1,b=window.navigator.userAgent;const v=()=>{window.postMessage({type:"OpenCalendar",index:m},window.location.href),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};return ot(()=>{ct(b)&&n(7,y=!0)}),t.$$set=e=>{"cmsendpoint"in e&&n(9,i=e.cmsendpoint),"lang"in e&&n(10,o=e.lang),"dailybackground"in e&&n(0,s=e.dailybackground),"dailyicon"in e&&n(1,l=e.dailyicon),"dailyday"in e&&n(2,c=e.dailyday),"dailydescription"in e&&n(11,d=e.dailydescription),"dailybuttontitle"in e&&n(3,u=e.dailybuttontitle),"index"in e&&n(4,m=e.index),"clientstyling"in e&&n(12,p=e.clientstyling),"clientstylingurl"in e&&n(13,h=e.clientstylingurl)},t.$$.update=()=>{if(2063&t.$$.dirty&&l&&c&&d&&u&&s&&((e=document.createElement("div")).innerHTML=d,r)&&r.append(e),4128&t.$$.dirty&&p&&a&&((e=document.createElement("style")).innerHTML=p,a.appendChild(e)),8224&t.$$.dirty&&h&&a){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[s,l,c,u,m,a,r,y,v,i,o,d,p,h,function(e){st[e?"unshift":"push"](()=>{r=e,n(6,r)})},()=>v(),function(e){st[e?"unshift":"push"](()=>{a=e,n(5,a)})}]}function kl(e,t,n){e=e.slice();return e[21]=t[n],e[23]=n,e}function Fl(t){let r,a,e,i=t[4],o=[];for(let e=0;e<i.length;e+=1)o[e]=Ll(kl(t,i,e));let s=1==t[9]&&El(t);return{c(){r=pe("div");for(let e=0;e<o.length;e+=1)o[e].c();a=ge(),s&&s.c(),fe(r,"class",e="CasinoCalendarItem "+(t[8]?"Mobile":""))},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null);de(r,a),s&&s.m(r,null)},p(t,n){if(23&n){let e;for(i=t[4],e=0;e<i.length;e+=1){const s=kl(t,i,e);o[e]?o[e].p(s,n):(o[e]=Ll(s),o[e].c(),o[e].m(r,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}1==t[9]?s?s.p(t,n):((s=El(t)).c(),s.m(r,null)):s&&(s.d(1),s=null),256&n&&e!==(e="CasinoCalendarItem "+(t[8]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),H(o,e),s&&s.d()}}}function Sl(e){let n;return{c(){fe(n=pe("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Ml(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){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Ll(e){let n,r,a,i,o,s;return{c(){S(n=pe("casino-calendar-daily-item"),"dailybackground",r=e[21].dailyBackground),S(n,"dailyicon",a=e[21].dailyIcon),S(n,"dailyday",i=e[21].dailyDay),S(n,"dailydescription",o=e[21].dailyDescription),S(n,"dailybuttontitle",s=e[21].dailyButtonTitle),S(n,"index",e[23]),S(n,"lang",e[0]),S(n,"clientstyling",e[1]),S(n,"clientstylingurl",e[2])},m(e,t){ue(e,n,t)},p(e,t){16&t&&r!==(r=e[21].dailyBackground)&&S(n,"dailybackground",r),16&t&&a!==(a=e[21].dailyIcon)&&S(n,"dailyicon",a),16&t&&i!==(i=e[21].dailyDay)&&S(n,"dailyday",i),16&t&&o!==(o=e[21].dailyDescription)&&S(n,"dailydescription",o),16&t&&s!==(s=e[21].dailyButtonTitle)&&S(n,"dailybuttontitle",s),1&t&&S(n,"lang",e[0]),2&t&&S(n,"clientstyling",e[1]),4&t&&S(n,"clientstylingurl",e[2])},d(e){e&&me(n)}}}function El(e){let n,r,a,i,o,s,l,c;return{c(){n=pe("div"),S(r=pe("casino-calendar-daily-details"),"dailybackground",a=e[4][e[5]].dailyBackground),S(r,"dailybuttontitle",i=e[4][e[5]].dailyButtonTitle),S(r,"dailyday",o=e[4][e[5]].dailyDay),S(r,"dailydescription",s=e[4][e[5]].dailyDescription),S(r,"dailyicon",l=e[4][e[5]].dailyIcon),S(r,"dailytitle",c=e[4][e[5]].dailyTitle),S(r,"lang",e[0]),S(r,"clientstyling",e[1]),S(r,"clientstylingurl",e[2]),fe(n,"class","CalendarDetailsWrapper")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){48&t&&a!==(a=e[4][e[5]].dailyBackground)&&S(r,"dailybackground",a),48&t&&i!==(i=e[4][e[5]].dailyButtonTitle)&&S(r,"dailybuttontitle",i),48&t&&o!==(o=e[4][e[5]].dailyDay)&&S(r,"dailyday",o),48&t&&s!==(s=e[4][e[5]].dailyDescription)&&S(r,"dailydescription",s),48&t&&l!==(l=e[4][e[5]].dailyIcon)&&S(r,"dailyicon",l),48&t&&c!==(c=e[4][e[5]].dailyTitle)&&S(r,"dailytitle",c),1&t&&S(r,"lang",e[0]),2&t&&S(r,"clientstyling",e[1]),4&t&&S(r,"clientstylingurl",e[2])},d(e){e&&me(n)}}}function Gl(n){let r;function a(e){return e[7]?Ml:e[6]?Sl:e[4]?.length?Fl:void 0}let i=a(n),o=i&&i(n);return{c(){r=pe("div"),o&&o.c(),this.c=O},m(e,t){ue(e,r,t),o&&o.m(r,null),n[13](r)},p(e,[t]){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o&&o.d(),n[13](null)}}}function _l(n,e,r){let a,i,{cmsendpoint:o=""}=e,{env:s=""}=e,{userroles:l=""}=e,{lang:c="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,m=0,p=!0,h=!1,t=!1,g=window.navigator.userAgent,f=!1;const y=e=>{var t;e.data&&"OpenCalendar"==e.data.type&&(r(5,m=e.data.index),r(9,f=!0),window.postMessage({type:"ShowModal",selectedIndex:m,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:null==(t=i[m])?void 0:t.dailyEvents})),e.data&&"ModalClosed"==e.data.type&&r(9,f=!1)};return ot(()=>(window.addEventListener("message",y,!1),ct(g)&&r(8,t=!0),()=>{window.removeEventListener("message",y)})),n.$$set=e=>{"cmsendpoint"in e&&r(10,o=e.cmsendpoint),"env"in e&&r(11,s=e.env),"userroles"in e&&r(12,l=e.userroles),"lang"in e&&r(0,c=e.lang),"clientstyling"in e&&r(1,d=e.clientstyling),"clientstylingurl"in e&&r(2,u=e.clientstylingurl)},n.$$.update=()=>{if(7169&n.$$.dirty&&o&&c&&s&&l&&(r(6,p=!0),(e=new URL(`${o}/${c}/daily-calendar?env=${s}/`)).searchParams.append("userRoles",l),(t=dt(g))&&("PC"===t?e.searchParams.append("device","dk"):"iPad"===t||"iPhone"===t?e.searchParams.append("device","ios"):e.searchParams.append("device","mtWeb")),fetch(e.href).then(e=>e.json()).then(e=>{r(4,i=e)}).catch(e=>{console.log(e),r(7,h=!0)}).finally(()=>{r(6,p=!1)})),10&n.$$.dirty&&d&&a&&((t=document.createElement("style")).innerHTML=d,a.appendChild(t)),12&n.$$.dirty&&u&&a){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e,t},[c,d,u,a,i,m,p,h,t,f,o,s,l,function(e){st[e?"unshift":"push"](()=>{a=e,r(3,a)})}]}function Tl(e,t,n){e=e.slice();return e[135]=t[n],e[137]=n,e}function Il(e){let n,r,a,i,o,s,l="true"==e[21]&&0==Ql&&!e[77]&&Rl(e),c=!e[76]&&!e[75]&&"false"==e[52]&&Dl(e);function d(e){return e[71]?Nl:e[77]?void 0:Bl}let u=d(e),m=u&&u(e),p=e[73]&&"true"==e[16]&&Kl(e);return{c(){n=pe("section"),r=pe("casino-search"),a=ge(),l&&l.c(),i=ge(),c&&c.c(),o=ge(),m&&m.c(),s=ge(),p&&p.c(),S(r,"endpoint",e[1]),S(r,"datasource",e[3]),S(r,"showgamename",e[19]),S(r,"lang",e[5]),S(r,"clientstyling",e[8]),S(r,"clientstylingurl",e[10]),S(r,"integratedgameframedesktop",e[30]),S(r,"integratedgameframemobile",e[31]),S(r,"translationurl",e[11]),S(r,"showfavorites",e[15]),fe(n,"class","CategoriesLobby")},m(e,t){ue(e,n,t),de(n,r),de(n,a),l&&l.m(n,null),de(n,i),c&&c.m(n,null),de(n,o),m&&m.m(n,null),de(n,s),p&&p.m(n,null)},p(e,t){2&t[0]&&S(r,"endpoint",e[1]),8&t[0]&&S(r,"datasource",e[3]),524288&t[0]&&S(r,"showgamename",e[19]),32&t[0]&&S(r,"lang",e[5]),256&t[0]&&S(r,"clientstyling",e[8]),1024&t[0]&&S(r,"clientstylingurl",e[10]),1073741824&t[0]&&S(r,"integratedgameframedesktop",e[30]),1&t[1]&&S(r,"integratedgameframemobile",e[31]),2048&t[0]&&S(r,"translationurl",e[11]),32768&t[0]&&S(r,"showfavorites",e[15]),"true"!=e[21]||0!=Ql||e[77]?l&&(l.d(1),l=null):l?l.p(e,t):((l=Rl(e)).c(),l.m(n,i)),e[76]||e[75]||"false"!=e[52]?c&&(c.d(1),c=null):c?c.p(e,t):((c=Dl(e)).c(),c.m(n,o)),u===(u=d(e))&&m?m.p(e,t):(m&&m.d(1),(m=u&&u(e))&&(m.c(),m.m(n,s))),e[73]&&"true"==e[16]?p?p.p(e,t):((p=Kl(e)).c(),p.m(n,null)):p&&(p.d(1),p=null)},d(e){e&&me(n),l&&l.d(),c&&c.d(),m&&m.d(),p&&p.d()}}}function Pl(e){let n,r,a=e[80]("500")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){262144&t[2]&&a!==(a=e[80]("500")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Rl(e){let n;return{c(){S(n=pe("casino-random-game"),"datasource",e[3]),S(n,"filteredrandomgamecategories",e[22]),S(n,"endpoint",e[1]),S(n,"lang",e[5]),S(n,"gameevent",e[70]),S(n,"randombuttonicon",e[66]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&S(n,"datasource",e[3]),4194304&t[0]&&S(n,"filteredrandomgamecategories",e[22]),2&t[0]&&S(n,"endpoint",e[1]),32&t[0]&&S(n,"lang",e[5]),256&t[2]&&S(n,"gameevent",e[70]),16&t[2]&&S(n,"randombuttonicon",e[66]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function Dl(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$=n[80]("filters")+"",x=n[79]&&Al(n);return{c(){r=pe("div"),x&&x.c(),a=ge(),i=pe("div"),o=pe("div"),s=he($),l=ge(),c=pe("div"),d=z("svg"),u=z("defs"),m=z("style"),p=he(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=z("path"),g=ge(),f=pe("div"),y=pe("span"),b=he(n[79]),fe(o,"class","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(d,"xmlns","http://www.w3.org/2000/svg"),fe(d,"width","20"),fe(d,"height","20"),fe(d,"viewBox","0 0 26 26"),fe(y,"class","NumberOfFilters"),fe(f,"class","NumberOfFiltersContainer"),fe(c,"class","FilterIconContainer"),fe(i,"class","FilterButtonWrapper"),fe(r,"class","FiltersButtonsContainer")},m(e,t){ue(e,r,t),x&&x.m(r,null),de(r,a),de(r,i),de(i,o),de(o,s),de(i,l),de(i,c),de(c,d),de(d,u),de(u,m),de(m,p),de(d,h),de(c,g),de(c,f),de(f,y),de(y,b),v||(w=U(i,"click",n[89]),v=!0)},p(e,t){e[79]?x?x.p(e,t):((x=Al(e)).c(),x.m(r,a)):x&&(x.d(1),x=null),262144&t[2]&&$!==($=e[80]("filters")+"")&&ye(s,$),131072&t[2]&&ye(b,e[79])},d(e){e&&me(r),x&&x.d(),v=!1,w()}}}function Al(n){let r,a,i,o,s,l,c,d=n[80]("clear")+"";return{c(){r=pe("div"),a=pe("div"),i=he(d),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(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),l||(c=U(r,"click",n[88]),l=!0)},p(e,t){262144&t[2]&&d!==(d=e[80]("clear")+"")&&ye(i,d)},d(e){e&&me(r),l=!1,c()}}}function Bl(e){let n;function r(e){return e[76]?Hl:e[75]?jl:Ol}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Nl(e){let n,r,a=e[80]("loading")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){262144&t[2]&&a!==(a=e[80]("loading")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ol(e){let n;return{c(){S(n=pe("casino-games-category-section"),"userid",e[7]),S(n,"endpoint",e[1]),S(n,"datasource",e[3]),S(n,"favorites",e[15]),S(n,"lang",e[5]),S(n,"currency",e[4]),S(n,"session",e[6]),S(n,"categoryid",e[68]),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[19]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10]),S(n,"livecasino",e[20]),S(n,"visiblegames",e[14]),S(n,"gamepagemodalurl",e[23]),S(n,"integratedgameframedesktop",e[30]),S(n,"integratedgameframemobile",e[31]),S(n,"casinomygames",e[0]),S(n,"filterbylogo",e[54]),S(n,"addfilterselector",e[52]),S(n,"addsortingselector",e[53]),S(n,"casinogamesgridslider",e[24])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&S(n,"userid",e[7]),2&t[0]&&S(n,"endpoint",e[1]),8&t[0]&&S(n,"datasource",e[3]),32768&t[0]&&S(n,"favorites",e[15]),32&t[0]&&S(n,"lang",e[5]),16&t[0]&&S(n,"currency",e[4]),64&t[0]&&S(n,"session",e[6]),64&t[2]&&S(n,"categoryid",e[68]),524288&t[0]&&S(n,"showgamename",e[19]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10]),1048576&t[0]&&S(n,"livecasino",e[20]),16384&t[0]&&S(n,"visiblegames",e[14]),8388608&t[0]&&S(n,"gamepagemodalurl",e[23]),1073741824&t[0]&&S(n,"integratedgameframedesktop",e[30]),1&t[1]&&S(n,"integratedgameframemobile",e[31]),1&t[0]&&S(n,"casinomygames",e[0]),8388608&t[1]&&S(n,"filterbylogo",e[54]),2097152&t[1]&&S(n,"addfilterselector",e[52]),4194304&t[1]&&S(n,"addsortingselector",e[53]),16777216&t[0]&&S(n,"casinogamesgridslider",e[24])},d(e){e&&me(n)}}}function jl(e){let n;return{c(){S(n=pe("casino-my-games"),"userid",e[7]),S(n,"session",e[6]),S(n,"endpoint",e[1]),S(n,"datasource",e[3]),S(n,"lang",e[5]),S(n,"currency",e[4]),S(n,"favorites",e[15]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10]),S(n,"livecasino",e[20]),S(n,"visiblegames",e[14]),S(n,"gamepagemodalurl",e[23]),S(n,"showgamename",e[19]),S(n,"integratedgameframedesktop",e[30]),S(n,"integratedgameframemobile",e[31]),S(n,"translationurl",e[11]),S(n,"mostplayed",e[56]),S(n,"lastplayed",e[57]),S(n,"filteredcategories",e[17]),S(n,"activecategory",e[18]),S(n,"lastplayedunique",e[62]),S(n,"categoryindex","0"),S(n,"categoryid","MYGAMES"),S(n,"casinomygames",e[0]),S(n,"lastplayedperiod",e[58]),S(n,"mostplayedperiod",e[59]),S(n,"lastplayedorder",e[60]),S(n,"lastplayedlimit",e[61]),S(n,"mostplayedrounds",e[63])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&S(n,"userid",e[7]),64&t[0]&&S(n,"session",e[6]),2&t[0]&&S(n,"endpoint",e[1]),8&t[0]&&S(n,"datasource",e[3]),32&t[0]&&S(n,"lang",e[5]),16&t[0]&&S(n,"currency",e[4]),32768&t[0]&&S(n,"favorites",e[15]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10]),1048576&t[0]&&S(n,"livecasino",e[20]),16384&t[0]&&S(n,"visiblegames",e[14]),8388608&t[0]&&S(n,"gamepagemodalurl",e[23]),524288&t[0]&&S(n,"showgamename",e[19]),1073741824&t[0]&&S(n,"integratedgameframedesktop",e[30]),1&t[1]&&S(n,"integratedgameframemobile",e[31]),2048&t[0]&&S(n,"translationurl",e[11]),33554432&t[1]&&S(n,"mostplayed",e[56]),67108864&t[1]&&S(n,"lastplayed",e[57]),131072&t[0]&&S(n,"filteredcategories",e[17]),262144&t[0]&&S(n,"activecategory",e[18]),1&t[2]&&S(n,"lastplayedunique",e[62]),1&t[0]&&S(n,"casinomygames",e[0]),134217728&t[1]&&S(n,"lastplayedperiod",e[58]),268435456&t[1]&&S(n,"mostplayedperiod",e[59]),536870912&t[1]&&S(n,"lastplayedorder",e[60]),1073741824&t[1]&&S(n,"lastplayedlimit",e[61]),2&t[2]&&S(n,"mostplayedrounds",e[63])},d(e){e&&me(n)}}}function Hl(t){let a,i=t[78],o=[];for(let e=0;e<i.length;e+=1)o[e]=Jl(Tl(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(2140731391&n[0]|33554431&n[1]|589836&n[2]){let e;for(i=t[78],e=0;e<i.length;e+=1){var r=Tl(t,i,e);o[e]?o[e].p(r,n):(o[e]=Jl(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){H(o,e),e&&me(a)}}}function zl(e){let n,r;return{c(){n=pe("div"),S(r=pe("casino-winners"),"session",e[6]),S(r,"userid",e[7]),S(r,"periodrecent",e[32]),S(r,"periodtop",e[33]),S(r,"numberusersrecent",e[34]),S(r,"numberuserstop",e[35]),S(r,"amountlimit",e[36]),S(r,"isrecentavailable",e[29]),S(r,"istopavailable",e[28]),S(r,"defaultcurrency",e[37]),S(r,"usercurrency",e[4]),S(r,"enableautoscroll",e[27]),S(r,"tabsorder",e[26]),S(r,"lang",e[5]),S(r,"clientstyling",e[8]),S(r,"clientstylingurl",e[10]),S(r,"endpoint",e[1]),S(r,"winnersdatasources",e[64]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){64&t[0]&&S(r,"session",e[6]),128&t[0]&&S(r,"userid",e[7]),2&t[1]&&S(r,"periodrecent",e[32]),4&t[1]&&S(r,"periodtop",e[33]),8&t[1]&&S(r,"numberusersrecent",e[34]),16&t[1]&&S(r,"numberuserstop",e[35]),32&t[1]&&S(r,"amountlimit",e[36]),536870912&t[0]&&S(r,"isrecentavailable",e[29]),268435456&t[0]&&S(r,"istopavailable",e[28]),64&t[1]&&S(r,"defaultcurrency",e[37]),16&t[0]&&S(r,"usercurrency",e[4]),134217728&t[0]&&S(r,"enableautoscroll",e[27]),67108864&t[0]&&S(r,"tabsorder",e[26]),32&t[0]&&S(r,"lang",e[5]),256&t[0]&&S(r,"clientstyling",e[8]),1024&t[0]&&S(r,"clientstylingurl",e[10]),2&t[0]&&S(r,"endpoint",e[1]),4&t[2]&&S(r,"winnersdatasources",e[64])},d(e){e&&me(n)}}}function Ul(e){let n,r,a;return{c(){n=pe("br"),r=ge(),S(a=pe("casino-calendar"),"userroles",e[9]),S(a,"cmsendpoint",e[12]),S(a,"env",e[2]),S(a,"lang",e[5]),S(a,"clientstyling",e[8]),S(a,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){512&t[0]&&S(a,"userroles",e[9]),4096&t[0]&&S(a,"cmsendpoint",e[12]),4&t[0]&&S(a,"env",e[2]),32&t[0]&&S(a,"lang",e[5]),256&t[0]&&S(a,"clientstyling",e[8]),1024&t[0]&&S(a,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function Wl(e){let n,r,a;return{c(){n=pe("br"),r=ge(),fe(a=pe("slot"),"name","je-jackpots-widget"),fe(a,"class",ct(e[81])?"":"JackpotsContainer")},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p:O,d(e){e&&me(n),e&&me(r),e&&me(a)}}}function Yl(e){let n,r,a,i;return{c(){n=pe("br"),r=ge(),S(a=pe("casino-jackpot-banner"),"title","Jackpot Cards"),S(a,"currency",i=e[4]||"RON"),S(a,"gameid","999"),S(a,"endpoint",e[1]),S(a,"lang",e[5]),S(a,"backgroundsrc","/assets/background0.jpg"),S(a,"backgroundsrcmobile","/assets/background0.jpg"),S(a,"titlelogopath","/assets/jackpots_logo.svg"),S(a,"caticon0","/assets/icon0.svg"),S(a,"caticon1","/assets/icon1.svg"),S(a,"caticon2","/assets/icon2.svg"),S(a,"caticon3","/assets/icon3.svg"),S(a,"visualstructure","typeSpread"),S(a,"clientstyling",e[8]),S(a,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){16&t[0]&&i!==(i=e[4]||"RON")&&S(a,"currency",i),2&t[0]&&S(a,"endpoint",e[1]),32&t[0]&&S(a,"lang",e[5]),256&t[0]&&S(a,"clientstyling",e[8]),1024&t[0]&&S(a,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function Vl(e){let n,r,a,i;return{c(){n=pe("br"),r=ge(),S(a=pe("casino-jackpot-banner"),"title","Egypt Quest"),S(a,"currency",i=e[4]||"RON"),S(a,"gameid","998"),S(a,"endpoint",e[1]),S(a,"lang",e[5]),S(a,"backgroundsrc",e[43]),S(a,"backgroundsrcmobile",e[44]),S(a,"titlelogopath",e[45]),S(a,"caticon0",e[39]),S(a,"caticon1",e[40]),S(a,"caticon2",e[41]),S(a,"caticon3",e[42]),S(a,"iconlabels",e[46]),S(a,"visualstructure",e[47]),S(a,"clientstyling",e[8]),S(a,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){16&t[0]&&i!==(i=e[4]||"RON")&&S(a,"currency",i),2&t[0]&&S(a,"endpoint",e[1]),32&t[0]&&S(a,"lang",e[5]),4096&t[1]&&S(a,"backgroundsrc",e[43]),8192&t[1]&&S(a,"backgroundsrcmobile",e[44]),16384&t[1]&&S(a,"titlelogopath",e[45]),256&t[1]&&S(a,"caticon0",e[39]),512&t[1]&&S(a,"caticon1",e[40]),1024&t[1]&&S(a,"caticon2",e[41]),2048&t[1]&&S(a,"caticon3",e[42]),32768&t[1]&&S(a,"iconlabels",e[46]),65536&t[1]&&S(a,"visualstructure",e[47]),256&t[0]&&S(a,"clientstyling",e[8]),1024&t[0]&&S(a,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function ql(e){let n;return{c(){S(n=pe("casino-collections-providers"),"endpoint",e[1]),S(n,"datasource",e[3]),S(n,"lang",e[5]),S(n,"type","vendor"),S(n,"titletype","logo"),S(n,"collectionprovidersgamenames",e[51]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"endpoint",e[1]),8&t[0]&&S(n,"datasource",e[3]),32&t[0]&&S(n,"lang",e[5]),1048576&t[1]&&S(n,"collectionprovidersgamenames",e[51]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function Zl(e){let n;return{c(){S(n=pe("casino-collections-providers"),"endpoint",e[1]),S(n,"datasource",e[3]),S(n,"lang",e[5]),S(n,"type",e[49]),S(n,"collectionprovidersgamenames",e[51]),S(n,"titletype",e[50]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"endpoint",e[1]),8&t[0]&&S(n,"datasource",e[3]),32&t[0]&&S(n,"lang",e[5]),262144&t[1]&&S(n,"type",e[49]),1048576&t[1]&&S(n,"collectionprovidersgamenames",e[51]),524288&t[1]&&S(n,"titletype",e[50]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function Jl(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y=n[25]&&n[137]==+n[25]&&zl(n),b=n[55]&&n[137]==+n[55]&&Ul(n),v=n[65]&&n[137]==+n[65]&&Wl(n);function w(e,t){return 128&t[1]|65536&t[2]&&(o=null),128&t[1]|65536&t[2]&&(s=null),(o=null==o?!(!e[38]||e[137]!=(""==e[38].split(",")[0]?e[78].length:+e[38].split(",")[0])):o)?Vl:(s=null==s?!(!e[38]||e[137]!=(""==e[38].split(",")[1]?e[78].length:+e[38].split(",")[1])):s)?Yl:void 0}let $=w(n,[-1,-1,-1,-1,-1]),x=$&&$(n);function C(e,t){return 131072&t[1]|65536&t[2]&&(c=null),131072&t[1]|65536&t[2]&&(d=null),(c=null==c?!(!e[48]||e[137]!=(""==e[48].split(",")[0]?e[78].length:+e[48].split(",")[0])):c)?Zl:(d=null==d?!(!e[48]||e[137]!=(""==e[48].split(",")[1]?e[78].length:+e[48].split(",")[1])):d)?ql:void 0}let k=C(n,[-1,-1,-1,-1,-1]),F=k&&k(n);return{c(){y&&y.c(),r=ge(),b&&b.c(),a=ge(),v&&v.c(),i=ge(),x&&x.c(),l=ge(),F&&F.c(),u=ge(),S(m=pe("casino-games-category-section"),"session",n[6]),S(m,"userid",n[7]),S(m,"endpoint",n[1]),S(m,"datasource",n[3]),S(m,"lang",n[5]),S(m,"currency",n[4]),S(m,"categoryid",p=n[135]),S(m,"categoryindex",n[137]),S(m,"categorygames","9"),S(m,"favorites",n[15]),S(m,"showgamename",n[19]),S(m,"class","CategoryContainer"),M(m,"background-color",n[137]%2!=0?n[13]:"transparent"),S(m,"clientstyling",n[8]),S(m,"clientstylingurl",n[10]),S(m,"livecasino",n[20]),S(m,"visiblegames",n[14]),S(m,"gamepagemodalurl",n[23]),S(m,"integratedgameframedesktop",n[30]),S(m,"integratedgameframemobile",n[31]),S(m,"casinomygames",n[0]),S(m,"filterbylogo",n[54]),S(m,"addfilterselector",n[52]),S(m,"addsortingselector",n[53]),S(m,"casinogamesgridslider",n[24])},m(e,t){y&&y.m(e,t),ue(e,r,t),b&&b.m(e,t),ue(e,a,t),v&&v.m(e,t),ue(e,i,t),x&&x.m(e,t),ue(e,l,t),F&&F.m(e,t),ue(e,u,t),ue(e,m,t),g||(f=E(h=n[84].call(null,m,n[135])),g=!0)},p(e,t){(n=e)[25]&&n[137]==+n[25]?y?y.p(n,t):((y=zl(n)).c(),y.m(r.parentNode,r)):y&&(y.d(1),y=null),n[55]&&n[137]==+n[55]?b?b.p(n,t):((b=Ul(n)).c(),b.m(a.parentNode,a)):b&&(b.d(1),b=null),n[65]&&n[137]==+n[65]?v?v.p(n,t):((v=Wl(n)).c(),v.m(i.parentNode,i)):v&&(v.d(1),v=null),$===($=w(n,t))&&x?x.p(n,t):(x&&x.d(1),(x=$&&$(n))&&(x.c(),x.m(l.parentNode,l))),k===(k=C(n,t))&&F?F.p(n,t):(F&&F.d(1),(F=k&&k(n))&&(F.c(),F.m(u.parentNode,u))),64&t[0]&&S(m,"session",n[6]),128&t[0]&&S(m,"userid",n[7]),2&t[0]&&S(m,"endpoint",n[1]),8&t[0]&&S(m,"datasource",n[3]),32&t[0]&&S(m,"lang",n[5]),16&t[0]&&S(m,"currency",n[4]),65536&t[2]&&p!==(p=n[135])&&S(m,"categoryid",p),32768&t[0]&&S(m,"favorites",n[15]),524288&t[0]&&S(m,"showgamename",n[19]),8192&t[0]&&M(m,"background-color",n[137]%2!=0?n[13]:"transparent"),256&t[0]&&S(m,"clientstyling",n[8]),1024&t[0]&&S(m,"clientstylingurl",n[10]),1048576&t[0]&&S(m,"livecasino",n[20]),16384&t[0]&&S(m,"visiblegames",n[14]),8388608&t[0]&&S(m,"gamepagemodalurl",n[23]),1073741824&t[0]&&S(m,"integratedgameframedesktop",n[30]),1&t[1]&&S(m,"integratedgameframemobile",n[31]),1&t[0]&&S(m,"casinomygames",n[0]),8388608&t[1]&&S(m,"filterbylogo",n[54]),2097152&t[1]&&S(m,"addfilterselector",n[52]),4194304&t[1]&&S(m,"addsortingselector",n[53]),16777216&t[0]&&S(m,"casinogamesgridslider",n[24]),h&&L(h.update)&&65536&t[2]&&h.update.call(null,n[135])},d(e){y&&y.d(e),e&&me(r),b&&b.d(e),e&&me(a),v&&v.d(e),e&&me(i),x&&x.d(e),e&&me(l),F&&F.d(e),e&&me(u),e&&me(m),g=!1,f()}}}function Kl(n){let r,a,i,o=n[80]("breakButton")+"";return{c(){r=pe("div"),a=pe("button"),i=he(o),fe(a,"class","PanicButton "+("PC"!==dt(n[81])?"PanicButtonMobile ":"")),W(a,"PanicButtonAnimation",n[74]),fe(r,"class","PanicSection "+("PC"!==dt(n[81])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[90](a)},p(e,t){262144&t[2]&&o!==(o=e[80]("breakButton")+"")&&ye(i,o),4096&t[2]&&W(a,"PanicButtonAnimation",e[74])},d(e){e&&me(r),n[90](null)}}}function Xl(n){let r;function a(e){return e[72]?Pl:Il}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[91](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[91](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;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}@media screen and (max-width: 480px){.SearchResultsContainer{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}}@media screen and (max-width: 385px){.SearchResultsContainer{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}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},cl,ll,n,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),m()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),m()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),m()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),m()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),m()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6));overflow-wrap:break-word}.ModalCloseBtn{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emfe-w-color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},$l,wl,n,{dailybackground:10,dailybuttontitle:0,dailyday:1,dailydescription:11,dailyicon:12,dailytitle:13,lang:14,clientstyling:15,clientstylingurl:16,translationUrl:17},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[10]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailyicon(){return this.$$.ctx[12]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailytitle(){return this.$$.ctx[13]}set dailytitle(e){this.$$set({dailytitle:e}),m()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationUrl(){return this.$$.ctx[17]}set translationUrl(e){this.$$set({translationUrl:e}),m()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emfe-w-color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 16px;text-align:center;border-radius:0 0 2px 2px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:8px 6px;border-radius:5px;border:none;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Cl,xl,n,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),m()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),m()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow:auto}.Mobile{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:var(--emfe-w-color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto\n }.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},_l,Gl,n,{cmsendpoint:10,env:11,userroles:12,lang:0,clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","env","userroles","lang","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get env(){return this.$$.ctx[11]}set env(e){this.$$set({env:e}),m()}get userroles(){return this.$$.ctx[12]}set userroles(e){this.$$set({userroles:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}});let Ql=!1;function ec(n,e,l){let D;ut(n,na,e=>l(80,D=e));let A,{endpoint:c=""}=e,{env:B=""}=e,{datasource:a=""}=e,{currency:N=""}=e,{lang:i=""}=e,{session:o=""}=e,{userid:s=""}=e,{clientstyling:d=""}=e,{userroles:O=""}=e,{clientstylingurl:u=""}=e,{translationurl:m=""}=e,{cmsendpoint:j=""}=e,{categorybackground:H=""}=e,r=e["visiblegames"],{favorites:p=""}=e,{lobbyid:z="casinodefault"}=e,{haspanicbutton:U="false"}=e,{filteredcategories:h=""}=e,{activecategory:g=""}=e,{showgamename:W=""}=e,{livecasino:Y="false"}=e,{playrandomgame:V="false"}=e,{filteredrandomgamecategories:q=""}=e,{gamepagemodalurl:Z="false"}=e,{casinogamesgridslider:J="false"}=e,{positionwinnerswidget:K=""}=e,{tabsorder:X=""}=e,{enableautoscroll:Q=""}=e,{istopavailable:ee=""}=e,{isrecentavailable:te=""}=e,{integratedgameframedesktop:ne="false"}=e,{integratedgameframemobile:re="false"}=e,{periodrecent:ae=""}=e,{periodtop:ie=""}=e,{numberusersrecent:oe=""}=e,{numberuserstop:se=""}=e,{amountlimit:le=""}=e,{defaultcurrency:ce=""}=e,{showsubgroups:de=""}=e,{positionjackpotbanners:ue=""}=e,{caticon0:me=""}=e,{caticon1:pe=""}=e,{caticon2:he=""}=e,{caticon3:ge=""}=e,{backgroundsrc:fe=""}=e,{backgroundsrcmobile:ye=""}=e,{titlelogopath:be=""}=e,{iconlabels:ve=""}=e,{visualstructure:we=""}=e,{positioncollections:$e=""}=e,{type:xe=""}=e,{titletype:Ce=""}=e,{collectionprovidersgamenames:ke=""}=e,{addfilterselector:Fe="false"}=e,{addsortingselector:Se="false"}=e,{filterbylogo:Me=""}=e,{positioncasinocalendar:Le=""}=e,{casinomygames:f="false"}=e,{mostplayed:Ee=""}=e,{lastplayed:Ge=""}=e,{lastplayedperiod:_e="Last30Days"}=e,{mostplayedperiod:Te="Last30Days"}=e,{lastplayedorder:Ie=""}=e,{lastplayedlimit:Pe=""}=e,{lastplayedunique:Re="true"}=e,{mostplayedrounds:De=""}=e,{winnersdatasources:Ae=""}=e,{positionjelobbywidget:Be=""}=e,{randombuttonicon:Ne=""}=e,Oe=window.navigator.userAgent;A=ct(Oe)?"OpenGameFrame":"ShowGameModal";let y,b,v,je,w,He,ze,Ue,$,x,C=!1,k=!1,We=!1,F="",t=!1,S=0,M=!1,L=!0,Ye=!1,Ve=[],E=[],qe=!1,G=[],Ze=0,_="",Je=!1;var Ke,Xe;({withLocale:Ke,translations:Xe}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(Fr.set(Xe),lt.set(Ke))}),Object.keys(Ga).forEach(e=>{Ea(e,Ga[e])});const Qe=e=>{switch(qe=!0,l(0,f="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:qe},window.location.href)}),e.data.itemId){case"LOBBY":l(76,L=!0),l(75,M=!1),l(68,w="");break;case"MYGAMES":l(0,f="true"),l(76,L=!1),l(75,M=!0),l(68,w="");break;case"FAVORITES":l(76,L=!1),l(75,M=!0),l(68,w="");break;case"MOSTPLAYED":"true"==Ee&&(l(68,w=""),l(76,L=!1),l(75,M=!0));break;case"LASTPLAYED":"true"==Ge&&(l(68,w=""),l(76,L=!1),l(75,M=!0));break;default:l(76,L=!1),l(75,M=!1),l(68,w=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},2e3)}},et=n=>{if(n.data)switch(n.data.type){case"CategoryChange":Qe(n);break;case"UserSessionID":b=n.data.session,(y=n.data.userID)&&y.length&&b&&0<b.length&&T(c,b,y);break;case"SetUnfavoredGame":t=`${c}/v1/player/${y}/favorites`,o=b,y,s=n.data.id,G.includes(s)&&(G=G.filter(e=>e!=s)),fetch(t+"/"+s,{method:"DELETE",headers:{"X-SessionID":o}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+s},window.location.href),tt(t,o)});break;case"SetFavoredGame":{var r=`${c}/v1/player/${y}/favorites`;var a=b;y;var i=n.data.id;G.includes(i)||G.push(i);let e={items:G},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),tt(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":y&&y.length&&b&&0<b.length&&T(c,b,y);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),I();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),I();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:_,origin:n.data.origin},window.location.href),I();break;case"CategoryVendors":_=n.data.categoryid,I();break;case"searchCancelled":l(77,Ye=!1),w&&Qe({data:{itemId:w}});break;case"searchActive":l(77,Ye=!0);break;case"ModalClosed":break;case"SubgroupsIds":E.some(e=>n.data.subGroupsIds.includes(e))||E.push(...n.data.subGroupsIds)}var e,t,o,s};let T=(e,t,n)=>{"true"==p&&o&&n&&fetch(e+`/v1/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(($=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:$},window.location.href),at($.items)),$)).then(e=>e).catch(e=>{console.error(e)})},tt=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(($=e)&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:$,lobbyScreen:L},window.location.href),$)).catch(e=>{console.error(e)})};const nt=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},rt=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},at=(e=[])=>(G=[],0<e.length&&e.forEach(e=>{G.push(e.id)}),G);const I=()=>{var e=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e&&_&&(e[_]?l(79,Ze=e[_].length):l(79,Ze=0))},it=()=>{He&&(ze=He.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},P=e=>{S=0,je=setInterval(()=>{S+=1,l(74,t=!0),3<=S&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(je))},1e3)},R=e=>{S<3&&l(74,t=!1),clearInterval(je)};return ot(()=>(window.addEventListener("scroll",it,!1),window.addEventListener("message",et,!1),()=>{window.removeEventListener("scroll",it),window.removeEventListener("message",et),l(74,t=!1),null!=v&&v.removeEventListener("mousedown",P),null!=v&&v.removeEventListener("touchstart",P),null!=v&&v.removeEventListener("mouseup",R),null!=v&&v.removeEventListener("touchend",R)})),n.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"env"in e&&l(2,B=e.env),"datasource"in e&&l(3,a=e.datasource),"currency"in e&&l(4,N=e.currency),"lang"in e&&l(5,i=e.lang),"session"in e&&l(6,o=e.session),"userid"in e&&l(7,s=e.userid),"clientstyling"in e&&l(8,d=e.clientstyling),"userroles"in e&&l(9,O=e.userroles),"clientstylingurl"in e&&l(10,u=e.clientstylingurl),"translationurl"in e&&l(11,m=e.translationurl),"cmsendpoint"in e&&l(12,j=e.cmsendpoint),"categorybackground"in e&&l(13,H=e.categorybackground),"visiblegames"in e&&l(14,r=e.visiblegames),"favorites"in e&&l(15,p=e.favorites),"lobbyid"in e&&l(85,z=e.lobbyid),"haspanicbutton"in e&&l(16,U=e.haspanicbutton),"filteredcategories"in e&&l(17,h=e.filteredcategories),"activecategory"in e&&l(18,g=e.activecategory),"showgamename"in e&&l(19,W=e.showgamename),"livecasino"in e&&l(20,Y=e.livecasino),"playrandomgame"in e&&l(21,V=e.playrandomgame),"filteredrandomgamecategories"in e&&l(22,q=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(23,Z=e.gamepagemodalurl),"casinogamesgridslider"in e&&l(24,J=e.casinogamesgridslider),"positionwinnerswidget"in e&&l(25,K=e.positionwinnerswidget),"tabsorder"in e&&l(26,X=e.tabsorder),"enableautoscroll"in e&&l(27,Q=e.enableautoscroll),"istopavailable"in e&&l(28,ee=e.istopavailable),"isrecentavailable"in e&&l(29,te=e.isrecentavailable),"integratedgameframedesktop"in e&&l(30,ne=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(31,re=e.integratedgameframemobile),"periodrecent"in e&&l(32,ae=e.periodrecent),"periodtop"in e&&l(33,ie=e.periodtop),"numberusersrecent"in e&&l(34,oe=e.numberusersrecent),"numberuserstop"in e&&l(35,se=e.numberuserstop),"amountlimit"in e&&l(36,le=e.amountlimit),"defaultcurrency"in e&&l(37,ce=e.defaultcurrency),"showsubgroups"in e&&l(86,de=e.showsubgroups),"positionjackpotbanners"in e&&l(38,ue=e.positionjackpotbanners),"caticon0"in e&&l(39,me=e.caticon0),"caticon1"in e&&l(40,pe=e.caticon1),"caticon2"in e&&l(41,he=e.caticon2),"caticon3"in e&&l(42,ge=e.caticon3),"backgroundsrc"in e&&l(43,fe=e.backgroundsrc),"backgroundsrcmobile"in e&&l(44,ye=e.backgroundsrcmobile),"titlelogopath"in e&&l(45,be=e.titlelogopath),"iconlabels"in e&&l(46,ve=e.iconlabels),"visualstructure"in e&&l(47,we=e.visualstructure),"positioncollections"in e&&l(48,$e=e.positioncollections),"type"in e&&l(49,xe=e.type),"titletype"in e&&l(50,Ce=e.titletype),"collectionprovidersgamenames"in e&&l(51,ke=e.collectionprovidersgamenames),"addfilterselector"in e&&l(52,Fe=e.addfilterselector),"addsortingselector"in e&&l(53,Se=e.addsortingselector),"filterbylogo"in e&&l(54,Me=e.filterbylogo),"positioncasinocalendar"in e&&l(55,Le=e.positioncasinocalendar),"casinomygames"in e&&l(0,f=e.casinomygames),"mostplayed"in e&&l(56,Ee=e.mostplayed),"lastplayed"in e&&l(57,Ge=e.lastplayed),"lastplayedperiod"in e&&l(58,_e=e.lastplayedperiod),"mostplayedperiod"in e&&l(59,Te=e.mostplayedperiod),"lastplayedorder"in e&&l(60,Ie=e.lastplayedorder),"lastplayedlimit"in e&&l(61,Pe=e.lastplayedlimit),"lastplayedunique"in e&&l(62,Re=e.lastplayedunique),"mostplayedrounds"in e&&l(63,De=e.mostplayedrounds),"winnersdatasources"in e&&l(64,Ae=e.winnersdatasources),"positionjelobbywidget"in e&&l(65,Be=e.positionjelobbywidget),"randombuttonicon"in e&&l(66,Ne=e.randombuttonicon)},n.$$.update=()=>{if(262176&n.$$.dirty[0]&&i&&g&&(l(68,w=g),Qe({data:{itemId:w}})),194&n.$$.dirty[0]&&o&&s&&c&&(l(73,We=!0),b=o,y=s)&&y.length&&b&&0<b.length&&"true"!=f&&T(c,b,y),33554496&n.$$.dirty[2]&&w&&E&&E&&!E.includes(decodeURI(w))&&""!=w&&window.postMessage({type:"NonExistentCategory"},window.location.href),42&n.$$.dirty[0]&&c&&a&&i&&(c||(F="Endpoint is missing! Please provide a valid endpointURL.",l(72,k=!0),l(71,C=!1),console.error(F)),a||(F="Datasource is missing! Please provide a valid datasource.",l(72,k=!0),l(71,C=!1),console.error(F)),(!i||i.length<2)&&(F="Language is missing! Please provide a valid language (alpha2code)",l(72,k=!0),l(71,C=!1),console.error(F)),k||(l(71,C=!0),"true"==p&&T(c,b,y),t=i,lt.set(t),(t=new URL(c+"/v1/casino/groups/"+a)).searchParams.append("language",i),t.searchParams.append("platform",dt(Oe)),r=t,new Promise((t,n)=>{l(71,C=!0),fetch(r).then(e=>e.json()).then(e=>{l(71,C=!1),t(e)}).catch(e=>{l(72,k=!0),l(71,C=!1),console.error(e),n(e)})}).then(e=>{let r=h.split(",");e&&(Ue=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,h))for(var n of r)e.flags==n&&(t=!1);return t}),l(78,Ve=Ue.filter(e=>{return!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==de)}).map(e=>e.id)),l(87,E=e.items.map(e=>e.id.toString())),l(71,C=!1))}),I(),He=void 0)),32&n.$$.dirty[0]&&i&&(Je&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500),Je=!1),2048&n.$$.dirty[0]&&m&&(t=new URL(m),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ea(e,t[e])})}).catch(e=>{console.log(e)})),256&n.$$.dirty[0]|128&n.$$.dirty[2]&&d&&x&&((e=document.createElement("style")).innerHTML=d,x.appendChild(e)),1024&n.$$.dirty[0]|128&n.$$.dirty[2]&&u&&x){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{x.appendChild(t)},1)})}var e,r,t;32&n.$$.dirty[2]&&v&&(null!=v&&v.addEventListener("mousedown",P,!1),null!=v&&v.addEventListener("touchstart",P,!1),null!=v&&v.addEventListener("mouseup",R,!1),null!=v)&&v.addEventListener("touchend",R,!1)},[f,c,B,a,N,i,o,s,d,O,u,m,j,H,r,p,U,h,g,W,Y,V,q,Z,J,K,X,Q,ee,te,ne,re,ae,ie,oe,se,le,ce,ue,me,pe,he,ge,fe,ye,be,ve,we,$e,xe,Ce,ke,Fe,Se,Me,Le,Ee,Ge,_e,Te,Ie,Pe,Re,De,Ae,Be,Ne,v,w,x,A,C,k,We,t,M,L,Ye,Ve,Ze,D,Oe,nt,rt,(e,t)=>{_=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:r,receivedFavoriteResults:$},window.location.href)},z,de,E,()=>rt(),()=>{nt()},function(e){st[e?"unshift":"push"](()=>{v=e,l(67,v)})},function(e){st[e?"unshift":"push"](()=>{x=e,l(69,x)})}]}function tc(e,{delay:t=0,duration:n=400,easing:r=v}={}){const a=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*a}}function nc(n){let r,a,i,o,s,l,c,d,t,u,m,p;return{c(){r=pe("div"),a=pe("div"),(i=pe("div")).innerHTML="<slot></slot>",o=ge(),s=pe("span"),(l=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(l,"name","close"),fe(s,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(s,"role","button"),fe(a,"class","ModalWindow"),fe(a,"part","ModalWindow"),fe(a,"id","Modal"),Z(()=>n[19].call(a)),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(s,l),n[18](a),d=function(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===F){F=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){F=!0}}return F}());let a;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",a=U(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{a=U(n.contentWindow,"resize",t),t()}),de(e,n),()=>{(r||a&&n.contentWindow)&&a(),me(n)}}(a,n[19].bind(a)),n[20](r),u=!0,m||(p=U(s,"click",n[8]),m=!0)},p(e,t){n=e,(!u||10&t&&c!==(c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")))&&fe(s,"class",c)},i(e){u||(Z(()=>{u&&(t=t||ie(a,tc,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||ie(a,tc,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&me(r),n[18](null),d(),e&&t&&t.end(),n[20](null),m=!1,p()}}}function rc(e){let n,r,a=e[7]&&nc(e);return{c(){a&&a.c(),n=c(),this.c=O},m(e,t){a&&a.m(e,t),ue(e,n,t),r=!0},p(e,[t]){e[7]?a?(a.p(e,t),128&t&&ne(a,1)):((a=nc(e)).c(),ne(a,1),a.m(n.parentNode,n)):a&&(te={r:0,c:[],p:te},re(a,1,1,()=>{a=null}),te.r||j(te.c),te=te.p)},i(e){r||(ne(a),r=!0)},o(e){re(a),r=!1},d(e){a&&a.d(e),e&&me(n)}}}function ac(t,e,n){let r,a,i,o,{duration:s=350}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{identifier:u=""}=e,{clientstylingurl:m=""}=e,{endpoint:p=""}=e,{haspanicbutton:h="false"}=e,{gamepagemodalurl:g="false"}=e,{sessioncheck:f="true"}=e,{integratedgameframedesktop:y="false"}=e,b=window.navigator.userAgent,v=!1,w=!1,$=!1;const x=e=>{var t;"ShowModal"==e.data.type&&u==e.data.identifier&&(n(7,$=!0),window.postMessage({type:"DisableScroll"},window.location.href)),"ModalClosed"!=e.data.type||"true"!==y&&!ct(b)||n(7,$=!1),"ShowGameModal"===e.data.type&&(n(7,$=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrameModal"===e.data.type&&(n(7,$=!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&&(w=e.data.detailsObtained)},C=e=>{var t;w&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return ot(()=>(n(3,v=ct(b)),window.addEventListener("message",x,!1),window.addEventListener("resize",C,!1),()=>{window.removeEventListener("message",x),window.removeEventListener("resize",x)})),t.$$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,d=e.clientstyling),"identifier"in e&&n(12,u=e.identifier),"clientstylingurl"in e&&n(13,m=e.clientstylingurl),"endpoint"in e&&n(14,p=e.endpoint),"haspanicbutton"in e&&n(1,h=e.haspanicbutton),"gamepagemodalurl"in e&&n(15,g=e.gamepagemodalurl),"sessioncheck"in e&&n(16,f=e.sessioncheck),"integratedgameframedesktop"in e&&n(17,y=e.integratedgameframedesktop)},t.$$.update=()=>{if(17920&t.$$.dirty&&l&&c&&p&&"true"==f&&ra(p,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2052&t.$$.dirty&&d&&a&&((e=document.createElement("style")).innerHTML=d,a.appendChild(e)),8196&t.$$.dirty&&m&&a){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[s,h,a,v,r,void 0,void 0,$,()=>{n(7,$=!1),n(3,v=ct(b)),window.postMessage({type:"ModalClosed",gamepagemodalurl:g,mobileView:v,closeIntegratedGameFrameDesktop:!0},window.location.href)},l,c,d,u,m,p,g,f,y,function(e){st[e?"unshift":"push"](()=>{r=e,n(4,r)})},function(){i=this.clientWidth,o=this.clientHeight,n(5,i),n(6,o)},function(e){st[e?"unshift":"push"](()=>{a=e,n(2,a)})}]}function ic(e,t){o(e,t)}customElements.get("casino-page")||customElements.define("casino-page",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;max-width:1300px;position:relative}.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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:48px;line-height:18px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-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}.CategoryContainer,.JackpotsContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer,.JackpotsContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}.FiltersButtonsContainer{display:flex;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}.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)}@media screen and (max-width: 1300px){}.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}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}@media(max-width: 768px){}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ec,Xl,n,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,clientstyling:8,userroles:9,clientstylingurl:10,translationurl:11,cmsendpoint:12,categorybackground:13,visiblegames:14,favorites:15,lobbyid:85,haspanicbutton:16,filteredcategories:17,activecategory:18,showgamename:19,livecasino:20,playrandomgame:21,filteredrandomgamecategories:22,gamepagemodalurl:23,casinogamesgridslider:24,positionwinnerswidget:25,tabsorder:26,enableautoscroll:27,istopavailable:28,isrecentavailable:29,integratedgameframedesktop:30,integratedgameframemobile:31,periodrecent:32,periodtop:33,numberusersrecent:34,numberuserstop:35,amountlimit:36,defaultcurrency:37,showsubgroups:86,positionjackpotbanners:38,caticon0:39,caticon1:40,caticon2:41,caticon3:42,backgroundsrc:43,backgroundsrcmobile:44,titlelogopath:45,iconlabels:46,visualstructure:47,positioncollections:48,type:49,titletype:50,collectionprovidersgamenames:51,addfilterselector:52,addsortingselector:53,filterbylogo:54,positioncasinocalendar:55,casinomygames:0,mostplayed:56,lastplayed:57,lastplayedperiod:58,mostplayedperiod:59,lastplayedorder:60,lastplayedlimit:61,lastplayedunique:62,mostplayedrounds:63,winnersdatasources:64,positionjelobbywidget:65,randombuttonicon:66},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","env","datasource","currency","lang","session","userid","clientstyling","userroles","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","favorites","lobbyid","haspanicbutton","filteredcategories","activecategory","showgamename","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","casinogamesgridslider","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","showsubgroups","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","collectionprovidersgamenames","addfilterselector","addsortingselector","filterbylogo","positioncasinocalendar","casinomygames","mostplayed","lastplayed","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds","winnersdatasources","positionjelobbywidget","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get env(){return this.$$.ctx[2]}set env(e){this.$$set({env:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get userroles(){return this.$$.ctx[9]}set userroles(e){this.$$set({userroles:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get categorybackground(){return this.$$.ctx[13]}set categorybackground(e){this.$$set({categorybackground:e}),m()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),m()}get lobbyid(){return this.$$.ctx[85]}set lobbyid(e){this.$$set({lobbyid:e}),m()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get activecategory(){return this.$$.ctx[18]}set activecategory(e){this.$$set({activecategory:e}),m()}get showgamename(){return this.$$.ctx[19]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),m()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[22]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get gamepagemodalurl(){return this.$$.ctx[23]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get casinogamesgridslider(){return this.$$.ctx[24]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get positionwinnerswidget(){return this.$$.ctx[25]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[26]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[27]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[28]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[29]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[30]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[31]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get periodrecent(){return this.$$.ctx[32]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[33]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[34]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[35]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[36]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[37]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get showsubgroups(){return this.$$.ctx[86]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positionjackpotbanners(){return this.$$.ctx[38]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[39]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[40]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[41]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[42]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[43]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[44]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[45]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[46]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get visualstructure(){return this.$$.ctx[47]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get positioncollections(){return this.$$.ctx[48]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[49]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[50]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[51]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get addfilterselector(){return this.$$.ctx[52]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[53]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[54]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get positioncasinocalendar(){return this.$$.ctx[55]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayed(){return this.$$.ctx[56]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[57]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get lastplayedperiod(){return this.$$.ctx[58]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[59]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[60]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[61]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[62]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[63]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get winnersdatasources(){return this.$$.ctx[64]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get positionjelobbywidget(){return this.$$.ctx[65]}set positionjelobbywidget(e){this.$$set({positionjelobbywidget:e}),m()}get randombuttonicon(){return this.$$.ctx[66]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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)}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ac,rc,n,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["duration","session","userid","clientstyling","identifier","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),m()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get identifier(){return this.$$.ctx[12]}set identifier(e){this.$$set({identifier:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),m()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}});const oc={en:{signIn:"LOGIN",register:"REGISTER",deposit:"DEPOSIT",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",loading:"Es lädt, bitte warten..."},it:{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",loading:"Loading, please wait..."},fr:{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",loading:"Chargement, veuillez patienter..."},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",loading:"Cargando por favor espere ..."},tr:{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",loading:"Yükleniyor, lütfen bekleyin..."},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off",loading:"Loading, please wait..."},ro:{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",loading:"Se incarca, te rugam asteapta…"},hr:{signIn:"PRIJAVA",register:"REGISTRACIJA",deposit:"UPLATA",playForFun:"Igraj za zabavu",playNow:"Započni sada!",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",loading:"Učitavanje"},hu:{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",loading:"Betöltés, kérjük várjon..."},pl:{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",loading:"Loading, please wait..."},pt:{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",loading:"Carregando, por favor espere ..."},sl:{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",loading:"Loading, please wait..."},sr:{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",loading:"Loading, please wait..."},"pt-br":{signIn:"ENTRAR",register:"REGISTRO",deposit:"DEPÓSITO",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Pressione o botão por 3 segundos para uma pausa de 24 horas",Loading:"Carregando, por favor espere..."},"es-mx":{signIn:"INGRESAR",register:"REGISTRO",deposit:"DEPÓSITO",playForFun:"Jugar Por Diversión",playNow:"Comenzar ahora!",breakButton:"Presionar botón 3 segundos para un bloqueo de 24 horas",Loading:"Cargando, por favor espere..."}};function sc(n){let r,a,i=n[13]&&dc(n);return{c(){r=pe("div"),a=pe("div"),i&&i.c(),fe(a,"class","CasinoGamePageContainer"),M(a,"background","rgba(0, 0, 0, 0.5)"),fe(r,"class","GamePageBackground"),M(r,"background",n[22]?"":`url(${n[12].backgroundImageUrl})`),M(r,"background-size","cover")},m(e,t){ue(e,r,t),de(r,a),i&&i.m(a,null),n[85](r)},p(e,t){e[13]?i?i.p(e,t):((i=dc(e)).c(),i.m(a,null)):i&&(i.d(1),i=null),4198400&t[0]&&M(r,"background",e[22]?"":`url(${e[12].backgroundImageUrl})`)},d(e){e&&me(r),i&&i.d(),n[85](null)}}}function lc(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function cc(e){let n,r,a=e[26]("loading")+"";return{c(){n=pe("p"),r=he(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){67108864&t[0]&&a!==(a=e[26]("loading")+"")&&ye(r,a)},d(e){e&&me(n)}}}function dc(e){let n;function r(e){return e[22]?pc:e[6]?mc:e[7]?void 0:uc}let a=r(e),i=a&&a(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i&&i.d(e),e&&me(n)}}}function uc(e){let n;function r(e){return e[14]?gc:hc}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function mc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w=n[26]("deposit")+"",$="true"===n[1]&&bc(n);function x(e){return e[19]?wc:vc}let C=x(n),k=C(n);return{c(){r=pe("div"),a=pe("div"),i=pe("iframe"),s=ge(),l=pe("div"),c=pe("button"),d=he(w),u=ge(),m=pe("p"),p=pe("span"),h=he(n[4]),g=ge(),$&&$.c(),f=ge(),k.c(),fe(i,"title","Games"),fe(i,"id","IframeGame"),fe(i,"class","GamesContainer"),fe(i,"aria-hidden","false"),ce(i.src,o=n[12].launchUrl)||fe(i,"src",o),fe(c,"class","DepositButton"),fe(m,"class","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(a,"id","IframeGame"),fe(a,"style",n[25]),fe(r,"id","IframeContainer"),M(r,"width",n[20]),M(r,"height",n[21]),W(r,"FullsScreenLayout",n[19])},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[65](i),de(a,s),de(a,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,p),de(p,h),n[67](m),de(l,g),$&&$.m(l,null),de(l,f),k.m(l,null),n[71](l),n[72](a),n[73](r),b||(v=U(c,"click",n[66]),b=!0)},p(e,t){4096&t[0]&&!ce(i.src,o=e[12].launchUrl)&&fe(i,"src",o),67108864&t[0]&&w!==(w=e[26]("deposit")+"")&&ye(d,w),16&t[0]&&ye(h,e[4]),"true"===e[1]?$?$.p(e,t):(($=bc(e)).c(),$.m(l,f)):$&&($.d(1),$=null),C===(C=x(e))&&k?k.p(e,t):(k.d(1),(k=C(e))&&(k.c(),k.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),33554432&t[0]&&fe(a,"style",e[25]),1048576&t[0]&&M(r,"width",e[20]),2097152&t[0]&&M(r,"height",e[21]),524288&t[0]&&W(r,"FullsScreenLayout",e[19])},d(e){e&&me(r),n[65](null),n[67](null),$&&$.d(),k.d(),n[71](null),n[72](null),n[73](null),b=!1,v()}}}function pc(e){let n;function r(e){return e[6]?Cc:e[15]&&!e[7]?xc:e[7]?void 0:$c}let a=r(e),i=a&&a(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i&&i.d(e),e&&me(n)}}}function hc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$=n[12].name+"",x=n[26]("signIn")+"",C=n[26]("register")+"";return{c(){r=pe("div"),a=pe("h3"),i=he($),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),m=he(x),p=ge(),h=pe("button"),g=he(C),f=ge(),y=pe("p"),b=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(h,"class","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,m),de(d,p),de(d,h),de(h,g),de(r,f),de(r,y),de(y,b),v||(w=[U(u,"click",n[83]),U(h,"click",n[84])],v=!0)},p(e,t){4096&t[0]&&$!==($=e[12].name+"")&&ye(i,$),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&x!==(x=e[26]("signIn")+"")&&ye(m,x),67108864&t[0]&&C!==(C=e[26]("register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4])},d(e){e&&me(r),v=!1,j(w)}}}function gc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x=n[26]("signIn")+"",C=n[26]("register")+"";function k(e){return e[19]?yc:fc}let F=k(n),S=F(n);return{c(){r=pe("div"),a=pe("div"),i=pe("iframe"),s=ge(),l=pe("div"),c=pe("div"),d=pe("button"),u=he(x),m=ge(),p=pe("button"),h=he(C),g=ge(),f=pe("p"),y=pe("span"),b=he(n[4]),v=ge(),S.c(),fe(i,"title","Games"),fe(i,"id","IframeGame"),fe(i,"class","GamesContainer"),fe(i,"aria-hidden","false"),ce(i.src,o=n[12].launchUrl)||fe(i,"src",o),fe(d,"class","LoginButton"),fe(p,"class","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(f,"class","Time"),fe(l,"class","BottomGame"),fe(a,"id","IframeGame"),fe(a,"style",n[25]),fe(r,"id","IframeContainer"),M(r,"width",n[20]),M(r,"height",n[21]),W(r,"FullsScreenLayout",n[19])},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[74](i),de(a,s),de(a,l),de(l,c),de(c,d),de(d,u),de(c,m),de(c,p),de(p,h),de(l,g),de(l,f),de(f,y),de(y,b),n[77](f),de(l,v),S.m(l,null),n[80](l),n[81](a),n[82](r),w||($=[U(d,"click",n[75]),U(p,"click",n[76])],w=!0)},p(e,t){4096&t[0]&&!ce(i.src,o=e[12].launchUrl)&&fe(i,"src",o),67108864&t[0]&&x!==(x=e[26]("signIn")+"")&&ye(u,x),67108864&t[0]&&C!==(C=e[26]("register")+"")&&ye(h,C),16&t[0]&&ye(b,e[4]),F===(F=k(e))&&S?S.p(e,t):(S.d(1),(S=F(e))&&(S.c(),S.m(l,null))),33554432&t[0]&&fe(a,"style",e[25]),1048576&t[0]&&M(r,"width",e[20]),2097152&t[0]&&M(r,"height",e[21]),524288&t[0]&&W(r,"FullsScreenLayout",e[19])},d(e){e&&me(r),n[74](null),n[77](null),S.d(),n[80](null),n[81](null),n[82](null),w=!1,j($)}}}function fc(n){let r,a,i;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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[79]),a=!0)},p:O,d(e){e&&me(r),a=!1,i()}}}function yc(n){let r,a,i;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: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[78]),a=!0)},p:O,d(e){e&&me(r),a=!1,i()}}}function bc(n){let r,a,i,o=n[26]("breakButton")+"";return{c(){r=pe("div"),a=pe("button"),i=he(o),fe(a,"class","Button"),W(a,"PanicButtonAnimation",n[11]),fe(r,"class","PanicSection")},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[68](a)},p(e,t){67108864&t[0]&&o!==(o=e[26]("breakButton")+"")&&ye(i,o),2048&t[0]&&W(a,"PanicButtonAnimation",e[11])},d(e){e&&me(r),n[68](null)}}}function vc(n){let r,a,i;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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[70]),a=!0)},p:O,d(e){e&&me(r),a=!1,i()}}}function wc(n){let r,a,i;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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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")},m(e,t){ue(e,r,t),a||(i=U(r,"click",n[69]),a=!0)},p:O,d(e){e&&me(r),a=!1,i()}}}function $c(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$=n[12].name+"",x=n[26]("signIn")+"",C=n[26]("register")+"";return{c(){r=pe("div"),a=pe("h3"),i=he($),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),m=he(x),p=ge(),h=pe("button"),g=he(C),f=ge(),y=pe("p"),b=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(h,"class","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,m),de(d,p),de(d,h),de(h,g),de(r,f),de(r,y),de(y,b),v||(w=[U(u,"click",n[63]),U(h,"click",n[64])],v=!0)},p(e,t){4096&t[0]&&$!==($=e[12].name+"")&&ye(i,$),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&x!==(x=e[26]("signIn")+"")&&ye(m,x),67108864&t[0]&&C!==(C=e[26]("register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4])},d(e){e&&me(r),v=!1,j(w)}}}function xc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C,k=n[12].name+"",F=n[26]("signIn")+"",S=n[26]("register")+"",M=n[26]("playForFun")+"";return{c(){r=pe("div"),a=pe("h3"),i=he(k),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),m=he(F),p=ge(),h=pe("button"),g=he(S),f=ge(),y=pe("button"),b=he(M),v=ge(),w=pe("p"),$=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(h,"class","RegisterButton"),fe(y,"class","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(r,"class","GameDetails")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,m),de(d,p),de(d,h),de(h,g),de(d,f),de(d,y),de(y,b),de(r,v),de(r,w),de(w,$),x||(C=[U(u,"click",n[60]),U(h,"click",n[61]),U(y,"click",n[62])],x=!0)},p(e,t){4096&t[0]&&k!==(k=e[12].name+"")&&ye(i,k),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&F!==(F=e[26]("signIn")+"")&&ye(m,F),67108864&t[0]&&S!==(S=e[26]("register")+"")&&ye(g,S),67108864&t[0]&&M!==(M=e[26]("playForFun")+"")&&ye(b,M),16&t[0]&&ye($,e[4])},d(e){e&&me(r),x=!1,j(C)}}}function Cc(n){let r,a,i,o,s,l,c,d,u,m,p,h,g,f,y,b,v,w,$,x,C=n[12].name+"",k=n[26]("deposit")+"",F=n[26]("playNow")+"",S="true"==n[0]&&kc(n),M="true"===n[1]&&Ec(n);return{c(){S&&S.c(),r=ge(),a=pe("div"),i=pe("h3"),o=he(C),s=ge(),l=pe("img"),d=ge(),u=pe("div"),m=pe("button"),p=he(k),h=ge(),g=pe("button"),f=he(F),y=ge(),M&&M.c(),b=ge(),v=pe("p"),w=he(n[4]),ce(l.src,c=n[12].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(m,"class","DepositButton"),fe(g,"class","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(a,"class","GameDetails")},m(e,t){S&&S.m(e,t),ue(e,r,t),ue(e,a,t),de(a,i),de(i,o),de(a,s),de(a,l),de(a,d),de(a,u),de(u,m),de(m,p),de(u,h),de(u,g),de(g,f),de(a,y),M&&M.m(a,null),de(a,b),de(a,v),de(v,w),$||(x=[U(m,"click",n[57]),U(g,"click",n[58])],$=!0)},p(e,t){"true"==e[0]?S?S.p(e,t):((S=kc(e)).c(),S.m(r.parentNode,r)):S&&(S.d(1),S=null),4096&t[0]&&C!==(C=e[12].name+"")&&ye(o,C),4096&t[0]&&!ce(l.src,c=e[12].thumbnail)&&fe(l,"src",c),67108864&t[0]&&k!==(k=e[26]("deposit")+"")&&ye(p,k),67108864&t[0]&&F!==(F=e[26]("playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):((M=Ec(e)).c(),M.m(a,b)):M&&(M.d(1),M=null),16&t[0]&&ye(w,e[4])},d(e){S&&S.d(e),e&&me(r),e&&me(a),M&&M.d(),$=!1,j(x)}}}function kc(e){let n;function r(e){return e[8]?Fc:Sc}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Fc(e){let n,r,a,i;return{c(){n=pe("div"),r=pe("div"),a=pe("div"),fe(n,"class",i="LoaderRipple "+("true"==e[1]?"LoaderWithPanicButton":""))},m(e,t){ue(e,n,t),de(n,r),de(n,a)},p(e,t){2&t[0]&&i!==(i="LoaderRipple "+("true"==e[1]?"LoaderWithPanicButton":""))&&fe(n,"class",i)},d(e){e&&me(n)}}}function Sc(e){let n;function r(e){return e[12].isFavored?Lc:Mc}let a=r(e),i=a(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Mc(n){let r,a,i,o,s,l;return{c(){r=pe("div"),a=z("svg"),M(i=z("path"),"fill","var(--emfe-w-color-white, #FFFFFF)"),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(a,"version","1.1"),fe(a,"class","UnfavoredIcon"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(a,"x","20px"),fe(a,"y","20px"),fe(a,"viewBox","0 0 512.001 512.001"),M(a,"enable-background","new 0 0 512.001 512.001"),fe(a,"xml:space","preserve"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),s||(l=U(r,"click",n[56]),s=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o)},d(e){e&&me(r),s=!1,l()}}}function Lc(n){let r,a,i,o,s,l;return{c(){r=pe("div"),a=z("svg"),M(i=z("path"),"fill","var(--emfe-w-color-white, #FFFFFF)"),fe(i,"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(a,"version","1.1"),fe(a,"class","FavoredIcon"),fe(a,"part","FavoredIcon"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"viewBox","0 0 19.481 19.481"),fe(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(a,"enable-background","new 0 0 19.481 19.481"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),s||(l=U(r,"click",n[55]),s=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o)},d(e){e&&me(r),s=!1,l()}}}function Ec(n){let r,a,i,o=n[26]("breakButton")+"";return{c(){r=pe("div"),a=pe("button"),i=he(o),fe(a,"class","PanicButton "+("PC"!==dt(n[27])?"PanicButtonMobile":"")),W(a,"PanicButtonAnimation",n[11]),fe(r,"class","PanicSection "+("PC"!==dt(n[27])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[59](a)},p(e,t){67108864&t[0]&&o!==(o=e[26]("breakButton")+"")&&ye(i,o),2048&t[0]&&W(a,"PanicButtonAnimation",e[11])},d(e){e&&me(r),n[59](null)}}}function Gc(n){let r;function a(e){return e[10]?cc:e[9]?lc:sc}let i=a(n),o=i(n);return{c(){r=pe("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[86](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[86](null)}}}function _c(n,e,a){let D,A;ut(n,na,e=>a(26,A=e));let B,t,r,i,N,o,s,l,c,O,j,d,u,H,z,m,p,h,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:v=""}=e,{clientstyling:w=""}=e,{clientstylingurl:$=""}=e,{translationurl:x=""}=e,{favorites:U=""}=e,{loginurl:C=""}=e,{registerurl:k=""}=e,{depositurl:F=""}=e,{loginevent:W=""}=e,{registerevent:Y=""}=e,{depositevent:V=""}=e,{shortcashierenabled:q=""}=e,{clockformat:Z=""}=e,{haspanicbutton:J="false"}=e,{playforfun:K="true"}=e,{checksession:X="true"}=e,{integratedgameframedesktop:S="false"}=e,{integratedgameframemobile:Q="false"}=e,{gameid:ee=""}=e,M=!1,te=!1,L=!1,ne=!1,E=!0,re=!1,ae=0,G=!1,ie=!1,oe=!1,se=!0,_=!1,T=window.navigator.userAgent,le=!1,ce=[],de="false",ue;var me,pe;({withLocale:me,translations:pe}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(Fr.set(pe),lt.set(me))}),Object.keys(oc).forEach(e=>{ic(e,oc[e])});const he=e=>{var t=new URL(e.launchUrl);return t.searchParams.append("language",y),r&&0<r.length&&(a(6,M=!0),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,e},ge=(e,t)=>{e=new URL(f+"/v1/casino/games/"+e);e.searchParams.append("language",y),e.searchParams.append("expand","vendor"),se=t||!1,fetch(e.href).then(e=>e.json()).then(e=>{a(12,o=he(e[0])),a(10,E=!1),o.launchUrl&&(a(12,o.isFavored=$e(o,o.hasFunMode),o),a(8,L=!1))},e=>{console.error("There was an error",e),a(9,ne=!0)}).then(()=>{s&&(se||(a(20,O=o.width),a(21,j=o.height),H=o.width+"px",z=o.height+"px",d=o.width,u=o.height),Ce())}).finally(()=>{a(10,E=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href)},fe=()=>{null!=i&&i.addEventListener("mousedown",Ge,!1),null!=i&&i.addEventListener("touchstart",Ge,!1),null!=i&&i.addEventListener("mouseup",_e,!1),null!=i&&i.addEventListener("touchend",_e,!1)},ye=()=>{a(11,re=!1),null!=i&&i.removeEventListener("mousedown",Ge),null!=i&&i.removeEventListener("touchstart",Ge),null!=i&&i.removeEventListener("mouseup",_e),null!=i&&i.removeEventListener("touchend",_e)},be=e=>{var t;switch(e.data.type){case"GameLaunchID":ge(e.data.gameId,!0);break;case"LaunchGameFrame":xe(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":"true"===S||ct(T)?(a(54,de="false"),ye(),ct(T)?setTimeout(()=>{a(13,G="true"===Q)},500):setTimeout(()=>{a(13,G="true"===S)},500)):"false"===S&&!0!==(null==(t=e.data)?void 0:t.closeIntegratedGameFrameDesktop)&&window.postMessage({type:"DisableScroll"},window.location.href);break;case"UserSessionID":if(0<e.data.session.length){r=e.data.session,e.data.userID,a(6,M=!0);let t=setInterval(()=>{var e;o&&((e=new URL(o.launchUrl)).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),a(12,o.launchUrl=e,o),clearInterval(t))},250)}break;case"ModalSize":a(20,O=e.data.modalContainerSize.modalWidth),a(21,j=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ce=e.data.receivedFavoriteResults.items,o)&&o.id&&(a(12,o.isFavored=ve(o.id),o),a(8,L=!1))}},ve=t=>-1!==ce.findIndex(e=>e.id==t),we=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(12,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(12,o.isFavored=!0,o))},$e=(e,t)=>(a(15,oe="true"==K&&e.hasAnonymousFunMode),a(14,ie="true"==K&&t),a(13,G=!0),ve(e.id)),xe=(e,t)=>{e=new URL(f+"/v1/casino/games/"+e);e.searchParams.append("language",y),fetch(e.href).then(e=>e.json()).then(e=>{a(12,o=he(e[0])),a(10,E=!1),o.launchUrl&&(a(12,o.isFavored=$e(o,t),o),a(8,L=!1))}).finally(()=>{a(10,E=!1)})},Ce=()=>{var e=getComputedStyle(s),e=(getComputedStyle(l),parseInt(e.width.slice(0,-2)),parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width)*e,u=parseInt(o.height),H=d?Math.floor(d)+"px":"1280px",z=u?Math.floor(u)+"px":"720px",Te()},ke=e=>{ct(T)?Fe(Q):Fe(S)},Fe=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",subVendor:o.subVendor,gameId:o.id,launchUrl:null==(e=o.launchUrl)?void 0:e.href},window.location.href)},Se=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:G},window.location.href),G&&(s&&Ce(),window.addEventListener("ModalSize",be,!1))},I=()=>{W&&(ct(T)&&window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:W,transition:"Login"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},P=()=>{Y&&(ct(T)&&window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:Y,transition:"Register"},window.location.href)),k&&(window.location=k),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Me=e=>{D&&!e?window.postMessage({type:"OpenShortCashier"},window.location.href):V&&(window.postMessage({type:V},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"IntegratedGamePage"}),F&&!D&&(window.location=F)};function Le(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!_||R()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Le,!1),document.addEventListener("mozfullscreenchange",Le,!1),document.addEventListener("fullscreenchange",Le,!1),document.addEventListener("MSFullscreenChange",Le,!1));const R=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(_?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),a(19,_=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),a(19,_=!0)))},Ee=(setInterval(()=>{a(4,B=Z?Ra().format(Z):Ra().format("LTS"))},100),()=>{"true"==X?ra(f,b).then(e=>{r=e.Guid,e.UserID,a(6,M=!0)},e=>{a(6,M=!1),console.error("err on session",e)}):(r=b,a(6,M=!0))}),Ge=e=>{ae=0,N=setInterval(()=>{ae+=1,a(11,re=!0),3<=ae&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(N))},1e3)},_e=e=>{ae<3&&a(11,re=!1),clearInterval(N)},Te=()=>{var e=_?"100%":H,t=_?"100%":z,n=_||!se?"none":o.width?Math.floor(o.width)+"px":"1280px",r=_||!se?"none":o.height?Math.floor(o.height)+100+"px":"720px";a(25,ue=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),_||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),a(16,s.style.height=g+"px",s),a(17,l.style.height=g+"px",l),e&&a(18,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return e=()=>{a(7,te=(b||v)&&!M)},Ie().$$.before_update.push(e),ot(()=>(window.addEventListener("resize",Se,!1),window.addEventListener("message",be,!1),()=>{ye(),window.removeEventListener("resize",Se),window.removeEventListener("message",be)})),n.$$set=e=>{"endpoint"in e&&a(34,f=e.endpoint),"lang"in e&&a(35,y=e.lang),"session"in e&&a(36,b=e.session),"userid"in e&&a(37,v=e.userid),"clientstyling"in e&&a(38,w=e.clientstyling),"clientstylingurl"in e&&a(39,$=e.clientstylingurl),"translationurl"in e&&a(40,x=e.translationurl),"favorites"in e&&a(0,U=e.favorites),"loginurl"in e&&a(41,C=e.loginurl),"registerurl"in e&&a(42,k=e.registerurl),"depositurl"in e&&a(43,F=e.depositurl),"loginevent"in e&&a(44,W=e.loginevent),"registerevent"in e&&a(45,Y=e.registerevent),"depositevent"in e&&a(46,V=e.depositevent),"shortcashierenabled"in e&&a(47,q=e.shortcashierenabled),"clockformat"in e&&a(48,Z=e.clockformat),"haspanicbutton"in e&&a(1,J=e.haspanicbutton),"playforfun"in e&&a(49,K=e.playforfun),"checksession"in e&&a(50,X=e.checksession),"integratedgameframedesktop"in e&&a(51,S=e.integratedgameframedesktop),"integratedgameframemobile"in e&&a(52,Q=e.integratedgameframemobile),"gameid"in e&&a(53,ee=e.gameid)},n.$$.update=()=>{if(16&n.$$.dirty[1]&&y&&(t=y,lt.set(t),a(22,le=ct(T))),65536&n.$$.dirty[1]&&(D="true"===q.toLocaleLowerCase()),4194328&n.$$.dirty[1]&&f&&ee&&y&&ge(ee,!0),104&n.$$.dirty[1]&&b&&v&&f&&Ee(),524328&n.$$.dirty[1]&&"false"==X&&b&&f&&Ee(),512&n.$$.dirty[1]&&x&&fetch(x).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ic(e,t[e])})}).catch(e=>{console.log(e)}),1&n.$$.dirty[0]&&U&&a(8,L=!0),8&n.$$.dirty[0]|128&n.$$.dirty[1]&&w&&m&&((t=document.createElement("style")).innerHTML=w,m.appendChild(t)),8&n.$$.dirty[0]|256&n.$$.dirty[1]&&$&&m){let t=document.createElement("style");var e;$&&(e=new URL($),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{m.appendChild(t)},1)}))}var t;4&n.$$.dirty[0]|8388608&n.$$.dirty[1]&&"true"==de&&i&&fe(),4&n.$$.dirty[0]&&i&&fe()},[U,J,i,m,B,t,M,te,L,ne,E,re,o,G,ie,oe,s,l,c,_,O,j,le,p,h,"",A,T,we,ke,I,P,Me,R,f,y,b,v,w,$,x,C,k,F,W,Y,V,q,Z,K,X,S,Q,ee,de,()=>we(o.id),()=>we(o.id),()=>Me(le),()=>{ke()},function(e){st[e?"unshift":"push"](()=>{i=e,a(2,i)})},()=>I(),()=>P(),()=>{ke()},()=>I(),()=>P(),function(e){st[e?"unshift":"push"](()=>{t=e,a(5,t)})},()=>Me(le),function(e){st[e?"unshift":"push"](()=>{h=e,a(24,h)})},function(e){st[e?"unshift":"push"](()=>{i=e,a(2,i)})},()=>R(),()=>R(),function(e){st[e?"unshift":"push"](()=>{p=e,a(23,p)})},function(e){st[e?"unshift":"push"](()=>{l=e,a(17,l)})},function(e){st[e?"unshift":"push"](()=>{s=e,a(16,s)})},function(e){st[e?"unshift":"push"](()=>{t=e,a(5,t)})},()=>I(),()=>P(),function(e){st[e?"unshift":"push"](()=>{h=e,a(24,h)})},()=>R(),()=>R(),function(e){st[e?"unshift":"push"](()=>{p=e,a(23,p)})},function(e){st[e?"unshift":"push"](()=>{l=e,a(17,l)})},function(e){st[e?"unshift":"push"](()=>{s=e,a(16,s)})},()=>I(),()=>P(),function(e){st[e?"unshift":"push"](()=>{c=e,a(18,c)})},function(e){st[e?"unshift":"push"](()=>{m=e,a(3,m)})}]}function Tc(e){let n,r,a,i,o,s,l,c,d,u,m,p="true"==e[22]&&Pc(e);return{c(){n=pe("div"),r=pe("div"),a=pe("div"),i=ge(),o=pe("div"),s=ge(),l=pe("casino-categories-slider"),c=ge(),d=pe("casino-page"),(u=pe("div")).innerHTML='<slot name="content"></slot>',m=ge(),p&&p.c(),fe(a,"class","HeaderPlaceholder"),M(a,"height",e[81]+"px"),fe(o,"class","ScrollTop"),S(l,"endpoint",e[74]),S(l,"datasource",e[75]),S(l,"lang",e[76]),S(l,"session",e[80]),S(l,"userid",e[4]),S(l,"sessioncheck","false"),S(l,"actionevent",e[18]),S(l,"filteredcategories",e[9]),S(l,"mostplayed",e[63]),S(l,"lastplayed",e[65]),S(l,"favorites",e[16]),S(l,"activecategory",e[1]),S(l,"translationurl",e[11]),S(l,"clientstyling",e[5]),S(l,"clientstylingurl",e[6]),S(l,"location","secondaryMenu"),S(l,"showsubgroups",e[52]),S(l,"categoriesicon",e[29]),S(l,"lobbyiconimage",e[30]),S(l,"mygamesiconimage",e[31]),fe(u,"slot","je-jackpots-widget"),S(d,"session",e[80]),S(d,"userid",e[4]),S(d,"endpoint",e[74]),S(d,"datasource",e[75]),S(d,"lang",e[76]),S(d,"showgamename",e[21]),S(d,"cmsendpoint",e[2]),S(d,"env",e[3]),S(d,"visiblegames",e[24]),S(d,"playrandomgame",e[23]),S(d,"activecategory",e[1]),S(d,"favorites",e[16]),S(d,"clientstyling",e[5]),S(d,"clientstylingurl",e[6]),S(d,"lobbyid",e[8]),S(d,"haspanicbutton",e[17]),S(d,"livecasino",e[19]),S(d,"currency",e[0]),S(d,"filteredcategories",e[9]),S(d,"gamepagemodalurl",e[27]),S(d,"randombuttonicon",e[67]),S(d,"positioncasinocalendar",e[57]),S(d,"filteredrandomgamecategories",e[68]),S(d,"positionwinnerswidget",e[32]),S(d,"periodrecent",e[37]),S(d,"periodtop",e[38]),S(d,"userroles",e[10]),S(d,"numberusersrecent",e[39]),S(d,"numberuserstop",e[40]),S(d,"amountlimit",e[41]),S(d,"translationurl",e[11]),S(d,"isrecentavailable",e[36]),S(d,"istopavailable",e[35]),S(d,"integratedgameframedesktop",e[25]),S(d,"integratedgameframemobile",e[26]),S(d,"defaultcurrency",e[42]),S(d,"enableautoscroll",e[34]),S(d,"collectionprovidersgamenames",e[56]),S(d,"tabsorder",e[33]),S(d,"positionjackpotbanners",e[43]),S(d,"backgroundsrc",e[48]),S(d,"backgroundsrcmobile",e[49]),S(d,"titlelogopath",e[50]),S(d,"caticon0",e[44]),S(d,"caticon1",e[45]),S(d,"caticon2",e[46]),S(d,"caticon3",e[47]),S(d,"iconlabels",e[51]),S(d,"positioncollections",e[53]),S(d,"type",e[54]),S(d,"titletype",e[55]),S(d,"casinomygames",Dc),S(d,"filterbylogo",e[71]),S(d,"addfilterselector",e[69]),S(d,"addsortingselector",e[70]),S(d,"lastplayedunique",e[62]),S(d,"lastplayedlimit",e[61]),S(d,"lastplayedorder",e[60]),S(d,"mostplayedrounds",e[64]),S(d,"mostplayed",e[63]),S(d,"lastplayed",e[65]),S(d,"lastplayedperiod",e[58]),S(d,"mostplayedperiod",e[59]),S(d,"showsubgroups",e[52]),S(d,"winnersdatasources",e[72]),S(d,"casinogamesgridslider",e[28]),S(d,"positionjelobbywidget",e[66]),fe(r,"class","WidgetsSection"),fe(n,"class","CasinoLobby")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(r,o),de(r,s),de(r,l),de(r,c),de(r,d),de(d,u),de(r,m),p&&p.m(r,null)},p(e,t){524288&t[2]&&M(a,"height",e[81]+"px"),4096&t[2]&&S(l,"endpoint",e[74]),8192&t[2]&&S(l,"datasource",e[75]),16384&t[2]&&S(l,"lang",e[76]),262144&t[2]&&S(l,"session",e[80]),16&t[0]&&S(l,"userid",e[4]),262144&t[0]&&S(l,"actionevent",e[18]),512&t[0]&&S(l,"filteredcategories",e[9]),2&t[2]&&S(l,"mostplayed",e[63]),8&t[2]&&S(l,"lastplayed",e[65]),65536&t[0]&&S(l,"favorites",e[16]),2&t[0]&&S(l,"activecategory",e[1]),2048&t[0]&&S(l,"translationurl",e[11]),32&t[0]&&S(l,"clientstyling",e[5]),64&t[0]&&S(l,"clientstylingurl",e[6]),2097152&t[1]&&S(l,"showsubgroups",e[52]),536870912&t[0]&&S(l,"categoriesicon",e[29]),1073741824&t[0]&&S(l,"lobbyiconimage",e[30]),1&t[1]&&S(l,"mygamesiconimage",e[31]),262144&t[2]&&S(d,"session",e[80]),16&t[0]&&S(d,"userid",e[4]),4096&t[2]&&S(d,"endpoint",e[74]),8192&t[2]&&S(d,"datasource",e[75]),16384&t[2]&&S(d,"lang",e[76]),2097152&t[0]&&S(d,"showgamename",e[21]),4&t[0]&&S(d,"cmsendpoint",e[2]),8&t[0]&&S(d,"env",e[3]),16777216&t[0]&&S(d,"visiblegames",e[24]),8388608&t[0]&&S(d,"playrandomgame",e[23]),2&t[0]&&S(d,"activecategory",e[1]),65536&t[0]&&S(d,"favorites",e[16]),32&t[0]&&S(d,"clientstyling",e[5]),64&t[0]&&S(d,"clientstylingurl",e[6]),256&t[0]&&S(d,"lobbyid",e[8]),131072&t[0]&&S(d,"haspanicbutton",e[17]),524288&t[0]&&S(d,"livecasino",e[19]),1&t[0]&&S(d,"currency",e[0]),512&t[0]&&S(d,"filteredcategories",e[9]),134217728&t[0]&&S(d,"gamepagemodalurl",e[27]),32&t[2]&&S(d,"randombuttonicon",e[67]),67108864&t[1]&&S(d,"positioncasinocalendar",e[57]),64&t[2]&&S(d,"filteredrandomgamecategories",e[68]),2&t[1]&&S(d,"positionwinnerswidget",e[32]),64&t[1]&&S(d,"periodrecent",e[37]),128&t[1]&&S(d,"periodtop",e[38]),1024&t[0]&&S(d,"userroles",e[10]),256&t[1]&&S(d,"numberusersrecent",e[39]),512&t[1]&&S(d,"numberuserstop",e[40]),1024&t[1]&&S(d,"amountlimit",e[41]),2048&t[0]&&S(d,"translationurl",e[11]),32&t[1]&&S(d,"isrecentavailable",e[36]),16&t[1]&&S(d,"istopavailable",e[35]),33554432&t[0]&&S(d,"integratedgameframedesktop",e[25]),67108864&t[0]&&S(d,"integratedgameframemobile",e[26]),2048&t[1]&&S(d,"defaultcurrency",e[42]),8&t[1]&&S(d,"enableautoscroll",e[34]),33554432&t[1]&&S(d,"collectionprovidersgamenames",e[56]),4&t[1]&&S(d,"tabsorder",e[33]),4096&t[1]&&S(d,"positionjackpotbanners",e[43]),131072&t[1]&&S(d,"backgroundsrc",e[48]),262144&t[1]&&S(d,"backgroundsrcmobile",e[49]),524288&t[1]&&S(d,"titlelogopath",e[50]),8192&t[1]&&S(d,"caticon0",e[44]),16384&t[1]&&S(d,"caticon1",e[45]),32768&t[1]&&S(d,"caticon2",e[46]),65536&t[1]&&S(d,"caticon3",e[47]),1048576&t[1]&&S(d,"iconlabels",e[51]),4194304&t[1]&&S(d,"positioncollections",e[53]),8388608&t[1]&&S(d,"type",e[54]),16777216&t[1]&&S(d,"titletype",e[55]),512&t[2]&&S(d,"filterbylogo",e[71]),128&t[2]&&S(d,"addfilterselector",e[69]),256&t[2]&&S(d,"addsortingselector",e[70]),1&t[2]&&S(d,"lastplayedunique",e[62]),1073741824&t[1]&&S(d,"lastplayedlimit",e[61]),536870912&t[1]&&S(d,"lastplayedorder",e[60]),4&t[2]&&S(d,"mostplayedrounds",e[64]),2&t[2]&&S(d,"mostplayed",e[63]),8&t[2]&&S(d,"lastplayed",e[65]),134217728&t[1]&&S(d,"lastplayedperiod",e[58]),268435456&t[1]&&S(d,"mostplayedperiod",e[59]),2097152&t[1]&&S(d,"showsubgroups",e[52]),1024&t[2]&&S(d,"winnersdatasources",e[72]),268435456&t[0]&&S(d,"casinogamesgridslider",e[28]),16&t[2]&&S(d,"positionjelobbywidget",e[66]),"true"==e[22]?p?p.p(e,t):((p=Pc(e)).c(),p.m(r,null)):p&&(p.d(1),p=null)},d(e){e&&me(n),p&&p.d()}}}function Ic(e){let n,r;return{c(){n=pe("p"),r=he(e[79]),M(n,"color","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){131072&t[2]&&ye(r,e[79])},d(e){e&&me(n)}}}function Pc(e){let n,r;return{c(){n=pe("casino-modal"),S(r=pe("casino-game-page"),"session",e[80]),S(r,"userid",e[4]),S(r,"endpoint",e[74]),S(r,"datasource",e[75]),S(r,"lang",e[76]),S(r,"loginevent",e[12]),S(r,"registerevent",e[13]),S(r,"depositevent",e[14]),S(r,"checksession","false"),S(r,"playforfun",e[20]),S(r,"translationurl",e[11]),S(r,"shortcashierenabled",e[15]),S(r,"favorites",e[16]),S(r,"clientstyling",e[5]),S(r,"clientstylingurl",e[6]),S(r,"clockformat",e[7]),S(r,"haspanicbutton",e[17]),S(r,"currency",e[0]),S(r,"integratedgameframedesktop",e[25]),S(r,"integratedgameframemobile",e[26]),S(n,"session",e[80]),S(n,"userid",e[4]),S(n,"endpoint",e[74]),S(n,"datasource",e[75]),S(n,"lang",e[76]),S(n,"sessioncheck","false"),S(n,"translationurl",e[11]),S(n,"clientstyling",e[5]),S(n,"clientstylingurl",e[6]),S(n,"gamepagemodalurl",e[27]),S(n,"haspanicbutton",e[17]),S(n,"integratedgameframedesktop",e[25]),S(n,"identifier","Lobby")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){262144&t[2]&&S(r,"session",e[80]),16&t[0]&&S(r,"userid",e[4]),4096&t[2]&&S(r,"endpoint",e[74]),8192&t[2]&&S(r,"datasource",e[75]),16384&t[2]&&S(r,"lang",e[76]),4096&t[0]&&S(r,"loginevent",e[12]),8192&t[0]&&S(r,"registerevent",e[13]),16384&t[0]&&S(r,"depositevent",e[14]),1048576&t[0]&&S(r,"playforfun",e[20]),2048&t[0]&&S(r,"translationurl",e[11]),32768&t[0]&&S(r,"shortcashierenabled",e[15]),65536&t[0]&&S(r,"favorites",e[16]),32&t[0]&&S(r,"clientstyling",e[5]),64&t[0]&&S(r,"clientstylingurl",e[6]),128&t[0]&&S(r,"clockformat",e[7]),131072&t[0]&&S(r,"haspanicbutton",e[17]),1&t[0]&&S(r,"currency",e[0]),33554432&t[0]&&S(r,"integratedgameframedesktop",e[25]),67108864&t[0]&&S(r,"integratedgameframemobile",e[26]),262144&t[2]&&S(n,"session",e[80]),16&t[0]&&S(n,"userid",e[4]),4096&t[2]&&S(n,"endpoint",e[74]),8192&t[2]&&S(n,"datasource",e[75]),16384&t[2]&&S(n,"lang",e[76]),2048&t[0]&&S(n,"translationurl",e[11]),32&t[0]&&S(n,"clientstyling",e[5]),64&t[0]&&S(n,"clientstylingurl",e[6]),134217728&t[0]&&S(n,"gamepagemodalurl",e[27]),131072&t[0]&&S(n,"haspanicbutton",e[17]),33554432&t[0]&&S(n,"integratedgameframedesktop",e[25])},d(e){e&&me(n)}}}function Rc(n){let r,a;function i(e){return e[78]?Ic:Tc}let o=i(n),s=o(n);return{c(){r=pe("div"),s.c(),this.c=O,fe(r,"class",a=n[77]?"DisplayNone":"")},m(e,t){ue(e,r,t),s.m(r,null),n[92](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),32768&t[2]&&a!==(a=e[77]?"DisplayNone":"")&&fe(r,"class",a)},i:O,o:O,d(e){e&&me(r),s.d(),n[92](null)}}}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoGamePageContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-color-bg, var(--emfe-w-color-background, #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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, 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-casino-color-primary, 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-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, 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-button-typography, var(--emfe-w-color-white, #FFFFFF))}p{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:60px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100% !important;height:30px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.LoaderRipple{width:80px;height:80px;position:absolute;top:0;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}.LoaderRipple.LoaderWithPanicButton{top:40px}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},_c,Gc,n,{endpoint:34,lang:35,session:36,userid:37,clientstyling:38,clientstylingurl:39,translationurl:40,favorites:0,loginurl:41,registerurl:42,depositurl:43,loginevent:44,registerevent:45,depositevent:46,shortcashierenabled:47,clockformat:48,haspanicbutton:1,playforfun:49,checksession:50,integratedgameframedesktop:51,integratedgameframemobile:52,gameid:53},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","shortcashierenabled","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[34]}set endpoint(e){this.$$set({endpoint:e}),m()}get lang(){return this.$$.ctx[35]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[36]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[37]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[38]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[39]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[40]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),m()}get loginurl(){return this.$$.ctx[41]}set loginurl(e){this.$$set({loginurl:e}),m()}get registerurl(){return this.$$.ctx[42]}set registerurl(e){this.$$set({registerurl:e}),m()}get depositurl(){return this.$$.ctx[43]}set depositurl(e){this.$$set({depositurl:e}),m()}get loginevent(){return this.$$.ctx[44]}set loginevent(e){this.$$set({loginevent:e}),m()}get registerevent(){return this.$$.ctx[45]}set registerevent(e){this.$$set({registerevent:e}),m()}get depositevent(){return this.$$.ctx[46]}set depositevent(e){this.$$set({depositevent:e}),m()}get shortcashierenabled(){return this.$$.ctx[47]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),m()}get clockformat(){return this.$$.ctx[48]}set clockformat(e){this.$$set({clockformat:e}),m()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get playforfun(){return this.$$.ctx[49]}set playforfun(e){this.$$set({playforfun:e}),m()}get checksession(){return this.$$.ctx[50]}set checksession(e){this.$$set({checksession:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[51]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[52]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get gameid(){return this.$$.ctx[53]}set gameid(e){this.$$set({gameid:e}),m()}});let Dc="false";function Ac(t,e,n){let r,a,i,o,{endpoint:s=""}=e,{cmsendpoint:l="https://wt1-stage.everymatrix.com/apijson"}=e,{env:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{session:m=""}=e,{userid:p=""}=e,{opsession:h=""}=e,{clientstyling:g=""}=e,{clientstylingurl:f=""}=e,{clockformat:y=""}=e,{lobbyid:b=""}=e,{currency:v=""}=e,{filteredcategories:w=""}=e,{userroles:$=""}=e,{translationurl:x=""}=e,{loginurl:D=""}=e,{registerurl:A=""}=e,{depositurl:B=""}=e,{loginevent:N=""}=e,{registerevent:O=""}=e,{depositevent:j=""}=e,{shortcashierenabled:H=""}=e,{favorites:C=""}=e,{desktopoffset:k="0"}=e,{mobileoffset:F="0"}=e,{haspanicbutton:z="false"}=e,{activecategory:S="LOBBY"}=e,{actionevent:U="CategoryChange"}=e,{livecasino:W="false"}=e,{playforfun:Y="true"}=e,{showgamename:V="false"}=e,{gamemodal:q="true"}=e,{playrandomgame:Z="false"}=e,{visiblegames:J="10"}=e,{integratedgameframedesktop:K="false"}=e,{integratedgameframemobile:X="false"}=e,{gamepagemodalurl:Q="false"}=e,{casinogamesgridslider:ee="false"}=e,{categoriesicon:te="false"}=e,{lobbyiconimage:ne=""}=e,{mygamesiconimage:re=""}=e,{positionwinnerswidget:ae=""}=e,{tabsorder:ie=""}=e,{enableautoscroll:oe=""}=e,{istopavailable:se=""}=e,{isrecentavailable:le=""}=e,{periodrecent:ce=""}=e,{periodtop:de=""}=e,{numberusersrecent:ue=""}=e,{numberuserstop:me=""}=e,{amountlimit:pe=""}=e,{defaultcurrency:he=""}=e,{positionjackpotbanners:ge=""}=e,{caticon0:fe=""}=e,{caticon1:ye=""}=e,{caticon2:be=""}=e,{caticon3:ve=""}=e,{backgroundsrc:we=""}=e,{backgroundsrcmobile:$e=""}=e,{titlelogopath:xe=""}=e,{iconlabels:Ce=""}=e,{showsubgroups:ke="false"}=e,{positioncollections:Fe=""}=e,{type:Se=""}=e,{titletype:Me=""}=e,{collectionprovidersgamenames:Le=""}=e,{positioncasinocalendar:Ee=""}=e,{lastplayedperiod:Ge="Last30Days"}=e,{mostplayedperiod:_e="Last30Days"}=e,{lastplayedorder:Te=""}=e,{lastplayedlimit:Ie=""}=e,{lastplayedunique:Pe="true"}=e,{mostplayed:M=""}=e,{mostplayedrounds:Re=""}=e,{lastplayed:L="false"}=e,{positionjelobbywidget:De=""}=e,{randombuttonicon:Ae=""}=e,{filteredrandomgamecategories:Be=""}=e,{addfilterselector:Ne="false"}=e,{addsortingselector:Oe="false"}=e,{filterbylogo:je="false"}=e,{winnersdatasources:He=""}=e,E=!1,G=!1,_="Loading, please wait ...",T="",I=window.navigator.userAgent,P=!1,R=0,ze=!1;var Ue,We;({withLocale:Ue,translations:We}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(Fr.set(We),lt.set(Ue))});const Ye=e=>{if(e.data)switch(e.data.type){case"searchCancelled":P=!0;break;case"WidgetTopReference":(ze=e.data.scrollTop)&&(R||n(81,R="PC"===dt(I)?parseInt(k):parseInt(F)),P||window.scrollTo({top:R}),P=!1);break;case"OpenGameFrame":window.postMessage({type:"ShowGameModal",gameId:e.data.gameId,isMobile:ct(I),gamefunmode:e.data.gamefunmode,gamepagemodalurl:e.data.gamepagemodalurl,identifier:"Lobby"},window.location.href);break;case"UserSessionID":n(80,T=e.data.session),e.data.userID;break;case"CategoryChange":window.postMessage({type:"GetFavoredGame"},window.location.href),n(1,S=e.data.itemId)}};return ot(()=>(window.addEventListener("popstate",e=>{window.postMessage({type:"GetFavoredGame"},window.location.href)}),window.addEventListener("message",Ye,!1),n(81,R="PC"===dt(I)?parseInt(k):parseInt(F)),()=>{window.removeEventListener("message",Ye),window.removeEventListener("popstate",e=>{window.postMessage({type:"GetFavoredGame"},window.location.href)})})),t.$$set=e=>{"endpoint"in e&&n(82,s=e.endpoint),"cmsendpoint"in e&&n(2,l=e.cmsendpoint),"env"in e&&n(3,c=e.env),"datasource"in e&&n(83,d=e.datasource),"lang"in e&&n(84,u=e.lang),"session"in e&&n(85,m=e.session),"userid"in e&&n(4,p=e.userid),"opsession"in e&&n(86,h=e.opsession),"clientstyling"in e&&n(5,g=e.clientstyling),"clientstylingurl"in e&&n(6,f=e.clientstylingurl),"clockformat"in e&&n(7,y=e.clockformat),"lobbyid"in e&&n(8,b=e.lobbyid),"currency"in e&&n(0,v=e.currency),"filteredcategories"in e&&n(9,w=e.filteredcategories),"userroles"in e&&n(10,$=e.userroles),"translationurl"in e&&n(11,x=e.translationurl),"loginurl"in e&&n(87,D=e.loginurl),"registerurl"in e&&n(88,A=e.registerurl),"depositurl"in e&&n(89,B=e.depositurl),"loginevent"in e&&n(12,N=e.loginevent),"registerevent"in e&&n(13,O=e.registerevent),"depositevent"in e&&n(14,j=e.depositevent),"shortcashierenabled"in e&&n(15,H=e.shortcashierenabled),"favorites"in e&&n(16,C=e.favorites),"desktopoffset"in e&&n(90,k=e.desktopoffset),"mobileoffset"in e&&n(91,F=e.mobileoffset),"haspanicbutton"in e&&n(17,z=e.haspanicbutton),"activecategory"in e&&n(1,S=e.activecategory),"actionevent"in e&&n(18,U=e.actionevent),"livecasino"in e&&n(19,W=e.livecasino),"playforfun"in e&&n(20,Y=e.playforfun),"showgamename"in e&&n(21,V=e.showgamename),"gamemodal"in e&&n(22,q=e.gamemodal),"playrandomgame"in e&&n(23,Z=e.playrandomgame),"visiblegames"in e&&n(24,J=e.visiblegames),"integratedgameframedesktop"in e&&n(25,K=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(26,X=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(27,Q=e.gamepagemodalurl),"casinogamesgridslider"in e&&n(28,ee=e.casinogamesgridslider),"categoriesicon"in e&&n(29,te=e.categoriesicon),"lobbyiconimage"in e&&n(30,ne=e.lobbyiconimage),"mygamesiconimage"in e&&n(31,re=e.mygamesiconimage),"positionwinnerswidget"in e&&n(32,ae=e.positionwinnerswidget),"tabsorder"in e&&n(33,ie=e.tabsorder),"enableautoscroll"in e&&n(34,oe=e.enableautoscroll),"istopavailable"in e&&n(35,se=e.istopavailable),"isrecentavailable"in e&&n(36,le=e.isrecentavailable),"periodrecent"in e&&n(37,ce=e.periodrecent),"periodtop"in e&&n(38,de=e.periodtop),"numberusersrecent"in e&&n(39,ue=e.numberusersrecent),"numberuserstop"in e&&n(40,me=e.numberuserstop),"amountlimit"in e&&n(41,pe=e.amountlimit),"defaultcurrency"in e&&n(42,he=e.defaultcurrency),"positionjackpotbanners"in e&&n(43,ge=e.positionjackpotbanners),"caticon0"in e&&n(44,fe=e.caticon0),"caticon1"in e&&n(45,ye=e.caticon1),"caticon2"in e&&n(46,be=e.caticon2),"caticon3"in e&&n(47,ve=e.caticon3),"backgroundsrc"in e&&n(48,we=e.backgroundsrc),"backgroundsrcmobile"in e&&n(49,$e=e.backgroundsrcmobile),"titlelogopath"in e&&n(50,xe=e.titlelogopath),"iconlabels"in e&&n(51,Ce=e.iconlabels),"showsubgroups"in e&&n(52,ke=e.showsubgroups),"positioncollections"in e&&n(53,Fe=e.positioncollections),"type"in e&&n(54,Se=e.type),"titletype"in e&&n(55,Me=e.titletype),"collectionprovidersgamenames"in e&&n(56,Le=e.collectionprovidersgamenames),"positioncasinocalendar"in e&&n(57,Ee=e.positioncasinocalendar),"lastplayedperiod"in e&&n(58,Ge=e.lastplayedperiod),"mostplayedperiod"in e&&n(59,_e=e.mostplayedperiod),"lastplayedorder"in e&&n(60,Te=e.lastplayedorder),"lastplayedlimit"in e&&n(61,Ie=e.lastplayedlimit),"lastplayedunique"in e&&n(62,Pe=e.lastplayedunique),"mostplayed"in e&&n(63,M=e.mostplayed),"mostplayedrounds"in e&&n(64,Re=e.mostplayedrounds),"lastplayed"in e&&n(65,L=e.lastplayed),"positionjelobbywidget"in e&&n(66,De=e.positionjelobbywidget),"randombuttonicon"in e&&n(67,Ae=e.randombuttonicon),"filteredrandomgamecategories"in e&&n(68,Be=e.filteredrandomgamecategories),"addfilterselector"in e&&n(69,Ne=e.addfilterselector),"addsortingselector"in e&&n(70,Oe=e.addsortingselector),"filterbylogo"in e&&n(71,je=e.filterbylogo),"winnersdatasources"in e&&n(72,He=e.winnersdatasources)},t.$$.update=()=>{if(4194304&t.$$.dirty[2]&&u&&aa(u),16&t.$$.dirty[0]|9437184&t.$$.dirty[2]&&m&&p&&s&&ra(s,m).then(e=>{n(80,T=e.Guid),e.UserID,n(0,v=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),65536&t.$$.dirty[0]|7340042&t.$$.dirty[2]&&s&&d&&u&&M&&L&&C&&(s||(n(79,_="Endpoint is missing! Please provide a valid endpointURL."),n(78,G=!0),console.error(_)),d||(n(79,_="Datasource is missing! Please provide a valid datasource."),n(78,G=!0),console.error(_)),(!u||u.length<2)&&(n(79,_="Language is missing! Please provide a valid language (alpha2code)"),n(78,G=!0),console.error(_)),aa(u),n(74,r=s),n(75,a=d),n(76,i=u),n(78,G=!1)),16777216&t.$$.dirty[2]&&h&&n(80,T=h),32&t.$$.dirty[0]|2048&t.$$.dirty[2]&&g&&o&&((e=document.createElement("style")).innerHTML=g,o.appendChild(e)),64&t.$$.dirty[0]|2048&t.$$.dirty[2]&&f&&o){n(77,E=!0);let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(77,E=!1)},500))})}var e},[v,S,l,c,p,g,f,y,b,w,$,x,N,O,j,H,C,z,U,W,Y,V,q,Z,J,K,X,Q,ee,te,ne,re,ae,ie,oe,se,le,ce,de,ue,me,pe,he,ge,fe,ye,be,ve,we,$e,xe,Ce,ke,Fe,Se,Me,Le,Ee,Ge,_e,Te,Ie,Pe,M,Re,L,De,Ae,Be,Ne,Oe,je,He,o,r,a,i,E,G,_,T,R,s,d,u,m,h,D,A,B,k,F,function(e){st[e?"unshift":"push"](()=>{o=e,n(73,o)})}]}class Bc extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ac,Rc,n,{endpoint:82,cmsendpoint:2,env:3,datasource:83,lang:84,session:85,userid:4,opsession:86,clientstyling:5,clientstylingurl:6,clockformat:7,lobbyid:8,currency:0,filteredcategories:9,userroles:10,translationurl:11,loginurl:87,registerurl:88,depositurl:89,loginevent:12,registerevent:13,depositevent:14,shortcashierenabled:15,favorites:16,desktopoffset:90,mobileoffset:91,haspanicbutton:17,activecategory:1,actionevent:18,livecasino:19,playforfun:20,showgamename:21,gamemodal:22,playrandomgame:23,visiblegames:24,integratedgameframedesktop:25,integratedgameframemobile:26,gamepagemodalurl:27,casinogamesgridslider:28,categoriesicon:29,lobbyiconimage:30,mygamesiconimage:31,positionwinnerswidget:32,tabsorder:33,enableautoscroll:34,istopavailable:35,isrecentavailable:36,periodrecent:37,periodtop:38,numberusersrecent:39,numberuserstop:40,amountlimit:41,defaultcurrency:42,positionjackpotbanners:43,caticon0:44,caticon1:45,caticon2:46,caticon3:47,backgroundsrc:48,backgroundsrcmobile:49,titlelogopath:50,iconlabels:51,showsubgroups:52,positioncollections:53,type:54,titletype:55,collectionprovidersgamenames:56,positioncasinocalendar:57,lastplayedperiod:58,mostplayedperiod:59,lastplayedorder:60,lastplayedlimit:61,lastplayedunique:62,mostplayed:63,mostplayedrounds:64,lastplayed:65,positionjelobbywidget:66,randombuttonicon:67,filteredrandomgamecategories:68,addfilterselector:69,addsortingselector:70,filterbylogo:71,winnersdatasources:72},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","cmsendpoint","env","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","userroles","translationurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","shortcashierenabled","favorites","desktopoffset","mobileoffset","haspanicbutton","activecategory","actionevent","livecasino","playforfun","showgamename","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","casinogamesgridslider","categoriesicon","lobbyiconimage","mygamesiconimage","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","showsubgroups","positioncollections","type","titletype","collectionprovidersgamenames","positioncasinocalendar","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayed","mostplayedrounds","lastplayed","positionjelobbywidget","randombuttonicon","filteredrandomgamecategories","addfilterselector","addsortingselector","filterbylogo","winnersdatasources"]}get endpoint(){return this.$$.ctx[82]}set endpoint(e){this.$$set({endpoint:e}),m()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get env(){return this.$$.ctx[3]}set env(e){this.$$set({env:e}),m()}get datasource(){return this.$$.ctx[83]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[84]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[85]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[4]}set userid(e){this.$$set({userid:e}),m()}get opsession(){return this.$$.ctx[86]}set opsession(e){this.$$set({opsession:e}),m()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get clockformat(){return this.$$.ctx[7]}set clockformat(e){this.$$set({clockformat:e}),m()}get lobbyid(){return this.$$.ctx[8]}set lobbyid(e){this.$$set({lobbyid:e}),m()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),m()}get filteredcategories(){return this.$$.ctx[9]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get userroles(){return this.$$.ctx[10]}set userroles(e){this.$$set({userroles:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get loginurl(){return this.$$.ctx[87]}set loginurl(e){this.$$set({loginurl:e}),m()}get registerurl(){return this.$$.ctx[88]}set registerurl(e){this.$$set({registerurl:e}),m()}get depositurl(){return this.$$.ctx[89]}set depositurl(e){this.$$set({depositurl:e}),m()}get loginevent(){return this.$$.ctx[12]}set loginevent(e){this.$$set({loginevent:e}),m()}get registerevent(){return this.$$.ctx[13]}set registerevent(e){this.$$set({registerevent:e}),m()}get depositevent(){return this.$$.ctx[14]}set depositevent(e){this.$$set({depositevent:e}),m()}get shortcashierenabled(){return this.$$.ctx[15]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),m()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),m()}get desktopoffset(){return this.$$.ctx[90]}set desktopoffset(e){this.$$set({desktopoffset:e}),m()}get mobileoffset(){return this.$$.ctx[91]}set mobileoffset(e){this.$$set({mobileoffset:e}),m()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),m()}get actionevent(){return this.$$.ctx[18]}set actionevent(e){this.$$set({actionevent:e}),m()}get livecasino(){return this.$$.ctx[19]}set livecasino(e){this.$$set({livecasino:e}),m()}get playforfun(){return this.$$.ctx[20]}set playforfun(e){this.$$set({playforfun:e}),m()}get showgamename(){return this.$$.ctx[21]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(e){this.$$set({gamemodal:e}),m()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get visiblegames(){return this.$$.ctx[24]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[25]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[26]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get gamepagemodalurl(){return this.$$.ctx[27]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get casinogamesgridslider(){return this.$$.ctx[28]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get categoriesicon(){return this.$$.ctx[29]}set categoriesicon(e){this.$$set({categoriesicon:e}),m()}get lobbyiconimage(){return this.$$.ctx[30]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),m()}get mygamesiconimage(){return this.$$.ctx[31]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),m()}get positionwinnerswidget(){return this.$$.ctx[32]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[33]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[34]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[35]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[36]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get periodrecent(){return this.$$.ctx[37]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[38]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[39]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[40]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[41]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[42]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get positionjackpotbanners(){return this.$$.ctx[43]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[44]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[45]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[46]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[47]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[48]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[49]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[50]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[51]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get showsubgroups(){return this.$$.ctx[52]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positioncollections(){return this.$$.ctx[53]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[54]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[55]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[56]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get positioncasinocalendar(){return this.$$.ctx[57]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get lastplayedperiod(){return this.$$.ctx[58]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[59]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[60]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[61]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[62]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayed(){return this.$$.ctx[63]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get mostplayedrounds(){return this.$$.ctx[64]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get lastplayed(){return this.$$.ctx[65]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get positionjelobbywidget(){return this.$$.ctx[66]}set positionjelobbywidget(e){this.$$set({positionjelobbywidget:e}),m()}get randombuttonicon(){return this.$$.ctx[67]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[68]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get addfilterselector(){return this.$$.ctx[69]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[70]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[71]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get winnersdatasources(){return this.$$.ctx[72]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",Bc),Bc});
|
|
33
33
|
//# sourceMappingURL=casino-lobby.js.map
|