@everymatrix/casino-lobby 1.8.4 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(o){"use strict";(e=o)&&"object"==typeof e&&0 in e;function W(){}const w=e=>e;function $(e){return e()}function x(){return Object.create(null)}function Y(e){e.forEach($)}function F(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let l;function ce(e,t){return(l=l||document.createElement("a")).href=t,e===l.href}function u(e,...t){if(null==e)return W;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ct(e,t,n){e.$$.on_destroy.push(u(t,n))}function S(e){return e&&F(e.destroy)?e.destroy:W}var e="undefined"!=typeof window;let C=e?()=>window.performance.now():()=>Date.now(),M=e?e=>requestAnimationFrame(e):W;const T=new Set;function E(t){T.forEach(e=>{e.c(t)||(T.delete(e),e.f())}),0!==T.size&&M(E)}function de(e,t){e.appendChild(t)}function L(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ue(e,t,n){e.insertBefore(t,n||null)}function pe(e){e.parentNode.removeChild(e)}function H(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function me(e){return document.createElement(e)}function j(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 V(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function k(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function I(e,t){e.value=null==t?"":t}function P(e,t,n,i){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}let d;function h(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=me("iframe"),i=(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===d){d=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){d=!0}}return d}());let r;return i?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=V(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{r=V(n.contentWindow,"resize",t)}),de(e,n),()=>{(i||r&&n.contentWindow)&&r(),pe(n)}}function B(e,t,n){e.classList[n?"add":"remove"](t)}class G{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=j(t.nodeName):this.e=me(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)ue(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(pe)}}function n(e){const t={};for(const n of e)t[n.name]=n.value;return t}const _=new Map;let R,D=0;function A(e,t,n,i,r,a,o,s=0){var l,c=16.666/i;let d="{\n";for(let e=0;e<=1;e+=c){const i=t+(n-t)*a(e);d+=100*e+`%{${o(i,1-i)}}
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(o){"use strict";(e=o)&&"object"==typeof e&&0 in e;function V(){}const w=e=>e;function $(e){return e()}function x(){return Object.create(null)}function q(e){e.forEach($)}function F(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let l;function ce(e,t){return(l=l||document.createElement("a")).href=t,e===l.href}function u(e,...t){if(null==e)return V;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ct(e,t,n){e.$$.on_destroy.push(u(t,n))}function S(e){return e&&F(e.destroy)?e.destroy:V}var e="undefined"!=typeof window;let C=e?()=>window.performance.now():()=>Date.now(),M=e?e=>requestAnimationFrame(e):V;const T=new Set;function E(t){T.forEach(e=>{e.c(t)||(T.delete(e),e.f())}),0!==T.size&&M(E)}function de(e,t){e.appendChild(t)}function L(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ue(e,t,n){e.insertBefore(t,n||null)}function pe(e){e.parentNode.removeChild(e)}function H(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function me(e){return document.createElement(e)}function j(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 Z(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function k(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function I(e,t){e.value=null==t?"":t}function P(e,t,n,i){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}let d;function h(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=me("iframe"),i=(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===d){d=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){d=!0}}return d}());let r;return i?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=Z(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{r=Z(n.contentWindow,"resize",t)}),de(e,n),()=>{(i||r&&n.contentWindow)&&r(),pe(n)}}function B(e,t,n){e.classList[n?"add":"remove"](t)}class G{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=j(t.nodeName):this.e=me(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)ue(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(pe)}}function n(e){const t={};for(const n of e)t[n.name]=n.value;return t}const _=new Map;let R,D=0;function A(e,t,n,i,r,a,o,s=0){var l,c=16.666/i;let d="{\n";for(let e=0;e<=1;e+=c){const i=t+(n-t)*a(e);d+=100*e+`%{${o(i,1-i)}}
2
2
  `}const u=d+`100% {${o(n,1-n)}}
3
- }`,p=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,m=L(e),{stylesheet:h,rules:g}=_.get(m)||(s=m,l={stylesheet:(l=e,f=me("style"),de((l=L(l)).head||l,f),f.sheet),rules:{}},_.set(s,l),l);g[p]||(g[p]=!0,h.insertRule(`@keyframes ${p} `+u,h.cssRules.length));var f=e.style.animation||"";return e.style.animation=(f?f+", ":"")+p+` ${i}ms linear ${r}ms 1 both`,D+=1,p}function N(e){R=e}function Ie(){if(R)return R;throw new Error("Function called outside component initialization")}function it(e){Ie().$$.on_mount.push(e)}const O=[],rt=[],p=[],m=[],U=Promise.resolve();let z=!1;function q(){z||(z=!0,U.then(f))}function ke(){return q(),U}function Z(e){p.push(e)}const J=new Set;let K,X=0;function f(){const e=R;do{for(;X<O.length;){const e=O[X];X++,N(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),Y(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(Z))}for(N(null),O.length=0,X=0;rt.length;)rt.pop()();for(let e=0;e<p.length;e+=1){const i=p[e];J.has(i)||(J.add(i),i())}}while(p.length=0,O.length);for(;m.length;)m.pop()();z=!1,J.clear(),N(e)}function Q(e,t,n){e.dispatchEvent(function(e,{bubbles:t=!1,cancelable:n=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t,n,void 0),i}((t?"intro":"outro")+n))}const ee=new Set;let te;function ne(){te={r:0,c:[],p:te}}function ie(){te.r||Y(te.c),te=te.p}function re(e,t){e&&e.i&&(ee.delete(e),e.i(t))}function ae(e,t,n,i){e&&e.o&&(ee.has(e)||(ee.add(e),te.c.push(()=>{ee.delete(e),i&&(n&&e.d(1),i())}),e.o(t)))}const oe={duration:0};function se(l,e,t,n){let c=e(l,t),d=n?0:1,u=null,p=null,m=null;function h(){if(m){var e=l,t=m;const n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=n.length-i.length;r&&(e.style.animation=i.join(", "),(D-=r)||M(()=>{D||(_.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),_.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 i(e){const{delay:t=0,duration:n=300,easing:i=w,tick:r=W,css:a}=c||oe,o={start:C()+t,b:e};if(e||((o.group=te).r+=1),!u&&!p){a&&(h(),m=A(l,d,e,n,t,i,a)),e&&r(0,1),u=g(o,n),Z(()=>Q(l,e,"start"));{var s=e=>{if(p&&e>p.start&&(u=g(p,n),p=null,Q(l,u.b,"start"),a&&(h(),m=A(l,d,u.b,u.duration,0,i,c.css))),u)if(e>=u.end)r(d=u.b,1-d),Q(l,u.b,"end"),p||(u.b?h():--u.group.r||Y(u.group.c)),u=null;else if(e>=u.start){const l=e-u.start;d=u.a+u.d*i(l/u.duration),r(d,1-d)}return!(!u&&!p)};let t;return 0===T.size&&M(E),void new Promise(e=>{T.add(t={c:s,f:e})})}}p=o}return{run(e){F(c)?(K||(K=Promise.resolve()).then(()=>{K=null}),K.then(()=>{c=c(),i(e)})):i(e)},end(){h(),u=p=null}}}function le(e,t){e.d(1),t.delete(e.key)}function be(t,n,i,r,a,o,s,l,e,c,d,u){let p=t.length,m=o.length,h=p;const g={};for(;h--;)g[t[h].key]=h;const f=[],y=new Map,b=new Map;for(h=m;h--;){const t=u(a,o,h),l=i(t);let e=s.get(l);e?r&&e.p(t,n):(e=c(l,t)).c(),y.set(l,f[h]=e),l in g&&b.set(l,Math.abs(h-g[l]))}const v=new Set,w=new Set;function $(e){re(e,1),e.m(l,d),s.set(e.key,e),d=e.first,m--}for(;p&&m;){const n=f[m-1],i=t[p-1],r=n.key,a=i.key;n===i?(d=n.first,p--,m--):y.has(a)?!s.has(r)||v.has(r)?$(n):w.has(a)?p--:b.get(r)>b.get(a)?(w.add(r),$(n)):(v.add(a),p--):(e(i,s),p--)}for(;p--;){const n=t[p];y.has(n.key)||e(n,s)}for(;m;)$(f[m-1]);return f}function i(i,e,t,n,r,a,o,s=[-1]){var l=R;N(i);const c=i.$$={fragment:null,ctx:null,props:a,update:W,not_equal:r,bound:x(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:x(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&r(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d&&(n=e,-1===(e=i).$$.dirty[0]&&(O.push(e),q(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),d=!0,Y(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const i=Array.from(a.childNodes);c.fragment&&c.fragment.l(i),i.forEach(pe)}else c.fragment&&c.fragment.c();e.intro&&re(i.$$.fragment);{var u=i;s=e.target;o=e.anchor;t=e.customElement;const{fragment:p,on_mount:m,on_destroy:h,after_update:g}=u.$$;p&&p.m(s,o),t||Z(()=>{var e=m.map($).filter(F);h?h.push(...e):Y(e),u.$$.on_mount=[]}),g.forEach(Z)}f()}N(l)}let r;"function"==typeof HTMLElement&&(r=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map($).filter(F);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){Y(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(Y(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=W}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var ve,we,$e="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==$e&&$e,xe="URLSearchParams"in $e,Ce="Symbol"in $e&&"iterator"in Symbol,Fe="FileReader"in $e&&"Blob"in $e&&function(){try{return new Blob,!0}catch(e){return!1}}(),Se="FormData"in $e,Me="ArrayBuffer"in $e;function Te(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Ee(e){return e="string"!=typeof e?String(e):e}function Le(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ce&&(e[Symbol.iterator]=function(){return e}),e}function s(t){this.map={},t instanceof s?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Ge(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function _e(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Pe(e){var t=new FileReader,n=_e(t);return t.readAsArrayBuffer(e),n}function Be(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Re(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Fe&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Se&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:xe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Me&&Fe&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Be(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Me&&(ArrayBuffer.prototype.isPrototypeOf(e)||we(e))?this._bodyArrayBuffer=Be(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):xe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Fe&&(this.blob=function(){var e=Ge(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Ge(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Pe)}),this.text=function(){var e,t,n=Ge(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=_e(e),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Se&&(this.formData=function(){return this.text().then(Ne)}),this.json=function(){return this.text().then(JSON.parse)},this}Me&&(ve=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],we=ArrayBuffer.isView||function(e){return e&&-1<ve.indexOf(Object.prototype.toString.call(e))}),s.prototype.append=function(e,t){e=Te(e),t=Ee(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},s.prototype.delete=function(e){delete this.map[Te(e)]},s.prototype.get=function(e){return e=Te(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(Te(e))},s.prototype.set=function(e,t){this.map[Te(e)]=Ee(t)},s.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},s.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Le(n)},s.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Le(t)},s.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Le(n)},Ce&&(s.prototype[Symbol.iterator]=s.prototype.entries);var De=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];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.');var n,i=(t=t||{}).body;if(e instanceof Ae){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<De.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ne(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Oe(e,t){if(!(this instanceof Oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}Ae.prototype.clone=function(){return new Ae(this,{body:this._bodyInit})},Re.call(Ae.prototype),Re.call(Oe.prototype),Oe.prototype.clone=function(){return new Oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},Oe.error=function(){var e=new Oe(null,{status:0,statusText:""});return e.type="error",e};var He=[301,302,303,307,308],je=(Oe.redirect=function(e,t){if(-1===He.indexOf(t))throw new RangeError("Invalid status code");return new Oe(null,{status:t,headers:{location:e}})},$e.DOMException);try{new je}catch(o){(je=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),je.prototype.constructor=je}function Ue(i,o){return new Promise(function(r,e){var t=new Ae(i,o);if(t.signal&&t.signal.aborted)return e(new je("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new s,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},i=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){r(new Oe(i,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new je("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&$e.location.href?$e.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(Fe?a.responseType="blob":Me&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof s?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,Ee(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function In(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ue.polyfill=!0,$e.fetch||($e.fetch=Ue,$e.Headers=s,$e.Request=Ae,$e.Response=Oe);var ze=self.fetch.bind(self),We=function(e,t){return(We=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}We(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function qe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(i=a.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}function Ze(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function Je(e){return"function"==typeof e}function Ke(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 Xe=Ke(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Qe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}nt.prototype.unsubscribe=function(){var e,t,n,i,r;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Ve(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(Je(a))try{a()}catch(e){r=e instanceof Xe?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Ve(a),c=l.next();!c.done;c=l.next()){var d=c.value;try{ut(d)}catch(e){r=null!=r?r:[],e instanceof Xe?r=Ze(Ze([],qe(r)),qe(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(r)throw new Xe(r)}},nt.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ut(e);else{if(e instanceof nt){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},nt.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},nt.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},nt.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Qe(t,e)},nt.prototype.remove=function(e){var t=this._finalizers;t&&Qe(t,e),e instanceof nt&&e._removeParent(this)},nt.EMPTY=((e=new nt).closed=!0,e);var et=nt,tt=et.EMPTY;function nt(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function dt(e){return e instanceof et||e&&"closed"in e&&Je(e.remove)&&Je(e.add)&&Je(e.unsubscribe)}function ut(e){Je(e)?e():e.unsubscribe()}var pt=void 0,mt=!1,ht=!1,gt={setTimeout:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=gt.delegate;return null!=r&&r.setTimeout?r.setTimeout.apply(r,Ze([e,t],qe(n))):setTimeout.apply(void 0,Ze([e,t],qe(n)))},clearTimeout:function(e){var t=gt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ft(){}var yt=null;function bt(e){if(mt){var t=!yt;if(t&&(yt={errorThrown:!1,error:null}),e(),t){var t=yt,n=t.errorThrown,t=t.error;if(yt=null,n)throw t}}else e()}Ye(xt,vt=et),xt.create=function(e,t,n){return new St(e,t,n)},xt.prototype.next=function(e){this.isStopped||this._next(e)},xt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},xt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},xt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,vt.prototype.unsubscribe.call(this),this.destination=null)},xt.prototype._next=function(e){this.destination.next(e)},xt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},xt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var vt,wt=xt,$t=Function.prototype.bind;function xt(e){var t=vt.call(this)||this;return t.isStopped=!1,e?dt(t.destination=e)&&e.add(t):t.destination=Lt,t}function Ct(e,t){return $t.call(e,t)}Tt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Et(e)}},Tt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Et(e)}else Et(e)},Tt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Et(e)}};var kt,Ft=Tt,St=(Ye(Mt,kt=wt),Mt);function Mt(e,t,n){var i=kt.call(this)||this,n=Je(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:i&&ht?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&Ct(e.next,t),error:e.error&&Ct(e.error,t),complete:e.complete&&Ct(e.complete,t)}):e;return i.destination=new Ft(n),i}function Tt(e){this.partialObserver=e}function Et(e){var t=e;gt.setTimeout(function(){throw t})}var Lt={closed:!0,next:ft,error:function(e){throw e},complete:ft},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function It(e){return e}_t.prototype.lift=function(e){var t=new _t;return t.source=this,t.operator=e,t},_t.prototype.subscribe=function(e,t,n){var i,r=this,a=(i=e)&&i instanceof wt||i&&Je(i.next)&&Je(i.error)&&Je(i.complete)&&dt(i)?e:new St(e,t,n);return bt(function(){var e=r.operator,t=r.source;a.add(e?e.call(a,t):t?r._subscribe(a):r._trySubscribe(a))}),a},_t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},_t.prototype.forEach=function(i,e){var r=this;return new(e=Pt(e))(function(e,t){var n=new St({next:function(e){try{i(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});r.subscribe(n)})},_t.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},_t.prototype[e]=function(){return this},_t.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?It:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},_t.prototype.toPromise=function(e){var i=this;return new(e=Pt(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},_t.create=function(e){return new _t(e)};var Gt=_t;function _t(e){e&&(this._subscribe=e)}function Pt(e){return null!=(e=null!=e?e:pt)?e:Promise}var Bt,Rt,Dt,At=Ke(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Ye(zt,Dt=Gt),zt.prototype.lift=function(e){var t=new Nt(this,this);return t.operator=e,t},zt.prototype._throwIfClosed=function(){if(this.closed)throw new At},zt.prototype.next=function(r){var a=this;bt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=Ve(a.currentObservers),i=n.next();!i.done;i=n.next())i.value.next(r)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},zt.prototype.error=function(t){var n=this;bt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},zt.prototype.complete=function(){var t=this;bt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},zt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(zt.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),zt.prototype._trySubscribe=function(e){return this._throwIfClosed(),Dt.prototype._trySubscribe.call(this,e)},zt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},zt.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,i=this.isStopped,r=this.observers;return n||i?tt:(this.currentObservers=null,r.push(e),new et(function(){t.currentObservers=null,Qe(r,e)}))},zt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},zt.prototype.asObservable=function(){var e=new Gt;return e.source=this,e},zt.create=function(e,t){return new Nt(e,t)},zt),Nt=(Ye(Ut,Rt=e),Ut.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Ut.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Ut.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Ut.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:tt},Ut),Ot={now:function(){return(Ot.delegate||Date).now()},delegate:void 0},Ht=(Ye(jt,Bt=e),jt.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,r=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(i.push(e),r||i.push(a.now()+t)),this._trimBuffer(),Bt.prototype.next.call(this,e)},jt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t},jt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},jt);function jt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Ot);var i=Bt.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function Ut(e,t){var n=Rt.call(this)||this;return n.destination=e,n.source=t,n}function zt(){var e=Dt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Wt=[],Yt={};const Vt=[];function qt(i,r=W){let a;const o=new Set;function s(e){if(t(i,e)&&(i=e,a)){const e=!Vt.length;for(const e of o)e[1](),Vt.push(e,i);if(e){for(let e=0;e<Vt.length;e+=2)Vt[e][0](Vt[e+1]);Vt.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=W){const n=[e,t];return o.add(n),1===o.size&&(a=r(s)||W),e(i),()=>{o.delete(n),0===o.size&&(a(),a=null)}}}}function Zt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:qt(t,t=>{let n=!1;const i=[];let r=0,a=W;const o=()=>{var e;r||(a(),e=s(l?i[0]:i,t),d?t(e):a=F(e)?e:W)},e=c.map((e,t)=>u(e,e=>{i[t]=e,r&=~(1<<t),n&&o()},()=>{r|=1<<t}));return n=!0,o(),function(){Y(e),a()}}).subscribe}}function Jt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Kt));var t}var Kt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Xt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?rn(Array.isArray(e)?[]:{},e,t):e}function Qt(e,t,n){return e.concat(t).map(function(e){return Xt(e,n)})}function en(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function tn(e,t){try{return t in e}catch(e){return!1}}function nn(i,r,a){var o={};return a.isMergeableObject(i)&&en(i).forEach(function(e){o[e]=Xt(i[e],a)}),en(r).forEach(function(t){var e,n;(!tn(e=i,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(tn(i,t)&&a.isMergeableObject(r[t])?o[t]=function(e){if(!e.customMerge)return rn;e=e.customMerge(t);return"function"==typeof e?e:rn}(a)(i[t],r[t],a):o[t]=Xt(r[t],a))}),o}function rn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Qt,n.isMergeableObject=n.isMergeableObject||Jt,n.cloneUnlessOtherwiseSpecified=Xt;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):nn(e,t,n):Xt(t,n)}rn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return rn(e,t,n)},{});throw new Error("first argument should be an array")};var an=rn,on=function(e,t){return(on=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 sn(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}on(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,ln,b=function(){return(b=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function cn(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function dn(e){return e.type===y.literal}function un(e){return e.type===y.number}function pn(e){return e.type===y.date}function mn(e){return e.type===y.time}function hn(e){return e.type===y.select}function gn(e){return e.type===y.plural}function fn(e){return e.type===y.tag}function yn(e){return e&&"object"==typeof e&&e.type===ln.number}function bn(e){return e&&"object"==typeof e&&e.type===ln.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=ln=ln||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,vn=/(?:[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 wn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,$n=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,xn=/^(@+)?(\+|#+)?[rs]?$/g,Cn=/(\*)(0+)|(#+)(0+)|(0+)/g,kn=/^(0+)$/;function Fn(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(xn,function(e,t,n){return"string"!=typeof n?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===n?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),i}function Sn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Mn(e){return Sn(e)||{}}function Tn(e){for(var o={},t=0,n=e;t<n.length;t++){var i,r=n[t];switch(r.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=r.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=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=b(b(b({},o),{notation:"scientific"}),r.options.reduce(function(e,t){return b(b({},e),Mn(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),r.options.reduce(function(e,t){return b(b({},e),Mn(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(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Cn,function(e,t,n,i,r,a){if(t)o.minimumIntegerDigits=n.length;else{if(i&&r)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(kn.test(r.stem))o.minimumIntegerDigits=r.stem.length;else if($n.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace($n,function(e,t,n,i,r,a){return"*"===n?o.minimumFractionDigits=t.length:i&&"#"===i[0]?o.maximumFractionDigits=i.length:r&&a?(o.minimumFractionDigits=r.length,o.maximumFractionDigits=r.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=r.options[0];"w"===a?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=b(b({},o),Fn(a)))}else xn.test(r.stem)?o=b(b({},o),Fn(r.stem)):((a=Sn(r.stem))&&(o=b(b({},o),a)),(i=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)),!kn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(o=b(b({},o),i)))}return o}var En={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 Ln=new RegExp("^".concat(e.source,"*")),Gn=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,_n=!!String.fromCodePoint,Pn=!!Object.fromEntries,Bn=!!String.prototype.codePointAt,Rn=!!String.prototype.trimStart,Dn=!!String.prototype.trimEnd,An=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Nn=!0;try{Nn="a"===(null==(oi=qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:oi[0])}catch(o){Nn=!1}var On,Hn,jn=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Un=_n?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,a=0;a<r;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},zn=Pn?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n],a=r[0],r=r[1];t[a]=r}return t},Wn=Bn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,i=e.length;if(!(t<0||i<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?n:i-56320+(n-55296<<10)+65536},Yn=Rn?function(e){return e.trimStart()}:function(e){return e.replace(Ln,"")},Vn=Dn?function(e){return e.trimEnd()}:function(e){return e.replace(Gn,"")};function qn(e,t){return new RegExp(e,t)}Hn=Nn?(On=qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return On.lastIndex=t,null!=(t=On.exec(e)[1])?t:""}):function(e,t){for(var n,i=[];;){var r=Wn(e,t);if(void 0===r||Kn(r)||(33<=(n=r)&&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;i.push(r),t+=65536<=r?2:1}return Un.apply(void 0,i)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r,a=this.char();if(123===a){if((r=this.parseArgument(e,n)).err)return r;i.push(r.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Jn(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r;i.push(r.val)}else{if((r=this.parseLiteral(e,t)).err)return r;i.push(r.val)}}else{a=this.clonePosition();this.bump(),i.push({type:y.pound,location:v(a,this.clonePosition())})}}}return{val:i,err:null}},a.prototype.parseTag=function(e,t){var n=this.clonePosition(),i=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(i,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Jn(this.char()))return this.error(g.INVALID_TAG,v(e,this.clonePosition()));var r=this.clonePosition();return i!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:v(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,v(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(g.INVALID_TAG,v(n,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{r=this.tryParseUnquoted(e,t);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:i,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Jn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Un.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Un(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,v(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Hn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,n,i){var r,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(m=Vn(h.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(i)).err)return c;var d=v(i,this.clonePosition());if(l&&jn(null==l?void 0:l.style,"::",0)){var u=Yn(l.style.slice(2));if("number"===o)return(h=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?h:{val:{type:y.number,value:n,location:d,style:h.val},err:null};if(0===u.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,d);var p=u,m=(this.locale&&(p=function(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if("j"===r){for(var a=0;i+1<e.length&&e.charAt(i+1)===r;)a++,i++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(En[t||""]||En[n||""]||En["".concat(n,"-001")]||En["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===r?"H":r}return n}(u,this.locale)),{type:ln.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},p.replace(vn,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.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":r.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":r.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":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.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":r.minute=["numeric","2-digit"][t-1];break;case"s":r.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":r.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""}),r):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:d,style:m},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:d,style:null!=(u=null==l?void 0:l.style)?u:null},err:null};case"plural":case"selectordinal":case"select":p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,v(p,b({},p)));this.bumpSpace();var h,m=this.parseIdentifierIfPossible(),d=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),m=this.parseIdentifierIfPossible(),d=h.val}l=this.tryParsePluralOrSelectOptions(e,o,t,m);if(l.err)return l;if((c=this.tryParseArgumentClose(i)).err)return c;u=v(i,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:zn(l.val),location:u},err:null}:{val:{type:y.plural,value:n,options:zn(l.val),offset:d,pluralType:"plural"===o?"cardinal":"ordinal",location:u},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,v(a,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},a.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(wn).filter(function(e){return 0<e.length});n<i.length;n++){var r=i[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var a=r[0],r=r.slice(1),o=0,s=r;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:r})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:ln.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Tn(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var r=!1,a=[],o=new Set,s=i.value,l=i.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=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!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,v(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;a.push([s,{value:c.val,location:v(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(g.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;r=!0,a=10*a+(o-48),this.bump()}i=v(i,this.clonePosition());return r?An(a*=n)?{val:a,err:null}:this.error(t,i):this.error(e,i)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Wn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},a.prototype.bumpIf=function(e){if(jn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Kn(this.char());)this.bump()},a.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Zn=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Jn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Kn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Xn(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Zn(e,t).parse();if(e.err)throw(n=SyntaxError(g[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,hn(e)||gn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else un(e)&&yn(e.style)||(pn(e)||mn(e))&&bn(e.style)?delete e.style.location:fn(e)&&n(e.children)})}(e.val),e.val}function Qn(e,t){var n=t&&t.cache?t.cache:si,i=t&&t.serializer?t.serializer:ii;return(t&&t.strategy?t.strategy:function(e,t){return ni(e,this,1===e.length?ei:ti,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function ei(e,t,n,i){var n=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),r=t.get(n);return void 0===r&&(r=e.call(this,i),t.set(n,r)),r}function ti(e,t,n){var i=Array.prototype.slice.call(arguments,3),n=n(i),r=t.get(n);return void 0===r&&(r=e.apply(this,i),t.set(n,r)),r}function ni(e,t,n,i,r){return n.bind(t,e,i,r)}var ii=function(){return JSON.stringify(arguments)};function ri(){this.cache=Object.create(null)}ri.prototype.get=function(e){return this.cache[e]},ri.prototype.set=function(e,t){this.cache[e]=t};var ai,oi,si={create:function(){return new ri}},li={variadic:function(e,t){return ni(e,this,ti,t.cache.create(),t.serializer)},monadic:function(e,t){return ni(e,this,ei,t.cache.create(),t.serializer)}};(oi=ai=ai||{}).MISSING_VALUE="MISSING_VALUE",oi.INVALID_VALUE="INVALID_VALUE",oi.MISSING_INTL_API="MISSING_INTL_API";sn($i,mi=Error),$i.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ci,di,ui,pi,mi,hi=$i,gi=(sn(wi,pi=hi),wi),fi=(sn(vi,ui=hi),vi),yi=(sn(bi,di=hi),bi);function bi(e,t){return di.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ai.MISSING_VALUE,t)||this}function vi(e,t,n){return ui.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ai.INVALID_VALUE,n)||this}function wi(e,t,n,i){return pi.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ai.INVALID_VALUE,i)||this}function $i(e,t,n){e=mi.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function xi(e,t,n,i,r,a,o){if(1===e.length&&dn(e[0]))return[{type:ci.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(dn(d))s.push({type:ci.literal,value:d.value});else if(d.type===y.pound)"number"==typeof a&&s.push({type:ci.literal,value:n.getNumberFormat(t).format(a)});else{var u=d.value;if(!(r&&u in r))throw new yi(u,o);u=r[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?ci.literal:ci.object,value:u});else if(pn(d)){var p="string"==typeof d.style?i.date[d.style]:bn(d.style)?d.style.parsedOptions:void 0;s.push({type:ci.literal,value:n.getDateTimeFormat(t,p).format(u)})}else if(mn(d))p="string"==typeof d.style?i.time[d.style]:bn(d.style)?d.style.parsedOptions:i.time.medium,s.push({type:ci.literal,value:n.getDateTimeFormat(t,p).format(u)});else if(un(d))(p="string"==typeof d.style?i.number[d.style]:yn(d.style)?d.style.parsedOptions:void 0)&&p.scale&&(u*=p.scale||1),s.push({type:ci.literal,value:n.getNumberFormat(t,p).format(u)});else{if(fn(d)){var m=d.children,h=d.value,g=r[h];if("function"!=typeof g)throw new fi(h,"function",o);h=g(xi(m,t,n,i,r,a).map(function(e){return e.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(e){return{type:"string"==typeof e?ci.literal:ci.object,value:e}}))}if(hn(d)){if(!(f=d.options[u]||d.options.other))throw new gi(d.value,u,Object.keys(d.options),o);s.push.apply(s,xi(f.value,t,n,i,r))}else if(gn(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new hi('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ai.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 gi(d.value,u,Object.keys(d.options),o);s.push.apply(s,xi(f.value,t,n,i,r,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===ci.literal&&t.type===ci.literal?n.value+=t.value:e.push(t),e},[])}function Ci(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=ci=ci||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(Fi,"defaultLocale",{get:function(){return Fi.memoizedDefaultLocale||(Fi.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Fi.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Fi.memoizedDefaultLocale=null,Fi.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])},Fi.__parse=Xn,Fi.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 ki=Fi;function Fi(e,t,n,i){var r,a,o=this;if(void 0===t&&(t=Fi.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===ci.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return xi(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=Fi.resolveLocale(t),"string"==typeof e){if(this.message=e,!Fi.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Fi.__parse(e,{ignoreTag:null==i?void 0:i.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=(r=Fi.formats,(a=n)?Object.keys(r).reduce(function(e,t){var n,i;return e[t]=(n=r[t],(i=a[t])?b(b(b({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),i[t]||{}),e},{})):n),e},b({},r)):r),this.formatters=i&&i.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,cn([void 0],t,!1)))},{cache:Ci((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:li.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,cn([void 0],t,!1)))},{cache:Ci(t.dateTime),strategy:li.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,cn([void 0],t,!1)))},{cache:Ci(t.pluralRules),strategy:li.variadic})}}const Si={},Mi=(e,t,n)=>n&&(t in Si||(Si[t]={}),e in Si[t]||(Si[t][e]=n),n),Ti=(t,n)=>{if(null!=n){if(n in Si&&t in Si[n])return Si[n][t];var i=Ui(n);for(let e=0;e<i.length;e++){var r=function(e,n){if(!Li(e))return null;e=function(e){return Ei[e]||null}(e);{var i=n;if(null==i)return;if(i in e)return e[i];const r=i.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const i=r.slice(e,r.length).join(".");if(i in t){t=t[i];break}}t=t[r[e]]}else t=void 0;return t}}(i[e],t);if(r)return Mi(t,n,r)}}};let Ei;const at=qt({});function Li(e){return e in Ei}function Ii(t,...n){delete Si[t],at.update(e=>(e[t]=an.all([e[t]||{},...n]),e))}Zt([at],([e])=>Object.keys(e)),at.subscribe(e=>Ei=e);const Gi={};function _i(e){return Gi[e]}function Pi(e){return null!=e&&Ui(e).some(e=>{return null==(e=_i(e))?void 0:e.size})}const Bi={};function Ri(e){if(!Pi(e))return e in Bi?Bi[e]:Promise.resolve();const t=Ui(e).map(e=>{var t=_i(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Bi[e]=Promise.all(t.map(([e,t])=>{{var i=e;e=t;const n=Promise.all(e.map(e=>{var t=i,n=e;return Gi[t].delete(n),0===Gi[t].size&&delete Gi[t],e().then(e=>e.default||e)}));return n.then(e=>Ii(i,...e))}})).then(()=>{if(Pi(e))return Ri(e);delete Bi[e]}),Bi[e]}function Di(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}const Ai={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 Ni=qt(!1);let Oi;const Hi=qt(null);function ji(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Ui(e,t=Ai.fallbackLocale){e=ji(e);return t?[...new Set([...e,...ji(t)])]:e}function zi(){return null!=Oi?Oi:void 0}Hi.subscribe(e=>{Oi=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ot=Object.assign(Object.assign({},Hi),{set:t=>{if(t&&function(e){if(null!=e){var t=Ui(e);for(let e=0;e<t.length;e++){var n=t[e];if(Li(n))return n}}}(t)&&Pi(t)){var n=Ai["loadingDelay"];let e;return"undefined"!=typeof window&&null!=zi()&&n?e=window.setTimeout(()=>Ni.set(!0),n):Ni.set(!0),Ri(t).then(()=>{Hi.set(t)}).finally(()=>{clearTimeout(e),Ni.set(!1)})}return Hi.set(t)}}),Wi=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},Yi=(e,t)=>{var n=Ai["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Vi=Wi(e=>{var{locale:t,format:n}=e,e=Di(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Yi("number",n)),new Intl.NumberFormat(t,e)}),qi=Wi(e=>{var{locale:t,format:n}=e,e=Di(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Yi("date",n):0===Object.keys(e).length&&(e=Yi("date","short")),new Intl.DateTimeFormat(t,e)}),Zi=Wi(e=>{var{locale:t,format:n}=e,e=Di(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Yi("time",n):0===Object.keys(e).length&&(e=Yi("time","short")),new Intl.DateTimeFormat(t,e)}),Ji=Wi((e,t=zi())=>new ki(e,t,Ai.formats,{ignoreTag:Ai.ignoreTag})),Ki=Zt([ot,at],()=>(e,t={})=>{var n,i;let r=t;"object"==typeof e&&(e=(r=e).id);var{values:a,locale:o=zi(),default:s}=r;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ti(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!=(i=null!=(n=null==(n=(i=Ai).handleMissingMessage)?void 0:n.call(i,{locale:o,id:e,defaultValue:s}))?n:s)?i:e;if(!a)return l;let c=l;try{c=Ji(l,o).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),st=(Zt([ot],()=>(e,t)=>((e={})=>{var{locale:t=zi()}=e,e=Di(e,["locale"]);return Zi(Object.assign({locale:t},e))})(t).format(e)),Zt([ot],()=>(e,t)=>((e={})=>{var{locale:t=zi()}=e,e=Di(e,["locale"]);return qi(Object.assign({locale:t},e))})(t).format(e)),Zt([ot],()=>(e,t)=>((e={})=>{var{locale:t=zi()}=e,e=Di(e,["locale"]);return Vi(Object.assign({locale:t},e))})(t).format(e)),Zt([ot,at],()=>(e,t=zi())=>Ti(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Wt.indexOf(e)&&(t=new Ht(t),Yt[e]=t,Wt.push(e)),Yt[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))),lt=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Xi(i,r){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",r),ze(i+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Qi(e){ot.set(e)}function er(e,t){Ii(e,t)}const tr={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"}},"zh-hk":{headerItem:{login:"登錄",register:"登記",deposit:"訂金"}},fr:{headerItem:{login:"Connexion",register:"Registre",deposit:"Dépôt"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"}},es:{headerItem:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"}},pt:{headerItem:{login:"Entrar",register:"Registro",deposit:"Depósito"}}};function nr(e,t,n){const i=e.slice();return i[47]=t[n],i[49]=n,i}function ir(e,t,n){const i=e.slice();return i[50]=t[n],i}function rr(e,t,n){const i=e.slice();return i[53]=t[n],i[55]=n,i}function ar(t){let i,r=[],n=new Map,a=t[9];const o=e=>e[47].id;for(let e=0;e<a.length;e+=1){var s=nr(t,a,e),l=o(s);n.set(l,r[e]=mr(l,s))}return{c(){for(let e=0;e<r.length;e+=1)r[e].c();i=c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e].m(t,n);ue(t,i,n)},p(e,t){20429&t[0]&&(a=e[9],r=be(r,t,o,1,e,a,n,i.parentNode,le,mr,i,nr))},d(t){for(let e=0;e<r.length;e+=1)r[e].d(t);t&&pe(i)}}}function or(e){let n,i,r=e[47].name+"";return{c(){n=me("a"),i=he(r),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[0]&&r!==(r=e[47].name+"")&&ye(i,r)},d(e){e&&pe(n)}}}function sr(e){let n,i,r=e[47].label+"";return{c(){n=me("a"),i=he(r),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[0]&&r!==(r=e[47].label+"")&&ye(i,r)},d(e){e&&pe(n)}}}function lr(e){let n,i=0<e[10].length&&"true"==e[3]&&cr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){0<e[10].length&&"true"==e[3]?i?i.p(e,t):((i=cr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function cr(t){let r,a=t[10],o=[];for(let e=0;e<a.length;e+=1)o[e]=pr(ir(t,a,e));return{c(){r=me("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class","DropDown")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null)},p(t,n){if(18368&n[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){var i=ir(t,a,e);o[e]?o[e].p(i,n):(o[e]=pr(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&pe(r),H(o,e)}}}function dr(n){let i,r,a,o,s,l,c,d=n[53]?.name+"";function u(...e){return n[30](n[47],n[49],n[53],n[55],...e)}return{c(){i=me("li"),r=me("a"),a=he(d),s=ge(),fe(r,"class",o="SubDropDown "+(n[49]!=n[6]||n[7]!=n[55]&&n[8]!=n[55]?"":"active"))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,s),l||(c=V(i,"click",u),l=!0)},p(e,t){n=e,1024&t[0]&&d!==(d=n[53]?.name+"")&&ye(a,d),1984&t[0]&&o!==(o="SubDropDown "+(n[49]!=n[6]||n[7]!=n[55]&&n[8]!=n[55]?"":"active"))&&fe(r,"class",o)},d(e){e&&pe(i),l=!1,c()}}}function ur(e,n){let i,r,a=n[49]==n[50].index&&dr(n);return{key:e,first:null,c(){i=c(),a&&a.c(),r=c(),this.first=i},m(e,t){ue(e,i,t),a&&a.m(e,t),ue(e,r,t)},p(e,t){(n=e)[49]==n[50].index?a?a.p(n,t):((a=dr(n)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){e&&pe(i),a&&a.d(e),e&&pe(r)}}}function pr(t){let i,r=[],n=new Map,a=t[50].items;const o=e=>e[53].id;for(let e=0;e<a.length;e+=1){var s=rr(t,a,e),l=o(s);n.set(l,r[e]=ur(l,s))}return{c(){for(let e=0;e<r.length;e+=1)r[e].c();i=c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e].m(t,n);ue(t,i,n)},p(e,t){18368&t[0]&&(a=e[50].items,r=be(r,t,o,1,e,a,n,i.parentNode,le,ur,i,rr))},d(t){for(let e=0;e<r.length;e+=1)r[e].d(t);t&&pe(i)}}}function mr(e,n){let i,r,a,o,s,l;function c(e){return"headerMain"===e[0]?sr:or}let d=c(n),u=d(n),p=1==n[11][n[49]]&&lr(n);function m(...e){return n[31](n[47],n[49],...e)}return{key:e,first:null,c(){i=me("li"),u.c(),r=ge(),p&&p.c(),a=ge(),fe(i,"class",o="CarouselItem "+(-1<n[2].toString().indexOf("$")?n[2].split("$").pop()==n[47].id.split("$").pop()?"active":"":n[2]==n[47].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),fe(i,"part","CarouselItem"),this.first=i},m(e,t){ue(e,i,t),u.m(i,null),de(i,r),p&&p.m(i,null),de(i,a),s||(l=V(i,"click",m),s=!0)},p(e,t){d===(d=c(n=e))&&u?u.p(n,t):(u.d(1),(u=d(n))&&(u.c(),u.m(i,r))),1==n[11][n[49]]?p?p.p(n,t):((p=lr(n)).c(),p.m(i,a)):p&&(p.d(1),p=null),517&t[0]&&o!==(o="CarouselItem "+(-1<n[2].toString().indexOf("$")?n[2].split("$").pop()==n[47].id.split("$").pop()?"active":"":n[2]==n[47].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&fe(i,"class",o)},d(e){e&&pe(i),u.d(),p&&p.d(),s=!1,l()}}}function hr(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w=0<n[9].length&&ar(n);return{c(){i=me("div"),r=me("div"),(a=me("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=ge(),s=me("div"),l=me("ul"),(c=me("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',d=ge(),w&&w.c(),u=ge(),(p=me("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=W,fe(a,"class","CarouselLeftArrow"),fe(a,"part","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(l,"part","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(p,"class","CarouselRightArrow"),fe(p,"part","CarouselRightArrow"),fe(r,"class",m="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(r,"part",h="CarouselContainer "+(n[13]?"CarouselContainerMobile":"")+" "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(r,"style",g="headerMain"===n[0]?"max-width: auto":`max-width: ${n[1]}px`),fe(i,"class",f="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":"")),fe(i,"part",y="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(s,l),de(l,c),de(l,d),w&&w.m(l,null),n[32](l),n[33](s),de(r,u),de(r,p),n[35](i),b||(v=[V(a,"click",n[29]),V(p,"click",n[34])],b=!0)},p(e,t){0<e[9].length?w?w.p(e,t):((w=ar(e)).c(),w.m(l,null)):w&&(w.d(1),w=null),1&t[0]&&m!==(m="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(r,"class",m),1&t[0]&&h!==(h="CarouselContainer "+(e[13]?"CarouselContainerMobile":"")+" "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(r,"part",h),3&t[0]&&g!==(g="headerMain"===e[0]?"max-width: auto":`max-width: ${e[1]}px`)&&fe(r,"style",g),1&t[0]&&f!==(f="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(i,"class",f),1&t[0]&&y!==(y="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(i,"part",y)},i:W,o:W,d(e){e&&pe(i),w&&w.d(),n[32](null),n[33](null),n[35](null),b=!1,Y(v)}}}function gr(t,e,a){let{endpoint:o=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:i="0"}=e,{location:c=""}=e,{clientstyling:r=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{translationurl:p=""}=e,{containermaxwidth:m=""}=e,{isprimarymenu:h=!1}=e,{issecondarymenu:g=!1}=e,{lang:f=""}=e,{activeindex:y="0"}=e,{showsubgroups:b="false"}=e;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(w),ot.set(v))}),Object.keys(tr).forEach(e=>{er(e,tr[e])});let $,x,C,k,F,S,M=window.navigator.userAgent,R="PC"!==lt(M),T=[],E=[],L=[],I=(e,t,n,i,r)=>{if(!e.subGroups||null!==i){if(B(),a(6,x=t),a(6,x),"secondary"!=r)return window.postMessage({type:l,itemId:e.id,index:t,item:e},window.location.href),a(7,C=null),void a(8,k=null);a(7,C=i),a(7,C),a(8,k=C),window.postMessage({type:l,itemId:n.id,subIndex:i,subItem:n},window.location.href)}},G=()=>{S.scrollBy({left:-250,behavior:"smooth"})},_=()=>{S.scrollBy({left:250,behavior:"smooth"})};const P=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(a(9,T=e.data.data),a(11,L=new Array(T.length).fill(!1)),"true"==b&&T.forEach((e,t)=>{var i,r,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(a(11,L[t]=!0,L),i=e,r=t,"secondaryMenu"==c&&o&&s&&f&&i.id&&(n=new URL(`${o}/casino/groups/${s}/${i.id}/subGroups?language=`+f),fetch(n.href).then(e=>e.json()).then(e=>{e.index=r,a(10,E=E.concat(e)),"false"==b&&window.postMessage({type:l,itemId:i.id,index:r,item:i},window.location.href);const n=[];E.map(e=>(e.items.forEach(t=>{n.find(e=>t.id==e)||n.push(t.id)}),n.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:n})}).then(()=>{$.querySelectorAll(".DropDown")&&B()})),"headerMain"==c&&window.postMessage({type:l,item:i},window.location.href))})),"GoToHomepage"==e.data.type&&T.forEach((e,t)=>{e.path.endsWith("/casino")&&(a(6,x=t),a(6,x))})},B=()=>{const t=$.querySelectorAll(".DropDown");document.activeElement.blur(),S.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+S.scrollLeft+"px)";S.classList.remove("isScrolling")};return it(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",P,!1),setTimeout(()=>{S.addEventListener("scroll",B)},500),()=>{window.removeEventListener("message",P),$.removeEventListener("scroll",B)})),t.$$set=e=>{"endpoint"in e&&a(17,o=e.endpoint),"datasource"in e&&a(18,s=e.datasource),"onclickeventname"in e&&a(19,n=e.onclickeventname),"actionevent"in e&&a(20,l=e.actionevent),"favoritesnumber"in e&&a(21,i=e.favoritesnumber),"location"in e&&a(0,c=e.location),"clientstyling"in e&&a(22,r=e.clientstyling),"clientstylingurl"in e&&a(23,d=e.clientstylingurl),"identity"in e&&a(24,u=e.identity),"translationurl"in e&&a(25,p=e.translationurl),"containermaxwidth"in e&&a(1,m=e.containermaxwidth),"isprimarymenu"in e&&a(26,h=e.isprimarymenu),"issecondarymenu"in e&&a(27,g=e.issecondarymenu),"lang"in e&&a(28,f=e.lang),"activeindex"in e&&a(2,y=e.activeindex),"showsubgroups"in e&&a(3,b=e.showsubgroups)},t.$$.update=()=>{if(t.$$.dirty[0],33554432&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{er(e,t[e])})}).catch(e=>{console.log(e)}),4194320&t.$$.dirty[0]&&r&&F){let e=document.createElement("style");e.innerHTML=r,F.appendChild(e)}if(8388624&t.$$.dirty[0]&&d&&F){let t=document.createElement("style"),e=new URL(d);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{F.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&f&&(e=f,ot.set(e))},[c,m,y,b,F,$,x,C,k,T,E,L,S,R,I,G,_,o,s,n,l,i,r,d,u,p,h,g,f,()=>G(),(e,t,n,i,r)=>{I(e,t,n,i,"secondary"),r.stopPropagation()},(e,t,n)=>{I(e,t,null,null,"main"),n.preventDefault()},function(e){rt[e?"unshift":"push"](()=>{$=e,a(5,$)})},function(e){rt[e?"unshift":"push"](()=>{S=e,a(12,S)})},()=>_(),function(e){rt[e?"unshift":"push"](()=>{F=e,a(4,F)})}]}function fr(n){let i,r,a,o;return{c(){i=me("div"),k(r=me("casino-slider"),"lang",n[3]),k(r,"datasource",n[2]),k(r,"endpoint",n[1]),k(r,"identity",wr),k(r,"favoritesnumber",n[13]),k(r,"showsubgroups",n[9]),k(r,"clientstyling",n[4]),k(r,"clientstylingurl",n[5]),k(r,"containermaxwidth",n[6]),k(r,"activeindex",n[0]),k(r,"actionevent",n[7]),k(r,"location",n[8]),fe(i,"class","CasinoCategoriesContainer"),fe(i,"part","CasinoCategoriesContainer")},m(e,t){ue(e,i,t),de(i,r),a||(o=S(n[14].call(null,r)),a=!0)},p(e,t){8&t[0]&&k(r,"lang",e[3]),4&t[0]&&k(r,"datasource",e[2]),2&t[0]&&k(r,"endpoint",e[1]),8192&t[0]&&k(r,"favoritesnumber",e[13]),512&t[0]&&k(r,"showsubgroups",e[9]),16&t[0]&&k(r,"clientstyling",e[4]),32&t[0]&&k(r,"clientstylingurl",e[5]),64&t[0]&&k(r,"containermaxwidth",e[6]),1&t[0]&&k(r,"activeindex",e[0]),128&t[0]&&k(r,"actionevent",e[7]),256&t[0]&&k(r,"location",e[8])},d(e){e&&pe(i),a=!1,o()}}}function yr(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function br(e){let n;return{c(){fe(n=me("div"),"class","CasinoCategoriesLoading"),fe(n,"part","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function vr(n){let i;function r(e){return e[10]?br:e[12]?yr:fr}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=W,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[25](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&pe(i),o.d(),n[25](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;padding:7px 10px;color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-color-contrast, #07072A)}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-color-secondary, #FD2839);background:-webkit-linear-gradient(var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-color-black, #000);background:var(--emfe-w-color-white, #FFF)}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},gr,hr,t,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,containermaxwidth:1,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:2,showsubgroups:3},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),f()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),f()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),f()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),f()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),f()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),f()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),f()}get containermaxwidth(){return this.$$.ctx[1]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),f()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get activeindex(){return this.$$.ctx[2]}set activeindex(e){this.$$set({activeindex:e}),f()}get showsubgroups(){return this.$$.ctx[3]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}});let wr="CasinoSliderData";function $r(t,e,n){let i,r,{endpoint:a=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{userid:l=""}=e,{session:c=""}=e,{mostplayed:d=""}=e,{mostplayedrounds:u=""}=e,{lastplayed:p="false"}=e,{lastplayedperiod:m=""}=e,{favorites:h=""}=e,{clientstyling:g=""}=e,{clientstylingurl:f=""}=e,{containermaxwidth:y=""}=e,{activecategory:b=""}=e,{actionevent:v=""}=e,{sessioncheck:w=""}=e,{location:$="secondaryMenu"}=e,{showsubgroups:x="false"}=e,{filteredcategories:C=""}=e,k=!0,F=[],S=!1,M=window.navigator.userAgent,T=!1,E=!1;const L=()=>{window.postMessage({type:"SliderData",identity:wr,data:F},window.location.href)};return t.$$set=e=>{"endpoint"in e&&n(1,a=e.endpoint),"datasource"in e&&n(2,o=e.datasource),"lang"in e&&n(3,s=e.lang),"userid"in e&&n(15,l=e.userid),"session"in e&&n(16,c=e.session),"mostplayed"in e&&n(17,d=e.mostplayed),"mostplayedrounds"in e&&n(18,u=e.mostplayedrounds),"lastplayed"in e&&n(19,p=e.lastplayed),"lastplayedperiod"in e&&n(20,m=e.lastplayedperiod),"favorites"in e&&n(21,h=e.favorites),"clientstyling"in e&&n(4,g=e.clientstyling),"clientstylingurl"in e&&n(5,f=e.clientstylingurl),"containermaxwidth"in e&&n(6,y=e.containermaxwidth),"activecategory"in e&&n(0,b=e.activecategory),"actionevent"in e&&n(7,v=e.actionevent),"sessioncheck"in e&&n(22,w=e.sessioncheck),"location"in e&&n(8,$=e.location),"showsubgroups"in e&&n(9,x=e.showsubgroups),"filteredcategories"in e&&n(23,C=e.filteredcategories)},t.$$.update=()=>{if(14&t.$$.dirty[0]&&a&&o&&s&&(a||(i="Endpoint is missing! Please provide a valid endpointURL.",n(12,S=!0),n(10,k=!1),console.error(i)),o||(i="Datasource is missing! Please provide a valid datasource.",n(12,S=!0),n(10,k=!1),console.error(i)),(!s||s.length<2)&&(i="Language is missing! Please provide a valid language (alpha2code)",n(12,S=!0),n(10,k=!1),console.error(i)),!S)){let e=new URL(a+"/casino/groups/"+o);e.searchParams.append("datasource",o),e.searchParams.append("language",s),e.searchParams.append("platform",lt(M)),fetch(e).then(e=>e.json()).then(e=>{let i=C.split(","),t=e.items.filter(e=>{let t=!1;if(0<e.games.total&&(t=!0,C))for(var n of i)e.flags==n&&(t=!1);return t});(F=(F=[]).concat(t)).unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(10,k=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(12,S=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(12,S=!0),console.error("There was an error while fetching the categories",e)})}if(2819074&t.$$.dirty[0]&&a&&c&&(d||p||h)&&!k&&(0!=T||"true"!=h&&"true"!=d&&"true"!=p||F.splice(1,0,{id:"MYGAMES",name:"My Games",href:"",games:[]}),ke(),T=!0,n(24,E=!0),L()),16843777&t.$$.dirty[0]&&!k&&b&&(!c||E)&&(e=b.split("$"),n(0,b=2<e.length?b.split("$").slice(0,2).join("$"):b)),2064&t.$$.dirty[0]&&g&&r){let e=document.createElement("style");e.innerHTML=g,r.appendChild(e)}if(2080&t.$$.dirty[0]&&f&&r){let t=document.createElement("style"),e=new URL(f);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e},n(13,0),[b,a,o,s,g,f,y,v,$,x,k,r,S,0,L,l,c,d,u,p,m,h,w,C,E,function(e){rt[e?"unshift":"push"](()=>{r=e,n(11,r)})}]}function xr(e,t){Ii(e,t)}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var(--emfe-w-color-black, #000000)}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},$r,vr,t,{endpoint:1,datasource:2,lang:3,userid:15,session:16,mostplayed:17,mostplayedrounds:18,lastplayed:19,lastplayedperiod:20,favorites:21,clientstyling:4,clientstylingurl:5,containermaxwidth:6,activecategory:0,actionevent:7,sessioncheck:22,location:8,showsubgroups:9,filteredcategories:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get userid(){return this.$$.ctx[15]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[16]}set session(e){this.$$set({session:e}),f()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[18]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[19]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get containermaxwidth(){return this.$$.ctx[6]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[7]}set actionevent(e){this.$$set({actionevent:e}),f()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}get location(){return this.$$.ctx[8]}set location(e){this.$$set({location:e}),f()}get showsubgroups(){return this.$$.ctx[9]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}});const Cr={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},"zh-hk":{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"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:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}};function kr(e,t){Ii(e,t)}const Fr={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"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":{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen.",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:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar 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:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};Mr=Sr={path:void 0,exports:{},require:function(e,t){return In(null==t&&Sr.path)}},Sr.exports,Mr.exports=function(){var R;function h(){return R.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function D(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=[],i=e.length,r=0;r<i;++r)n.push(t(e[r],r));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,i){return It(e,t,n,i,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function U(e){if(null==e._isValid){var t=f(e),n=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 z(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,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},Y=h.momentProperties=[],V=!1;function q(e,t){var n,i,r,a=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(r=t[i=Y[n]])||(e[i]=r);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(a,o){var s=!0;return j(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,a),s){for(var e,t,n=[],i=arguments.length,r=0;r<i;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}J(a+"\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,i=j({},e);for(n in t)g(t,n)&&(D(e[n])&&D(t[n])?(i[n]={},j(i[n],e[n]),j(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)g(e,n)&&!g(t,n)&&D(e[n])&&(i[n]=j({},i[n]));return i}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 a(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}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,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,re={},ae={};function i(e,t,n,i){var r="string"==typeof i?function(){return this[i]()}:i;e&&(ae[e]=r),t&&(ae[t[0]]=function(){return a(r.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),re[t]=re[t]||function(i){for(var e,r=i.match(ne),t=0,a=r.length;t<a;t++)ae[r[t]]?r[t]=ae[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=d(r[n])?r[n].call(e,i):r[n];return t}}(t),re[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=n&&ie.test(e);)e=e.replace(ie,i),ie.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,i={};for(n in e)g(e,n)&&(t=u(n))&&(i[t]=e[n]);return i}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?p(e):t}function pe(t,n){return function(e){return null!=e?(he(this,t,e),h.updateOffset(this,n),this):me(this,t)}}function me(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=m(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var r=/\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,i){Te[e]=d(n)?n:function(e,t){return e&&i?i:n}}function Me(e,t){return g(Te,e)?Te[e](t._strict,t._locale):new RegExp($(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Te={},Ee={};function x(e,n){var t,i,r=n;for("string"==typeof e&&(e=[e]),N(n)&&(r=function(e,t){t[n]=m(e)}),i=e.length,t=0;t<i;t++)Ee[e[t]]=r}function Le(e,r){x(e,function(e,t,n,i){n._w=n._w||{},r(e,n._w,n,i)})}var C,k=0,F=1,S=2,M=3,T=4,E=5,Ie=6,Ge=7,_e=8;function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return 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},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("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]=m(e)-1}),x(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[F]=i:f(n).invalidMonth=e});var Be="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),De=/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=m(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):me(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],r=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),r.sort(e),a=0;a<12;a++)n[a]=$(n[a]),i[a]=$(i[a]);for(a=0;a<24;a++)r[a]=$(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return ue(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(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):m(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 m(e)+(68<m(e)?1900:2e3)};var ze=pe("FullYear",!0);function We(e,t,n,i,r,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function Ye(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function qe(e,t,n,i,r){var a,t=1+7*(t-1)+(7+n-i)%7+Ve(e,i,r),n=t<=0?Ue(a=e-1)+t:t>Ue(e)?(a=e+1,t-Ue(e)):(a=e,t);return{year:a,dayOfYear:n}}function Ze(e,t,n){var i,r,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?i=a+L(r=e.year()-1,t,n):a>L(e.year(),t,n)?(i=a-L(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function L(e,t,n){var i=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("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),Le(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=m(e)});function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("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)}),Le(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),Le(["d","e","E"],function(e,t,n,i){t[i]=m(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 it(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],a=[],o=[],s=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=$(this.weekdaysMin(i,"")),n=$(this.weekdaysShort(i,"")),i=$(this.weekdays(i,"")),r.push(t),a.push(n),o.push(i),s.push(t),s.push(n),s.push(i);r.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function rt(){return this.hours()%12||12}function at(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,rt),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+rt.apply(this)+a(this.minutes(),2)}),i("hmmss",0,0,function(){return""+rt.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),x(["H","HH"],M),x(["k","kk"],function(e,t,n){e=m(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]=m(e),f(n).bigHour=!0}),x("hmm",function(e,t,n){var i=e.length-2;t[M]=m(e.substr(0,i)),t[T]=m(e.substr(i)),f(n).bigHour=!0}),x("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[M]=m(e.substr(0,i)),t[T]=m(e.substr(i,2)),t[E]=m(e.substr(r)),f(n).bigHour=!0}),x("Hmm",function(e,t,n){var i=e.length-2;t[M]=m(e.substr(0,i)),t[T]=m(e.substr(i))}),x("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[M]=m(e.substr(0,i)),t[T]=m(e.substr(i,2)),t[E]=m(e.substr(r))});v=pe("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:Be,monthsShort:Re,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,i,r,a=0;a<e.length;){for(t=(r=dt(e[a]).split("-")).length,n=(n=dt(e[a+1]))?n.split("-"):null;0<t;){if(i=pt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(r,n)>=t-1)break;t--}a++}return st}function pt(t){var e;if(void 0===I[t]&&Mr&&Mr.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,In(),mt(e)}catch(e){I[t]=null}return I[t]}function mt(e,t){return e&&((t=s(t)?G(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,i=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."),i=I[e]._config;else if(null!=t.parentLocale)if(null!=I[t.parentLocale])i=I[t.parentLocale]._config;else{if(null==(n=pt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=n._config}return I[e]=new ee(Q(i,t)),ct[e]&&ct[e].forEach(function(e){ht(e.name,e.config)}),mt(e),I[e]}function G(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=pt(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[T]||0!==t[E]||0!==t[Ie])?M:t[T]<0||59<t[T]?T:t[E]<0||59<t[E]?E:t[Ie]<0||999<t[Ie]?Ie:-1,f(e)._overflowDayOfYear&&(t<k||S<t)&&(t=S),f(e)._overflowWeeks&&-1===t&&(t=Ge),f(e)._overflowWeekday&&-1===t&&(t=_e),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,i,r,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){r=vt[t][0],i=!1!==vt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!i&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=r+(a||"")+(o||""),Et(e)}else e._isValid=!1}function Ft(e,t,n,i,r,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Re.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return a&&e.push(parseInt(a,10)),e}function St(e){var t,n,i,r,a=xt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Ft(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],i=t,r=e,n&&Xe.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(f(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(n=a[8],i=a[9],r=a[10],n?Ct[n]:i?0:((n=parseInt(r,10))-(i=n%100))/100*60+i),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 Tt(e){var t,n,i,r,a,o,s,l,c,d,u,p=[];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,i=Mt(u.GG,d._a[k],Ze(_(),1,4).year),r=Mt(u.W,1),((a=Mt(u.E,1))<1||7<a)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Ze(_(),o,s),i=Mt(u.gg,d._a[k],c.year),r=Mt(u.w,c.week),null!=u.d?((a=u.d)<0||6<a)&&(l=!0):null!=u.e?(a=u.e+o,(u.e<0||6<u.e)&&(l=!0)):a=o),r<1||r>L(i,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=qe(i,r,a,o,s),d._a[k]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[k],n[k]),(e._dayOfYear>Ue(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]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[T]&&0===e._a[E]&&0===e._a[Ie]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:We).apply(null,p),i=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!==i&&(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,i,r=""+e._i,a=r.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)i=n[l],(t=(r.match(Me(i,e))||[])[0])&&(0<(u=r.substr(0,r.indexOf(t))).length&&f(e).unusedInput.push(u),r=r.slice(r.indexOf(t)+t.length),o+=t.length),ae[i]?(t?f(e).empty=!1:f(e).unusedTokens.push(i),u=i,m=e,null!=(p=t)&&g(Ee,u)&&Ee[u](p,m._a,m,u)):e._strict&&!t&&f(e).unusedTokens.push(i);f(e).charsLeftOver=a-o,0<r.length&&f(e).unusedInput.push(r),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(a=e._locale,c=e._a[M],null==(d=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,d):null!=a.isPM?((a=a.isPM(d))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[k]=e._locale.erasConvertYear(d,e._a[k])),Tt(e),gt(e)}else St(e);else kt(e);var c,d,u,p,m}function Lt(e){var t,n=e._i,i=e._f;{var r,a;if(e._locale=e._locale||G(e._l),null===n||void 0===i&&""===n)return z({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new Z(gt(n)):(O(n)?e._d=n:o(i)?function(e){var t,n,i,r,a,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)a=0,o=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Et(t),U(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<i&&(i=a,n=t):(null==i||a<i||o)&&(i=a,n=t,o&&(s=!0));j(e,n||t)}(e):i?Et(e):s(i=(n=e)._i)?n._d=new Date(h.now()):O(i)?n._d=new Date(i.valueOf()):"string"==typeof i?(r=n,null===(a=$t.exec(r._i))?(kt(r),!1===r._isValid&&(delete r._isValid,St(r),!1===r._isValid&&(delete r._isValid,r._strict?r._isValid=!1:h.createFromInputFallback(r)))):r._d=new Date(+a[1])):o(i)?(n._a=H(i.slice(0),function(e){return parseInt(e,10)}),Tt(n)):D(i)?(r=n)._d||(t=void 0===(a=ce(r._i)).day?a.date:a.day,r._a=H([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),Tt(r)):N(i)?n._d=new Date(i):h.createFromInputFallback(n),U(e)||(e._d=null),e)}}function It(e,t,n,i,r){var a={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(D(e)&&A(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=e,a._f=t,a._strict=i,(r=new Z(gt(Lt(r=a))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function _(e,t,n,i){return It(e,t,n,i,!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=_.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:z()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:z()});function Gt(e,t){var n,i;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return _();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var _t=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,i=e.month||0,r=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,i=!1,r=_t.length;for(t in e)if(g(e,t)&&(-1===C.call(_t,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[_t[n]]){if(i)return!1;parseFloat(e[_t[n]])!==m(e[_t[n]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*n+12*t,this._data={},this._locale=G(),this._bubble()}function Bt(e){return e instanceof Pt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Dt(e,n){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}Dt("Z",":"),Dt("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]+m(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:_(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),h.updateOffset(t,!1),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 Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?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,i,r=e,a=null;return Bt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:N(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(a=Ut.exec(e))?(n="-"===a[1]?-1:1,r={y:0,d:m(a[S])*n,h:m(a[M])*n,m:m(a[T])*n,s:m(a[E])*n,ms:m(Rt(1e3*a[Ie]))*n}):(a=zt.exec(e))?(n="-"===a[1]?-1:1,r={y:Wt(a[2],n),M:Wt(a[3],n),w:Wt(a[4],n),d:Wt(a[5],n),h:Wt(a[6],n),m:Wt(a[7],n),s:Wt(a[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=_(r.from),a=_(r.to),n=t.isValid()&&a.isValid()?(a=Ot(a,t),t.isBefore(a)?i=Yt(t,a):((i=Yt(a,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(r={}).ms=n.milliseconds,r.M=n.months),a=new Pt(r),Bt(e)&&g(e,"_locale")&&(a._locale=e._locale),Bt(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}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(i,r){return function(e,t){var n;return null===t||isNaN(+t)||(X(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(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),i),this}}function qt(e,t,n,i){var r=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(i=null==i||i,t&&Oe(e,me(e,"Month")+t*n),a&&he(e,"Date",me(e,"Date")+a*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&h.updateOffset(e,a||t))}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Be=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),i=!1,n&&(i=0===t.filter(function(e){return!N(e)&&Zt(t)}).length),n&&i)||function(e){var t,n,i=D(e)&&!A(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],r=r||g(e,n);return i&&r}(e)||null==e;var t,n,i}function Kt(e,t){if(e.date()<t.date())return-Kt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=G(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=[],i=[],r=this.eras(),a=0,o=r.length;a<o;++a)t.push($(r[a].name)),e.push($(r[a].abbr)),n.push($(r[a].narrow)),i.push($(r[a].name)),i.push($(r[a].abbr)),i.push($(r[a].narrow));this._erasRegex=new RegExp("^("+i.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){i(0,[e,e.length],0,t)}function ln(e,t,n,i,r){var a;return null==e?Ze(this,i,r).year:(t>(a=L(e,i,r))&&(t=a),function(e,t,n,i,r){e=qe(e,t,n,i,r),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,i,r))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("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,i){i=n._locale.erasParse(e,i,n._strict);i?f(n).era=i: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,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[k]=n._locale.eraYearOrdinalParse(e,r):t[k]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(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),Le(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=m(e)}),Le(["gg","GG"],function(e,t,n,i){t[i]=h.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",r),x("Q",function(e,t){t[F]=3*(m(e)-1)}),i("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]=m(e.match(b)[0])});$e=pe("Date",!0);i("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=m(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),x(["m","mm"],T);fe=pe("Minutes",!1);i("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=pe("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,r),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function dn(e,t){t[Ie]=m(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")x(cn,dn);ye=pe("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");r=Z.prototype;function un(e){return e}r.add=Be,r.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=D(e)&&!A(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||g(e,i[r]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||_(),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,_(e)))},r.clone=function(){return new Z(this)},r.diff=function(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Ot(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=u(t)){case"year":a=Kt(this,i)/12;break;case"month":a=Kt(this,i);break;case"quarter":a=Kt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:p(a)},r.endOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),h.updateOffset(this,!0),this},r.format=function(e){return e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},r.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||_(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.fromNow=function(e){return this.from(_(),e)},r.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||_(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.toNow=function(e){return this.to(_(),e)},r.get=function(e){return d(this[e=u(e)])?this[e]():this},r.invalidAt=function(){return f(this).overflow},r.isAfter=function(e,t){return e=l(e)?e:_(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},r.isBefore=function(e,t){return e=l(e)?e:_(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},r.isBetween=function(e,t,n,i){return e=l(e)?e:_(e),t=l(t)?t:_(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},r.isSame=function(e,t){var e=l(e)?e:_(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()))},r.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},r.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},r.isValid=function(){return U(this)},r.lang=Qe,r.locale=Xt,r.localeData=Qt,r.max=ve,r.min=be,r.parsingFlags=function(){return j({},f(this))},r.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)),i=n.length,r=0;r<i;r++)this[n[r].unit](e[n[r].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},r.startOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),h.updateOffset(this,!0),this},r.subtract=Ke,r.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},r.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()}},r.toDate=function(){return new Date(this.valueOf())},r.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):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")},r.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(r[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},r.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},r.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++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""},r.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++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""},r.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++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""},r.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-h(n[i].since).year())*e+n[i].offset;return this.year()},r.year=ze,r.isLeapYear=function(){return ue(this.year())},r.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},r.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},r.quarter=r.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},r.month=He,r.daysInMonth=function(){return Pe(this.year(),this.month())},r.week=r.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},r.isoWeek=r.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},r.weeksInYear=function(){var e=this.localeData()._week;return L(this.year(),e.dow,e.doy)},r.weeksInWeekYear=function(){var e=this.localeData()._week;return L(this.weekYear(),e.dow,e.doy)},r.isoWeeksInYear=function(){return L(this.year(),1,4)},r.isoWeeksInISOWeekYear=function(){return L(this.isoWeekYear(),1,4)},r.date=$e,r.day=r.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},r.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},r.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},r.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")},r.hour=r.hours=v,r.minute=r.minutes=fe,r.second=r.seconds=xe,r.millisecond=r.milliseconds=ye,r.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r: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&&(i=Ht(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?qt(this,P(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},r.utc=function(e){return this.utcOffset(0,e)},r.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},r.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},r.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?_(e).utcOffset():0,(this.utcOffset()-e)%60==0)},r.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},r.isLocal=function(){return!!this.isValid()&&!this._isUTC},r.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},r.isUtc=jt,r.isUTC=jt,r.zoneAbbr=function(){return this._isUTC?"UTC":""},r.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},r.dates=e("dates accessor is deprecated. Use date instead.",$e),r.months=e("months accessor is deprecated. Use month instead",He),r.years=e("years accessor is deprecated. Use year instead",ze),r.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()}),r.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return q(t,this),(t=Lt(t))._a?(e=(t._isUTC?c:_)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0,o=0;o<i;o++)(n&&e[o]!==t[o]||!n&&m(e[o])!==m(t[o]))&&a++;return a+r}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function pn(e,t,n,i){var r=G(),i=c().set(i,t);return r[n](i,e)}function mn(e,t,n){if(N(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");for(var i=[],r=0;r<12;r++)i[r]=pn(e,r,n,"month");return i}function hn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),N(t)&&(n=t,t=void 0),t||"");var r,a=G(),o=e?a._week.dow:0,s=[];if(null!=n)return pn(t,(n+o)%7,i,"day");for(r=0;r<7;r++)s[r]=pn(t,(r+o)%7,i,"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,i){var r=this._relativeTime[n];return d(r)?r(e,t,n,i):r.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,i=this._eras||G("en")._eras,r=0,a=i.length;r<a;++r)switch("string"==typeof i[r].since&&(n=h(i[r].since).startOf("day"),i[r].since=n.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=h(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},y.erasParse=function(e,t,n){var i,r,a,o,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(a===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if(0<=[a,o,s].indexOf(e))return l[i]},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||De).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[De.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var i,r;if(this._monthsParseExact)return function(e,t,n){var i,r,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))||-1!==(r=C.call(this._longMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))||-1!==(r=C.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=c([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},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 i,r;if(this._weekdaysParseExact)return function(e,t,n){var i,r,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=c([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||it.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")||it.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")||it.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"},mt("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===m(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.",mt),h.langData=e("moment.langData is deprecated. Use moment.localeData instead.",G);var gn=Math.abs;function fn(e,t,n,i){t=P(t,n);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*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"),Be=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"),ze=$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,i){var r=P(e).abs(),a=Fn(r.as("s")),o=Fn(r.as("m")),s=Fn(r.as("h")),l=Fn(r.as("d")),c=Fn(r.as("M")),d=Fn(r.as("w")),r=Fn(r.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(a=(a=null!=n.w?a||d<=1&&["w"]||d<n.w&&["ww",d]:a)||c<=1&&["M"]||c<n.M&&["MM",c]||r<=1&&["y"]||["yy",r])[2]=t,a[3]=0<+e,a[4]=i,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,a)}var Tn=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Ln(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,a,o,s=Tn(this._milliseconds)/1e3,l=Tn(this._days),c=Tn(this._months),d=this.asSeconds();return d?(e=p(s/60),t=p(e/60),s%=60,e%=60,n=p(c/12),c%=12,i=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=En(this._months)!==En(d)?"-":"",a=En(this._days)!==En(d)?"-":"",o=En(this._milliseconds)!==En(d)?"-":"",(d<0?"-":"")+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+i+"S":"")):"P0D"}var B=Pt.prototype;return B.isValid=function(){return this._isValid},B.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},B.add=function(e,t){return fn(this,e,t,1)},B.subtract=function(e,t){return fn(this,e,t,-1)},B.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+i/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+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},B.asMilliseconds=we,B.asSeconds=ge,B.asMinutes=Be,B.asHours=ve,B.asDays=be,B.asWeeks=Ke,B.asMonths=v,B.asQuarters=fe,B.asYears=xe,B.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12):NaN},B._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),i.milliseconds=e%1e3,e=p(e/1e3),i.seconds=e%60,e=p(e/60),i.minutes=e%60,e=p(e/60),i.hours=e%24,t+=p(e/24),n+=e=p(bn(t)),t-=yn(vn(e)),e=p(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},B.clone=function(){return P(this)},B.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},B.milliseconds=ye,B.seconds=$e,B.minutes=ze,B.hours=y,B.days=xn,B.weeks=function(){return p(this.days()/7)},B.months=Cn,B.years=kn,B.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Sn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Sn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),t=Mn(this,!n,i,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},B.toISOString=Ln,B.toString=Ln,B.toJSON=Ln,B.locale=Xt,B.localeData=Qt,B.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),B.lang=Qe,i("X",0,0,"unix"),i("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(m(e))}),h.version="2.29.3",R=_,h.fn=r,h.min=function(){return Gt("isBefore",[].slice.call(arguments,0))},h.max=function(){return Gt("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=c,h.unix=function(e){return _(1e3*e)},h.months=function(e,t){return mn(e,t,"months")},h.isDate=O,h.locale=mt,h.invalid=z,h.duration=P,h.isMoment=l,h.weekdays=function(e,t,n){return hn(e,t,n,"weekdays")},h.parseZone=function(){return _.apply(null,arguments).parseZone()},h.localeData=G,h.isDuration=Bt,h.monthsShort=function(e,t){return mn(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,i;return null!=t?(i=lt,null!=I[e]&&null!=I[e].parentLocale?I[e].set(Q(I[e]._config,t)):(t=Q(i=null!=(n=pt(e))?n._config:i,t),null==n&&(t.abbr=e),(i=new ee(t)).parentLocale=I[e],I[e]=i),mt(e)):null!=I[e]&&(null!=I[e].parentLocale?(I[e]=I[e].parentLocale,e===mt()&&mt(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?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=r,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 Sr,Mr,Tr=Sr.exports;function Er(e,t){Ii(e,t)}const Lr={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},"zh-hk":{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Ir={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 Gr(e,t,n){const i=e.slice();return i[109]=t[n],i[111]=n,i}function _r(e,t,n){const i=e.slice();return i[106]=t[n],i}function Pr(e){let n,i=!st(e[37])&&!e[0]&&e[15],r=i&&Br(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(i=32769&t[0]?!st(e[37])&&!e[0]&&e[15]:i)?r?r.p(e,t):((r=Br(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&pe(n)}}}function Br(n){let i,r,a;return{c(){(i=me("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(i,"class","FavIconContainer"),fe(i,"part","FavIconContainer")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[67]),r=!0)},p:W,d(e){e&&pe(i),r=!1,a()}}}function Rr(n){let i,r,a,o,s=n[36]("gameThumbnail.playNow")+"";return{c(){i=me("button"),r=he(s),fe(i,"class","GameInfoBtn"),fe(i,"part","GameInfoBtn")},m(e,t){ue(e,i,t),de(i,r),a||(o=V(i,"click",n[68]),a=!0)},p(e,t){32&t[1]&&s!==(s=e[36]("gameThumbnail.playNow")+"")&&ye(r,s)},d(e){e&&pe(i),a=!1,o()}}}function Dr(e){let n;return{c(){(n=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function Ar(n){let i,r,a;return{c(){(i=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(i,"class","FavIconContainer"),fe(i,"part","FavIconContainer")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[69]),r=!0)},p:W,d(e){e&&pe(i),r=!1,a()}}}function Nr(e){let n,i,r=e[36]("gameThumbnail.new")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[1]&&r!==(r=e[36]("gameThumbnail.new")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Or(e){let n,i;return{c(){n=me("span"),i=he(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&ye(i,e[8])},d(e){e&&pe(n)}}}function Hr(e){let n,i,r=!e[23]&&e[21]&&e[22]&&jr(e);function a(e){return e[23]&&e[20]&&e[20]===ea?zr:e[23]&&e[20]&&e[20]===ta?Ur:void 0}let o=a(e),s=o&&o(e);return{c(){r&&r.c(),n=ge(),s&&s.c(),i=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,i,t)},p(e,t){!e[23]&&e[21]&&e[22]?r?r.p(e,t):((r=jr(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){r&&r.d(e),e&&pe(n),s&&s.d(e),e&&pe(i)}}}function jr(e){let n,i,r,a,o,s,l,c,d,u,p=e[36]("gameThumbnail.opens")+"",m=Tr.utc(e[21]).local().format(e[22])+"",h=e[46](e[35])+"",g=e[45](e[27],e[28],e[26])+"";return{c(){n=me("div"),i=me("div"),r=he(p),a=ge(),o=me("span"),s=he(m),l=ge(),c=new G(!1),d=ge(),u=new G(!1),fe(i,"class","ClosedGame"),fe(i,"part","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(i,o),de(o,s),de(n,l),c.m(h,n),de(n,d),u.m(g,n)},p(e,t){32&t[1]&&p!==(p=e[36]("gameThumbnail.opens")+"")&&ye(r,p),6291456&t[0]&&m!==(m=Tr.utc(e[21]).local().format(e[22])+"")&&ye(s,m),16&t[1]&&h!==(h=e[46](e[35])+"")&&c.p(h),469762048&t[0]&&g!==(g=e[45](e[27],e[28],e[26])+"")&&u.p(g)},d(e){e&&pe(n)}}}function Ur(n){let i,r,a,o,s,l,c=n[46](n[35])+"",d=n[45](n[27],n[28],n[26])+"",u=new Array(ia),p=[];for(let e=0;e<u.length;e+=1)p[e]=qr(Gr(n,u,e));return{c(){i=me("div"),r=me("div");for(let e=0;e<p.length;e+=1)p[e].c();a=ge(),o=new G(!1),s=ge(),l=new G(!1),fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),o.a=s,l.a=null,fe(i,"class",n[31]),fe(i,"part",n[31])},m(e,t){ue(e,i,t),de(i,r);for(let e=0;e<p.length;e+=1)p[e].m(r,null);n[70](r),de(i,a),o.m(c,i),de(i,s),l.m(d,i)},p(t,n){if(1073750016&n[0]|65538&n[1]){let e;for(u=new Array(ia),e=0;e<u.length;e+=1){const o=Gr(t,u,e);p[e]?p[e].p(o,n):(p[e]=qr(o),p[e].c(),p[e].m(r,null))}for(;e<p.length;e+=1)p[e].d(1);p.length=u.length}16&n[1]&&c!==(c=t[46](t[35])+"")&&o.p(c),469762048&n[0]&&d!==(d=t[45](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(i,"class",t[31]),1&n[1]&&fe(i,"part",t[31])},d(e){e&&pe(i),H(p,e),n[70](null)}}}function zr(e){let n,i,r,a,o,s,l=e[46](e[35])+"",c=e[45](e[27],e[28],e[26])+"";function d(e){return e[33]?Jr:Zr}let u=d(e),p=u(e);return{c(){n=me("div"),i=me("div"),p.c(),r=ge(),a=new G(!1),o=ge(),s=new G(!1),fe(i,"class","LiveIcons"),fe(i,"part","LiveIcons"),a.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,i),p.m(i,null),de(n,r),a.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&p?p.p(e,t):(p.d(1),(p=u(e))&&(p.c(),p.m(i,null))),16&t[1]&&l!==(l=e[46](e[35])+"")&&a.p(l),469762048&t[0]&&c!==(c=e[45](e[27],e[28],e[26])+"")&&s.p(c)},d(e){e&&pe(n),p.d()}}}function Wr(e){let n;function i(e){return e[30]?Vr:Yr}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function Yr(e){let n,i,r=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"";return{c(){n=new G(!1),i=c(),n.a=i},m(e,t){n.m(r,e,t),ue(e,i,t)},p(e,t){8192&t[0]|2&t[1]&&r!==(r=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"")&&n.p(r)},d(e){e&&pe(i),e&&n.d()}}}function Vr(e){let n,i,r,a,o,s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"",l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"";return{c(){n=me("div"),i=new G(!1),r=ge(),a=new G(!1),o=ge(),i.a=r,a.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){ue(e,n,t),i.m(s,n),de(n,r),a.m(l,n),de(n,o)},p(e,t){8192&t[0]|2&t[1]&&s!==(s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"")&&i.p(s),8192&t[0]|2&t[1]&&l!==(l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"")&&a.p(l)},d(e){e&&pe(n)}}}function qr(e){let n,i=e[13]&&e[13][e[111]]&&Wr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[13]&&e[13][e[111]]?i?i.p(e,t):((i=Wr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function Zr(t){let r,a=t[25],o=[];for(let e=0;e<a.length;e+=1)o[e]=Kr(_r(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(570425344&n[0]|8192&n[1]){let e;for(a=t[25],e=0;e<a.length;e+=1){var i=_r(t,a,e);o[e]?o[e].p(i,n):(o[e]=Kr(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function Jr(e){let n,i,r=e[36]("gameThumbnail.full")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[1]&&r!==(r=e[36]("gameThumbnail.full")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Kr(e){let n,i,r,a,o,s,l;return{c(){n=me("span"),i=j("svg"),r=j("path"),a=j("path"),o=ge(),fe(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"width","13"),fe(i,"height","14"),fe(i,"viewBox","0 0 13 14"),fe(n,"class",s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(n,o)},p(e,t){570425344&t[0]&&s!==(s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),570425344&t[0]&&l!==(l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&pe(n)}}}function Xr(e){let n,i;return{c(){n=me("p"),i=he(e[4]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16&t[0]&&ye(i,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&pe(n)}}}function Qr(n){let i,r,a,o,s,l,A,c,d,u,p,m,N,h,g,O,f,y,H,b,v,w,$,x,C,k,F,j,S,M,T,U,E=(n[5]||"-")+"",L=n[16]&&Pr(n),I=n[1]&&Rr(n);function z(e,t){return 32773&t[0]&&(b=null),32773&t[0]&&(v=null),(b=null==b?!(st(e[37])||!e[0]||!e[15]||!e[2]):b)?Ar:(v=null==v?!!(st(e[37])&&e[0]&&e[15]&&e[2]):v)?Dr:void 0}let G=z(n,[-1,-1,-1,-1]),_=G&&G(n),P=n[7]&&Nr(n),B=n[8]&&Or(n),R=n[12]&&Hr(n),D=n[10]&&Xr(n);return{c(){i=me("div"),r=me("div"),a=me("img"),A=ge(),c=me("div"),d=me("div"),L&&L.c(),u=ge(),p=me("p"),m=he(n[4]),N=ge(),I&&I.c(),O=ge(),f=me("span"),y=he(E),H=ge(),_&&_.c(),w=ge(),$=me("div"),P&&P.c(),x=ge(),B&&B.c(),C=ge(),R&&R.c(),j=ge(),D&&D.c(),this.c=W,ce(a.src,o=n[3])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[9]} ${n[17]?"GameContainerHovered":""} `+(n[18]?"Loaded":"")),fe(a,"part",l="GameBg "+(n[17]?"GameContainerHovered":"")+" "+(n[18]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(p,"class","GameInfoName"),fe(p,"part","GameInfoName"),fe(p,"title",n[4]),fe(d,"class",h="GameInfo "+(n[17]?"GameHovered":"")),fe(d,"part",g="GameInfo "+(n[17]?"GameHovered":"")),fe(f,"class","GameInfoVendor"),fe(f,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe($,"class","GameExtraInfo"),fe($,"part","GameExtraInfo"),fe(r,"class",k="GameInnerContainer "+(n[12]&&!n[23]&&n[24].value||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"part",F="GameInnerContainer "+(n[12]&&!n[23]||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(i,"class",S="GameContainer "+n[34]),fe(i,"part",M="GameContainer "+n[34])},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[66](a),de(r,A),de(r,c),de(c,d),L&&L.m(d,null),de(d,u),de(d,p),de(p,m),de(d,N),I&&I.m(d,null),de(c,O),de(c,f),de(f,y),de(r,H),_&&_.m(r,null),de(r,w),de(r,$),P&&P.m($,null),de($,x),B&&B.m($,null),de($,C),R&&R.m($,null),de(i,j),D&&D.m(i,null),n[71](i),T||(U=[V(r,"mouseenter",n[42]),V(r,"mouseleave",n[43]),V(r,"touchstart",n[40],{passive:!0}),V(r,"touchend",n[41],{passive:!0})],T=!0)},p(e,t){8&t[0]&&!ce(a.src,o=e[3])&&fe(a,"src",o),393728&t[0]&&s!==(s=`GameBg GameBg-${e[9]} ${e[17]?"GameContainerHovered":""} `+(e[18]?"Loaded":""))&&fe(a,"class",s),393216&t[0]&&l!==(l="GameBg "+(e[17]?"GameContainerHovered":"")+" "+(e[18]?"Loaded":""))&&fe(a,"part",l),e[16]?L?L.p(e,t):((L=Pr(e)).c(),L.m(d,u)):L&&(L.d(1),L=null),16&t[0]&&ye(m,e[4]),16&t[0]&&fe(p,"title",e[4]),e[1]?I?I.p(e,t):((I=Rr(e)).c(),I.m(d,null)):I&&(I.d(1),I=null),131072&t[0]&&h!==(h="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"class",h),131072&t[0]&&g!==(g="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"part",g),32&t[0]&&E!==(E=(e[5]||"-")+"")&&ye(y,E),G===(G=z(e,t))&&_?_.p(e,t):(_&&_.d(1),(_=G&&G(e))&&(_.c(),_.m(r,w))),e[7]?P?P.p(e,t):((P=Nr(e)).c(),P.m($,x)):P&&(P.d(1),P=null),e[8]?B?B.p(e,t):((B=Or(e)).c(),B.m($,C)):B&&(B.d(1),B=null),e[12]?R?R.p(e,t):((R=Hr(e)).c(),R.m($,null)):R&&(R.d(1),R=null),25169920&t[0]|4&t[1]&&k!==(k="GameInnerContainer "+(e[12]&&!e[23]&&e[24].value||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(r,"class",k),8392704&t[0]|4&t[1]&&F!==(F="GameInnerContainer "+(e[12]&&!e[23]||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(r,"part",F),e[10]?D?D.p(e,t):((D=Xr(e)).c(),D.m(i,null)):D&&(D.d(1),D=null),8&t[1]&&S!==(S="GameContainer "+e[34])&&fe(i,"class",S),8&t[1]&&M!==(M="GameContainer "+e[34])&&fe(i,"part",M)},i:W,o:W,d(e){e&&pe(i),n[66](null),L&&L.d(),I&&I.d(),_&&_.d(),P&&P.d(),B&&B.d(),R&&R.d(),D&&D.d(),n[71](null),T=!1,Y(U)}}}const ea="blackjack",ta="roulette",na="doubleballroulette",ia=5;function ra(r,e,o){let t;ct(r,Ki,e=>o(36,t=e));let R,a,s,l,n,D,A,c,d,N,O,H,u,j,U,z,p,W,Y,V,m,q,h,Z,J,{session:K=""}=e,{userid:g=""}=e,{lang:f="en"}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{favorites:w=""}=e,{gamethumbnail:X=""}=e,{gamename:Q=""}=e,{gamevendor:i=""}=e,{gameid:$=""}=e,{gameisnew:ee=""}=e,{gametag:te=""}=e,{gamefunmode:x=!1}=e,{searchitem:ne=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:ie=""}=e,{showfavoredcategory:k=!1}=e,{showgamename:re=!1}=e,{currency:F=""}=e,{gamepagemodalurl:S="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:T=""}=e,{connectlive:E=""}=e,{visibilityconnect:L=""}=e,{integratedgameframedesktop:I="false"}=e,{integratedgameframemobile:G="false"}=e,ae=!1,oe=!1,se=!1,_=window.navigator.userAgent,le="HH:mm",ce,de=[],ue="EUR",P="";const pe=[ea],me=[ta,na],he={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ge={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"},fe=(Object.keys(Lr).forEach(e=>{Er(e,Lr[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+$||k||o(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+$||k||o(0,C=!1),"UserSessionID"===e.data.type&&(o(15,ae=!0),e.data.session,R=e.data.userID),"CategoryUpdate"===e.data.type&&o(12,l=null)}),ye=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(R||"Not logged in")}),st(_)&&"true"==G?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:st(_),source:"GameThumbnail"},window.location.href):st(_)&&"false"==G&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:st(_)},window.location.href),st(_)||"true"!=I?st(_)||"false"!=I||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:st(_)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:st(_)},window.location.href)},be=e=>{C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},ve=()=>{T&&EventSource&&!n&&i&&$&&(n=new EventSource(`${M}/encoder/lobby/updates/${i}/`+$)).addEventListener("message",$e)},we=()=>{n&&(n.close(),n=void 0)},$e=async e=>{const{type:t,data:n}=e;let i;if("message"===t){if(n)try{i=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:n,Seats:r,Open:a}=i;if(e)switch(t){case"SeatsUpdated":r&&Array.isArray(r)&&(o(29,u=r),o(12,l.currentOccupiedSeats=r,l),await ke());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,o(12,l.currentRouletteNumbers=n,l),await ke());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(12,l.currentDoubleBallRouletteNumbers=n,l),await ke());break;case"TableOpened":case"TableClosed":o(23,c=a),o(12,l.isOpen=a,l),await ke()}}}},xe=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",B=(e,t)=>e.some(e=>e===t),Ce=()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})};return it(()=>(window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),n&&n.removeEventListener("message",$e)})),r.$$set=e=>{"session"in e&&o(48,K=e.session),"userid"in e&&o(49,g=e.userid),"lang"in e&&o(1,f=e.lang),"clientstyling"in e&&o(50,y=e.clientstyling),"clientstylingurl"in e&&o(51,b=e.clientstylingurl),"translationurl"in e&&o(52,v=e.translationurl),"favorites"in e&&o(2,w=e.favorites),"gamethumbnail"in e&&o(3,X=e.gamethumbnail),"gamename"in e&&o(4,Q=e.gamename),"gamevendor"in e&&o(5,i=e.gamevendor),"gameid"in e&&o(6,$=e.gameid),"gameisnew"in e&&o(7,ee=e.gameisnew),"gametag"in e&&o(8,te=e.gametag),"gamefunmode"in e&&o(53,x=e.gamefunmode),"searchitem"in e&&o(54,ne=e.searchitem),"gamefavorite"in e&&o(0,C=e.gamefavorite),"gamecellsize"in e&&o(9,ie=e.gamecellsize),"showfavoredcategory"in e&&o(55,k=e.showfavoredcategory),"showgamename"in e&&o(10,re=e.showgamename),"currency"in e&&o(56,F=e.currency),"gamepagemodalurl"in e&&o(57,S=e.gamepagemodalurl),"endpoint"in e&&o(58,M=e.endpoint),"livelobbyendpoint"in e&&o(59,T=e.livelobbyendpoint),"connectlive"in e&&o(60,E=e.connectlive),"visibilityconnect"in e&&o(61,L=e.visibilityconnect),"integratedgameframedesktop"in e&&o(62,I=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(63,G=e.integratedgameframemobile)},r.$$.update=()=>{if(536870912&r.$$.dirty[1]&&E&&("disconnect"===E?we():"connect"===E&&ve()),1073741824&r.$$.dirty[1]&&L&&("disconnect"===L?we():"connect"===L&&"connect"===E&&ve()),2&r.$$.dirty[0]&&f&&(t=f,ot.set(t)),134610944&r.$$.dirty[1]&&K&&g&&M&&(o(15,ae=!0),R=g),8&r.$$.dirty[0]&&X&&a&&o(19,a.onload=()=>{o(18,se=!0)},a),2048&r.$$.dirty[0]|524288&r.$$.dirty[1]&&y&&s){let e=document.createElement("style");e.innerHTML=y,s.appendChild(e)}if(2048&r.$$.dirty[0]|1048576&r.$$.dirty[1]&&b&&s&&Ce(),4&r.$$.dirty[0]&&w&&"true"==w&&o(16,oe=!0),2097152&r.$$.dirty[1]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Er(e,t[e])})}).catch(e=>{console.log(e)}),512&r.$$.dirty[0]|1048576&r.$$.dirty[1]&&ie&&b&&Ce(),402653184&r.$$.dirty[1]&&M&&T){let e=new URL(""+T.split("?")[0]);e.searchParams.append("platform",lt(_)),e.searchParams.append("language",f),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(12,l=e)})}if(4096&r.$$.dirty[0]&&l&&l&&(o(23,c=l.isOpen),ce=l.betLimit||{},o(24,d=l.openHours),o(25,de=(e=>{H=e.totalSeats||7,o(29,u=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=H;e++)t.push(e);return{seats:t}})(l).seats),d&&d.value&&({startTime:t,originalTimeFormat:e}=d["value"],o(21,A=t),o(22,le=e||le)),c&&o(20,D=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();B(pe,e)?t=ea:B(me,e)&&(t=ta)}}return t})(l)),o(26,ue=Ir[F]),o(27,N=(ce.min||{})[F]),o(28,O=(ce.max||{})[F]),j=l.currentRouletteNumbers,U=l.currentDoubleBallRouletteNumbers,z=l.vendorCategory,o(30,p=z.toLowerCase()===na),o(13,W=(p?U:j)||[]),o(31,Y="GameProp LiveProps RoulleteProps"),o(31,Y+=p?" Double":""),o(32,V=B(me,z.toLowerCase())?ge:he),q=m,o(33,m=Array.isArray(u)&&u.length===H),l.dealer&&o(35,Z=l.dealer.DealerName),J=l.numberOfPlayers,o(34,P="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(34,P+=" GameBackdrop"),c&&m&&N&&O&&l.currentOccupiedSeats?o(34,P+=" GameContainerDimmed"):!1===c&&A&&o(34,P+=" GameContainerFullyDimmed"),s&&(!q&&m?(o(34,P+=" PulsatingRedShadow"),o(34,P=P.replace(" PulsatingGreenShadow",""))):q&&!m&&(o(34,P+=" PulsatingGreenShadow"),o(34,P=P.replace(" PulsatingRedShadow",""))))),24576&r.$$.dirty[0]&&h&&W){const n="FirstElementAnimated",i=h.getElementsByClassName("First")[0];i&&(i.classList.add(n),setTimeout(()=>{i.classList.remove(n)},2e3))}var e,t},[C,f,w,X,Q,i,$,ee,te,ie,re,s,l,W,h,ae,oe,!1,se,a,D,A,le,c,d,de,ue,N,O,u,p,Y,V,m,P,Z,t,_,ye,be,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},B,(e,t,n)=>{let i,r;return null!=e&&null!=t&&(r=`
3
+ }`,p=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,m=L(e),{stylesheet:h,rules:g}=_.get(m)||(s=m,l={stylesheet:(l=e,f=me("style"),de((l=L(l)).head||l,f),f.sheet),rules:{}},_.set(s,l),l);g[p]||(g[p]=!0,h.insertRule(`@keyframes ${p} `+u,h.cssRules.length));var f=e.style.animation||"";return e.style.animation=(f?f+", ":"")+p+` ${i}ms linear ${r}ms 1 both`,D+=1,p}function N(e){R=e}function Ie(){if(R)return R;throw new Error("Function called outside component initialization")}function it(e){Ie().$$.on_mount.push(e)}const O=[],rt=[],p=[],m=[],U=Promise.resolve();let z=!1;function W(){z||(z=!0,U.then(f))}function ke(){return W(),U}function Y(e){p.push(e)}const J=new Set;let K,X=0;function f(){const e=R;do{for(;X<O.length;){const e=O[X];X++,N(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),q(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(Y))}for(N(null),O.length=0,X=0;rt.length;)rt.pop()();for(let e=0;e<p.length;e+=1){const i=p[e];J.has(i)||(J.add(i),i())}}while(p.length=0,O.length);for(;m.length;)m.pop()();z=!1,J.clear(),N(e)}function Q(e,t,n){e.dispatchEvent(function(e,{bubbles:t=!1,cancelable:n=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t,n,void 0),i}((t?"intro":"outro")+n))}const ee=new Set;let te;function ne(){te={r:0,c:[],p:te}}function ie(){te.r||q(te.c),te=te.p}function re(e,t){e&&e.i&&(ee.delete(e),e.i(t))}function ae(e,t,n,i){e&&e.o&&(ee.has(e)||(ee.add(e),te.c.push(()=>{ee.delete(e),i&&(n&&e.d(1),i())}),e.o(t)))}const oe={duration:0};function se(l,e,t,n){let c=e(l,t),d=n?0:1,u=null,p=null,m=null;function h(){if(m){var e=l,t=m;const n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=n.length-i.length;r&&(e.style.animation=i.join(", "),(D-=r)||M(()=>{D||(_.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),_.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 i(e){const{delay:t=0,duration:n=300,easing:i=w,tick:r=V,css:a}=c||oe,o={start:C()+t,b:e};if(e||((o.group=te).r+=1),!u&&!p){a&&(h(),m=A(l,d,e,n,t,i,a)),e&&r(0,1),u=g(o,n),Y(()=>Q(l,e,"start"));{var s=e=>{if(p&&e>p.start&&(u=g(p,n),p=null,Q(l,u.b,"start"),a&&(h(),m=A(l,d,u.b,u.duration,0,i,c.css))),u)if(e>=u.end)r(d=u.b,1-d),Q(l,u.b,"end"),p||(u.b?h():--u.group.r||q(u.group.c)),u=null;else if(e>=u.start){const l=e-u.start;d=u.a+u.d*i(l/u.duration),r(d,1-d)}return!(!u&&!p)};let t;return 0===T.size&&M(E),void new Promise(e=>{T.add(t={c:s,f:e})})}}p=o}return{run(e){F(c)?(K||(K=Promise.resolve()).then(()=>{K=null}),K.then(()=>{c=c(),i(e)})):i(e)},end(){h(),u=p=null}}}function le(e,t){e.d(1),t.delete(e.key)}function be(t,n,i,r,a,o,s,l,e,c,d,u){let p=t.length,m=o.length,h=p;const g={};for(;h--;)g[t[h].key]=h;const f=[],y=new Map,b=new Map;for(h=m;h--;){const t=u(a,o,h),l=i(t);let e=s.get(l);e?r&&e.p(t,n):(e=c(l,t)).c(),y.set(l,f[h]=e),l in g&&b.set(l,Math.abs(h-g[l]))}const v=new Set,w=new Set;function $(e){re(e,1),e.m(l,d),s.set(e.key,e),d=e.first,m--}for(;p&&m;){const n=f[m-1],i=t[p-1],r=n.key,a=i.key;n===i?(d=n.first,p--,m--):y.has(a)?!s.has(r)||v.has(r)?$(n):w.has(a)?p--:b.get(r)>b.get(a)?(w.add(r),$(n)):(v.add(a),p--):(e(i,s),p--)}for(;p--;){const n=t[p];y.has(n.key)||e(n,s)}for(;m;)$(f[m-1]);return f}function i(i,e,t,n,r,a,o,s=[-1]){var l=R;N(i);const c=i.$$={fragment:null,ctx:null,props:a,update:V,not_equal:r,bound:x(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:x(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&r(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d&&(n=e,-1===(e=i).$$.dirty[0]&&(O.push(e),W(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),d=!0,q(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const i=Array.from(a.childNodes);c.fragment&&c.fragment.l(i),i.forEach(pe)}else c.fragment&&c.fragment.c();e.intro&&re(i.$$.fragment);{var u=i;s=e.target;o=e.anchor;t=e.customElement;const{fragment:p,on_mount:m,on_destroy:h,after_update:g}=u.$$;p&&p.m(s,o),t||Y(()=>{var e=m.map($).filter(F);h?h.push(...e):q(e),u.$$.on_mount=[]}),g.forEach(Y)}f()}N(l)}let r;"function"==typeof HTMLElement&&(r=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map($).filter(F);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){q(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(q(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=V}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var ve,we,$e="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==$e&&$e,xe="URLSearchParams"in $e,Ce="Symbol"in $e&&"iterator"in Symbol,Fe="FileReader"in $e&&"Blob"in $e&&function(){try{return new Blob,!0}catch(e){return!1}}(),Se="FormData"in $e,Me="ArrayBuffer"in $e;function Te(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Ee(e){return e="string"!=typeof e?String(e):e}function Le(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ce&&(e[Symbol.iterator]=function(){return e}),e}function s(t){this.map={},t instanceof s?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Ge(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function _e(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Pe(e){var t=new FileReader,n=_e(t);return t.readAsArrayBuffer(e),n}function Be(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Re(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Fe&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Se&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:xe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Me&&Fe&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Be(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Me&&(ArrayBuffer.prototype.isPrototypeOf(e)||we(e))?this._bodyArrayBuffer=Be(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):xe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Fe&&(this.blob=function(){var e=Ge(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Ge(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Pe)}),this.text=function(){var e,t,n=Ge(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=_e(e),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Se&&(this.formData=function(){return this.text().then(Ne)}),this.json=function(){return this.text().then(JSON.parse)},this}Me&&(ve=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],we=ArrayBuffer.isView||function(e){return e&&-1<ve.indexOf(Object.prototype.toString.call(e))}),s.prototype.append=function(e,t){e=Te(e),t=Ee(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},s.prototype.delete=function(e){delete this.map[Te(e)]},s.prototype.get=function(e){return e=Te(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(Te(e))},s.prototype.set=function(e,t){this.map[Te(e)]=Ee(t)},s.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},s.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Le(n)},s.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Le(t)},s.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Le(n)},Ce&&(s.prototype[Symbol.iterator]=s.prototype.entries);var De=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];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.');var n,i=(t=t||{}).body;if(e instanceof Ae){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<De.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ne(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Oe(e,t){if(!(this instanceof Oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}Ae.prototype.clone=function(){return new Ae(this,{body:this._bodyInit})},Re.call(Ae.prototype),Re.call(Oe.prototype),Oe.prototype.clone=function(){return new Oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},Oe.error=function(){var e=new Oe(null,{status:0,statusText:""});return e.type="error",e};var He=[301,302,303,307,308],je=(Oe.redirect=function(e,t){if(-1===He.indexOf(t))throw new RangeError("Invalid status code");return new Oe(null,{status:t,headers:{location:e}})},$e.DOMException);try{new je}catch(o){(je=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),je.prototype.constructor=je}function Ue(i,o){return new Promise(function(r,e){var t=new Ae(i,o);if(t.signal&&t.signal.aborted)return e(new je("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new s,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},i=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){r(new Oe(i,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new je("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&$e.location.href?$e.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(Fe?a.responseType="blob":Me&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof s?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,Ee(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function In(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ue.polyfill=!0,$e.fetch||($e.fetch=Ue,$e.Headers=s,$e.Request=Ae,$e.Response=Oe);var ze=self.fetch.bind(self),We=function(e,t){return(We=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}We(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function qe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(i=a.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}function Ze(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function Je(e){return"function"==typeof e}function Ke(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 Xe=Ke(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Qe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}nt.prototype.unsubscribe=function(){var e,t,n,i,r;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Ve(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(Je(a))try{a()}catch(e){r=e instanceof Xe?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Ve(a),c=l.next();!c.done;c=l.next()){var d=c.value;try{ut(d)}catch(e){r=null!=r?r:[],e instanceof Xe?r=Ze(Ze([],qe(r)),qe(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(r)throw new Xe(r)}},nt.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ut(e);else{if(e instanceof nt){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},nt.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},nt.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},nt.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Qe(t,e)},nt.prototype.remove=function(e){var t=this._finalizers;t&&Qe(t,e),e instanceof nt&&e._removeParent(this)},nt.EMPTY=((e=new nt).closed=!0,e);var et=nt,tt=et.EMPTY;function nt(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function dt(e){return e instanceof et||e&&"closed"in e&&Je(e.remove)&&Je(e.add)&&Je(e.unsubscribe)}function ut(e){Je(e)?e():e.unsubscribe()}var pt=void 0,mt=!1,ht=!1,gt={setTimeout:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=gt.delegate;return null!=r&&r.setTimeout?r.setTimeout.apply(r,Ze([e,t],qe(n))):setTimeout.apply(void 0,Ze([e,t],qe(n)))},clearTimeout:function(e){var t=gt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ft(){}var yt=null;function bt(e){if(mt){var t=!yt;if(t&&(yt={errorThrown:!1,error:null}),e(),t){var t=yt,n=t.errorThrown,t=t.error;if(yt=null,n)throw t}}else e()}Ye(xt,vt=et),xt.create=function(e,t,n){return new St(e,t,n)},xt.prototype.next=function(e){this.isStopped||this._next(e)},xt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},xt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},xt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,vt.prototype.unsubscribe.call(this),this.destination=null)},xt.prototype._next=function(e){this.destination.next(e)},xt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},xt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var vt,wt=xt,$t=Function.prototype.bind;function xt(e){var t=vt.call(this)||this;return t.isStopped=!1,e?dt(t.destination=e)&&e.add(t):t.destination=Lt,t}function Ct(e,t){return $t.call(e,t)}Tt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Et(e)}},Tt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Et(e)}else Et(e)},Tt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Et(e)}};var kt,Ft=Tt,St=(Ye(Mt,kt=wt),Mt);function Mt(e,t,n){var i=kt.call(this)||this,n=Je(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:i&&ht?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&Ct(e.next,t),error:e.error&&Ct(e.error,t),complete:e.complete&&Ct(e.complete,t)}):e;return i.destination=new Ft(n),i}function Tt(e){this.partialObserver=e}function Et(e){var t=e;gt.setTimeout(function(){throw t})}var Lt={closed:!0,next:ft,error:function(e){throw e},complete:ft},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function It(e){return e}_t.prototype.lift=function(e){var t=new _t;return t.source=this,t.operator=e,t},_t.prototype.subscribe=function(e,t,n){var i,r=this,a=(i=e)&&i instanceof wt||i&&Je(i.next)&&Je(i.error)&&Je(i.complete)&&dt(i)?e:new St(e,t,n);return bt(function(){var e=r.operator,t=r.source;a.add(e?e.call(a,t):t?r._subscribe(a):r._trySubscribe(a))}),a},_t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},_t.prototype.forEach=function(i,e){var r=this;return new(e=Pt(e))(function(e,t){var n=new St({next:function(e){try{i(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});r.subscribe(n)})},_t.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},_t.prototype[e]=function(){return this},_t.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?It:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},_t.prototype.toPromise=function(e){var i=this;return new(e=Pt(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},_t.create=function(e){return new _t(e)};var Gt=_t;function _t(e){e&&(this._subscribe=e)}function Pt(e){return null!=(e=null!=e?e:pt)?e:Promise}var Bt,Rt,Dt,At=Ke(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Ye(zt,Dt=Gt),zt.prototype.lift=function(e){var t=new Nt(this,this);return t.operator=e,t},zt.prototype._throwIfClosed=function(){if(this.closed)throw new At},zt.prototype.next=function(r){var a=this;bt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=Ve(a.currentObservers),i=n.next();!i.done;i=n.next())i.value.next(r)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},zt.prototype.error=function(t){var n=this;bt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},zt.prototype.complete=function(){var t=this;bt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},zt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(zt.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),zt.prototype._trySubscribe=function(e){return this._throwIfClosed(),Dt.prototype._trySubscribe.call(this,e)},zt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},zt.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,i=this.isStopped,r=this.observers;return n||i?tt:(this.currentObservers=null,r.push(e),new et(function(){t.currentObservers=null,Qe(r,e)}))},zt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},zt.prototype.asObservable=function(){var e=new Gt;return e.source=this,e},zt.create=function(e,t){return new Nt(e,t)},zt),Nt=(Ye(Ut,Rt=e),Ut.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Ut.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Ut.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Ut.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:tt},Ut),Ot={now:function(){return(Ot.delegate||Date).now()},delegate:void 0},Ht=(Ye(jt,Bt=e),jt.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,r=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(i.push(e),r||i.push(a.now()+t)),this._trimBuffer(),Bt.prototype.next.call(this,e)},jt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t},jt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},jt);function jt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Ot);var i=Bt.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function Ut(e,t){var n=Rt.call(this)||this;return n.destination=e,n.source=t,n}function zt(){var e=Dt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Wt=[],Yt={};const Vt=[];function qt(i,r=V){let a;const o=new Set;function s(e){if(t(i,e)&&(i=e,a)){const e=!Vt.length;for(const e of o)e[1](),Vt.push(e,i);if(e){for(let e=0;e<Vt.length;e+=2)Vt[e][0](Vt[e+1]);Vt.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=V){const n=[e,t];return o.add(n),1===o.size&&(a=r(s)||V),e(i),()=>{o.delete(n),0===o.size&&(a(),a=null)}}}}function Zt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:qt(t,t=>{let n=!1;const i=[];let r=0,a=V;const o=()=>{var e;r||(a(),e=s(l?i[0]:i,t),d?t(e):a=F(e)?e:V)},e=c.map((e,t)=>u(e,e=>{i[t]=e,r&=~(1<<t),n&&o()},()=>{r|=1<<t}));return n=!0,o(),function(){q(e),a()}}).subscribe}}function Jt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Kt));var t}var Kt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Xt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?rn(Array.isArray(e)?[]:{},e,t):e}function Qt(e,t,n){return e.concat(t).map(function(e){return Xt(e,n)})}function en(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function tn(e,t){try{return t in e}catch(e){return!1}}function nn(i,r,a){var o={};return a.isMergeableObject(i)&&en(i).forEach(function(e){o[e]=Xt(i[e],a)}),en(r).forEach(function(t){var e,n;(!tn(e=i,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(tn(i,t)&&a.isMergeableObject(r[t])?o[t]=function(e){if(!e.customMerge)return rn;e=e.customMerge(t);return"function"==typeof e?e:rn}(a)(i[t],r[t],a):o[t]=Xt(r[t],a))}),o}function rn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Qt,n.isMergeableObject=n.isMergeableObject||Jt,n.cloneUnlessOtherwiseSpecified=Xt;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):nn(e,t,n):Xt(t,n)}rn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return rn(e,t,n)},{});throw new Error("first argument should be an array")};var an=rn,on=function(e,t){return(on=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 sn(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}on(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,ln,b=function(){return(b=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function cn(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function dn(e){return e.type===y.literal}function un(e){return e.type===y.number}function pn(e){return e.type===y.date}function mn(e){return e.type===y.time}function hn(e){return e.type===y.select}function gn(e){return e.type===y.plural}function fn(e){return e.type===y.tag}function yn(e){return e&&"object"==typeof e&&e.type===ln.number}function bn(e){return e&&"object"==typeof e&&e.type===ln.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=ln=ln||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,vn=/(?:[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 wn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,$n=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,xn=/^(@+)?(\+|#+)?[rs]?$/g,Cn=/(\*)(0+)|(#+)(0+)|(0+)/g,kn=/^(0+)$/;function Fn(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(xn,function(e,t,n){return"string"!=typeof n?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===n?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),i}function Sn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Mn(e){return Sn(e)||{}}function Tn(e){for(var o={},t=0,n=e;t<n.length;t++){var i,r=n[t];switch(r.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=r.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=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=b(b(b({},o),{notation:"scientific"}),r.options.reduce(function(e,t){return b(b({},e),Mn(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),r.options.reduce(function(e,t){return b(b({},e),Mn(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(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Cn,function(e,t,n,i,r,a){if(t)o.minimumIntegerDigits=n.length;else{if(i&&r)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(kn.test(r.stem))o.minimumIntegerDigits=r.stem.length;else if($n.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace($n,function(e,t,n,i,r,a){return"*"===n?o.minimumFractionDigits=t.length:i&&"#"===i[0]?o.maximumFractionDigits=i.length:r&&a?(o.minimumFractionDigits=r.length,o.maximumFractionDigits=r.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=r.options[0];"w"===a?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=b(b({},o),Fn(a)))}else xn.test(r.stem)?o=b(b({},o),Fn(r.stem)):((a=Sn(r.stem))&&(o=b(b({},o),a)),(i=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)),!kn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(o=b(b({},o),i)))}return o}var En={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 Ln=new RegExp("^".concat(e.source,"*")),Gn=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,_n=!!String.fromCodePoint,Pn=!!Object.fromEntries,Bn=!!String.prototype.codePointAt,Rn=!!String.prototype.trimStart,Dn=!!String.prototype.trimEnd,An=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Nn=!0;try{Nn="a"===(null==(oi=qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:oi[0])}catch(o){Nn=!1}var On,Hn,jn=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Un=_n?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,a=0;a<r;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},zn=Pn?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n],a=r[0],r=r[1];t[a]=r}return t},Wn=Bn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,i=e.length;if(!(t<0||i<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?n:i-56320+(n-55296<<10)+65536},Yn=Rn?function(e){return e.trimStart()}:function(e){return e.replace(Ln,"")},Vn=Dn?function(e){return e.trimEnd()}:function(e){return e.replace(Gn,"")};function qn(e,t){return new RegExp(e,t)}Hn=Nn?(On=qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return On.lastIndex=t,null!=(t=On.exec(e)[1])?t:""}):function(e,t){for(var n,i=[];;){var r=Wn(e,t);if(void 0===r||Kn(r)||(33<=(n=r)&&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;i.push(r),t+=65536<=r?2:1}return Un.apply(void 0,i)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r,a=this.char();if(123===a){if((r=this.parseArgument(e,n)).err)return r;i.push(r.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Jn(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r;i.push(r.val)}else{if((r=this.parseLiteral(e,t)).err)return r;i.push(r.val)}}else{a=this.clonePosition();this.bump(),i.push({type:y.pound,location:v(a,this.clonePosition())})}}}return{val:i,err:null}},a.prototype.parseTag=function(e,t){var n=this.clonePosition(),i=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(i,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Jn(this.char()))return this.error(g.INVALID_TAG,v(e,this.clonePosition()));var r=this.clonePosition();return i!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:v(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,v(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(g.INVALID_TAG,v(n,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{r=this.tryParseUnquoted(e,t);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:i,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Jn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Un.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Un(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,v(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Hn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,n,i){var r,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(m=Vn(h.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(i)).err)return c;var d=v(i,this.clonePosition());if(l&&jn(null==l?void 0:l.style,"::",0)){var u=Yn(l.style.slice(2));if("number"===o)return(h=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?h:{val:{type:y.number,value:n,location:d,style:h.val},err:null};if(0===u.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,d);var p=u,m=(this.locale&&(p=function(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if("j"===r){for(var a=0;i+1<e.length&&e.charAt(i+1)===r;)a++,i++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(En[t||""]||En[n||""]||En["".concat(n,"-001")]||En["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===r?"H":r}return n}(u,this.locale)),{type:ln.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},p.replace(vn,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.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":r.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":r.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":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.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":r.minute=["numeric","2-digit"][t-1];break;case"s":r.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":r.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""}),r):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:d,style:m},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:d,style:null!=(u=null==l?void 0:l.style)?u:null},err:null};case"plural":case"selectordinal":case"select":p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,v(p,b({},p)));this.bumpSpace();var h,m=this.parseIdentifierIfPossible(),d=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),m=this.parseIdentifierIfPossible(),d=h.val}l=this.tryParsePluralOrSelectOptions(e,o,t,m);if(l.err)return l;if((c=this.tryParseArgumentClose(i)).err)return c;u=v(i,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:zn(l.val),location:u},err:null}:{val:{type:y.plural,value:n,options:zn(l.val),offset:d,pluralType:"plural"===o?"cardinal":"ordinal",location:u},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,v(a,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},a.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(wn).filter(function(e){return 0<e.length});n<i.length;n++){var r=i[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var a=r[0],r=r.slice(1),o=0,s=r;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:r})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:ln.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Tn(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var r=!1,a=[],o=new Set,s=i.value,l=i.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=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!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,v(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;a.push([s,{value:c.val,location:v(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(g.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;r=!0,a=10*a+(o-48),this.bump()}i=v(i,this.clonePosition());return r?An(a*=n)?{val:a,err:null}:this.error(t,i):this.error(e,i)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Wn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},a.prototype.bumpIf=function(e){if(jn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Kn(this.char());)this.bump()},a.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Zn=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Jn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Kn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Xn(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Zn(e,t).parse();if(e.err)throw(n=SyntaxError(g[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,hn(e)||gn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else un(e)&&yn(e.style)||(pn(e)||mn(e))&&bn(e.style)?delete e.style.location:fn(e)&&n(e.children)})}(e.val),e.val}function Qn(e,t){var n=t&&t.cache?t.cache:si,i=t&&t.serializer?t.serializer:ii;return(t&&t.strategy?t.strategy:function(e,t){return ni(e,this,1===e.length?ei:ti,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function ei(e,t,n,i){var n=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),r=t.get(n);return void 0===r&&(r=e.call(this,i),t.set(n,r)),r}function ti(e,t,n){var i=Array.prototype.slice.call(arguments,3),n=n(i),r=t.get(n);return void 0===r&&(r=e.apply(this,i),t.set(n,r)),r}function ni(e,t,n,i,r){return n.bind(t,e,i,r)}var ii=function(){return JSON.stringify(arguments)};function ri(){this.cache=Object.create(null)}ri.prototype.get=function(e){return this.cache[e]},ri.prototype.set=function(e,t){this.cache[e]=t};var ai,oi,si={create:function(){return new ri}},li={variadic:function(e,t){return ni(e,this,ti,t.cache.create(),t.serializer)},monadic:function(e,t){return ni(e,this,ei,t.cache.create(),t.serializer)}};(oi=ai=ai||{}).MISSING_VALUE="MISSING_VALUE",oi.INVALID_VALUE="INVALID_VALUE",oi.MISSING_INTL_API="MISSING_INTL_API";sn($i,mi=Error),$i.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ci,di,ui,pi,mi,hi=$i,gi=(sn(wi,pi=hi),wi),fi=(sn(vi,ui=hi),vi),yi=(sn(bi,di=hi),bi);function bi(e,t){return di.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ai.MISSING_VALUE,t)||this}function vi(e,t,n){return ui.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ai.INVALID_VALUE,n)||this}function wi(e,t,n,i){return pi.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ai.INVALID_VALUE,i)||this}function $i(e,t,n){e=mi.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function xi(e,t,n,i,r,a,o){if(1===e.length&&dn(e[0]))return[{type:ci.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(dn(d))s.push({type:ci.literal,value:d.value});else if(d.type===y.pound)"number"==typeof a&&s.push({type:ci.literal,value:n.getNumberFormat(t).format(a)});else{var u=d.value;if(!(r&&u in r))throw new yi(u,o);u=r[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?ci.literal:ci.object,value:u});else if(pn(d)){var p="string"==typeof d.style?i.date[d.style]:bn(d.style)?d.style.parsedOptions:void 0;s.push({type:ci.literal,value:n.getDateTimeFormat(t,p).format(u)})}else if(mn(d))p="string"==typeof d.style?i.time[d.style]:bn(d.style)?d.style.parsedOptions:i.time.medium,s.push({type:ci.literal,value:n.getDateTimeFormat(t,p).format(u)});else if(un(d))(p="string"==typeof d.style?i.number[d.style]:yn(d.style)?d.style.parsedOptions:void 0)&&p.scale&&(u*=p.scale||1),s.push({type:ci.literal,value:n.getNumberFormat(t,p).format(u)});else{if(fn(d)){var m=d.children,h=d.value,g=r[h];if("function"!=typeof g)throw new fi(h,"function",o);h=g(xi(m,t,n,i,r,a).map(function(e){return e.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(e){return{type:"string"==typeof e?ci.literal:ci.object,value:e}}))}if(hn(d)){if(!(f=d.options[u]||d.options.other))throw new gi(d.value,u,Object.keys(d.options),o);s.push.apply(s,xi(f.value,t,n,i,r))}else if(gn(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new hi('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ai.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 gi(d.value,u,Object.keys(d.options),o);s.push.apply(s,xi(f.value,t,n,i,r,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===ci.literal&&t.type===ci.literal?n.value+=t.value:e.push(t),e},[])}function Ci(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=ci=ci||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(Fi,"defaultLocale",{get:function(){return Fi.memoizedDefaultLocale||(Fi.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Fi.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Fi.memoizedDefaultLocale=null,Fi.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])},Fi.__parse=Xn,Fi.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 ki=Fi;function Fi(e,t,n,i){var r,a,o=this;if(void 0===t&&(t=Fi.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===ci.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return xi(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=Fi.resolveLocale(t),"string"==typeof e){if(this.message=e,!Fi.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Fi.__parse(e,{ignoreTag:null==i?void 0:i.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=(r=Fi.formats,(a=n)?Object.keys(r).reduce(function(e,t){var n,i;return e[t]=(n=r[t],(i=a[t])?b(b(b({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),i[t]||{}),e},{})):n),e},b({},r)):r),this.formatters=i&&i.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,cn([void 0],t,!1)))},{cache:Ci((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:li.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,cn([void 0],t,!1)))},{cache:Ci(t.dateTime),strategy:li.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,cn([void 0],t,!1)))},{cache:Ci(t.pluralRules),strategy:li.variadic})}}const Si={},Mi=(e,t,n)=>n&&(t in Si||(Si[t]={}),e in Si[t]||(Si[t][e]=n),n),Ti=(t,n)=>{if(null!=n){if(n in Si&&t in Si[n])return Si[n][t];var i=Ui(n);for(let e=0;e<i.length;e++){var r=function(e,n){if(!Li(e))return null;e=function(e){return Ei[e]||null}(e);{var i=n;if(null==i)return;if(i in e)return e[i];const r=i.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const i=r.slice(e,r.length).join(".");if(i in t){t=t[i];break}}t=t[r[e]]}else t=void 0;return t}}(i[e],t);if(r)return Mi(t,n,r)}}};let Ei;const at=qt({});function Li(e){return e in Ei}function Ii(t,...n){delete Si[t],at.update(e=>(e[t]=an.all([e[t]||{},...n]),e))}Zt([at],([e])=>Object.keys(e)),at.subscribe(e=>Ei=e);const Gi={};function _i(e){return Gi[e]}function Pi(e){return null!=e&&Ui(e).some(e=>{return null==(e=_i(e))?void 0:e.size})}const Bi={};function Ri(e){if(!Pi(e))return e in Bi?Bi[e]:Promise.resolve();const t=Ui(e).map(e=>{var t=_i(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Bi[e]=Promise.all(t.map(([e,t])=>{{var i=e;e=t;const n=Promise.all(e.map(e=>{var t=i,n=e;return Gi[t].delete(n),0===Gi[t].size&&delete Gi[t],e().then(e=>e.default||e)}));return n.then(e=>Ii(i,...e))}})).then(()=>{if(Pi(e))return Ri(e);delete Bi[e]}),Bi[e]}function Di(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}const Ai={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 Ni=qt(!1);let Oi;const Hi=qt(null);function ji(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Ui(e,t=Ai.fallbackLocale){e=ji(e);return t?[...new Set([...e,...ji(t)])]:e}function zi(){return null!=Oi?Oi:void 0}Hi.subscribe(e=>{Oi=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ot=Object.assign(Object.assign({},Hi),{set:t=>{if(t&&function(e){if(null!=e){var t=Ui(e);for(let e=0;e<t.length;e++){var n=t[e];if(Li(n))return n}}}(t)&&Pi(t)){var n=Ai["loadingDelay"];let e;return"undefined"!=typeof window&&null!=zi()&&n?e=window.setTimeout(()=>Ni.set(!0),n):Ni.set(!0),Ri(t).then(()=>{Hi.set(t)}).finally(()=>{clearTimeout(e),Ni.set(!1)})}return Hi.set(t)}}),Wi=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},Yi=(e,t)=>{var n=Ai["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Vi=Wi(e=>{var{locale:t,format:n}=e,e=Di(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Yi("number",n)),new Intl.NumberFormat(t,e)}),qi=Wi(e=>{var{locale:t,format:n}=e,e=Di(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Yi("date",n):0===Object.keys(e).length&&(e=Yi("date","short")),new Intl.DateTimeFormat(t,e)}),Zi=Wi(e=>{var{locale:t,format:n}=e,e=Di(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Yi("time",n):0===Object.keys(e).length&&(e=Yi("time","short")),new Intl.DateTimeFormat(t,e)}),Ji=Wi((e,t=zi())=>new ki(e,t,Ai.formats,{ignoreTag:Ai.ignoreTag})),Ki=Zt([ot,at],()=>(e,t={})=>{var n,i;let r=t;"object"==typeof e&&(e=(r=e).id);var{values:a,locale:o=zi(),default:s}=r;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ti(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!=(i=null!=(n=null==(n=(i=Ai).handleMissingMessage)?void 0:n.call(i,{locale:o,id:e,defaultValue:s}))?n:s)?i:e;if(!a)return l;let c=l;try{c=Ji(l,o).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),st=(Zt([ot],()=>(e,t)=>((e={})=>{var{locale:t=zi()}=e,e=Di(e,["locale"]);return Zi(Object.assign({locale:t},e))})(t).format(e)),Zt([ot],()=>(e,t)=>((e={})=>{var{locale:t=zi()}=e,e=Di(e,["locale"]);return qi(Object.assign({locale:t},e))})(t).format(e)),Zt([ot],()=>(e,t)=>((e={})=>{var{locale:t=zi()}=e,e=Di(e,["locale"]);return Vi(Object.assign({locale:t},e))})(t).format(e)),Zt([ot,at],()=>(e,t=zi())=>Ti(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Wt.indexOf(e)&&(t=new Ht(t),Yt[e]=t,Wt.push(e)),Yt[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))),lt=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Xi(i,r){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",r),ze(i+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Qi(e){ot.set(e)}function er(e,t){Ii(e,t)}const tr={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"}},"zh-hk":{headerItem:{login:"登錄",register:"登記",deposit:"訂金"}},fr:{headerItem:{login:"Connexion",register:"Registre",deposit:"Dépôt"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"}},es:{headerItem:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"}},pt:{headerItem:{login:"Entrar",register:"Registro",deposit:"Depósito"}}};function nr(e,t,n){const i=e.slice();return i[47]=t[n],i[49]=n,i}function ir(e,t,n){const i=e.slice();return i[50]=t[n],i}function rr(e,t,n){const i=e.slice();return i[53]=t[n],i[55]=n,i}function ar(t){let i,r=[],n=new Map,a=t[9];const o=e=>e[47].id;for(let e=0;e<a.length;e+=1){var s=nr(t,a,e),l=o(s);n.set(l,r[e]=mr(l,s))}return{c(){for(let e=0;e<r.length;e+=1)r[e].c();i=c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e].m(t,n);ue(t,i,n)},p(e,t){20429&t[0]&&(a=e[9],r=be(r,t,o,1,e,a,n,i.parentNode,le,mr,i,nr))},d(t){for(let e=0;e<r.length;e+=1)r[e].d(t);t&&pe(i)}}}function or(e){let n,i,r=e[47].name+"";return{c(){n=me("a"),i=he(r),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[0]&&r!==(r=e[47].name+"")&&ye(i,r)},d(e){e&&pe(n)}}}function sr(e){let n,i,r=e[47].label+"";return{c(){n=me("a"),i=he(r),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[0]&&r!==(r=e[47].label+"")&&ye(i,r)},d(e){e&&pe(n)}}}function lr(e){let n,i=0<e[10].length&&"true"==e[3]&&cr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){0<e[10].length&&"true"==e[3]?i?i.p(e,t):((i=cr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function cr(t){let r,a=t[10],o=[];for(let e=0;e<a.length;e+=1)o[e]=pr(ir(t,a,e));return{c(){r=me("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class","DropDown")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null)},p(t,n){if(18368&n[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){var i=ir(t,a,e);o[e]?o[e].p(i,n):(o[e]=pr(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&pe(r),H(o,e)}}}function dr(n){let i,r,a,o,s,l,c,d=n[53]?.name+"";function u(...e){return n[30](n[47],n[49],n[53],n[55],...e)}return{c(){i=me("li"),r=me("a"),a=he(d),s=ge(),fe(r,"class",o="SubDropDown "+(n[49]!=n[6]||n[7]!=n[55]&&n[8]!=n[55]?"":"active"))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,s),l||(c=Z(i,"click",u),l=!0)},p(e,t){n=e,1024&t[0]&&d!==(d=n[53]?.name+"")&&ye(a,d),1984&t[0]&&o!==(o="SubDropDown "+(n[49]!=n[6]||n[7]!=n[55]&&n[8]!=n[55]?"":"active"))&&fe(r,"class",o)},d(e){e&&pe(i),l=!1,c()}}}function ur(e,n){let i,r,a=n[49]==n[50].index&&dr(n);return{key:e,first:null,c(){i=c(),a&&a.c(),r=c(),this.first=i},m(e,t){ue(e,i,t),a&&a.m(e,t),ue(e,r,t)},p(e,t){(n=e)[49]==n[50].index?a?a.p(n,t):((a=dr(n)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){e&&pe(i),a&&a.d(e),e&&pe(r)}}}function pr(t){let i,r=[],n=new Map,a=t[50].items;const o=e=>e[53].id;for(let e=0;e<a.length;e+=1){var s=rr(t,a,e),l=o(s);n.set(l,r[e]=ur(l,s))}return{c(){for(let e=0;e<r.length;e+=1)r[e].c();i=c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e].m(t,n);ue(t,i,n)},p(e,t){18368&t[0]&&(a=e[50].items,r=be(r,t,o,1,e,a,n,i.parentNode,le,ur,i,rr))},d(t){for(let e=0;e<r.length;e+=1)r[e].d(t);t&&pe(i)}}}function mr(e,n){let i,r,a,o,s,l;function c(e){return"headerMain"===e[0]?sr:or}let d=c(n),u=d(n),p=1==n[11][n[49]]&&lr(n);function m(...e){return n[31](n[47],n[49],...e)}return{key:e,first:null,c(){i=me("li"),u.c(),r=ge(),p&&p.c(),a=ge(),fe(i,"class",o="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[47].id.split("$").pop()?"active":"":n[2]==n[47].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),fe(i,"part","CarouselItem"),this.first=i},m(e,t){ue(e,i,t),u.m(i,null),de(i,r),p&&p.m(i,null),de(i,a),s||(l=Z(i,"click",m),s=!0)},p(e,t){d===(d=c(n=e))&&u?u.p(n,t):(u.d(1),(u=d(n))&&(u.c(),u.m(i,r))),1==n[11][n[49]]?p?p.p(n,t):((p=lr(n)).c(),p.m(i,a)):p&&(p.d(1),p=null),517&t[0]&&o!==(o="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[47].id.split("$").pop()?"active":"":n[2]==n[47].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&fe(i,"class",o)},d(e){e&&pe(i),u.d(),p&&p.d(),s=!1,l()}}}function hr(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w=0<n[9].length&&ar(n);return{c(){i=me("div"),r=me("div"),(a=me("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=ge(),s=me("div"),l=me("ul"),(c=me("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',d=ge(),w&&w.c(),u=ge(),(p=me("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=V,fe(a,"class","CarouselLeftArrow"),fe(a,"part","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(l,"part","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(p,"class","CarouselRightArrow"),fe(p,"part","CarouselRightArrow"),fe(r,"class",m="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(r,"part",h="CarouselContainer "+(n[13]?"CarouselContainerMobile":"")+" "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(r,"style",g="headerMain"===n[0]?"max-width: auto":`max-width: ${n[1]}px`),fe(i,"class",f="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":"")),fe(i,"part",y="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(s,l),de(l,c),de(l,d),w&&w.m(l,null),n[32](l),n[33](s),de(r,u),de(r,p),n[35](i),b||(v=[Z(a,"click",n[29]),Z(p,"click",n[34])],b=!0)},p(e,t){0<e[9].length?w?w.p(e,t):((w=ar(e)).c(),w.m(l,null)):w&&(w.d(1),w=null),1&t[0]&&m!==(m="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(r,"class",m),1&t[0]&&h!==(h="CarouselContainer "+(e[13]?"CarouselContainerMobile":"")+" "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(r,"part",h),3&t[0]&&g!==(g="headerMain"===e[0]?"max-width: auto":`max-width: ${e[1]}px`)&&fe(r,"style",g),1&t[0]&&f!==(f="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(i,"class",f),1&t[0]&&y!==(y="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(i,"part",y)},i:V,o:V,d(e){e&&pe(i),w&&w.d(),n[32](null),n[33](null),n[35](null),b=!1,q(v)}}}function gr(t,e,a){let{endpoint:o=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:i="0"}=e,{location:c=""}=e,{clientstyling:r=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{translationurl:p=""}=e,{containermaxwidth:m=""}=e,{isprimarymenu:h=!1}=e,{issecondarymenu:g=!1}=e,{lang:f=""}=e,{activeindex:y="0"}=e,{showsubgroups:b="false"}=e;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(w),ot.set(v))}),Object.keys(tr).forEach(e=>{er(e,tr[e])});let $,x,C,k,F,S,M=window.navigator.userAgent,R="PC"!==lt(M),T=[],E=[],L=[],I=(e,t,n,i,r)=>{if(!e.subGroups||null!==i){if(B(),a(6,x=t),a(6,x),"secondary"!=r)return window.postMessage({type:l,itemId:e.id,index:t,item:e,externalLink:e.externalLink,target:e.attrs.target||null},window.location.href),a(7,C=null),void a(8,k=null);a(7,C=i),a(7,C),a(8,k=C),window.postMessage({type:l,itemId:n.id,subIndex:i,subItem:n},window.location.href)}},G=()=>{S.scrollBy({left:-250,behavior:"smooth"})},_=()=>{S.scrollBy({left:250,behavior:"smooth"})};const P=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(a(9,T=e.data.data),a(11,L=new Array(T.length).fill(!1)),"true"==b&&T.forEach((e,t)=>{var i,r,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(a(11,L[t]=!0,L),i=e,r=t,"secondaryMenu"==c&&o&&s&&f&&i.id&&(n=new URL(`${o}/casino/groups/${s}/${i.id}/subGroups?language=`+f),fetch(n.href).then(e=>e.json()).then(e=>{e.index=r,a(10,E=E.concat(e)),"false"==b&&window.postMessage({type:l,itemId:i.id,index:r,item:i},window.location.href);const n=[];E.map(e=>(e.items.forEach(t=>{n.find(e=>t.id==e)||n.push(t.id)}),n.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:n})}).then(()=>{$.querySelectorAll(".DropDown")&&B()})),"headerMain"==c&&window.postMessage({type:l,item:i},window.location.href))})),"GoToHomepage"==e.data.type&&T.forEach((e,t)=>{e.path.endsWith("/casino")&&(a(6,x=t),a(6,x))})},B=()=>{const t=$.querySelectorAll(".DropDown");document.activeElement.blur(),S.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+S.scrollLeft+"px)";S.classList.remove("isScrolling")};return it(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",P,!1),setTimeout(()=>{S.addEventListener("scroll",B)},500),()=>{window.removeEventListener("message",P),$.removeEventListener("scroll",B)})),t.$$set=e=>{"endpoint"in e&&a(17,o=e.endpoint),"datasource"in e&&a(18,s=e.datasource),"onclickeventname"in e&&a(19,n=e.onclickeventname),"actionevent"in e&&a(20,l=e.actionevent),"favoritesnumber"in e&&a(21,i=e.favoritesnumber),"location"in e&&a(0,c=e.location),"clientstyling"in e&&a(22,r=e.clientstyling),"clientstylingurl"in e&&a(23,d=e.clientstylingurl),"identity"in e&&a(24,u=e.identity),"translationurl"in e&&a(25,p=e.translationurl),"containermaxwidth"in e&&a(1,m=e.containermaxwidth),"isprimarymenu"in e&&a(26,h=e.isprimarymenu),"issecondarymenu"in e&&a(27,g=e.issecondarymenu),"lang"in e&&a(28,f=e.lang),"activeindex"in e&&a(2,y=e.activeindex),"showsubgroups"in e&&a(3,b=e.showsubgroups)},t.$$.update=()=>{if(t.$$.dirty[0],33554432&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{er(e,t[e])})}).catch(e=>{console.log(e)}),4194320&t.$$.dirty[0]&&r&&F){let e=document.createElement("style");e.innerHTML=r,F.appendChild(e)}if(8388624&t.$$.dirty[0]&&d&&F){let t=document.createElement("style"),e=new URL(d);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{F.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&f&&(e=f,ot.set(e))},[c,m,y,b,F,$,x,C,k,T,E,L,S,R,I,G,_,o,s,n,l,i,r,d,u,p,h,g,f,()=>G(),(e,t,n,i,r)=>{I(e,t,n,i,"secondary"),r.stopPropagation()},(e,t,n)=>{I(e,t,null,null,"main"),n.preventDefault()},function(e){rt[e?"unshift":"push"](()=>{$=e,a(5,$)})},function(e){rt[e?"unshift":"push"](()=>{S=e,a(12,S)})},()=>_(),function(e){rt[e?"unshift":"push"](()=>{F=e,a(4,F)})}]}function fr(n){let i,r,a,o;return{c(){i=me("div"),k(r=me("casino-slider"),"lang",n[3]),k(r,"datasource",n[2]),k(r,"endpoint",n[1]),k(r,"identity",wr),k(r,"favoritesnumber",n[13]),k(r,"showsubgroups",n[9]),k(r,"clientstyling",n[4]),k(r,"clientstylingurl",n[5]),k(r,"containermaxwidth",n[6]),k(r,"activeindex",n[0]),k(r,"actionevent",n[7]),k(r,"location",n[8]),fe(i,"class","CasinoCategoriesContainer"),fe(i,"part","CasinoCategoriesContainer")},m(e,t){ue(e,i,t),de(i,r),a||(o=S(n[14].call(null,r)),a=!0)},p(e,t){8&t[0]&&k(r,"lang",e[3]),4&t[0]&&k(r,"datasource",e[2]),2&t[0]&&k(r,"endpoint",e[1]),8192&t[0]&&k(r,"favoritesnumber",e[13]),512&t[0]&&k(r,"showsubgroups",e[9]),16&t[0]&&k(r,"clientstyling",e[4]),32&t[0]&&k(r,"clientstylingurl",e[5]),64&t[0]&&k(r,"containermaxwidth",e[6]),1&t[0]&&k(r,"activeindex",e[0]),128&t[0]&&k(r,"actionevent",e[7]),256&t[0]&&k(r,"location",e[8])},d(e){e&&pe(i),a=!1,o()}}}function yr(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function br(e){let n;return{c(){fe(n=me("div"),"class","CasinoCategoriesLoading"),fe(n,"part","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function vr(n){let i;function r(e){return e[10]?br:e[12]?yr:fr}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=V,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[23](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o.d(),n[23](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;padding:7px 10px;color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-color-contrast, #07072A)}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-color-secondary, #FD2839);background:-webkit-linear-gradient(var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-color-black, #000);background:var(--emfe-w-color-white, #FFF)}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},gr,hr,t,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,containermaxwidth:1,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:2,showsubgroups:3},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),f()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),f()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),f()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),f()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),f()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),f()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),f()}get containermaxwidth(){return this.$$.ctx[1]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),f()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get activeindex(){return this.$$.ctx[2]}set activeindex(e){this.$$set({activeindex:e}),f()}get showsubgroups(){return this.$$.ctx[3]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}});let wr="CasinoSliderData";function $r(t,e,n){let i,r,{endpoint:a=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{userid:l=""}=e,{session:c=""}=e,{mostplayed:d=""}=e,{lastplayed:u="false"}=e,{favorites:p=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{containermaxwidth:g=""}=e,{activecategory:f=""}=e,{actionevent:y=""}=e,{sessioncheck:b=""}=e,{location:v="secondaryMenu"}=e,{showsubgroups:w="false"}=e,{filteredcategories:$=""}=e,x=!0,C=[],k=!1,F=window.navigator.userAgent,S=!1,M=!1;const T=()=>{window.postMessage({type:"SliderData",identity:wr,data:C},window.location.href)};return t.$$set=e=>{"endpoint"in e&&n(1,a=e.endpoint),"datasource"in e&&n(2,o=e.datasource),"lang"in e&&n(3,s=e.lang),"userid"in e&&n(15,l=e.userid),"session"in e&&n(16,c=e.session),"mostplayed"in e&&n(17,d=e.mostplayed),"lastplayed"in e&&n(18,u=e.lastplayed),"favorites"in e&&n(19,p=e.favorites),"clientstyling"in e&&n(4,m=e.clientstyling),"clientstylingurl"in e&&n(5,h=e.clientstylingurl),"containermaxwidth"in e&&n(6,g=e.containermaxwidth),"activecategory"in e&&n(0,f=e.activecategory),"actionevent"in e&&n(7,y=e.actionevent),"sessioncheck"in e&&n(20,b=e.sessioncheck),"location"in e&&n(8,v=e.location),"showsubgroups"in e&&n(9,w=e.showsubgroups),"filteredcategories"in e&&n(21,$=e.filteredcategories)},t.$$.update=()=>{if(14&t.$$.dirty[0]&&a&&o&&s&&(a||(i="Endpoint is missing! Please provide a valid endpointURL.",n(12,k=!0),n(10,x=!1),console.error(i)),o||(i="Datasource is missing! Please provide a valid datasource.",n(12,k=!0),n(10,x=!1),console.error(i)),(!s||s.length<2)&&(i="Language is missing! Please provide a valid language (alpha2code)",n(12,k=!0),n(10,x=!1),console.error(i)),!k)){let e=new URL(a+"/casino/groups/"+o);e.searchParams.append("datasource",o),e.searchParams.append("language",s),e.searchParams.append("platform",lt(F)),fetch(e).then(e=>e.json()).then(e=>{let i=$.split(","),t=e.items.filter(e=>{let t=!1;if(0<e.games.total&&(t=!0,$))for(var n of i)e.flags==n&&(t=!1);return t});(C=(C=[]).concat(t)).unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(10,x=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(12,k=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(12,k=!0),console.error("There was an error while fetching the categories",e)})}if(984066&t.$$.dirty[0]&&a&&c&&(d||u||p)&&!x&&(0!=S||"true"!=p&&"true"!=d&&"true"!=u||C.splice(1,0,{id:"MYGAMES",name:"My Games",href:"",games:[]}),ke(),S=!0,n(22,M=!0),T()),4260865&t.$$.dirty[0]&&!x&&f&&(!c||M)&&(e=f.split("$"),n(0,f=2<e.length?f.split("$").slice(0,2).join("$"):f)),2064&t.$$.dirty[0]&&m&&r){let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)}if(2080&t.$$.dirty[0]&&h&&r){let t=document.createElement("style"),e=new URL(h);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e},n(13,0),[f,a,o,s,m,h,g,y,v,w,x,r,k,0,T,l,c,d,u,p,b,$,M,function(e){rt[e?"unshift":"push"](()=>{r=e,n(11,r)})}]}function xr(e,t){Ii(e,t)}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var(--emfe-w-color-black, #000000)}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},$r,vr,t,{endpoint:1,datasource:2,lang:3,userid:15,session:16,mostplayed:17,lastplayed:18,favorites:19,clientstyling:4,clientstylingurl:5,containermaxwidth:6,activecategory:0,actionevent:7,sessioncheck:20,location:8,showsubgroups:9,filteredcategories:21},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","lastplayed","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get userid(){return this.$$.ctx[15]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[16]}set session(e){this.$$set({session:e}),f()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get favorites(){return this.$$.ctx[19]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get containermaxwidth(){return this.$$.ctx[6]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[7]}set actionevent(e){this.$$set({actionevent:e}),f()}get sessioncheck(){return this.$$.ctx[20]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}get location(){return this.$$.ctx[8]}set location(e){this.$$set({location:e}),f()}get showsubgroups(){return this.$$.ctx[9]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get filteredcategories(){return this.$$.ctx[21]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}});const Cr={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},"zh-hk":{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"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:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}};function kr(e,t){Ii(e,t)}const Fr={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"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":{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen.",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:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar 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:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};Mr=Sr={path:void 0,exports:{},require:function(e,t){return In(null==t&&Sr.path)}},Sr.exports,Mr.exports=function(){var R;function h(){return R.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function D(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=[],i=e.length,r=0;r<i;++r)n.push(t(e[r],r));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,i){return It(e,t,n,i,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function U(e){if(null==e._isValid){var t=f(e),n=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 z(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,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},Y=h.momentProperties=[],V=!1;function q(e,t){var n,i,r,a=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(r=t[i=Y[n]])||(e[i]=r);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(a,o){var s=!0;return j(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,a),s){for(var e,t,n=[],i=arguments.length,r=0;r<i;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}J(a+"\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,i=j({},e);for(n in t)g(t,n)&&(D(e[n])&&D(t[n])?(i[n]={},j(i[n],e[n]),j(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)g(e,n)&&!g(t,n)&&D(e[n])&&(i[n]=j({},i[n]));return i}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 a(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}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,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,re={},ae={};function i(e,t,n,i){var r="string"==typeof i?function(){return this[i]()}:i;e&&(ae[e]=r),t&&(ae[t[0]]=function(){return a(r.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),re[t]=re[t]||function(i){for(var e,r=i.match(ne),t=0,a=r.length;t<a;t++)ae[r[t]]?r[t]=ae[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=d(r[n])?r[n].call(e,i):r[n];return t}}(t),re[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=n&&ie.test(e);)e=e.replace(ie,i),ie.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,i={};for(n in e)g(e,n)&&(t=u(n))&&(i[t]=e[n]);return i}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?p(e):t}function pe(t,n){return function(e){return null!=e?(he(this,t,e),h.updateOffset(this,n),this):me(this,t)}}function me(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=m(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var r=/\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,i){Te[e]=d(n)?n:function(e,t){return e&&i?i:n}}function Me(e,t){return g(Te,e)?Te[e](t._strict,t._locale):new RegExp($(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Te={},Ee={};function x(e,n){var t,i,r=n;for("string"==typeof e&&(e=[e]),N(n)&&(r=function(e,t){t[n]=m(e)}),i=e.length,t=0;t<i;t++)Ee[e[t]]=r}function Le(e,r){x(e,function(e,t,n,i){n._w=n._w||{},r(e,n._w,n,i)})}var C,k=0,F=1,S=2,M=3,T=4,E=5,Ie=6,Ge=7,_e=8;function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return 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},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("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]=m(e)-1}),x(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[F]=i:f(n).invalidMonth=e});var Be="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),De=/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=m(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):me(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],r=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),r.sort(e),a=0;a<12;a++)n[a]=$(n[a]),i[a]=$(i[a]);for(a=0;a<24;a++)r[a]=$(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return ue(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(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):m(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 m(e)+(68<m(e)?1900:2e3)};var ze=pe("FullYear",!0);function We(e,t,n,i,r,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function Ye(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function qe(e,t,n,i,r){var a,t=1+7*(t-1)+(7+n-i)%7+Ve(e,i,r),n=t<=0?Ue(a=e-1)+t:t>Ue(e)?(a=e+1,t-Ue(e)):(a=e,t);return{year:a,dayOfYear:n}}function Ze(e,t,n){var i,r,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?i=a+L(r=e.year()-1,t,n):a>L(e.year(),t,n)?(i=a-L(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function L(e,t,n){var i=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("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),Le(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=m(e)});function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("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)}),Le(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),Le(["d","e","E"],function(e,t,n,i){t[i]=m(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 it(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],a=[],o=[],s=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=$(this.weekdaysMin(i,"")),n=$(this.weekdaysShort(i,"")),i=$(this.weekdays(i,"")),r.push(t),a.push(n),o.push(i),s.push(t),s.push(n),s.push(i);r.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function rt(){return this.hours()%12||12}function at(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,rt),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+rt.apply(this)+a(this.minutes(),2)}),i("hmmss",0,0,function(){return""+rt.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),x(["H","HH"],M),x(["k","kk"],function(e,t,n){e=m(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]=m(e),f(n).bigHour=!0}),x("hmm",function(e,t,n){var i=e.length-2;t[M]=m(e.substr(0,i)),t[T]=m(e.substr(i)),f(n).bigHour=!0}),x("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[M]=m(e.substr(0,i)),t[T]=m(e.substr(i,2)),t[E]=m(e.substr(r)),f(n).bigHour=!0}),x("Hmm",function(e,t,n){var i=e.length-2;t[M]=m(e.substr(0,i)),t[T]=m(e.substr(i))}),x("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[M]=m(e.substr(0,i)),t[T]=m(e.substr(i,2)),t[E]=m(e.substr(r))});v=pe("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:Be,monthsShort:Re,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,i,r,a=0;a<e.length;){for(t=(r=dt(e[a]).split("-")).length,n=(n=dt(e[a+1]))?n.split("-"):null;0<t;){if(i=pt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(r,n)>=t-1)break;t--}a++}return st}function pt(t){var e;if(void 0===I[t]&&Mr&&Mr.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,In(),mt(e)}catch(e){I[t]=null}return I[t]}function mt(e,t){return e&&((t=s(t)?G(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,i=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."),i=I[e]._config;else if(null!=t.parentLocale)if(null!=I[t.parentLocale])i=I[t.parentLocale]._config;else{if(null==(n=pt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=n._config}return I[e]=new ee(Q(i,t)),ct[e]&&ct[e].forEach(function(e){ht(e.name,e.config)}),mt(e),I[e]}function G(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=pt(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[T]||0!==t[E]||0!==t[Ie])?M:t[T]<0||59<t[T]?T:t[E]<0||59<t[E]?E:t[Ie]<0||999<t[Ie]?Ie:-1,f(e)._overflowDayOfYear&&(t<k||S<t)&&(t=S),f(e)._overflowWeeks&&-1===t&&(t=Ge),f(e)._overflowWeekday&&-1===t&&(t=_e),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,i,r,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){r=vt[t][0],i=!1!==vt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!i&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=r+(a||"")+(o||""),Et(e)}else e._isValid=!1}function Ft(e,t,n,i,r,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Re.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return a&&e.push(parseInt(a,10)),e}function St(e){var t,n,i,r,a=xt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Ft(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],i=t,r=e,n&&Xe.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(f(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(n=a[8],i=a[9],r=a[10],n?Ct[n]:i?0:((n=parseInt(r,10))-(i=n%100))/100*60+i),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 Tt(e){var t,n,i,r,a,o,s,l,c,d,u,p=[];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,i=Mt(u.GG,d._a[k],Ze(_(),1,4).year),r=Mt(u.W,1),((a=Mt(u.E,1))<1||7<a)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Ze(_(),o,s),i=Mt(u.gg,d._a[k],c.year),r=Mt(u.w,c.week),null!=u.d?((a=u.d)<0||6<a)&&(l=!0):null!=u.e?(a=u.e+o,(u.e<0||6<u.e)&&(l=!0)):a=o),r<1||r>L(i,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=qe(i,r,a,o,s),d._a[k]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[k],n[k]),(e._dayOfYear>Ue(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]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[T]&&0===e._a[E]&&0===e._a[Ie]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:We).apply(null,p),i=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!==i&&(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,i,r=""+e._i,a=r.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)i=n[l],(t=(r.match(Me(i,e))||[])[0])&&(0<(u=r.substr(0,r.indexOf(t))).length&&f(e).unusedInput.push(u),r=r.slice(r.indexOf(t)+t.length),o+=t.length),ae[i]?(t?f(e).empty=!1:f(e).unusedTokens.push(i),u=i,m=e,null!=(p=t)&&g(Ee,u)&&Ee[u](p,m._a,m,u)):e._strict&&!t&&f(e).unusedTokens.push(i);f(e).charsLeftOver=a-o,0<r.length&&f(e).unusedInput.push(r),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(a=e._locale,c=e._a[M],null==(d=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,d):null!=a.isPM?((a=a.isPM(d))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[k]=e._locale.erasConvertYear(d,e._a[k])),Tt(e),gt(e)}else St(e);else kt(e);var c,d,u,p,m}function Lt(e){var t,n=e._i,i=e._f;{var r,a;if(e._locale=e._locale||G(e._l),null===n||void 0===i&&""===n)return z({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new Z(gt(n)):(O(n)?e._d=n:o(i)?function(e){var t,n,i,r,a,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)a=0,o=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Et(t),U(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<i&&(i=a,n=t):(null==i||a<i||o)&&(i=a,n=t,o&&(s=!0));j(e,n||t)}(e):i?Et(e):s(i=(n=e)._i)?n._d=new Date(h.now()):O(i)?n._d=new Date(i.valueOf()):"string"==typeof i?(r=n,null===(a=$t.exec(r._i))?(kt(r),!1===r._isValid&&(delete r._isValid,St(r),!1===r._isValid&&(delete r._isValid,r._strict?r._isValid=!1:h.createFromInputFallback(r)))):r._d=new Date(+a[1])):o(i)?(n._a=H(i.slice(0),function(e){return parseInt(e,10)}),Tt(n)):D(i)?(r=n)._d||(t=void 0===(a=ce(r._i)).day?a.date:a.day,r._a=H([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),Tt(r)):N(i)?n._d=new Date(i):h.createFromInputFallback(n),U(e)||(e._d=null),e)}}function It(e,t,n,i,r){var a={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(D(e)&&A(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=e,a._f=t,a._strict=i,(r=new Z(gt(Lt(r=a))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function _(e,t,n,i){return It(e,t,n,i,!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=_.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:z()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:z()});function Gt(e,t){var n,i;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return _();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var _t=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,i=e.month||0,r=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,i=!1,r=_t.length;for(t in e)if(g(e,t)&&(-1===C.call(_t,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[_t[n]]){if(i)return!1;parseFloat(e[_t[n]])!==m(e[_t[n]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*n+12*t,this._data={},this._locale=G(),this._bubble()}function Bt(e){return e instanceof Pt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Dt(e,n){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}Dt("Z",":"),Dt("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]+m(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:_(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),h.updateOffset(t,!1),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 Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?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,i,r=e,a=null;return Bt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:N(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(a=Ut.exec(e))?(n="-"===a[1]?-1:1,r={y:0,d:m(a[S])*n,h:m(a[M])*n,m:m(a[T])*n,s:m(a[E])*n,ms:m(Rt(1e3*a[Ie]))*n}):(a=zt.exec(e))?(n="-"===a[1]?-1:1,r={y:Wt(a[2],n),M:Wt(a[3],n),w:Wt(a[4],n),d:Wt(a[5],n),h:Wt(a[6],n),m:Wt(a[7],n),s:Wt(a[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=_(r.from),a=_(r.to),n=t.isValid()&&a.isValid()?(a=Ot(a,t),t.isBefore(a)?i=Yt(t,a):((i=Yt(a,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(r={}).ms=n.milliseconds,r.M=n.months),a=new Pt(r),Bt(e)&&g(e,"_locale")&&(a._locale=e._locale),Bt(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}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(i,r){return function(e,t){var n;return null===t||isNaN(+t)||(X(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(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),i),this}}function qt(e,t,n,i){var r=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(i=null==i||i,t&&Oe(e,me(e,"Month")+t*n),a&&he(e,"Date",me(e,"Date")+a*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&h.updateOffset(e,a||t))}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Be=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),i=!1,n&&(i=0===t.filter(function(e){return!N(e)&&Zt(t)}).length),n&&i)||function(e){var t,n,i=D(e)&&!A(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],r=r||g(e,n);return i&&r}(e)||null==e;var t,n,i}function Kt(e,t){if(e.date()<t.date())return-Kt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=G(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=[],i=[],r=this.eras(),a=0,o=r.length;a<o;++a)t.push($(r[a].name)),e.push($(r[a].abbr)),n.push($(r[a].narrow)),i.push($(r[a].name)),i.push($(r[a].abbr)),i.push($(r[a].narrow));this._erasRegex=new RegExp("^("+i.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){i(0,[e,e.length],0,t)}function ln(e,t,n,i,r){var a;return null==e?Ze(this,i,r).year:(t>(a=L(e,i,r))&&(t=a),function(e,t,n,i,r){e=qe(e,t,n,i,r),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,i,r))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("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,i){i=n._locale.erasParse(e,i,n._strict);i?f(n).era=i: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,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[k]=n._locale.eraYearOrdinalParse(e,r):t[k]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(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),Le(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=m(e)}),Le(["gg","GG"],function(e,t,n,i){t[i]=h.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",r),x("Q",function(e,t){t[F]=3*(m(e)-1)}),i("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]=m(e.match(b)[0])});$e=pe("Date",!0);i("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=m(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),x(["m","mm"],T);fe=pe("Minutes",!1);i("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=pe("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,r),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function dn(e,t){t[Ie]=m(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")x(cn,dn);ye=pe("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");r=Z.prototype;function un(e){return e}r.add=Be,r.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=D(e)&&!A(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||g(e,i[r]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||_(),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,_(e)))},r.clone=function(){return new Z(this)},r.diff=function(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Ot(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=u(t)){case"year":a=Kt(this,i)/12;break;case"month":a=Kt(this,i);break;case"quarter":a=Kt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:p(a)},r.endOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),h.updateOffset(this,!0),this},r.format=function(e){return e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},r.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||_(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.fromNow=function(e){return this.from(_(),e)},r.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||_(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.toNow=function(e){return this.to(_(),e)},r.get=function(e){return d(this[e=u(e)])?this[e]():this},r.invalidAt=function(){return f(this).overflow},r.isAfter=function(e,t){return e=l(e)?e:_(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},r.isBefore=function(e,t){return e=l(e)?e:_(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},r.isBetween=function(e,t,n,i){return e=l(e)?e:_(e),t=l(t)?t:_(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},r.isSame=function(e,t){var e=l(e)?e:_(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()))},r.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},r.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},r.isValid=function(){return U(this)},r.lang=Qe,r.locale=Xt,r.localeData=Qt,r.max=ve,r.min=be,r.parsingFlags=function(){return j({},f(this))},r.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)),i=n.length,r=0;r<i;r++)this[n[r].unit](e[n[r].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},r.startOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),h.updateOffset(this,!0),this},r.subtract=Ke,r.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},r.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()}},r.toDate=function(){return new Date(this.valueOf())},r.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):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")},r.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(r[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},r.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},r.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++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""},r.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++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""},r.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++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""},r.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-h(n[i].since).year())*e+n[i].offset;return this.year()},r.year=ze,r.isLeapYear=function(){return ue(this.year())},r.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},r.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},r.quarter=r.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},r.month=He,r.daysInMonth=function(){return Pe(this.year(),this.month())},r.week=r.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},r.isoWeek=r.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},r.weeksInYear=function(){var e=this.localeData()._week;return L(this.year(),e.dow,e.doy)},r.weeksInWeekYear=function(){var e=this.localeData()._week;return L(this.weekYear(),e.dow,e.doy)},r.isoWeeksInYear=function(){return L(this.year(),1,4)},r.isoWeeksInISOWeekYear=function(){return L(this.isoWeekYear(),1,4)},r.date=$e,r.day=r.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},r.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},r.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},r.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")},r.hour=r.hours=v,r.minute=r.minutes=fe,r.second=r.seconds=xe,r.millisecond=r.milliseconds=ye,r.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r: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&&(i=Ht(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?qt(this,P(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},r.utc=function(e){return this.utcOffset(0,e)},r.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},r.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},r.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?_(e).utcOffset():0,(this.utcOffset()-e)%60==0)},r.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},r.isLocal=function(){return!!this.isValid()&&!this._isUTC},r.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},r.isUtc=jt,r.isUTC=jt,r.zoneAbbr=function(){return this._isUTC?"UTC":""},r.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},r.dates=e("dates accessor is deprecated. Use date instead.",$e),r.months=e("months accessor is deprecated. Use month instead",He),r.years=e("years accessor is deprecated. Use year instead",ze),r.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()}),r.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return q(t,this),(t=Lt(t))._a?(e=(t._isUTC?c:_)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0,o=0;o<i;o++)(n&&e[o]!==t[o]||!n&&m(e[o])!==m(t[o]))&&a++;return a+r}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function pn(e,t,n,i){var r=G(),i=c().set(i,t);return r[n](i,e)}function mn(e,t,n){if(N(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");for(var i=[],r=0;r<12;r++)i[r]=pn(e,r,n,"month");return i}function hn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),N(t)&&(n=t,t=void 0),t||"");var r,a=G(),o=e?a._week.dow:0,s=[];if(null!=n)return pn(t,(n+o)%7,i,"day");for(r=0;r<7;r++)s[r]=pn(t,(r+o)%7,i,"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,i){var r=this._relativeTime[n];return d(r)?r(e,t,n,i):r.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,i=this._eras||G("en")._eras,r=0,a=i.length;r<a;++r)switch("string"==typeof i[r].since&&(n=h(i[r].since).startOf("day"),i[r].since=n.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=h(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},y.erasParse=function(e,t,n){var i,r,a,o,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(a===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if(0<=[a,o,s].indexOf(e))return l[i]},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||De).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[De.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var i,r;if(this._monthsParseExact)return function(e,t,n){var i,r,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))||-1!==(r=C.call(this._longMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))||-1!==(r=C.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=c([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},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 i,r;if(this._weekdaysParseExact)return function(e,t,n){var i,r,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=c([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||it.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")||it.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")||it.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"},mt("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===m(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.",mt),h.langData=e("moment.langData is deprecated. Use moment.localeData instead.",G);var gn=Math.abs;function fn(e,t,n,i){t=P(t,n);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*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"),Be=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"),ze=$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,i){var r=P(e).abs(),a=Fn(r.as("s")),o=Fn(r.as("m")),s=Fn(r.as("h")),l=Fn(r.as("d")),c=Fn(r.as("M")),d=Fn(r.as("w")),r=Fn(r.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(a=(a=null!=n.w?a||d<=1&&["w"]||d<n.w&&["ww",d]:a)||c<=1&&["M"]||c<n.M&&["MM",c]||r<=1&&["y"]||["yy",r])[2]=t,a[3]=0<+e,a[4]=i,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,a)}var Tn=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Ln(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,a,o,s=Tn(this._milliseconds)/1e3,l=Tn(this._days),c=Tn(this._months),d=this.asSeconds();return d?(e=p(s/60),t=p(e/60),s%=60,e%=60,n=p(c/12),c%=12,i=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=En(this._months)!==En(d)?"-":"",a=En(this._days)!==En(d)?"-":"",o=En(this._milliseconds)!==En(d)?"-":"",(d<0?"-":"")+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+i+"S":"")):"P0D"}var B=Pt.prototype;return B.isValid=function(){return this._isValid},B.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},B.add=function(e,t){return fn(this,e,t,1)},B.subtract=function(e,t){return fn(this,e,t,-1)},B.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+i/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+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},B.asMilliseconds=we,B.asSeconds=ge,B.asMinutes=Be,B.asHours=ve,B.asDays=be,B.asWeeks=Ke,B.asMonths=v,B.asQuarters=fe,B.asYears=xe,B.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12):NaN},B._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),i.milliseconds=e%1e3,e=p(e/1e3),i.seconds=e%60,e=p(e/60),i.minutes=e%60,e=p(e/60),i.hours=e%24,t+=p(e/24),n+=e=p(bn(t)),t-=yn(vn(e)),e=p(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},B.clone=function(){return P(this)},B.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},B.milliseconds=ye,B.seconds=$e,B.minutes=ze,B.hours=y,B.days=xn,B.weeks=function(){return p(this.days()/7)},B.months=Cn,B.years=kn,B.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Sn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Sn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),t=Mn(this,!n,i,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},B.toISOString=Ln,B.toString=Ln,B.toJSON=Ln,B.locale=Xt,B.localeData=Qt,B.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),B.lang=Qe,i("X",0,0,"unix"),i("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(m(e))}),h.version="2.29.3",R=_,h.fn=r,h.min=function(){return Gt("isBefore",[].slice.call(arguments,0))},h.max=function(){return Gt("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=c,h.unix=function(e){return _(1e3*e)},h.months=function(e,t){return mn(e,t,"months")},h.isDate=O,h.locale=mt,h.invalid=z,h.duration=P,h.isMoment=l,h.weekdays=function(e,t,n){return hn(e,t,n,"weekdays")},h.parseZone=function(){return _.apply(null,arguments).parseZone()},h.localeData=G,h.isDuration=Bt,h.monthsShort=function(e,t){return mn(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,i;return null!=t?(i=lt,null!=I[e]&&null!=I[e].parentLocale?I[e].set(Q(I[e]._config,t)):(t=Q(i=null!=(n=pt(e))?n._config:i,t),null==n&&(t.abbr=e),(i=new ee(t)).parentLocale=I[e],I[e]=i),mt(e)):null!=I[e]&&(null!=I[e].parentLocale?(I[e]=I[e].parentLocale,e===mt()&&mt(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?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=r,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 Sr,Mr,Tr=Sr.exports;function Er(e,t){Ii(e,t)}const Lr={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},"zh-hk":{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Ir={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 Gr(e,t,n){const i=e.slice();return i[109]=t[n],i[111]=n,i}function _r(e,t,n){const i=e.slice();return i[106]=t[n],i}function Pr(e){let n;return{c(){(n=me("div")).innerHTML="<div></div><div></div>",fe(n,"class","LoaderRipple")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function Br(e){let n,i=!st(e[37])&&!e[0]&&e[15],r=i&&Rr(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(i=32769&t[0]?!st(e[37])&&!e[0]&&e[15]:i)?r?r.p(e,t):((r=Rr(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&pe(n)}}}function Rr(n){let i,r,a;return{c(){(i=me("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(i,"class","FavIconContainer"),fe(i,"part","FavIconContainer")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[67]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Dr(n){let i,r,a,o,s=n[36]("gameThumbnail.playNow")+"";return{c(){i=me("button"),r=he(s),fe(i,"class","GameInfoBtn"),fe(i,"part","GameInfoBtn")},m(e,t){ue(e,i,t),de(i,r),a||(o=Z(i,"click",n[68]),a=!0)},p(e,t){32&t[1]&&s!==(s=e[36]("gameThumbnail.playNow")+"")&&ye(r,s)},d(e){e&&pe(i),a=!1,o()}}}function Ar(e){let n;return{c(){(n=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function Nr(n){let i,r,a;return{c(){(i=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(i,"class","FavIconContainer"),fe(i,"part","FavIconContainer")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[69]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Or(e){let n,i,r=e[36]("gameThumbnail.new")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[1]&&r!==(r=e[36]("gameThumbnail.new")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Hr(e){let n,i;return{c(){n=me("span"),i=he(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&ye(i,e[8])},d(e){e&&pe(n)}}}function jr(e){let n,i,r=!e[23]&&e[21]&&e[22]&&Ur(e);function a(e){return e[23]&&e[20]&&e[20]===ta?Wr:e[23]&&e[20]&&e[20]===na?zr:void 0}let o=a(e),s=o&&o(e);return{c(){r&&r.c(),n=ge(),s&&s.c(),i=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,i,t)},p(e,t){!e[23]&&e[21]&&e[22]?r?r.p(e,t):((r=Ur(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){r&&r.d(e),e&&pe(n),s&&s.d(e),e&&pe(i)}}}function Ur(e){let n,i,r,a,o,s,l,c,d,u,p=e[36]("gameThumbnail.opens")+"",m=Tr.utc(e[21]).local().format(e[22])+"",h=e[46](e[35])+"",g=e[45](e[27],e[28],e[26])+"";return{c(){n=me("div"),i=me("div"),r=he(p),a=ge(),o=me("span"),s=he(m),l=ge(),c=new G(!1),d=ge(),u=new G(!1),fe(i,"class","ClosedGame"),fe(i,"part","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(i,o),de(o,s),de(n,l),c.m(h,n),de(n,d),u.m(g,n)},p(e,t){32&t[1]&&p!==(p=e[36]("gameThumbnail.opens")+"")&&ye(r,p),6291456&t[0]&&m!==(m=Tr.utc(e[21]).local().format(e[22])+"")&&ye(s,m),16&t[1]&&h!==(h=e[46](e[35])+"")&&c.p(h),469762048&t[0]&&g!==(g=e[45](e[27],e[28],e[26])+"")&&u.p(g)},d(e){e&&pe(n)}}}function zr(n){let i,r,a,o,s,l,c=n[46](n[35])+"",d=n[45](n[27],n[28],n[26])+"",u=new Array(ra),p=[];for(let e=0;e<u.length;e+=1)p[e]=Zr(Gr(n,u,e));return{c(){i=me("div"),r=me("div");for(let e=0;e<p.length;e+=1)p[e].c();a=ge(),o=new G(!1),s=ge(),l=new G(!1),fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),o.a=s,l.a=null,fe(i,"class",n[31]),fe(i,"part",n[31])},m(e,t){ue(e,i,t),de(i,r);for(let e=0;e<p.length;e+=1)p[e].m(r,null);n[70](r),de(i,a),o.m(c,i),de(i,s),l.m(d,i)},p(t,n){if(1073750016&n[0]|65538&n[1]){let e;for(u=new Array(ra),e=0;e<u.length;e+=1){const o=Gr(t,u,e);p[e]?p[e].p(o,n):(p[e]=Zr(o),p[e].c(),p[e].m(r,null))}for(;e<p.length;e+=1)p[e].d(1);p.length=u.length}16&n[1]&&c!==(c=t[46](t[35])+"")&&o.p(c),469762048&n[0]&&d!==(d=t[45](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(i,"class",t[31]),1&n[1]&&fe(i,"part",t[31])},d(e){e&&pe(i),H(p,e),n[70](null)}}}function Wr(e){let n,i,r,a,o,s,l=e[46](e[35])+"",c=e[45](e[27],e[28],e[26])+"";function d(e){return e[33]?Kr:Jr}let u=d(e),p=u(e);return{c(){n=me("div"),i=me("div"),p.c(),r=ge(),a=new G(!1),o=ge(),s=new G(!1),fe(i,"class","LiveIcons"),fe(i,"part","LiveIcons"),a.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,i),p.m(i,null),de(n,r),a.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&p?p.p(e,t):(p.d(1),(p=u(e))&&(p.c(),p.m(i,null))),16&t[1]&&l!==(l=e[46](e[35])+"")&&a.p(l),469762048&t[0]&&c!==(c=e[45](e[27],e[28],e[26])+"")&&s.p(c)},d(e){e&&pe(n),p.d()}}}function Yr(e){let n;function i(e){return e[30]?qr:Vr}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function Vr(e){let n,i,r=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"";return{c(){n=new G(!1),i=c(),n.a=i},m(e,t){n.m(r,e,t),ue(e,i,t)},p(e,t){8192&t[0]|2&t[1]&&r!==(r=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"")&&n.p(r)},d(e){e&&pe(i),e&&n.d()}}}function qr(e){let n,i,r,a,o,s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"",l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"";return{c(){n=me("div"),i=new G(!1),r=ge(),a=new G(!1),o=ge(),i.a=r,a.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){ue(e,n,t),i.m(s,n),de(n,r),a.m(l,n),de(n,o)},p(e,t){8192&t[0]|2&t[1]&&s!==(s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"")&&i.p(s),8192&t[0]|2&t[1]&&l!==(l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"")&&a.p(l)},d(e){e&&pe(n)}}}function Zr(e){let n,i=e[13]&&e[13][e[111]]&&Yr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[13]&&e[13][e[111]]?i?i.p(e,t):((i=Yr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function Jr(t){let r,a=t[25],o=[];for(let e=0;e<a.length;e+=1)o[e]=Xr(_r(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(570425344&n[0]|8192&n[1]){let e;for(a=t[25],e=0;e<a.length;e+=1){var i=_r(t,a,e);o[e]?o[e].p(i,n):(o[e]=Xr(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function Kr(e){let n,i,r=e[36]("gameThumbnail.full")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[1]&&r!==(r=e[36]("gameThumbnail.full")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Xr(e){let n,i,r,a,o,s,l;return{c(){n=me("span"),i=j("svg"),r=j("path"),a=j("path"),o=ge(),fe(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"width","13"),fe(i,"height","14"),fe(i,"viewBox","0 0 13 14"),fe(n,"class",s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(n,o)},p(e,t){570425344&t[0]&&s!==(s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),570425344&t[0]&&l!==(l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&pe(n)}}}function Qr(e){let n,i;return{c(){n=me("p"),i=he(e[4]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16&t[0]&&ye(i,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&pe(n)}}}function ea(n){let i,r,a,o,s,l,A,c,d,u,p,m,N,h,g,O,f,y,H,b,v,w,$,x,C,k,F,j,S,M,U,z,T=(n[5]||"-")+"";function W(e){return e[16]?Br:Pr}let E=W(n),L=E(n),I=n[1]&&Dr(n);function Y(e,t){return 32773&t[0]&&(b=null),32773&t[0]&&(v=null),(b=null==b?!(st(e[37])||!e[0]||!e[15]||!e[2]):b)?Nr:(v=null==v?!!(st(e[37])&&e[0]&&e[15]&&e[2]):v)?Ar:void 0}let G=Y(n,[-1,-1,-1,-1]),_=G&&G(n),P=n[7]&&Or(n),B=n[8]&&Hr(n),R=n[12]&&jr(n),D=n[10]&&Qr(n);return{c(){i=me("div"),r=me("div"),a=me("img"),A=ge(),c=me("div"),d=me("div"),L.c(),u=ge(),p=me("p"),m=he(n[4]),N=ge(),I&&I.c(),O=ge(),f=me("span"),y=he(T),H=ge(),_&&_.c(),w=ge(),$=me("div"),P&&P.c(),x=ge(),B&&B.c(),C=ge(),R&&R.c(),j=ge(),D&&D.c(),this.c=V,ce(a.src,o=n[3])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[9]} ${n[17]?"GameContainerHovered":""} `+(n[18]?"Loaded":"")),fe(a,"part",l="GameBg "+(n[17]?"GameContainerHovered":"")+" "+(n[18]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(p,"class","GameInfoName"),fe(p,"part","GameInfoName"),fe(p,"title",n[4]),fe(d,"class",h="GameInfo "+(n[17]?"GameHovered":"")),fe(d,"part",g="GameInfo "+(n[17]?"GameHovered":"")),fe(f,"class","GameInfoVendor"),fe(f,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe($,"class","GameExtraInfo"),fe($,"part","GameExtraInfo"),fe(r,"class",k="GameInnerContainer "+(n[12]&&!n[23]&&n[24].value||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"part",F="GameInnerContainer "+(n[12]&&!n[23]||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(i,"class",S="GameContainer "+n[34]),fe(i,"part",M="GameContainer "+n[34])},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[66](a),de(r,A),de(r,c),de(c,d),L.m(d,null),de(d,u),de(d,p),de(p,m),de(d,N),I&&I.m(d,null),de(c,O),de(c,f),de(f,y),de(r,H),_&&_.m(r,null),de(r,w),de(r,$),P&&P.m($,null),de($,x),B&&B.m($,null),de($,C),R&&R.m($,null),de(i,j),D&&D.m(i,null),n[71](i),U||(z=[Z(r,"mouseenter",n[42]),Z(r,"mouseleave",n[43]),Z(r,"touchstart",n[40],{passive:!0}),Z(r,"touchend",n[41],{passive:!0})],U=!0)},p(e,t){8&t[0]&&!ce(a.src,o=e[3])&&fe(a,"src",o),393728&t[0]&&s!==(s=`GameBg GameBg-${e[9]} ${e[17]?"GameContainerHovered":""} `+(e[18]?"Loaded":""))&&fe(a,"class",s),393216&t[0]&&l!==(l="GameBg "+(e[17]?"GameContainerHovered":"")+" "+(e[18]?"Loaded":""))&&fe(a,"part",l),E===(E=W(e))&&L?L.p(e,t):(L.d(1),(L=E(e))&&(L.c(),L.m(d,u))),16&t[0]&&ye(m,e[4]),16&t[0]&&fe(p,"title",e[4]),e[1]?I?I.p(e,t):((I=Dr(e)).c(),I.m(d,null)):I&&(I.d(1),I=null),131072&t[0]&&h!==(h="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"class",h),131072&t[0]&&g!==(g="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"part",g),32&t[0]&&T!==(T=(e[5]||"-")+"")&&ye(y,T),G===(G=Y(e,t))&&_?_.p(e,t):(_&&_.d(1),(_=G&&G(e))&&(_.c(),_.m(r,w))),e[7]?P?P.p(e,t):((P=Or(e)).c(),P.m($,x)):P&&(P.d(1),P=null),e[8]?B?B.p(e,t):((B=Hr(e)).c(),B.m($,C)):B&&(B.d(1),B=null),e[12]?R?R.p(e,t):((R=jr(e)).c(),R.m($,null)):R&&(R.d(1),R=null),25169920&t[0]|4&t[1]&&k!==(k="GameInnerContainer "+(e[12]&&!e[23]&&e[24].value||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(r,"class",k),8392704&t[0]|4&t[1]&&F!==(F="GameInnerContainer "+(e[12]&&!e[23]||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(r,"part",F),e[10]?D?D.p(e,t):((D=Qr(e)).c(),D.m(i,null)):D&&(D.d(1),D=null),8&t[1]&&S!==(S="GameContainer "+e[34])&&fe(i,"class",S),8&t[1]&&M!==(M="GameContainer "+e[34])&&fe(i,"part",M)},i:V,o:V,d(e){e&&pe(i),n[66](null),L.d(),I&&I.d(),_&&_.d(),P&&P.d(),B&&B.d(),R&&R.d(),D&&D.d(),n[71](null),U=!1,q(z)}}}const ta="blackjack",na="roulette",ia="doubleballroulette",ra=5;function aa(r,e,o){let t;ct(r,Ki,e=>o(36,t=e));let R,a,s,l,n,D,A,c,d,N,O,H,u,j,U,z,p,W,Y,V,m,q,h,Z,J,{session:K=""}=e,{userid:g=""}=e,{lang:f="en"}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{favorites:w=""}=e,{gamethumbnail:X=""}=e,{gamename:Q=""}=e,{gamevendor:i=""}=e,{gameid:$=""}=e,{gameisnew:ee=""}=e,{gametag:te=""}=e,{gamefunmode:x=!1}=e,{searchitem:ne=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:ie=""}=e,{showfavoredcategory:k=!1}=e,{showgamename:re=!1}=e,{currency:F=""}=e,{gamepagemodalurl:S="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:T=""}=e,{connectlive:E=""}=e,{visibilityconnect:L=""}=e,{integratedgameframedesktop:I="false"}=e,{integratedgameframemobile:G="false"}=e,ae=!1,oe=!1,se=!1,_=window.navigator.userAgent,le="HH:mm",ce,de=[],ue="EUR",P="";const pe=[ta],me=[na,ia],he={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ge={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"},fe=(Object.keys(Lr).forEach(e=>{Er(e,Lr[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+$||k||o(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+$||k||o(0,C=!1),"UserSessionID"===e.data.type&&(o(15,ae=!0),e.data.session,R=e.data.userID),"CategoryUpdate"===e.data.type&&o(12,l=null)}),ye=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(R||"Not logged in")}),st(_)&&"true"==G?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:st(_),source:"GameThumbnail"},window.location.href):st(_)&&"false"==G&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:st(_)},window.location.href),st(_)||"true"!=I?st(_)||"false"!=I||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:st(_)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:st(_)},window.location.href)},be=e=>{C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},ve=()=>{T&&EventSource&&!n&&i&&$&&(n=new EventSource(`${M}/encoder/lobby/updates/${i}/`+$)).addEventListener("message",$e)},we=()=>{n&&(n.close(),n=void 0)},$e=async e=>{const{type:t,data:n}=e;let i;if("message"===t){if(n)try{i=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:n,Seats:r,Open:a}=i;if(e)switch(t){case"SeatsUpdated":r&&Array.isArray(r)&&(o(29,u=r),o(12,l.currentOccupiedSeats=r,l),await ke());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,o(12,l.currentRouletteNumbers=n,l),await ke());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(12,l.currentDoubleBallRouletteNumbers=n,l),await ke());break;case"TableOpened":case"TableClosed":o(23,c=a),o(12,l.isOpen=a,l),await ke()}}}},xe=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",B=(e,t)=>e.some(e=>e===t),Ce=()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})};return it(()=>(window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),n&&n.removeEventListener("message",$e)})),r.$$set=e=>{"session"in e&&o(48,K=e.session),"userid"in e&&o(49,g=e.userid),"lang"in e&&o(1,f=e.lang),"clientstyling"in e&&o(50,y=e.clientstyling),"clientstylingurl"in e&&o(51,b=e.clientstylingurl),"translationurl"in e&&o(52,v=e.translationurl),"favorites"in e&&o(2,w=e.favorites),"gamethumbnail"in e&&o(3,X=e.gamethumbnail),"gamename"in e&&o(4,Q=e.gamename),"gamevendor"in e&&o(5,i=e.gamevendor),"gameid"in e&&o(6,$=e.gameid),"gameisnew"in e&&o(7,ee=e.gameisnew),"gametag"in e&&o(8,te=e.gametag),"gamefunmode"in e&&o(53,x=e.gamefunmode),"searchitem"in e&&o(54,ne=e.searchitem),"gamefavorite"in e&&o(0,C=e.gamefavorite),"gamecellsize"in e&&o(9,ie=e.gamecellsize),"showfavoredcategory"in e&&o(55,k=e.showfavoredcategory),"showgamename"in e&&o(10,re=e.showgamename),"currency"in e&&o(56,F=e.currency),"gamepagemodalurl"in e&&o(57,S=e.gamepagemodalurl),"endpoint"in e&&o(58,M=e.endpoint),"livelobbyendpoint"in e&&o(59,T=e.livelobbyendpoint),"connectlive"in e&&o(60,E=e.connectlive),"visibilityconnect"in e&&o(61,L=e.visibilityconnect),"integratedgameframedesktop"in e&&o(62,I=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(63,G=e.integratedgameframemobile)},r.$$.update=()=>{if(536870912&r.$$.dirty[1]&&E&&("disconnect"===E?we():"connect"===E&&ve()),1073741824&r.$$.dirty[1]&&L&&("disconnect"===L?we():"connect"===L&&"connect"===E&&ve()),2&r.$$.dirty[0]&&f&&(t=f,ot.set(t)),134610944&r.$$.dirty[1]&&K&&g&&M&&(o(15,ae=!0),R=g),8&r.$$.dirty[0]&&X&&a&&o(19,a.onload=()=>{o(18,se=!0)},a),2048&r.$$.dirty[0]|524288&r.$$.dirty[1]&&y&&s){let e=document.createElement("style");e.innerHTML=y,s.appendChild(e)}if(2048&r.$$.dirty[0]|1048576&r.$$.dirty[1]&&b&&s&&Ce(),4&r.$$.dirty[0]&&w&&"true"==w&&o(16,oe=!0),2097152&r.$$.dirty[1]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Er(e,t[e])})}).catch(e=>{console.log(e)}),512&r.$$.dirty[0]|1048576&r.$$.dirty[1]&&ie&&b&&Ce(),402653184&r.$$.dirty[1]&&M&&T){let e=new URL(""+T.split("?")[0]);e.searchParams.append("platform",lt(_)),e.searchParams.append("language",f),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(12,l=e)})}if(4096&r.$$.dirty[0]&&l&&l&&(o(23,c=l.isOpen),ce=l.betLimit||{},o(24,d=l.openHours),o(25,de=(e=>{H=e.totalSeats||7,o(29,u=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=H;e++)t.push(e);return{seats:t}})(l).seats),d&&d.value&&({startTime:t,originalTimeFormat:e}=d["value"],o(21,A=t),o(22,le=e||le)),c&&o(20,D=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();B(pe,e)?t=ta:B(me,e)&&(t=na)}}return t})(l)),o(26,ue=Ir[F]),o(27,N=(ce.min||{})[F]),o(28,O=(ce.max||{})[F]),j=l.currentRouletteNumbers,U=l.currentDoubleBallRouletteNumbers,z=l.vendorCategory,o(30,p=z.toLowerCase()===ia),o(13,W=(p?U:j)||[]),o(31,Y="GameProp LiveProps RoulleteProps"),o(31,Y+=p?" Double":""),o(32,V=B(me,z.toLowerCase())?ge:he),q=m,o(33,m=Array.isArray(u)&&u.length===H),l.dealer&&o(35,Z=l.dealer.DealerName),J=l.numberOfPlayers,o(34,P="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(34,P+=" GameBackdrop"),c&&m&&N&&O&&l.currentOccupiedSeats?o(34,P+=" GameContainerDimmed"):!1===c&&A&&o(34,P+=" GameContainerFullyDimmed"),s&&(!q&&m?(o(34,P+=" PulsatingRedShadow"),o(34,P=P.replace(" PulsatingGreenShadow",""))):q&&!m&&(o(34,P+=" PulsatingGreenShadow"),o(34,P=P.replace(" PulsatingRedShadow",""))))),24576&r.$$.dirty[0]&&h&&W){const n="FirstElementAnimated",i=h.getElementsByClassName("First")[0];i&&(i.classList.add(n),setTimeout(()=>{i.classList.remove(n)},2e3))}var e,t},[C,f,w,X,Q,i,$,ee,te,ie,re,s,l,W,h,ae,oe,!1,se,a,D,A,le,c,d,de,ue,N,O,u,p,Y,V,m,P,Z,t,_,ye,be,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},B,(e,t,n)=>{let i,r;return null!=e&&null!=t&&(r=`
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
- `},K,g,y,b,v,x,ne,k,F,S,M,T,E,L,I,G,he,ge,function(e){rt[e?"unshift":"push"](()=>{a=e,o(19,a)})},()=>be($),()=>ye($),()=>be($),function(e){rt[e?"unshift":"push"](()=>{h=e,o(14,h)})},function(e){rt[e?"unshift":"push"](()=>{s=e,o(11,s)})}]}function aa(e,t){Ii(e,t)}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity: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}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ra,Qr,t,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),f()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const oa={en:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},zh:{Translations:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"}},de:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},it:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},fr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},es:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},tr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},ru:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},ro:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},hr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},hu:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},pl:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},pt:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},sl:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},sr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}}};function sa(e,t,n){const i=e.slice();return i[35]=t[n],i[36]=t,i[37]=n,i}function la(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,e,$,D,x,C,A,k,F,S,M,T,E,N,L=n[11]("Translations.filterby")+"",I=n[11]("Translations.providers")+"",G=n[11]("Translations.clear")+"";function O(e){return e[7]?ua:da}let _=O(n),P=_(n),B=n[5],R=[];for(let e=0;e<B.length;e+=1)R[e]=ha(sa(n,B,e));return{c(){i=me("div"),r=me("div"),a=me("div"),o=j("svg"),s=j("path"),l=ge(),c=me("div"),d=me("span"),u=he(L),p=ge(),m=me("div"),h=me("span"),g=he(I),f=ge(),P.c(),y=ge(),b=me("span"),v=j("svg"),w=j("path"),D=ge(),x=me("div"),C=me("ul");for(let e=0;e<R.length;e+=1)R[e].c();A=ge(),k=me("button"),F=he(G),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(m,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(a,"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(r,"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(i,"class",T="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(d,u),de(c,p),de(c,m),de(m,h),de(h,g),de(m,f),P.m(m,null),de(r,y),de(r,b),de(b,v),de(v,w),de(i,D),de(i,x),de(x,C);for(let e=0;e<R.length;e+=1)R[e].m(C,null);de(x,A),de(x,k),de(k,F),E||(N=[V(r,"click",n[22]),V(k,"click",n[25])],E=!0)},p(t,n){if(2048&n[0]&&L!==(L=t[11]("Translations.filterby")+"")&&ye(u,L),2048&n[0]&&I!==(I=t[11]("Translations.providers")+"")&&ye(g,I),_===(_=O(t))&&P?P.p(t,n):(P.d(1),(P=_(t))&&(P.c(),P.m(m,null))),16&n[0]&&e!==(e="TriangleInactive "+(t[4]?"TriangleActive":""))&&fe(b,"class",e),16&n[0]&&$!==($="FilterSelector "+(t[4]?"FilterSelectorOpen":""))&&fe(r,"class",$),8228&n[0]){let e;for(B=t[5],e=0;e<B.length;e+=1){const r=sa(t,B,e);R[e]?R[e].p(r,n):(R[e]=ha(r),R[e].c(),R[e].m(C,null))}for(;e<R.length;e+=1)R[e].d(1);R.length=B.length}2048&n[0]&&G!==(G=t[11]("Translations.clear")+"")&&ye(F,G),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]&&T!==(T="FilterContainer "+("true"==t[0]&&"true"==t[1]?"FilerContainerSplit":""))&&fe(i,"class",T)},d(e){e&&pe(i),P.d(),H(R,e),E=!1,Y(N)}}}function ca(e){let n,i,r=e[11]("casinoPage.500")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){2048&t[0]&&r!==(r=e[11]("casinoPage.500")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function da(e){let n,i;return{c(){n=me("span"),i=he(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&ye(i,e[8])},d(e){e&&pe(n)}}}function ua(e){let n,i,r=e[11]("Translations.all")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){2048&t[0]&&r!==(r=e[11]("Translations.all")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function pa(e){let n,i;return{c(){ce((n=me("img")).src,i=e[35].logo)||fe(n,"src",i),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,i=e[35].logo)&&fe(n,"src",i)},d(e){e&&pe(n)}}}function ma(e){let n,i,r=e[35].name+"";return{c(){n=me("span"),i=he(r)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[0]&&r!==(r=e[35].name+"")&&ye(i,r)},d(e){e&&pe(n)}}}function ha(n){let i,r,a,o,s,l,c,d,u,p,m,h;function g(){n[23].call(a,n[36],n[37])}function f(){return n[24](n[35])}function y(e){return"false"===e[2]?ma:"true"===e[2]?pa:void 0}let b=y(n),v=b&&b(n);return{c(){i=me("li"),r=me("label"),a=me("input"),s=ge(),l=me("span"),c=ge(),v&&v.c(),d=ge(),fe(a,"type","checkbox"),fe(a,"name","checkbox"),a.__value=o=n[35].name,a.value=a.__value,fe(l,"class","FiltersCheckmark"),fe(r,"class","FilterLabel"),fe(i,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),i.value=p=n[35].name},m(e,t){ue(e,i,t),de(i,r),de(r,a),a.checked=n[35].isFilterSelected,de(r,s),de(r,l),de(r,c),v&&v.m(r,null),de(i,d),m||(h=[V(a,"change",g),V(a,"click",f)],m=!0)},p(e,t){n=e,32&t[0]&&o!==(o=n[35].name)&&(a.__value=o,a.value=a.__value),32&t[0]&&(a.checked=n[35].isFilterSelected),b===(b=y(n))&&v?v.p(n,t):(v&&v.d(1),(v=b&&b(n))&&(v.c(),v.m(r,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(i,"class",u),32&t[0]&&p!==(p=n[35].name)&&(i.value=p)},d(e){e&&pe(i),v&&v.d(),m=!1,Y(h)}}}function ga(n){let i;function r(e){return e[10]?ca:e[9]?void 0:la}let a=r(n),o=a&&a(n);return{c(){i=me("div"),o&&o.c(),this.c=W},m(e,t){ue(e,i,t),o&&o.m(i,null),n[26](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&pe(i),o&&o.d(),n[26](null)}}}function fa(n,e,i){let t;ct(n,Ki,e=>i(11,t=e));let r,{endpoint:a=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:p="false"}=e,{addsortingselector:m="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:{}}),ot.subscribe(e=>{null==e&&(at.set(F),ot.set(k))}),Object.keys(oa).forEach(e=>{aa(e,oa[e])}),v[u]&&(v={[u]:[]});const S=()=>{i(4,g=!g)},M=t=>{let e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,b.length&&0!=b.filter(e=>e.name===t.name).length?i(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),T()},T=()=>{i(7,w=b.length===y.length||0==b.length),i(8,$=b.length)},E=()=>{i(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),i(5,y),window.postMessage({type:"ApplyFilters"},window.location.href),i(7,w=!0),i(4,g=!1)};return n.$$set=e=>{"endpoint"in e&&i(15,a=e.endpoint),"datasource"in e&&i(16,o=e.datasource),"lang"in e&&i(17,s=e.lang),"translationurl"in e&&i(18,l=e.translationurl),"clientstyling"in e&&i(19,c=e.clientstyling),"clientstylingurl"in e&&i(20,d=e.clientstylingurl),"categoryid"in e&&i(21,u=e.categoryid),"addfilterselector"in e&&i(0,p=e.addfilterselector),"addsortingselector"in e&&i(1,m=e.addsortingselector),"filterbylogo"in e&&i(2,h=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&a&&o&&u&&h){const t=new URL(a+"/casino/vendors");var e;t.searchParams.append("fields","id,name,logo,subVendors"),t.searchParams.append("language",s),t.searchParams.append("datasource",o),t.searchParams.append("platform",lt(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,i(9,x=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),i(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}),i(5,y=e),T()}).catch(e=>{console.error(e),i(10,C=!0),n(e)}).finally(()=>{i(9,x=!1)})})}if(524296&n.$$.dirty[0]&&c&&r){let e=document.createElement("style");e.innerHTML=c,r.appendChild(e)}if(1048584&n.$$.dirty[0]&&d&&r){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{aa(e,t[e])})}).catch(e=>{console.log(e)})},[p,m,h,r,g,y,b,w,$,x,C,t,S,M,E,a,o,s,l,c,d,u,()=>S(),function(e,t){e[t].isFilterSelected=this.checked,i(5,y)},e=>M(e),()=>E(),function(e){rt[e?"unshift":"push"](()=>{r=e,i(3,r)})}]}function ya(e,t,n){const i=e.slice();return i[81]=t[n],i[83]=n,i}function ba(e,t,n){const i=e.slice();return i[81]=t[n],i[84]=t,i[83]=n,i}function va(e,t,n){const i=e.slice();return i[81]=t[n],i[83]=n,i}function wa(e){let n;function i(e){return e[22]?ka:e[33]?Ca:void 0}let r=i(e),a=r&&r(e);return{c(){n=me("div"),a&&a.c()},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n,null)))},d(e){e&&pe(n),a&&a.d()}}}function $a(e){let n,i,r;function a(e){return e[26]?qa:e[23].length?Ya:Va}let o=a(e),s=o(e);function l(e){return e[23]?Ja:Za}let c=l(e),d=c(e);return{c(){n=me("div"),i=me("div"),s.c(),r=ge(),d.c(),fe(i,"class","CasinoGamesHeader Searched "+(st(e[38])?"CasinoGamesHeaderMobile":"")),fe(i,"part","CasinoGamesHeader Searched "+(st(e[38])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,i),s.m(i,null),de(n,r),d.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(i,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&&pe(n),s.d(),d.d()}}}function xa(e){let n;function i(e){return e[28]?eo:Qa}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r!==(r=i(e))&&(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function Ca(n){let i,r,a,o,s,l="true"!==n[14]&&Fa(n);function c(e){return e[20]&&!e[30]?Ta:e[36]?Ma:Sa}let d=c(n),u=d(n);return{c(){i=me("div"),l&&l.c(),r=ge(),a=me("ul"),u.c(),fe(a,"class",o=(0!=n[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(a,"part",s=(0!=n[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(i,"class","CasinoGamesContainer"),fe(i,"part","CasinoGamesContainer")},m(e,t){ue(e,i,t),l&&l.m(i,null),de(i,r),de(i,a),u.m(a,null),n[56](a)},p(e,t){"true"!==e[14]?l?l.p(e,t):((l=Fa(e)).c(),l.m(i,r)):l&&(l.d(1),l=null),d===(d=c(e))&&u?u.p(e,t):(u.d(1),(u=d(e))&&(u.c(),u.m(a,null))),32&t[1]&&o!==(o=(0!=e[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(a,"class",o),32&t[1]&&s!==(s=(0!=e[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(a,"part",s)},d(e){e&&pe(i),l&&l.d(),u.d(),n[56](null)}}}function ka(e){let n,i,r="true"!==e[14]&&Aa(e);function a(e){return e[20]&&!e[30]?za:0!==e[23].length?Ua:ja}let o=a(e),s=o(e);return{c(){n=me("div"),r&&r.c(),i=ge(),s.c(),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),r&&r.m(n,null),de(n,i),s.m(n,null)},p(e,t){"true"!==e[14]?r?r.p(e,t):((r=Aa(e)).c(),r.m(n,i)):r&&(r.d(1),r=null),o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(n,null)))},d(e){e&&pe(n),r&&r.d(),s.d()}}}function Fa(n){let i,r,a,o,s,l,c,d,u=n[37]("gamesCategorySection.favorites")+"",p=n[36].items.length+"";return{c(){i=me("div"),r=me("h3"),a=he(u),o=ge(),s=me("span"),l=he("("),c=he(p),d=he(")"),fe(s,"class","CategoryFavName"),fe(r,"class","CategoryName"),fe(r,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(s,l),de(s,c),de(s,d),n[55](r)},p(e,t){64&t[1]&&u!==(u=e[37]("gamesCategorySection.favorites")+"")&&ye(a,u),32&t[1]&&p!==(p=e[36].items.length+"")&&ye(c,p)},d(e){e&&pe(i),n[55](null)}}}function Sa(e){let n,i,r=e[37]("gamesCategorySection.waiting")+"";return{c(){n=me("p"),i=he(r)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.waiting")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Ma(t){let i,r=t[36].items,a=[];for(let e=0;e<r.length;e+=1)a[e]=Da(ya(t,r,e));let o=null;return r.length||(o=Ea(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();i=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);ue(t,i,n),o&&o.m(t,n)},p(t,n){if(16378&n[0]|508&n[1]){let e;for(r=t[36].items,e=0;e<r.length;e+=1){const o=ya(t,r,e);a[e]?a[e].p(o,n):(a[e]=Da(o),a[e].c(),a[e].m(i.parentNode,i))}for(;e<a.length;e+=1)a[e].d(1);a.length=r.length,!r.length&&o?o.p(t,n):r.length?o&&(o.d(1),o=null):((o=Ea(t)).c(),o.m(i.parentNode,i))}},d(e){H(a,e),e&&pe(i),o&&o.d(e)}}}function Ta(e){let n;return{c(){fe(n=me("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function Ea(e){let n,i,r,a,o,s,l,c,t,d,u=e[37]("gamesCategorySection.noFavoritesTitle")+"",p=(h=e,st(h[38])?Ia:La),m=p(e);var h;return{c(){n=me("p"),i=j("svg"),r=j("path"),a=ge(),o=me("span"),s=he(u),l=ge(),m.c(),c=ge(),P(r,"fill","white"),fe(r,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","50px"),fe(i,"y","50px"),fe(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(st(e[38])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(st(e[38])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(n,a),de(n,o),de(o,s),de(n,l),m.m(n,null),de(n,c)},p(e,t){64&t[1]&&u!==(u=e[37]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,u),m.p(e,t)},d(e){e&&pe(n),m.d()}}}function La(e){let n,i,r=e[37]("gamesCategorySection.noFavorites")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.noFavorites")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Ia(e){let n,i,r=e[37]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.noFavoritesMobile")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Ga(e){let n,i=e[81].gameModel.isFavorite&&_a(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[81].gameModel.isFavorite?i?i.p(e,t):((i=_a(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function _a(e){let n,i=function(e){let n,i,r;function a(e,t){return 32&t[1]&&(i=null),(n=null==n?!!st(e[38]):n)?Ba:(i=null==i?!!e[81].gameModel.platform.includes("PC"):i)?Pa:void 0}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),r=c()},m(e,t){s&&s.m(e,t),ue(e,r,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s&&s.d(e),e&&pe(r)}}}(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){i.p(e,t)},d(e){i&&i.d(e),e&&pe(n)}}}function Pa(e){let n,i,r,a,o,s,l,c,d,u,p,m,h,g;return{c(){k(n=me("casino-game-thumbnail"),"class",i=""+(no+(e[81].cellSize||"1x1"))),k(n,"part",r=""+(no+(e[81].cellSize||"1x1"))),k(n,"session",e[4]),k(n,"userid",e[5]),k(n,"lang",e[3]),k(n,"favorites",e[6]),k(n,"gamethumbnail",a=e[81].gameModel.thumbnail),k(n,"gamename",o=e[81].gameModel.name),k(n,"gamevendor",s=e[81].gameModel.vendor.name),k(n,"gameisnew",l=e[81].gameModel.isNew),k(n,"gametag",c=0<e[81].gameModel.advancedTags?.length&&e[39](e[81].gameModel.advancedTags)),k(n,"gamecellsize",d=e[81].cellSize),k(n,"gameid",u=e[81].gameModel.id),k(n,"gamefunmode",p=e[81].gameModel.hasFunMode),k(n,"gamefavorite",m=e[81].gameModel.isFavorite),k(n,"showfavoredcategory",e[33]),k(n,"connectlive",h=1==e[34][e[81].id]?"connect":"disconnect"),k(n,"visibilityconnect",e[35]),k(n,"currency",e[9]),k(n,"livelobbyendpoint",g=e[81].gameModel.details?e[81].gameModel.launchUrl:""),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8]),k(n,"endpoint",e[1]),k(n,"livecasino",e[10]),k(n,"gamepagemodalurl",e[11]),k(n,"integratedgameframedesktop",e[12]),k(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){32&t[1]&&i!==(i=""+(no+(e[81].cellSize||"1x1")))&&k(n,"class",i),32&t[1]&&r!==(r=""+(no+(e[81].cellSize||"1x1")))&&k(n,"part",r),16&t[0]&&k(n,"session",e[4]),32&t[0]&&k(n,"userid",e[5]),8&t[0]&&k(n,"lang",e[3]),64&t[0]&&k(n,"favorites",e[6]),32&t[1]&&a!==(a=e[81].gameModel.thumbnail)&&k(n,"gamethumbnail",a),32&t[1]&&o!==(o=e[81].gameModel.name)&&k(n,"gamename",o),32&t[1]&&s!==(s=e[81].gameModel.vendor.name)&&k(n,"gamevendor",s),32&t[1]&&l!==(l=e[81].gameModel.isNew)&&k(n,"gameisnew",l),32&t[1]&&c!==(c=0<e[81].gameModel.advancedTags?.length&&e[39](e[81].gameModel.advancedTags))&&k(n,"gametag",c),32&t[1]&&d!==(d=e[81].cellSize)&&k(n,"gamecellsize",d),32&t[1]&&u!==(u=e[81].gameModel.id)&&k(n,"gameid",u),32&t[1]&&p!==(p=e[81].gameModel.hasFunMode)&&k(n,"gamefunmode",p),32&t[1]&&m!==(m=e[81].gameModel.isFavorite)&&k(n,"gamefavorite",m),4&t[1]&&k(n,"showfavoredcategory",e[33]),40&t[1]&&h!==(h=1==e[34][e[81].id]?"connect":"disconnect")&&k(n,"connectlive",h),16&t[1]&&k(n,"visibilityconnect",e[35]),512&t[0]&&k(n,"currency",e[9]),32&t[1]&&g!==(g=e[81].gameModel.details?e[81].gameModel.launchUrl:"")&&k(n,"livelobbyendpoint",g),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8]),2&t[0]&&k(n,"endpoint",e[1]),1024&t[0]&&k(n,"livecasino",e[10]),2048&t[0]&&k(n,"gamepagemodalurl",e[11]),4096&t[0]&&k(n,"integratedgameframedesktop",e[12]),8192&t[0]&&k(n,"integratedgameframemobile",e[13])},d(e){e&&pe(n)}}}function Ba(e){let n,i=e[81].gameModel.platform.includes("iPad")||e[81].gameModel.platform.includes("iPhone")||e[81].gameModel.platform.includes("Android"),r=i&&Ra(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(i=32&t[1]?e[81].gameModel.platform.includes("iPad")||e[81].gameModel.platform.includes("iPhone")||e[81].gameModel.platform.includes("Android"):i)?r?r.p(e,t):((r=Ra(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&pe(n)}}}function Ra(e){let n,i,r,a,o,s,l,c,d,u,p,m,h,g;return{c(){k(n=me("casino-game-thumbnail"),"class",i=""+(no+(e[81].cellSize||"1x1"))),k(n,"part",r=""+(no+(e[81].cellSize||"1x1"))),k(n,"session",e[4]),k(n,"userid",e[5]),k(n,"lang",e[3]),k(n,"favorites",e[6]),k(n,"gamethumbnail",a=e[81].gameModel.thumbnail),k(n,"gamename",o=e[81].gameModel.name),k(n,"gamevendor",s=e[81].gameModel.vendor.name),k(n,"gameisnew",l=e[81].gameModel.isNew),k(n,"gametag",c=0<e[81].gameModel.advancedTags?.length&&e[39](e[81].gameModel.advancedTags)),k(n,"gamecellsize",d=e[81].cellSize),k(n,"gameid",u=e[81].gameModel.id),k(n,"gamefunmode",p=e[81].gameModel.hasFunMode),k(n,"gamefavorite",m=e[81].gameModel.isFavorite),k(n,"showfavoredcategory",e[33]),k(n,"connectlive",h=1==e[34][e[81].id]?"connect":"disconnect"),k(n,"visibilityconnect",e[35]),k(n,"currency",e[9]),k(n,"livelobbyendpoint",g=e[81].gameModel.details?e[81].gameModel.launchUrl:""),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8]),k(n,"endpoint",e[1]),k(n,"livecasino",e[10]),k(n,"gamepagemodalurl",e[11]),k(n,"integratedgameframedesktop",e[12]),k(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){32&t[1]&&i!==(i=""+(no+(e[81].cellSize||"1x1")))&&k(n,"class",i),32&t[1]&&r!==(r=""+(no+(e[81].cellSize||"1x1")))&&k(n,"part",r),16&t[0]&&k(n,"session",e[4]),32&t[0]&&k(n,"userid",e[5]),8&t[0]&&k(n,"lang",e[3]),64&t[0]&&k(n,"favorites",e[6]),32&t[1]&&a!==(a=e[81].gameModel.thumbnail)&&k(n,"gamethumbnail",a),32&t[1]&&o!==(o=e[81].gameModel.name)&&k(n,"gamename",o),32&t[1]&&s!==(s=e[81].gameModel.vendor.name)&&k(n,"gamevendor",s),32&t[1]&&l!==(l=e[81].gameModel.isNew)&&k(n,"gameisnew",l),32&t[1]&&c!==(c=0<e[81].gameModel.advancedTags?.length&&e[39](e[81].gameModel.advancedTags))&&k(n,"gametag",c),32&t[1]&&d!==(d=e[81].cellSize)&&k(n,"gamecellsize",d),32&t[1]&&u!==(u=e[81].gameModel.id)&&k(n,"gameid",u),32&t[1]&&p!==(p=e[81].gameModel.hasFunMode)&&k(n,"gamefunmode",p),32&t[1]&&m!==(m=e[81].gameModel.isFavorite)&&k(n,"gamefavorite",m),4&t[1]&&k(n,"showfavoredcategory",e[33]),40&t[1]&&h!==(h=1==e[34][e[81].id]?"connect":"disconnect")&&k(n,"connectlive",h),16&t[1]&&k(n,"visibilityconnect",e[35]),512&t[0]&&k(n,"currency",e[9]),32&t[1]&&g!==(g=e[81].gameModel.details?e[81].gameModel.launchUrl:"")&&k(n,"livelobbyendpoint",g),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8]),2&t[0]&&k(n,"endpoint",e[1]),1024&t[0]&&k(n,"livecasino",e[10]),2048&t[0]&&k(n,"gamepagemodalurl",e[11]),4096&t[0]&&k(n,"integratedgameframedesktop",e[12]),8192&t[0]&&k(n,"integratedgameframemobile",e[13])},d(e){e&&pe(n)}}}function Da(e){let n,i=e[81].gameModel&&Ga(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[81].gameModel?i?i.p(e,t):((i=Ga(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function Aa(n){let i,r,a,o,s=n[22].name+"";function l(e){return e[24]?Oa:Na}let c=l(n),d=c(n);return{c(){i=me("div"),r=me("h3"),a=he(s),o=ge(),d.c(),fe(r,"class","CategoryName"),fe(r,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader")},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[51](r),de(i,o),d.m(i,null)},p(e,t){4194304&t[0]&&s!==(s=e[22].name+"")&&ye(a,s),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(i,null)))},d(e){e&&pe(i),n[51](null),d.d()}}}function Na(e){let n,i,r="true"==e[15]&&Ha(e);return{c(){n=me("div"),r&&r.c(),fe(n,"class",i="true"==e[15]&&"true"==e[16]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),r&&r.m(n,null)},p(e,t){"true"==e[15]?r?r.p(e,t):((r=Ha(e)).c(),r.m(n,null)):r&&(r.d(1),r=null),98304&t[0]&&i!==(i="true"==e[15]&&"true"==e[16]?"CategoryFilterContainer":"")&&fe(n,"class",i)},d(e){e&&pe(n),r&&r.d()}}}function Oa(n){let i,r,a,o,s,l,c,d,u=n[37]("gamesCategorySection.viewAll")+"",p=n[22].games.total+"";return{c(){i=me("a"),r=me("span"),a=he(u),o=he(" ("),s=he(p),l=he(")"),fe(r,"class","CategoryLoadMore"),fe(r,"part","CategoryLoadMore"),fe(i,"class","CategoryNameLink"),fe(i,"part","CategoryNameLink")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(r,l),c||(d=V(i,"click",n[52]),c=!0)},p(e,t){64&t[1]&&u!==(u=e[37]("gamesCategorySection.viewAll")+"")&&ye(a,u),4194304&t[0]&&p!==(p=e[22].games.total+"")&&ye(s,p)},d(e){e&&pe(i),c=!1,d()}}}function Ha(e){let n;return{c(){k(n=me("casino-filter"),"clientstylingurl",e[8]),k(n,"clientstyling",e[7]),k(n,"endpoint",e[1]),k(n,"datasource",e[2]),k(n,"lang",e[3]),k(n,"categoryid",e[0]),k(n,"addfilterselector",e[15]),k(n,"addsortingselector",e[16]),k(n,"filterbylogo",e[17])},m(e,t){ue(e,n,t)},p(e,t){256&t[0]&&k(n,"clientstylingurl",e[8]),128&t[0]&&k(n,"clientstyling",e[7]),2&t[0]&&k(n,"endpoint",e[1]),4&t[0]&&k(n,"datasource",e[2]),8&t[0]&&k(n,"lang",e[3]),1&t[0]&&k(n,"categoryid",e[0]),32768&t[0]&&k(n,"addfilterselector",e[15]),65536&t[0]&&k(n,"addsortingselector",e[16]),131072&t[0]&&k(n,"filterbylogo",e[17])},d(e){e&&pe(n)}}}function ja(e){let n;return{c(){(n=me("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function Ua(n){let i,e,r,a=n[23],o=[];for(let e=0;e<a.length;e+=1)o[e]=Wa(ba(n,a,e));return{c(){i=me("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class",e=(0===n[36].items.length&&n[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(i,"part",r=(0===n[36].items.length&&n[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e].m(i,null);n[54](i)},p(t,n){if(8929274&n[0]|280&n[1]){let e;for(a=t[23],e=0;e<a.length;e+=1){const r=ba(t,a,e);o[e]?o[e].p(r,n):(o[e]=Wa(r),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}36&n[1]&&e!==(e=(0===t[36].items.length&&t[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(i,"class",e),36&n[1]&&r!==(r=(0===t[36].items.length&&t[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(i,"part",r)},d(e){e&&pe(i),H(o,e),n[54](null)}}}function za(e){let n;return{c(){fe(n=me("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function Wa(e){let n,i=function(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y=n[83];const b=()=>n[53](i,y),v=()=>n[53](null,y);return{c(){k(i=me("casino-game-thumbnail"),"session",n[4]),k(i,"userid",n[5]),k(i,"lang",n[3]),k(i,"class",r=""+(no+(n[81].cellSize||"1x1"))),k(i,"part",a=""+(no+(n[81].cellSize||"1x1"))),k(i,"favorites",n[6]),k(i,"gamethumbnail",o=n[81].thumbnail),k(i,"gamename",s=n[81].name),k(i,"gamevendor",l=n[81].vendor.name),k(i,"gameisnew",c=n[81].isNew),k(i,"gametag",d=0<n[81].advancedTags?.length&&n[39](n[81].advancedTags)),k(i,"gamecellsize",u=n[81].cellSize),k(i,"gameid",p=n[81].id),k(i,"gamefunmode",m=n[81].hasFunMode),k(i,"gamefavorite",h=n[81].isFavorite),k(i,"connectlive",g=1==n[34][n[81].id]?"connect":"disconnect"),k(i,"visibilityconnect",n[35]),k(i,"currency",n[9]),k(i,"livelobbyendpoint",f=n[81].details?n[81].href:""),k(i,"clientstyling",n[7]),k(i,"clientstylingurl",n[8]),k(i,"endpoint",n[1]),k(i,"livecasino",n[10]),k(i,"gamepagemodalurl",n[11]),k(i,"integratedgameframedesktop",n[12]),k(i,"integratedgameframemobile",n[13])},m(e,t){ue(e,i,t),b()},p(e,t){n=e,16&t[0]&&k(i,"session",n[4]),32&t[0]&&k(i,"userid",n[5]),8&t[0]&&k(i,"lang",n[3]),8388608&t[0]&&r!==(r=""+(no+(n[81].cellSize||"1x1")))&&k(i,"class",r),8388608&t[0]&&a!==(a=""+(no+(n[81].cellSize||"1x1")))&&k(i,"part",a),64&t[0]&&k(i,"favorites",n[6]),8388608&t[0]&&o!==(o=n[81].thumbnail)&&k(i,"gamethumbnail",o),8388608&t[0]&&s!==(s=n[81].name)&&k(i,"gamename",s),8388608&t[0]&&l!==(l=n[81].vendor.name)&&k(i,"gamevendor",l),8388608&t[0]&&c!==(c=n[81].isNew)&&k(i,"gameisnew",c),8388608&t[0]&&d!==(d=0<n[81].advancedTags?.length&&n[39](n[81].advancedTags))&&k(i,"gametag",d),8388608&t[0]&&u!==(u=n[81].cellSize)&&k(i,"gamecellsize",u),8388608&t[0]&&p!==(p=n[81].id)&&k(i,"gameid",p),8388608&t[0]&&m!==(m=n[81].hasFunMode)&&k(i,"gamefunmode",m),8388608&t[0]&&h!==(h=n[81].isFavorite)&&k(i,"gamefavorite",h),8388608&t[0]|8&t[1]&&g!==(g=1==n[34][n[81].id]?"connect":"disconnect")&&k(i,"connectlive",g),16&t[1]&&k(i,"visibilityconnect",n[35]),512&t[0]&&k(i,"currency",n[9]),8388608&t[0]&&f!==(f=n[81].details?n[81].href:"")&&k(i,"livelobbyendpoint",f),128&t[0]&&k(i,"clientstyling",n[7]),256&t[0]&&k(i,"clientstylingurl",n[8]),2&t[0]&&k(i,"endpoint",n[1]),1024&t[0]&&k(i,"livecasino",n[10]),2048&t[0]&&k(i,"gamepagemodalurl",n[11]),4096&t[0]&&k(i,"integratedgameframedesktop",n[12]),8192&t[0]&&k(i,"integratedgameframemobile",n[13]),y!==n[83]&&(v(),y=n[83],b())},d(e){e&&pe(i),v()}}}(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){i.p(e,t)},d(e){i&&i.d(e),e&&pe(n)}}}function Ya(e){let n,i,r=e[37]("gamesCategorySection.searchedItems")+"";return{c(){n=me("h3"),i=he(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.searchedItems")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Va(e){let n,i,r=e[37]("gamesCategorySection.noResults")+"";return{c(){n=me("h3"),i=he(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.noResults")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function qa(e){let n,i,r=e[37]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=me("h3"),i=he(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.recentSearchedItems")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Za(e){let n;return{c(){(n=me("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function Ja(t){let i,r,a=!t[29]&&Ka(t),o=t[23],s=[];for(let e=0;e<o.length;e+=1)s[e]=Xa(va(t,o,e));return{c(){a&&a.c(),i=ge(),r=me("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(r,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(r,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),ue(e,i,t),ue(e,r,t);for(let e=0;e<s.length;e+=1)s[e].m(r,null)},p(t,n){if(t[29]?a&&(a.d(1),a=null):a?a.p(t,n):((a=Ka(t)).c(),a.m(i.parentNode,i)),142622714&n[0]|256&n[1]){let e;for(o=t[23],e=0;e<o.length;e+=1){const a=va(t,o,e);s[e]?s[e].p(a,n):(s[e]=Xa(a),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&pe(i),e&&pe(r),H(s,e)}}}function Ka(e){let n,i,t,r,a=e[37]("gamesCategorySection.noRecentSearch")+"";return{c(){n=me("p"),i=he(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(st(e[38])?"NoRecentSearchesMobile":"")),fe(n,"part",r="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(st(e[38])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&a!==(a=e[37]("gamesCategorySection.noRecentSearch")+"")&&ye(i,a)},d(e){e&&pe(n)}}}function Xa(e){let n,i,r,a,o,s,l,c,d,u,p,m,h;return{c(){k(n=me("casino-game-thumbnail"),"class",i=""+(no+(e[81].cellSize||"1x1"))),k(n,"part",r=""+(no+(e[81].cellSize||"1x1"))),k(n,"session",e[4]),k(n,"userid",e[5]),k(n,"lang",e[3]),k(n,"searchitem",e[27]),k(n,"favorites",e[6]),k(n,"gamethumbnail",a=e[81].thumbnail),k(n,"gamename",o=e[81].name),k(n,"gamevendor",s=e[81].vendor.name),k(n,"gameisnew",l=e[81].isNew),k(n,"gametag",c=0<e[81].advancedTags?.length&&e[39](e[81].advancedTags)),k(n,"gamecellsize",d=e[81].cellSize),k(n,"gameid",u=e[81].id),k(n,"gamefunmode",p=e[81].hasFunMode),k(n,"gamefavorite",m=e[81].isFavorite),k(n,"currency",e[9]),k(n,"livelobbyendpoint",h=e[81].details?e[81].href:""),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8]),k(n,"endpoint",e[1]),k(n,"livecasino",e[10]),k(n,"gamepagemodalurl",e[11]),k(n,"integratedgameframedesktop",e[12]),k(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){8388608&t[0]&&i!==(i=""+(no+(e[81].cellSize||"1x1")))&&k(n,"class",i),8388608&t[0]&&r!==(r=""+(no+(e[81].cellSize||"1x1")))&&k(n,"part",r),16&t[0]&&k(n,"session",e[4]),32&t[0]&&k(n,"userid",e[5]),8&t[0]&&k(n,"lang",e[3]),134217728&t[0]&&k(n,"searchitem",e[27]),64&t[0]&&k(n,"favorites",e[6]),8388608&t[0]&&a!==(a=e[81].thumbnail)&&k(n,"gamethumbnail",a),8388608&t[0]&&o!==(o=e[81].name)&&k(n,"gamename",o),8388608&t[0]&&s!==(s=e[81].vendor.name)&&k(n,"gamevendor",s),8388608&t[0]&&l!==(l=e[81].isNew)&&k(n,"gameisnew",l),8388608&t[0]&&c!==(c=0<e[81].advancedTags?.length&&e[39](e[81].advancedTags))&&k(n,"gametag",c),8388608&t[0]&&d!==(d=e[81].cellSize)&&k(n,"gamecellsize",d),8388608&t[0]&&u!==(u=e[81].id)&&k(n,"gameid",u),8388608&t[0]&&p!==(p=e[81].hasFunMode)&&k(n,"gamefunmode",p),8388608&t[0]&&m!==(m=e[81].isFavorite)&&k(n,"gamefavorite",m),512&t[0]&&k(n,"currency",e[9]),8388608&t[0]&&h!==(h=e[81].details?e[81].href:"")&&k(n,"livelobbyendpoint",h),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8]),2&t[0]&&k(n,"endpoint",e[1]),1024&t[0]&&k(n,"livecasino",e[10]),2048&t[0]&&k(n,"gamepagemodalurl",e[11]),4096&t[0]&&k(n,"integratedgameframedesktop",e[12]),8192&t[0]&&k(n,"integratedgameframemobile",e[13])},d(e){e&&pe(n)}}}function Qa(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function eo(e){let n;return{c(){(n=me("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function to(n){let i;function r(e){return e[21]?xa:e[25]?$a:wa}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=W,fe(i,"class","CasinoGamesCategorySectionContainer"),fe(i,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[57](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&pe(i),o.d(),n[57](null)}}}customElements.get("casino-filter")||customElements.define("casino-filter",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>.FilterContainer{color:#fff;position:relative;z-index:16}.FilterSelector{background-color:#58586B;display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:#D1D1D1;text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:grid;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{position:relative}.FilterItem 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}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid #D0046C}.FilterItem input:checked~.FiltersCheckmark{background-color:#D0046C;border:1px solid #D0046C}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin:0 15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid #fff}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{display:grid;grid-template-columns:minmax(150px, 150px) minmax(150px, 150px);gap:30px;margin-block-start:0}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{grid-template-columns:1fr}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:10px 25px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},fa,ga,t,{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),f()))}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}),f()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),f()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}});const no="game-tile-";function io(e,t,l){let R;ct(e,Ki,e=>l(37,R=e));let a,o,s,n,D,i,c,r,d,u,{categoryindex:A=""}=t,{endpoint:p=""}=t,{datasource:m=""}=t,{lang:h=""}=t,{session:N=""}=t,{userid:O=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:b=""}=t,{currency:H=""}=t,{categoryid:v=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:z=""}=t,{gamepagemodalurl:W="false"}=t,{integratedgameframedesktop:Y="false"}=t,{integratedgameframemobile:V="false"}=t,{casinomygames:w="false"}=t,{addfilterselector:q="false"}=t,{addsortingselector:Z="false"}=t,{filterbylogo:J=""}=t,{once:K=!0}=t,{top:X=0}=t,{bottom:Q=0}=t,{left:ee=0}=t,{right:te=0}=t,$=!0,x=!1,C=!0,ne=window.navigator.userAgent,k=[],F=!0,S=40,M=!1,T=!1,ie=!1,E=!1,L=!1,re=!0,ae=!1,I=!1,oe=!1,G=new Array(1e4),_={},se="",P={items:[],count:0,name:""},le=(Object.keys(Fr).forEach(e=>{kr(e,Fr[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>S&&ue(v),l(34,_[t]=1,_)):l(34,_[t]=0,_)})}));const ce=(e,i,r,t=0)=>{l(20,$=!0);let n,a="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),s=p.replace(/.$/,"2");return a=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${s}/casino/groups/${m}/${n}/subGroups`)):new URL(`${s}/casino/groups/${m}/`+v),new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",lt(ne)),a.searchParams.append("pagination",`games(offset=${i},limit=${r})`),a.searchParams.append("language",h),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),o&&o[v])if(o[v].length&&!1===C&&!1===I){let t="";l(28,L=!0),o[v].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),a.searchParams.append("filter",(o&&o[v].length<2?"$and":"$or")+`(${t})`)}else l(28,L=!1);fetch(a).then(e=>e.json()).then(e=>{l(20,$=!1),1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),l(50,u=!0),l(21,x=!1),D=e.games.total,t(e)},e=>{l(21,x=!0),console.error(e),n(e)})})},de=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==v&&(l(25,M=!1),C=!1,l(24,F=!1),l(23,k=t.data.mostPlayedGames),l(22,s={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),l(20,$=!1);break;case"LastPlayedData":"LASTPLAYED"==v&&(l(25,M=!1),C=!1,l(24,F=!1),l(23,k=t.data.lastPlayedGames),l(22,s={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),l(20,$=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(25,M=!0),l(26,T=!0),0<t.data.searchData.length?(l(23,k=t.data.searchData),l(29,re=!0),k&&k.forEach(e=>{e.isFavorite=B(e.id)})):(l(23,k=[]),l(29,re=!1));break;case"OutOfRecentSearches":l(25,M=!1),l(26,T=!1);break;case"SearchData":l(25,M=!0),l(26,T=!1),l(23,k=t.data.searchData.items||[]),l(27,E=!0),t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),k&&k.forEach(e=>{e.isFavorite=B(e.id)});break;case"CategoryData_"+v:l(25,M=!1),C=!0,l(24,F=!0),l(27,E=!1),oe=!1,t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),ce(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(22,s=e),l(23,k=s.games.items),k&&k.forEach(e=>{e.isFavorite=B(e.id)})});break;case"CategoryChange":S=20;break;case"CategoryUpdate":l(25,M=!1),C=!1,l(27,E=!1),oe=!0,l(0,v=t.data.itemId),"MOSTPLAYED"!==v&&l(24,F=!1),"true"!==w&&ce(0,0,S).then(e=>{l(22,s=e),s.games.items.forEach(e=>{e.isFavorite=B(e.id)}),l(23,k=s.games.items),l(24,F=!1),k.length<10&&0==t.data.origin&&(ie=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ie},window.location.href)},500))});break;case"FavoriteUpdate":C=!0,s&&(l(23,k=s.games.items),k.forEach(e=>{e.isFavorite=B(e.id)}));break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(c=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;I?C||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let e;C=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),l(36,P.items=(n=e,P.items,r=window.navigator.userAgent,st(r)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),P),l(36,P.name="Favorites",P),l(33,I=!0),l(20,$=!1));break;case"UserSessionID":if(a=t.data.session,o=t.data.userID,"true"==g&&o&&o.length&&a&&0<a.length){var i=`${p}/player/${o}/favorites/`;r=a;l(20,$=!0);let e={method:"GET",headers:{"X-SessionID":r}};new Promise((t,n)=>{fetch(i,e).then(e=>e.json()).then(e=>{l(20,$=!1),c=e?e.items:[],k.forEach(e=>{e.isFavorite=B(e.id)});e=k;l(23,k=void 0),l(23,k=e),t(c)}).catch(e=>{console.error(e),n(e)})})}}var n,r},ue=e=>{S+=1,l(30,ae=!0),S<=D&&ce(0,0,S).then(e=>{l(22,s=e),s.games.items.length>k.length&&(l(23,k=s.games.items),k.forEach(e=>{e.isFavorite=B(e.id)})),l(30,ae=!1)})},B=t=>!!c&&-1!==c.findIndex(e=>e.id==t),pe=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return it(()=>(window.addEventListener("visibilitychange",e=>{document[d]?l(35,se="disconnect"):l(35,se="connect")}),window.addEventListener("message",de,!1),"FAVORITES"===v&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",de),window.removeEventListener("visibilitychange",de)})),e.$$set=e=>{"categoryindex"in e&&l(41,A=e.categoryindex),"endpoint"in e&&l(1,p=e.endpoint),"datasource"in e&&l(2,m=e.datasource),"lang"in e&&l(3,h=e.lang),"session"in e&&l(4,N=e.session),"userid"in e&&l(5,O=e.userid),"favorites"in e&&l(6,g=e.favorites),"clientstyling"in e&&l(7,f=e.clientstyling),"clientstylingurl"in e&&l(8,y=e.clientstylingurl),"translationurl"in e&&l(42,b=e.translationurl),"currency"in e&&l(9,H=e.currency),"categoryid"in e&&l(0,v=e.categoryid),"categorygames"in e&&l(43,j=e.categorygames),"livecasino"in e&&l(10,U=e.livecasino),"visiblegames"in e&&l(44,z=e.visiblegames),"gamepagemodalurl"in e&&l(11,W=e.gamepagemodalurl),"integratedgameframedesktop"in e&&l(12,Y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(13,V=e.integratedgameframemobile),"casinomygames"in e&&l(14,w=e.casinomygames),"addfilterselector"in e&&l(15,q=e.addfilterselector),"addsortingselector"in e&&l(16,Z=e.addsortingselector),"filterbylogo"in e&&l(17,J=e.filterbylogo),"once"in e&&l(45,K=e.once),"top"in e&&l(46,X=e.top),"bottom"in e&&l(47,Q=e.bottom),"left"in e&&l(48,ee=e.left),"right"in e&&l(49,te=e.right)},e.$$.update=()=>{if(524288&e.$$.dirty[0]|524288&e.$$.dirty[1]&&u&&G&&oe&&G.forEach((e,t)=>{e&&(e.elems_index=t,le.observe(e))}),9&e.$$.dirty[0]&&h&&v)switch(v){case"FAVORITES":l(33,I=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&l(33,I=!1)}if(2048&e.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{kr(e,t[e])})}).catch(e=>{console.log(e)}),262272&e.$$.dirty[0]&&f&&r){let e=document.createElement("style");e.innerHTML=f,r.appendChild(e)}if(262400&e.$$.dirty[0]&&y&&r){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[v,p,m,h,N,O,g,f,y,H,U,W,Y,V,w,q,Z,J,r,G,$,x,s,k,F,M,T,E,L,re,ae,n,i,I,_,se,P,R,ne,i=>{if(0===(null==i?void 0:i.length))return"";let r,a="",o=999999999999;const s=new Date(Date.now());return i.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Tr(e).diff(s)<o&&(o=Tr(e).diff(s),r=t),Tr(s).isAfter(n)&&Tr(s).isBefore(e)&&(a=i[r].name)}),a},pe,A,b,j,z,K,X,Q,ee,te,u,function(e){rt[e?"unshift":"push"](()=>{i=e,l(32,i)})},e=>pe(s.id),function(e,t){rt[e?"unshift":"push"](()=>{G[t]=e,l(19,G)})},function(e){rt[e?"unshift":"push"](()=>{n=e,l(31,n)})},function(e){rt[e?"unshift":"push"](()=>{i=e,l(32,i)})},function(e){rt[e?"unshift":"push"](()=>{n=e,l(31,n)})},function(e){rt[e?"unshift":"push"](()=>{r=e,l(18,r)})}]}function ro(e,t){Ii(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media only screen and (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row}.CategoryName{margin-bottom:20px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},io,to,t,{categoryindex:41,endpoint:1,datasource:2,lang:3,session:4,userid:5,favorites:6,clientstyling:7,clientstylingurl:8,translationurl:42,currency:9,categoryid:0,categorygames:43,livecasino:10,visiblegames:44,gamepagemodalurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,casinomygames:14,addfilterselector:15,addsortingselector:16,filterbylogo:17,once:45,top:46,bottom:47,left:48,right:49},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[41]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[42]}set translationurl(e){this.$$set({translationurl:e}),f()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[43]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[44]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}get once(){return this.$$.ctx[45]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[46]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[47]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[48]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[49]}set right(e){this.$$set({right:e}),f()}});const ao={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},"zh-hk":{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function oo(e,t,n){const i=e.slice();return i[35]=t[n],i[37]=n,i}function so(n){let i,r,a,o,s,l,c,d=!n[7]&&lo(n),u=n[7]&&uo(n);return{c(){i=me("div"),r=me("div"),(a=me("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(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(r,"class","ModalContainer"),fe(r,"part","ModalContainer"),fe(i,"class","ModalWindow"),fe(i,"part","ModalWindow")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),d&&d.m(r,null),de(r,s),u&&u.m(r,null),l||(c=V(a,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=lo(e)).c(),d.m(r,s)),e[7]?u?u.p(e,t):((u=uo(e)).c(),u.m(r,null)):u&&(u.d(1),u=null)},d(e){e&&pe(i),d&&d.d(),u&&u.d(),l=!1,c()}}}function lo(t){let n,i,r,a,o,s,e=t[8]("randomGame.randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=co(oo(t,l,e));return{c(){n=me("div"),i=me("main"),r=me("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ge(),o=me("p"),s=he(e),fe(r,"class","items"),fe(r,"part","items"),P(r,"transform","translateY("+t[6]+"px)"),fe(i,"class","RandomGamesSliderWrapper"),fe(i,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,i),de(i,r);for(let e=0;e<c.length;e+=1)c[e].m(r,null);de(n,a),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 i=oo(t,l,e);c[e]?c[e].p(i,n):(c[e]=co(i),c[e].c(),c[e].m(r,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&P(r,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&pe(n),H(c,e)}}}function co(e){let n,i,r,a,o,s;return{c(){n=me("div"),i=me("img"),s=ge(),fe(i,"class","RandomGameImage"),fe(i,"part","RandomGameImage"),ce(i.src,r=e[35].thumbnail)||fe(i,"src",r),fe(i,"alt",a=e[35].name),fe(i,"title",o=e[35].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,i),de(n,s)},p(e,t){16&t[0]&&!ce(i.src,r=e[35].thumbnail)&&fe(i,"src",r),16&t[0]&&a!==(a=e[35].name)&&fe(i,"alt",a),16&t[0]&&o!==(o=e[35].name)&&fe(i,"title",o)},d(e){e&&pe(n)}}}function uo(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C=n[3].name+"",k=n[3].vendor.name+"",F=n[8]("randomGame.playNowRandomGame")+"";return{c(){i=me("div"),r=me("div"),a=me("img"),c=ge(),(d=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ge(),p=me("div"),m=me("p"),h=he(C),g=ge(),f=me("p"),y=he(k),b=ge(),v=me("button"),w=he(F),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[3].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[3].name),fe(a,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(r,"class","item"),fe(r,"part","item"),fe(m,"class","RandomGameTitle"),fe(m,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(p,"class","RandomGameDetails"),fe(p,"part","RandomGameDetails"),fe(i,"class","RandomGameWrapper"),fe(i,"part","RandomGameWrapper")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,c),de(r,d),de(i,u),de(i,p),de(p,m),de(m,h),de(p,g),de(p,f),de(f,y),de(p,b),de(p,v),de(v,w),$||(x=[V(d,"click",n[20]),V(v,"click",n[21])],$=!0)},p(e,t){8&t[0]&&!ce(a.src,o=e[3].thumbnail)&&fe(a,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(a,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(a,"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),256&t[0]&&F!==(F=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,F)},d(e){e&&pe(i),$=!1,Y(x)}}}function po(e){let n,i,r=e[8]("randomGame.playRandomGame")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&r!==(r=e[8]("randomGame.playRandomGame")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function mo(e){let n,i;return{c(){n=me("span"),i=he(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){2&t[0]&&ye(i,e[1])},d(e){e&&pe(n)}}}function ho(n){let i,r,a,o,s,l,c,d,u=n[5]&&so(n);function p(e){return e[1]?mo:e[1]?void 0:po}let m=p(n),h=m&&m(n);return{c(){i=me("div"),u&&u.c(),r=ge(),a=me("div"),o=me("button"),h&&h.c(),s=ge(),l=me("span"),this.c=W,fe(l,"class","RandomButtonIcon"),fe(l,"part","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(o,"part","RandomButton"),fe(a,"class","RandomButtonWrapper"),fe(a,"part","RandomButtonWrapper"),fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),u&&u.m(i,null),de(i,r),de(i,a),de(a,o),h&&h.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[23](i),c||(d=V(o,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=so(e)).c(),u.m(i,r)):u&&(u.d(1),u=null),m===(m=p(e))&&h?h.p(e,t):(h&&h.d(1),(h=m&&m(e))&&(h.c(),h.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:W,o:W,d(e){e&&pe(i),u&&u.d(),h&&h.d(),n[23](null),c=!1,d()}}}function go(t,e,n){let i;ct(t,Ki,e=>n(8,i=e));let r,a,{endpoint:o=""}=e,{datasource:s=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:p=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{filteredrandomgamecategories:g=""}=e,f=[],y="",b=!1,v=0,w=0,$=!1,x=window.navigator.userAgent;var C,k;({withLocale:C,translations:k}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(k),ot.set(C))}),Object.keys(ao).forEach(e=>{ro(e,ao[e])});const F=()=>{n(4,r=T(r)),n(6,v=0),w=0,n(7,$=!1),n(3,y=f[Math.floor(Math.random()*f.length)]),n(5,b=!0)};let S;const M=e=>{if(g)for(;F(),!g.includes(y.vendor.name););else F();clearInterval(S),S=setInterval(()=>{n(6,v-=75),20==++w&&(n(7,$=!0),clearInterval(S))},150),e&&"function"==typeof gtag&&gtag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},T=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},E=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),n(5,b=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return t.$$set=e=>{"endpoint"in e&&n(12,o=e.endpoint),"datasource"in e&&n(13,s=e.datasource),"gameevent"in e&&n(14,l=e.gameevent),"lang"in e&&n(15,c=e.lang),"randombuttonicon"in e&&n(0,d=e.randombuttonicon),"buttontext"in e&&n(1,u=e.buttontext),"translationurl"in e&&n(16,p=e.translationurl),"clientstyling"in e&&n(17,m=e.clientstyling),"clientstylingurl"in e&&n(18,h=e.clientstylingurl),"filteredrandomgamecategories"in e&&n(19,g=e.filteredrandomgamecategories)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&(e=c,ot.set(e)),65536&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ro(e,t[e])})}).catch(e=>{console.log(e)}),12288&t.$$.dirty[0]&&o&&s){let e=new URL(o+"/casino/games");e.searchParams.append("platform",lt(x)),e.searchParams.append("datasource",s),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{f=e.items,n(4,r=f.slice(0,19))})}if(131076&t.$$.dirty[0]&&m&&a){let e=document.createElement("style");e.innerHTML=m,a.appendChild(e)}if(262148&t.$$.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)})}var e},[d,u,a,y,r,b,v,$,i,M,E,()=>{n(5,b=!1),window.postMessage({type:"RandomWidgetState",state:b},window.location.href)},o,s,l,c,p,m,h,g,()=>M(!0),()=>E(),()=>M(),function(e){rt[e?"unshift":"push"](()=>{a=e,n(2,a)})}]}function fo(e,t){Ii(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden;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-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},go,ho,t,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}});const yo={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},"zh-hk":{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function bo(e,t,n){const i=e.slice();return i[63]=t[n],i}function vo(e,t,n){const i=e.slice();return i[66]=t[n],i}function wo(n){let r,i,a,o,s,l,c,d,e,u,p,m,h,g,f,y,b,v,w,$,x=n[14],C=[];for(let e=0;e<x.length;e+=1)C[e]=ko(vo(n,x,e));let k=n[9],F=[];for(let e=0;e<k.length;e+=1)F[e]=Fo(bo(n,k,e));return{c(){r=me("div"),i=me("div"),a=me("div");for(let e=0;e<C.length;e+=1)C[e].c();o=ge(),s=me("div"),l=me("button"),c=j("svg"),d=j("path"),u=ge(),p=me("button"),m=j("svg"),h=j("path"),y=ge(),b=me("div");for(let e=0;e<F.length;e+=1)F[e].c();fe(a,"class","WinnerButtonsContainer"),fe(d,"style",e=n[10]>=n[9].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[10]>=n[9].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(m,"id","Component_46_2"),fe(m,"data-name","Component 46 – 2"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(m,"width","15"),fe(m,"height","15"),fe(m,"viewBox","0 0 16 24.656"),fe(p,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(i,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(r,"class",v="CasinoWinners "+(n[11]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a);for(let e=0;e<C.length;e+=1)C[e].m(a,null);de(i,o),de(i,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,p),de(p,m),de(m,h),de(r,y),de(r,b);for(let e=0;e<F.length;e+=1)F[e].m(b,null);n[42](b),w||($=[V(l,"click",n[39]),V(p,"click",n[40])],w=!0)},p(t,n){if(114947&n[0]){let e;for(x=t[14],e=0;e<x.length;e+=1){var i=vo(t,x,e);C[e]?C[e].p(i,n):(C[e]=ko(i),C[e].c(),C[e].m(a,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=x.length}if(1536&n[0]&&e!==(e=t[10]>=t[9].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),1536&n[0]&&g!==(g=t[10]>=t[9].length?"fill:#F6F6F62E":"")&&fe(h,"style",g),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(s,"class",f),434732&n[0]){let e;for(k=t[9],e=0;e<k.length;e+=1){const a=bo(t,k,e);F[e]?F[e].p(a,n):(F[e]=Fo(a),F[e].c(),F[e].m(b,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=k.length}2048&n[0]&&v!==(v="CasinoWinners "+(t[11]?"Mobile":""))&&fe(r,"class",v)},d(e){e&&pe(r),H(C,e),H(F,e),n[42](null),w=!1,Y($)}}}function $o(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function xo(n){let i,r,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){i=me("button"),r=he(l),fe(i,"class",a="WinnersButton "+("recent"==n[8]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),o||(s=V(i,"click",n[37]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(r,l),257&t[0]&&a!==(a="WinnersButton "+("recent"==e[8]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(i,"class",a)},d(e){e&&pe(i),o=!1,s()}}}function Co(n){let i,r,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){i=me("button"),r=he(c),a=ge(),fe(i,"class",o="WinnersButton "+("top"==n[8]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),de(i,a),s||(l=V(i,"click",n[38]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(r,c),258&t[0]&&o!==(o="WinnersButton "+("top"==e[8]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(i,"class",o)},d(e){e&&pe(i),s=!1,l()}}}function ko(e){let n,i,r="recent"==e[66]&&xo(e),a="top"==e[66]&&Co(e);return{c(){r&&r.c(),n=ge(),a&&a.c(),i=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),a&&a.m(e,t),ue(e,i,t)},p(e,t){"recent"==e[66]?r?r.p(e,t):((r=xo(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"top"==e[66]?a?a.p(e,t):((a=Co(e)).c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(e){r&&r.d(e),e&&pe(n),a&&a.d(e),e&&pe(i)}}}function Fo(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C,k,F,S,M=n[63].gameName+"",T=n[17](n[63].username)+"",E=n[15]("Translations.won")+"",L=n[63].specifiedCurrencyAmount.toFixed(2)+"",I=(n[5]?n[3]:n[2])+"";function G(){return n[41](n[63])}return{c(){i=me("div"),r=me("div"),a=me("img"),l=ge(),c=me("p"),d=he(M),u=ge(),p=me("p"),m=he(T),h=ge(),g=me("p"),f=he(E),y=ge(),b=me("p"),v=he(L),w=ge(),$=me("span"),x=he(I),C=ge(),ce(a.src,o=n[63]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[63]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(r,"class","WinnerCard"),fe(i,"class",k="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,l),de(r,c),de(c,d),de(r,u),de(r,p),de(p,m),de(r,h),de(r,g),de(g,f),de(r,y),de(r,b),de(b,v),de(b,w),de(b,$),de($,x),de(i,C),F||(S=V(a,"click",G),F=!0)},p(e,t){n=e,512&t[0]&&!ce(a.src,o=n[63]?.gameModel?.thumbnail)&&fe(a,"src",o),512&t[0]&&s!==(s=n[63]?.gameModel?.thumbnail)&&fe(a,"alt",s),512&t[0]&&M!==(M=n[63].gameName+"")&&ye(d,M),512&t[0]&&T!==(T=n[17](n[63].username)+"")&&ye(m,T),32768&t[0]&&E!==(E=n[15]("Translations.won")+"")&&ye(f,E),512&t[0]&&L!==(L=n[63].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,L),44&t[0]&&I!==(I=(n[5]?n[3]:n[2])+"")&&ye(x,I),8192&t[0]&&k!==(k="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(i,"class",k)},d(e){e&&pe(i),F=!1,S()}}}function So(n){let i;function r(e){return e[12]?$o:wo}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[43](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&pe(i),o.d(),n[43](null)}}}function Mo(t,e,i){let R;ct(t,Ki,e=>i(15,R=e));let r,n,D,a,A,o,N,s,l,c,{endpoint:d=""}=e,{session:u=""}=e,{userid:p=""}=e,{periodrecent:m="Today"}=e,{periodtop:h="Last7Days"}=e,{numberusersrecent:g="20"}=e,{numberuserstop:f="20"}=e,{amountlimit:y="1"}=e,{vendorCategory:b="All"}=e,{lang:v="en"}=e,{isrecentavailable:w="true"}=e,{istopavailable:$="true"}=e,{defaultcurrency:x=""}=e,{usercurrency:C=""}=e,{clientstyling:k=""}=e,{clientstylingurl:F=""}=e,{enableautoscroll:S=""}=e,{tabsorder:M=""}=e,{translationurl:T=""}=e,{winnersdatasources:E=""}=e,L=[],I=0,G=0,O=window.navigator.userAgent,_=!0,H=!1,j=[];Object.keys(yo).forEach(e=>{fo(e,yo[e])});const P=()=>{j=E.split(",").map(function(e){return e.trim()});const t=new URL(`${d}/casino/${n}-winners`);t.searchParams.append("limit","recent"==n?g:f),t.searchParams.append("specifiedCurrency",c),t.searchParams.append("period","recent"==n?m:h),t.searchParams.append("language",v),t.searchParams.append("amountLimit",y),t.searchParams.append("vendorCategory",b),j.forEach(e=>{t.searchParams.append("dataSources",e)}),fetch(t.href).then(e=>e.json()).then(e=>{i(9,L=[]),i(9,L=e.items.map(e=>e)),setTimeout(()=>{i(10,G=Math.round(r.offsetWidth/225)),z(),"true"==S&&(clearInterval(s),I=0,G<N?s=setInterval(()=>{V()},3e3):clearInterval(s)),i(12,_=!1)},5)})},B=e=>{n!==e&&(i(9,L=[]),i(8,n=e),P())},U=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(A||"Not logged in")})},z=n=>{const e=[...r.children];N=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{i(13,H=!0)},10)},W=()=>{z(I)},Y=()=>{var e;G>=L.length||(e=L.length,0===I?I=e-G:I-G<0?I=0:I-=G,W())},V=()=>{var e;G>=L.length||(e=L.length,"true"==S&&(I===e-G?I=0:I++),"false"==S&&(I===e-G?I=0:e-G<I+G?I=e-G:I+=G),W())},q=()=>{i(36,c=a?C:x)};return it(()=>(i(11,D=st(O)),()=>{clearInterval(s)})),t.$$set=e=>{"endpoint"in e&&i(22,d=e.endpoint),"session"in e&&i(23,u=e.session),"userid"in e&&i(24,p=e.userid),"periodrecent"in e&&i(25,m=e.periodrecent),"periodtop"in e&&i(26,h=e.periodtop),"numberusersrecent"in e&&i(27,g=e.numberusersrecent),"numberuserstop"in e&&i(28,f=e.numberuserstop),"amountlimit"in e&&i(21,y=e.amountlimit),"vendorCategory"in e&&i(29,b=e.vendorCategory),"lang"in e&&i(30,v=e.lang),"isrecentavailable"in e&&i(0,w=e.isrecentavailable),"istopavailable"in e&&i(1,$=e.istopavailable),"defaultcurrency"in e&&i(2,x=e.defaultcurrency),"usercurrency"in e&&i(3,C=e.usercurrency),"clientstyling"in e&&i(31,k=e.clientstyling),"clientstylingurl"in e&&i(32,F=e.clientstylingurl),"enableautoscroll"in e&&i(4,S=e.enableautoscroll),"tabsorder"in e&&i(33,M=e.tabsorder),"translationurl"in e&&i(34,T=e.translationurl),"winnersdatasources"in e&&i(35,E=e.winnersdatasources)},t.$$.update=()=>{if(2116026371&t.$$.dirty[0]|4&t.$$.dirty[1]&&w&&$&&m&&h&&g&&f&&y&&b&&v&&M&&(i(14,l=M.split(",")),i(8,n=l[0]),"false"==w&&i(21,y=""),q(),i(12,_=!1)),12582912&t.$$.dirty[0]&&u&&d&&(i(5,a=!0),A=p),32&t.$$.dirty[0]&&a&&q(),4194304&t.$$.dirty[0]|32&t.$$.dirty[1]&&d&&c&&P(),1073741824&t.$$.dirty[0]&&v&&(e=v,ot.set(e)),8&t.$$.dirty[1]&&T&&(e=new URL(T),fetch(e.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{fo(e,t[e])})}).catch(e=>{console.log(e)})),64&t.$$.dirty[0]|1&t.$$.dirty[1]&&k&&o){let e=document.createElement("style");e.innerHTML=k,o.appendChild(e)}if(64&t.$$.dirty[0]|2&t.$$.dirty[1]&&F&&o){let e=new URL(F),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e;16&t.$$.dirty[1]&&E&&P()},[w,$,x,C,S,a,o,r,n,L,G,D,_,H,l,R,B,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),U,Y,V,y,d,u,p,m,h,g,f,b,v,k,F,M,T,E,c,()=>B("recent"),()=>B("top"),()=>Y(),()=>V(),e=>U(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){rt[e?"unshift":"push"](()=>{r=e,i(7,r)})},function(e){rt[e?"unshift":"push"](()=>{o=e,i(6,o)})}]}function To(e,t){Ii(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Mo,So,t,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,vendorCategory:29,lang:30,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:31,clientstylingurl:32,enableautoscroll:4,tabsorder:33,translationurl:34,winnersdatasources:35},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get vendorCategory(){return this.$$.ctx[29]}set vendorCategory(e){this.$$set({vendorCategory:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),f()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[33]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get translationurl(){return this.$$.ctx[34]}set translationurl(e){this.$$set({translationurl:e}),f()}get winnersdatasources(){return this.$$.ctx[35]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),f()}});const Eo={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},"zh-hk":{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando"}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function Lo(e,t,n){const i=e.slice();return i[49]=t[n],i[51]=n,i}function Io(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v;function w(e){return e[5]?Po:Bo}let $=w(n),x=$(n);return{c(){i=me("div"),r=me("div"),a=me("div"),o=me("div"),s=me("img"),c=ge(),d=me("div"),x.c(),u=ge(),p=me("div"),m=me("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(m.src,h=n[11])||fe(m,"src",h),fe(m,"alt",""),fe(p,"class","title"),fe(a,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),P(a,"background","url("+n[10]+")"),fe(r,"class","jackpotBanner"),fe(i,"class",f=n[12]?"DisplayNone":""),fe(i,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(o,s),de(a,c),de(a,d),x.m(d,null),de(a,u),de(a,p),de(p,m),b||(v=V(r,"click",n[32]),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(m.src,h=e[11])&&fe(m,"src",h),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(a,"class",g),1024&t[0]&&P(a,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(i,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(i,"part",y)},d(e){e&&pe(i),x.d(),b=!1,v()}}}function Go(e){let n,i,r=e[14]("jackpotBanners.loadingText")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16384&t[0]&&r!==(r=e[14]("jackpotBanners.loadingText")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function _o(e){let n;return{c(){(n=me("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function Po(e){let n,i,r,a,o,s,D,l,c,A,N,d,O,H,u,p,m,h,g,j,f,y,U,z,b,W,Y,v,w,$,x,C,k,V,F,S,q,Z,M,J,K,T,E,L,I,G,X,_,P,Q,ee,B,te,R=e[8][0]+"",ne=e[7][0]+"",ie=e[8][1]+"",re=e[7][1]+"",ae=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=me("div"),i=me("div"),r=me("div"),a=me("img"),s=me("span"),D=he(R),l=me("span"),c=me("span"),A=he(ne),N=ge(),d=me("span"),O=he(e[1]),H=ge(),u=me("div"),p=me("div"),m=me("img"),g=me("span"),j=he(ie),f=me("span"),y=me("span"),U=he(re),z=ge(),b=me("span"),W=he(e[1]),Y=ge(),v=me("div"),w=me("div"),$=me("div"),x=me("img"),k=me("span"),V=he(ae),F=me("span"),S=me("span"),q=he(oe),Z=ge(),M=me("span"),J=he(e[1]),K=ge(),T=me("div"),E=me("div"),L=me("img"),G=me("span"),X=he(se),_=me("span"),P=me("span"),Q=he(le),ee=ge(),B=me("span"),te=he(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[9][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(i,"class","displayCard"),fe(m,"class","displayCardIcon"),ce(m.src,h=e[9][1])||fe(m,"src",h),fe(m,"alt",""),fe(g,"class","cardLabel"),fe(p,"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(L,"class","displayCardIcon"),ce(L.src,I=e[9][3])||fe(L,"src",I),fe(L,"alt",""),fe(G,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(P,"class","jackpotValue"),fe(B,"class","jackpot-currency"),fe(_,"class","cardTextWrapper"),fe(T,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(r,a),de(r,s),de(s,D),de(i,l),de(l,c),de(c,A),de(l,N),de(l,d),de(d,O),de(n,H),de(n,u),de(u,p),de(p,m),de(p,g),de(g,j),de(u,f),de(f,y),de(y,U),de(f,z),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,T),de(T,E),de(E,L),de(E,G),de(G,X),de(T,_),de(_,P),de(P,Q),de(_,ee),de(_,B),de(B,te)},p(e,t){512&t[0]&&!ce(a.src,o=e[9][0])&&fe(a,"src",o),256&t[0]&&R!==(R=e[8][0]+"")&&ye(D,R),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(A,ne),2&t[0]&&ye(O,e[1]),512&t[0]&&!ce(m.src,h=e[9][1])&&fe(m,"src",h),256&t[0]&&ie!==(ie=e[8][1]+"")&&ye(j,ie),128&t[0]&&re!==(re=e[7][1]+"")&&ye(U,re),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce(x.src,C=e[9][2])&&fe(x,"src",C),256&t[0]&&ae!==(ae=e[8][2]+"")&&ye(V,ae),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(q,oe),2&t[0]&&ye(J,e[1]),512&t[0]&&!ce(L.src,I=e[9][3])&&fe(L,"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&&pe(n),e&&pe(Y),e&&pe(v)}}}function Bo(t){let r,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=Ro(Lo(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(898&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var i=Lo(t,a,e);o[e]?o[e].p(i,n):(o[e]=Ro(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function Ro(e){let n,i,r,a,o,s,l,c,d,u,p,m,h=e[8][e[51]]+"",g=(e[7][e[51]]??"")+"";return{c(){n=me("div"),i=me("div"),r=me("img"),o=me("span"),s=he(h),l=me("span"),c=me("span"),d=he(g),u=ge(),p=me("span"),m=he(e[1]),fe(r,"class","displayCardIcon"),ce(r.src,a=e[9][e[51]])||fe(r,"src",a),fe(r,"alt",""),fe(o,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(p,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,p),de(p,m)},p(e,t){512&t[0]&&!ce(r.src,a=e[9][e[51]])&&fe(r,"src",a),256&t[0]&&h!==(h=e[8][e[51]]+"")&&ye(s,h),128&t[0]&&g!==(g=(e[7][e[51]]??"")+"")&&ye(d,g),2&t[0]&&ye(m,e[1])},d(e){e&&pe(n)}}}function Do(n){let i;function r(e){return e[13]?_o:e[3]?Go:Io}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[33](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&pe(i),o.d(),n[33](null)}}}function Ao(n,e,i){let t;ct(n,Ki,e=>i(14,t=e));let r,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:p=""}=e,{backgroundsrc:m=""}=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,R=window.navigator.userAgent,C=!1,k=!1,F="",S=[],M=[],T=[],E=[],L=[],I="",G="",_=!1,P=!0,D=!1;Object.keys(Eo).forEach(e=>{To(e,Eo[e])});const B=["typeSpread","typeLeft"],A=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href),"function"==typeof gtag&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+x})};return n.$$set=e=>{"visualstructure"in e&&i(0,o=e.visualstructure),"title"in e&&i(16,s=e.title),"caticon0"in e&&i(17,l=e.caticon0),"caticon1"in e&&i(18,c=e.caticon1),"caticon2"in e&&i(19,d=e.caticon2),"caticon3"in e&&i(20,u=e.caticon3),"iconlabels"in e&&i(21,p=e.iconlabels),"backgroundsrc"in e&&i(22,m=e.backgroundsrc),"currency"in e&&i(1,h=e.currency),"backgroundsrcmobile"in e&&i(23,g=e.backgroundsrcmobile),"titlelogopath"in e&&i(24,f=e.titlelogopath),"lang"in e&&i(25,y=e.lang),"clientstyling"in e&&i(26,b=e.clientstyling),"clientstylingurl"in e&&i(27,v=e.clientstylingurl),"translationurl"in e&&i(28,w=e.translationurl),"endpoint"in e&&i(29,$=e.endpoint),"gameid"in e&&i(30,x=e.gameid)},n.$$.update=()=>{if(536870912&n.$$.dirty[0]&&$&&(t=new URL($+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{i(31,M=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&r&&b){let e=document.createElement("style");e.innerHTML=b,r.appendChild(e)}if(134217732&n.$$.dirty[0]&&r&&v){i(12,_=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{i(12,_=!1)},500)})}if(570425346&n.$$.dirty[0]|1&n.$$.dirty[1]&&$&&y&&h&&0<M.length&&($&&y&&h)){let e=new URL($+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",h),fetch(e.href).then(e=>e.json().then(e=>{i(3,P=!1),a=e,M.includes(x)&&((e=null==(e=null==(e=a)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>S.push(+e)),e=a,i(6,F=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{i(13,D=!0),i(3,P=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&h&&y&&!P&&(i(4,C=st(R)&&1<window.innerHeight/window.innerWidth),i(5,k=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==S.length&&i(7,T=S.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),i(8,E=p?p.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),B.includes(o.trim())?i(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${B[0]}"`),i(0,o=B[0])),i(10,I=g&&C&&!k?g:m),i(11,G=f),i(9,L=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,ot.set(e)),268435456&n.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{To(e,t[e])})}).catch(e=>{console.log(e)})},[o,h,r,P,C,k,F,T,E,L,I,G,_,D,t,A,s,l,c,d,u,p,m,g,f,y,b,v,w,$,x,M,()=>A(),function(e){rt[e?"unshift":"push"](()=>{r=e,i(2,r)})}]}function No(e,t){Ii(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width: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}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ao,Do,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),f()}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[30]}set gameid(e){this.$$set({gameid:e}),f()}});const Oo={en:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},"zh-hk":{Translations:{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."}},de:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."}},it:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},fr:{Translations:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."}},es:{Translations:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}}};function Ho(e,t,n){const i=e.slice();return i[39]=t[n],i}function jo(e,t,n){const i=e.slice();return i[42]=t[n],i}function Uo(n){let r,i,a,o,s,l,c,d,u,p,m,e,h,g,f=("vendor"==n[0]?n[8]("Translations.providers"):n[8]("Translations.collections"))+"",y=n[3],b=[];for(let e=0;e<y.length;e+=1)b[e]=Zo(Ho(n,y,e));return{c(){r=me("div"),i=me("div"),a=me("p"),o=he(f),s=ge(),l=me("div"),(c=me("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=me("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>',p=ge(),m=me("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(a,"class","Title"),fe(l,"class","ButtonsContainer"),fe(i,"class","CategoriesHeader"),fe(m,"class","CategoriesSlider"),fe(r,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),de(l,c),de(l,d),de(l,u),de(r,p),de(r,m);for(let e=0;e<b.length;e+=1)b[e].m(m,null);n[23](m),h||(g=[V(c,"click",n[19]),V(u,"click",n[20])],h=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("Translations.providers"):t[8]("Translations.collections"))+"")&&ye(o,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var i=Ho(t,y,e);b[e]?b[e].p(i,n):(b[e]=Zo(i),b[e].c(),b[e].m(m,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(r,"class",e)},d(e){e&&pe(r),H(b,e),n[23](null),h=!1,Y(g)}}}function zo(e){let n,i,r=e[8]("Translations.loading")+"";return{c(){n=me("p"),i=he(r)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&r!==(r=e[8]("Translations.loading")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Wo(e){let n,i,r=e[39].name+"";return{c(){n=me("p"),i=he(r),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){8&t[0]&&r!==(r=e[39].name+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Yo(e){let n,i,r;return{c(){fe(n=me("img"),"class","CategorySlideLogo"),ce(n.src,i=e[39].icon)||fe(n,"src",i),fe(n,"alt",r=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,i=e[39].icon)&&fe(n,"src",i),8&t[0]&&r!==(r=e[39].name+" icon")&&fe(n,"alt",r)},d(e){e&&pe(n)}}}function Vo(e){let n,i,r,a=e[42].name+"";return{c(){n=me("p"),i=he(a),fe(n,"title",r=e[42].name)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){8&t[0]&&a!==(a=e[42].name+"")&&ye(i,a),8&t[0]&&r!==(r=e[42].name)&&fe(n,"title",r)},d(e){e&&pe(n)}}}function qo(n){let i,r,a,o,s,l,c,d;function u(){return n[21](n[42])}let p="true"==n[2]&&Vo(n);return{c(){i=me("div"),r=me("img"),s=ge(),p&&p.c(),l=ge(),fe(r,"class","CategorySlideGameImage"),ce(r.src,a=n[42].defaultThumbnail)||fe(r,"src",a),fe(r,"alt",o=n[42].name),fe(i,"class","CategorySlideGames")},m(e,t){var n;ue(e,i,t),de(i,r),de(i,s),p&&p.m(i,null),de(i,l),c||(d=V(r,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(r.src,a=n[42].defaultThumbnail)&&fe(r,"src",a),8&t[0]&&o!==(o=n[42].name)&&fe(r,"alt",o),"true"==n[2]?p?p.p(n,t):((p=Vo(n)).c(),p.m(i,l)):p&&(p.d(1),p=null)},d(e){e&&pe(i),p&&p.d(),c=!1,d()}}}function Zo(n){let i,r,a,o,s,l,c,d,u;function p(e){return"logo"==e[1]?Yo:"title"==e[1]?Wo:void 0}let m=p(n),h=m&&m(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=qo(jo(n,g,e));function y(){return n[22](n[39])}return{c(){i=me("div"),r=me("div"),a=me("div"),h&&h.c(),o=ge(),s=me("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(a,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(r,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),P(r,"background-image","url("+n[39]?.background+")"),fe(i,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,i,t),de(i,r),de(r,a),h&&h.m(a,null),de(r,o),de(r,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);de(i,c),d||(u=V(r,"click",y),d=!0)},p(e,t){if(m===(m=p(n=e))&&h?h.p(n,t):(h&&h.d(1),(h=m&&m(n))&&(h.c(),h.m(a,null))),2060&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const r=jo(n,g,e);f[e]?f[e].p(r,t):(f[e]=qo(r),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(r,"class",l),8&t[0]&&P(r,"background-image","url("+n[39]?.background+")")},d(e){e&&pe(i),h&&h.d(),H(f,e),d=!1,u()}}}function Jo(n){let i;function r(e){return e[6]?zo:Uo}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[24](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&pe(i),o.d(),n[24](null)}}}function Ko(n,e,i){let t;ct(n,Ki,e=>i(8,t=e));let r,a,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:p=""}=e,{titletype:m=""}=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(Oo).forEach(e=>{No(e,Oo[e])});const k=n=>{(o=[...r.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>a=e.getBoundingClientRect().width),x=Math.round(r.offsetWidth/a)},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())},T=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},E=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return it(()=>{i(7,l=st(C))}),n.$$set=e=>{"endpoint"in e&&i(13,c=e.endpoint),"datasource"in e&&i(14,d=e.datasource),"lang"in e&&i(15,u=e.lang),"type"in e&&i(0,p=e.type),"titletype"in e&&i(1,m=e.titletype),"clientstyling"in e&&i(16,h=e.clientstyling),"clientstylingurl"in e&&i(17,g=e.clientstylingurl),"translationurl"in e&&i(18,f=e.translationurl),"collectionprovidersgamenames"in e&&i(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{i(6,v=!1);let t=e.items.filter(e=>e.flags==p);i(3,b=t.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})}if(24&n.$$.dirty[0]&&b&&r&&k(),32768&n.$$.dirty[0]&&u&&(e=u,ot.set(e)),65568&n.$$.dirty[0]&&h&&s){let e=document.createElement("style");e.innerHTML=h,s.appendChild(e)}if(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;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{No(e,t[e])})}).catch(e=>{console.log(e)})},[p,m,y,b,r,s,v,l,t,S,M,T,E,c,d,u,h,g,f,()=>S(),()=>M(),e=>T(e.gameId,e.launchUrl,e.name),e=>E(e.id),function(e){rt[e?"unshift":"push"](()=>{r=e,i(4,r)})},function(e){rt[e?"unshift":"push"](()=>{s=e,i(5,s)})}]}function Xo(n){let i,r,a,o,s;return{c(){i=me("div"),r=me("casino-games-category-section"),this.c=W,k(r,"session",n[0]),k(r,"userid",n[1]),k(r,"endpoint",n[2]),k(r,"datasource",n[3]),k(r,"lang",n[5]),k(r,"currency",n[4]),k(r,"favorites",n[13]),k(r,"categoryid","FAVORITES"),k(r,"class","CategoryContainer"),k(r,"clientstyling",n[6]),k(r,"clientstylingurl",n[7]),k(r,"livecasino",n[8]),k(r,"visiblegames",n[12]),k(r,"gamepagemodalurl",n[11]),k(r,"integratedgameframedesktop",n[10]),k(r,"integratedgameframemobile",n[9]),k(r,"casinomygames",n[14]),fe(i,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,i,t),de(i,r),n[18](i),o||(s=S(a=n[16].call(null,r,(n[2],n[1],n[0],n[1]))),o=!0)},p(e,[t]){1&t&&k(r,"session",e[0]),2&t&&k(r,"userid",e[1]),4&t&&k(r,"endpoint",e[2]),8&t&&k(r,"datasource",e[3]),32&t&&k(r,"lang",e[5]),16&t&&k(r,"currency",e[4]),8192&t&&k(r,"favorites",e[13]),64&t&&k(r,"clientstyling",e[6]),128&t&&k(r,"clientstylingurl",e[7]),256&t&&k(r,"livecasino",e[8]),4096&t&&k(r,"visiblegames",e[12]),2048&t&&k(r,"gamepagemodalurl",e[11]),1024&t&&k(r,"integratedgameframedesktop",e[10]),512&t&&k(r,"integratedgameframemobile",e[9]),16384&t&&k(r,"casinomygames",e[14]),a&&F(a.update)&&7&t&&a.update.call(null,(e[2],e[1],e[0],e[1]))},i:W,o:W,d(e){e&&pe(i),n[18](null),o=!1,s()}}}function Qo(e,t,s){let n,i,{endpoint:l=""}=t,{datasource:r=""}=t,{currency:a=""}=t,{lang:o=""}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:p=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:h="false"}=t,{integratedgameframedesktop:g="false"}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:b=""}=t,{categoryid:v=""}=t,{casinomygames:w="false"}=t,$=[];var x,C;({withLocale:x,translations:C}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(C),ot.set(x))});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&&F(l,c,d);break;case"SetUnfavoredGame":e=`${l}/player/${d}/favorites`,t=c,d,o=n.data.id,n.data.triggerFactor,$.includes(o)&&($=$.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),S(e,t)});break;case"SetFavoredGame":{var i=`${l}/player/${d}/favorites`;var r=c;d;var a=n.data.id;n.data.triggerFactor;$.includes(a)||$.push(a);let e={items:$},t={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(i,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),S(i,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&F(l,c,d)}var e,t,o};let F=(e,t,n)=>{"true"==b&&c&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((i=e)&&(M(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i,favStadalone:!0},window.location.href),T(i.items)),i)).then(e=>e).catch(e=>{console.error(e)})};let S=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(i=e,M(),i&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i,favStadalone:!0},window.location.href),i)).catch(e=>{console.error(e)})};const M=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:i},window.location.href)},T=(e=[])=>($=[],0<e.length&&e.forEach(e=>{$.push(e.id)}),$);return it(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)})),e.$$set=e=>{"endpoint"in e&&s(2,l=e.endpoint),"datasource"in e&&s(3,r=e.datasource),"currency"in e&&s(4,a=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,p=e.clientstylingurl),"livecasino"in e&&s(8,m=e.livecasino),"integratedgameframemobile"in e&&s(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&s(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&s(11,f=e.gamepagemodalurl),"visiblegames"in e&&s(12,y=e.visiblegames),"favorites"in e&&s(13,b=e.favorites),"categoryid"in e&&s(17,v=e.categoryid),"casinomygames"in e&&s(14,w=e.casinomygames)},e.$$.update=()=>{if(8231&e.$$.dirty&&l&&d&&c&&o&&b&&"true"==b&&F(l,c,d),32832&e.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32896&e.$$.dirty&&p&&n){let t=document.createElement("style");fetch(new URL(p)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}},[c,d,l,r,a,o,u,p,m,h,g,f,y,b,w,n,F,v,function(e){rt[e?"unshift":"push"](()=>{n=e,s(15,n)})}]}function es(e,t){Ii(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #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-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}.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-color-white, #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}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ko,Jo,t,{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),f()))}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}),f()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoFavoritesSectionContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Qo,Xo,t,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:17,casinomygames:14},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const ts={en:{LastPlayedTranslations:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}},de:{LastPlayedTranslations:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."}}};function ns(e){let n;return{c(){k(n=me("casino-games-category-section"),"session",e[4]),k(n,"userid",e[5]),k(n,"endpoint",e[0]),k(n,"datasource",e[1]),k(n,"lang",e[3]),k(n,"currency",e[2]),k(n,"favorites",e[13]),k(n,"categoryid","LASTPLAYED"),k(n,"categoryindex","1"),k(n,"categorygames","9"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[12]),k(n,"gamepagemodalurl",e[11]),k(n,"integratedgameframedesktop",e[10]),k(n,"integratedgameframemobile",e[9]),k(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&k(n,"session",e[4]),32&t[0]&&k(n,"userid",e[5]),1&t[0]&&k(n,"endpoint",e[0]),2&t[0]&&k(n,"datasource",e[1]),8&t[0]&&k(n,"lang",e[3]),4&t[0]&&k(n,"currency",e[2]),8192&t[0]&&k(n,"favorites",e[13]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),4096&t[0]&&k(n,"visiblegames",e[12]),2048&t[0]&&k(n,"gamepagemodalurl",e[11]),1024&t[0]&&k(n,"integratedgameframedesktop",e[10]),512&t[0]&&k(n,"integratedgameframemobile",e[9]),16384&t[0]&&k(n,"casinomygames",e[14])},d(e){e&&pe(n)}}}function is(e){let n,i,r=e[17]("LastPlayedTranslations.noRecentGames")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){131072&t[0]&&r!==(r=e[17]("LastPlayedTranslations.noRecentGames")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function rs(n){let i,r;function a(e){return e[16]?is:ns}let o=a(n),s=o(n);return{c(){i=me("div"),r=me("div"),s.c(),this.c=W,fe(r,"class","CasinoLastPlayedSection"),fe(i,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,i,t),de(i,r),s.m(r,null),n[23](i)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:W,o:W,d(e){e&&pe(i),s.d(),n[23](null)}}}function as(t,e,n){let i;ct(t,Ki,e=>n(17,i=e));let r,a,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:p=""}=e,{clientstylingurl:m=""}=e,{translationurl:h=""}=e,{livecasino:g="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:v=""}=e,{favorites:w=""}=e,{lastplayedperiod:$="Last30Days"}=e,{lastplayedorder:x=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:k="false"}=e,{lastplayedunique:F="true"}=e,S=window.navigator.userAgent,M=!1,T;Object.keys(ts).forEach(e=>{es(e,ts[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,p=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"translationurl"in e&&n(18,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),"visiblegames"in e&&n(12,v=e.visiblegames),"favorites"in e&&n(13,w=e.favorites),"lastplayedperiod"in e&&n(19,$=e.lastplayedperiod),"lastplayedorder"in e&&n(20,x=e.lastplayedorder),"lastplayedlimit"in e&&n(21,C=e.lastplayedlimit),"casinomygames"in e&&n(14,k=e.casinomygames),"lastplayedunique"in e&&n(22,F=e.lastplayedunique)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&o&&u&&c&&new Promise((e,t)=>{let n=new URL(`${o}/player/${u}/games/last-played`);n.searchParams.append("unique",F),n.searchParams.append("limit",C),n.searchParams.append("order",x),n.searchParams.append("period",$),"PC"===lt(S)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),r=g?n:n.href,fetch(r).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 n=[];e.items.forEach(e=>{let t=new URL(o+"/casino/games/"+e.gameId);t.searchParams.append("datasource",s),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{T=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:T},window.location.href)})}else n(16,M=!0)}),262144&t.$$.dirty[0]&&h&&(e=translationUrl,fetch(e).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{es(e,t[e])})}).catch(e=>{console.log(e)})),32832&t.$$.dirty[0]&&p&&a){let e=document.createElement("style");e.innerHTML=p,a.appendChild(e)}if(32896&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;8&t.$$.dirty[0]&&c&&(e=c,ot.set(e))},[o,s,l,c,d,u,p,m,g,f,y,b,v,w,k,a,M,i,h,$,x,C,F,function(e){rt[e?"unshift":"push"](()=>{a=e,n(15,a)})}]}function os(e){let n;return{c(){k(n=me("casino-games-category-section"),"session",e[4]),k(n,"userid",e[5]),k(n,"endpoint",e[0]),k(n,"datasource",e[1]),k(n,"lang",e[3]),k(n,"currency",e[2]),k(n,"favorites",e[13]),k(n,"categoryid","MOSTPLAYED"),k(n,"categoryindex","1"),k(n,"categorygames","9"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[12]),k(n,"gamepagemodalurl",e[11]),k(n,"integratedgameframedesktop",e[10]),k(n,"integratedgameframemobile",e[9]),k(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t&&k(n,"session",e[4]),32&t&&k(n,"userid",e[5]),1&t&&k(n,"endpoint",e[0]),2&t&&k(n,"datasource",e[1]),8&t&&k(n,"lang",e[3]),4&t&&k(n,"currency",e[2]),8192&t&&k(n,"favorites",e[13]),64&t&&k(n,"clientstyling",e[6]),128&t&&k(n,"clientstylingurl",e[7]),256&t&&k(n,"livecasino",e[8]),4096&t&&k(n,"visiblegames",e[12]),2048&t&&k(n,"gamepagemodalurl",e[11]),1024&t&&k(n,"integratedgameframedesktop",e[10]),512&t&&k(n,"integratedgameframemobile",e[9]),16384&t&&k(n,"casinomygames",e[14])},d(e){e&&pe(n)}}}function ss(e){let n;return{c(){(n=me("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function ls(n){let i,r;function a(e){return e[16]?ss:os}let o=a(n),s=o(n);return{c(){i=me("div"),r=me("div"),s.c(),this.c=W,fe(r,"class","casino-most-played-section"),fe(i,"class","CasinoGamesCategorySectionContainer"),fe(i,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,i,t),de(i,r),s.m(r,null),n[19](i)},p(e,[t]){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:W,o:W,d(e){e&&pe(i),s.d(),n[19](null)}}}function cs(t,e,n){let i,r,{endpoint:a=""}=e,{datasource:o=""}=e,{currency:s=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:p=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,{casinomygames:w="false"}=e,{mostplayedperiod:$="Last30Days"}=e,x=window.navigator.userAgent,C=[],k=!1;return t.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,p=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastPlayedEmpty"in e&&n(17,v=e.lastPlayedEmpty),"casinomygames"in e&&n(14,w=e.casinomygames),"mostplayedperiod"in e&&n(18,$=e.mostplayedperiod)},t.$$.update=()=>{if(41&t.$$.dirty&&a&&d&&l&&(e=>{let t=new URL(`${a}/player/${d}/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",$);var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),i=m?t:t.href,new Promise((e,t)=>{fetch(i).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)})})})({limit:100,device:lt(x),rounds:10}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(a+"/casino/games/"+e.gameId);t.searchParams.append("datasource",o),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{C=e.map(e=>e[0]),"true"===w&&(C=C.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:C},window.location.href)})}else n(16,k=!0)}),32832&t.$$.dirty&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(32896&t.$$.dirty&&p&&r){let t=document.createElement("style");fetch(new URL(p)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;8&t.$$.dirty&&l&&(e=l,ot.set(e))},[a,o,s,l,c,d,u,p,m,h,g,f,y,b,w,r,k,v,$,function(e){rt[e?"unshift":"push"](()=>{r=e,n(15,r)})}]}function ds(e,t){Ii(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},as,rs,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:18,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,casinomygames:14,lastplayedunique:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},cs,ls,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:17,casinomygames:14,mostplayedperiod:18},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","casinomygames","mostplayedperiod"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastPlayedEmpty(){return this.$$.ctx[17]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}});const us={en:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},"zh-hk":{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},de:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},it:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},fr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},es:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},tr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ru:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ro:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hu:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pt:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}}};function ps(e,t,n){const i=e.slice();return i[40]=t[n],i}function ms(t){let r,n,a,i,o,e,s=t[26],l=[];for(let e=0;e<s.length;e+=1)l[e]=ys(ps(t,s,e));function c(e){return"Favorites"==e[24]?ws:"MostPlayed"==e[24]?vs:"LastPlayed"==e[24]?bs:void 0}let d=c(t),u=d&&d(t);return{c(){r=me("div"),n=me("div"),a=me("div");for(let e=0;e<l.length;e+=1)l[e].c();i=ge(),o=me("div"),u&&u.c(),fe(a,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(r,"class",e="CasinoMyGames "+(t[25]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,a);for(let e=0;e<l.length;e+=1)l[e].m(a,null);de(r,i),de(r,o),u&&u.m(o,null)},p(t,n){if(486596608&n[0]){let e;for(s=t[26],e=0;e<s.length;e+=1){var i=ps(t,s,e);l[e]?l[e].p(i,n):(l[e]=ys(i),l[e].c(),l[e].m(a,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))),33554432&n[0]&&e!==(e="CasinoMyGames "+(t[25]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&pe(r),H(l,e),u&&u.d()}}}function hs(n){let i,r,a,o,s,l=n[27]("Translations.favorites")+"";return{c(){i=me("button"),r=he(l),fe(i,"class",a="MyGamesButton "+("Favorites"==n[24]?"Active":"")+" "+("false"==n[13]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),o||(s=V(i,"click",n[30]),o=!0)},p(e,t){134217728&t[0]&&l!==(l=e[27]("Translations.favorites")+"")&&ye(r,l),16785408&t[0]&&a!==(a="MyGamesButton "+("Favorites"==e[24]?"Active":"")+" "+("false"==e[13]?"Off":""))&&fe(i,"class",a)},d(e){e&&pe(i),o=!1,s()}}}function gs(n){let i,r,a,o,s,l=n[27]("Translations.mostPlayed")+"";return{c(){i=me("button"),r=he(l),fe(i,"class",a="MyGamesButton "+("MostPlayed"==n[24]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),o||(s=V(i,"click",n[31]),o=!0)},p(e,t){134217728&t[0]&&l!==(l=e[27]("Translations.mostPlayed")+"")&&ye(r,l),16793600&t[0]&&a!==(a="MyGamesButton "+("MostPlayed"==e[24]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(i,"class",a)},d(e){e&&pe(i),o=!1,s()}}}function fs(n){let i,r,a,o,s,l,c=n[27]("Translations.recentlyPlayed")+"";return{c(){i=me("button"),r=he(c),a=ge(),fe(i,"class",o="MyGamesButton "+("LastPlayed"==n[24]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),de(i,a),s||(l=V(i,"click",n[32]),s=!0)},p(e,t){134217728&t[0]&&c!==(c=e[27]("Translations.recentlyPlayed")+"")&&ye(r,c),16809984&t[0]&&o!==(o="MyGamesButton "+("LastPlayed"==e[24]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(i,"class",o)},d(e){e&&pe(i),s=!1,l()}}}function ys(e){let n,i,r,a="Favorites"==e[40]&&hs(e),o="MostPlayed"==e[40]&&gs(e),s="LastPlayed"==e[40]&&fs(e);return{c(){a&&a.c(),n=ge(),o&&o.c(),i=ge(),s&&s.c(),r=c()},m(e,t){a&&a.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,i,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){"Favorites"==e[40]?a?a.p(e,t):((a=hs(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"MostPlayed"==e[40]?o?o.p(e,t):((o=gs(e)).c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null),"LastPlayed"==e[40]?s?s.p(e,t):((s=fs(e)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){a&&a.d(e),e&&pe(n),o&&o.d(e),e&&pe(i),s&&s.d(e),e&&pe(r)}}}function bs(e){let n;return{c(){k(n=me("casino-last-played-section"),"userid",e[0]),k(n,"endpoint",e[2]),k(n,"datasource",e[3]),k(n,"favorites",e[13]),k(n,"lang",e[4]),k(n,"currency",e[5]),k(n,"session",e[1]),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[9]),k(n,"lastplayedperiod",e[17]),k(n,"lastplayedorder",e[19]),k(n,"lastplayedlimit",e[20]),k(n,"lastplayedunique",e[21]),k(n,"gamepagemodalurl",e[10]),k(n,"integratedgameframedesktop",e[11]),k(n,"integratedgameframemobile",e[12]),k(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&k(n,"userid",e[0]),4&t[0]&&k(n,"endpoint",e[2]),8&t[0]&&k(n,"datasource",e[3]),8192&t[0]&&k(n,"favorites",e[13]),16&t[0]&&k(n,"lang",e[4]),32&t[0]&&k(n,"currency",e[5]),2&t[0]&&k(n,"session",e[1]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),512&t[0]&&k(n,"visiblegames",e[9]),131072&t[0]&&k(n,"lastplayedperiod",e[17]),524288&t[0]&&k(n,"lastplayedorder",e[19]),1048576&t[0]&&k(n,"lastplayedlimit",e[20]),2097152&t[0]&&k(n,"lastplayedunique",e[21]),1024&t[0]&&k(n,"gamepagemodalurl",e[10]),2048&t[0]&&k(n,"integratedgameframedesktop",e[11]),4096&t[0]&&k(n,"integratedgameframemobile",e[12]),65536&t[0]&&k(n,"casinomygames",e[16])},d(e){e&&pe(n)}}}function vs(e){let n;return{c(){k(n=me("casino-most-played-section"),"endpoint",e[2]),k(n,"datasource",e[3]),k(n,"lang",e[4]),k(n,"currency",e[5]),k(n,"session",e[1]),k(n,"userid",e[0]),k(n,"favorites",e[13]),k(n,"categoryindex","0"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[9]),k(n,"gamepagemodalurl",e[10]),k(n,"mostplayedrounds",e[22]),k(n,"integratedgameframedesktop",e[11]),k(n,"integratedgameframemobile",e[12]),k(n,"mostplayedperiod",e[18]),k(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&k(n,"endpoint",e[2]),8&t[0]&&k(n,"datasource",e[3]),16&t[0]&&k(n,"lang",e[4]),32&t[0]&&k(n,"currency",e[5]),2&t[0]&&k(n,"session",e[1]),1&t[0]&&k(n,"userid",e[0]),8192&t[0]&&k(n,"favorites",e[13]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),512&t[0]&&k(n,"visiblegames",e[9]),1024&t[0]&&k(n,"gamepagemodalurl",e[10]),4194304&t[0]&&k(n,"mostplayedrounds",e[22]),2048&t[0]&&k(n,"integratedgameframedesktop",e[11]),4096&t[0]&&k(n,"integratedgameframemobile",e[12]),262144&t[0]&&k(n,"mostplayedperiod",e[18]),65536&t[0]&&k(n,"casinomygames",e[16])},d(e){e&&pe(n)}}}function ws(e){let n;return{c(){k(n=me("casino-favorites-section"),"session",e[1]),k(n,"userid",e[0]),k(n,"endpoint",e[2]),k(n,"datasource",e[3]),k(n,"lang",e[4]),k(n,"currency",e[5]),k(n,"favorites",e[13]),k(n,"categoryid","FAVORITES"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[9]),k(n,"gamepagemodalurl",e[10]),k(n,"integratedgameframedesktop",e[11]),k(n,"integratedgameframemobile",e[12]),k(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&k(n,"session",e[1]),1&t[0]&&k(n,"userid",e[0]),4&t[0]&&k(n,"endpoint",e[2]),8&t[0]&&k(n,"datasource",e[3]),16&t[0]&&k(n,"lang",e[4]),32&t[0]&&k(n,"currency",e[5]),8192&t[0]&&k(n,"favorites",e[13]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),512&t[0]&&k(n,"visiblegames",e[9]),1024&t[0]&&k(n,"gamepagemodalurl",e[10]),2048&t[0]&&k(n,"integratedgameframedesktop",e[11]),4096&t[0]&&k(n,"integratedgameframemobile",e[12]),65536&t[0]&&k(n,"casinomygames",e[16])},d(e){e&&pe(n)}}}function $s(n){let i;function r(e){if(e[16])return ms}let a=r(n),o=a&&a(n);return{c(){i=me("div"),o&&o.c(),this.c=W},m(e,t){ue(e,i,t),o&&o.m(i,null),n[33](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&pe(i),o&&o.d(),n[33](null)}}}function xs(e,t,n){let i;ct(e,Ki,e=>n(27,i=e));let r,{userid:a=""}=t,{session:o=""}=t,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{currency:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:p=""}=t,{livecasino:m=""}=t,{visiblegames:h=""}=t,{gamepagemodalurl:g=""}=t,{integratedgameframedesktop:f=""}=t,{integratedgameframemobile:y=""}=t,{translationurl:b=""}=t,{favorites:v="false"}=t,{mostplayed:w="false"}=t,{lastplayed:$="false"}=t,{casinomygames:x="false"}=t,{lastplayedperiod:C="Last30Days"}=t,{mostplayedperiod:k="Last30Days"}=t,{lastplayedorder:F=""}=t,{lastplayedlimit:S=""}=t,{lastplayedunique:M="true"}=t,{mostplayedrounds:T=""}=t,R=window.navigator.userAgent,E="",L=!1,I=["","",""];var G,_;({withLocale:G,translations:_}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(_),ot.set(G))}),Object.keys(us).forEach(e=>{ds(e,us[e])});const P=e=>{E!==e&&n(24,E=e)},B=()=>{var e;n(24,E="true"===v?"Favorites":"true"===w?"MostPlayed":"true"===$?"LastPlayed":""),n(26,I[0]="true"===v?"Favorites":"",I),n(26,I[1]="true"===w?"MostPlayed":"",I),n(26,I[2]="true"===$?"LastPlayed":"",I),e=c,ot.set(e)};return it(()=>{n(25,L=st(R))}),e.$$set=e=>{"userid"in e&&n(0,a=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,p=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"visiblegames"in e&&n(9,h=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(11,f=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(12,y=e.integratedgameframemobile),"translationurl"in e&&n(29,b=e.translationurl),"favorites"in e&&n(13,v=e.favorites),"mostplayed"in e&&n(14,w=e.mostplayed),"lastplayed"in e&&n(15,$=e.lastplayed),"casinomygames"in e&&n(16,x=e.casinomygames),"lastplayedperiod"in e&&n(17,C=e.lastplayedperiod),"mostplayedperiod"in e&&n(18,k=e.mostplayedperiod),"lastplayedorder"in e&&n(19,F=e.lastplayedorder),"lastplayedlimit"in e&&n(20,S=e.lastplayedlimit),"lastplayedunique"in e&&n(21,M=e.lastplayedunique),"mostplayedrounds"in e&&n(22,T=e.mostplayedrounds)},e.$$.update=()=>{if(28&e.$$.dirty[0]&&s&&l&&c&&B(),57344&e.$$.dirty[0]&&v&&w&&$&&B(),536870912&e.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ds(e,t[e])})}).catch(e=>{console.log(e)}),8388672&e.$$.dirty[0]&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(8388736&e.$$.dirty[0]&&p&&r){let t=document.createElement("style");fetch(new URL(p)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[a,o,s,l,c,d,u,p,m,h,g,f,y,v,w,$,x,C,k,F,S,M,T,r,E,L,I,i,P,b,()=>P("Favorites"),()=>P("MostPlayed"),()=>P("LastPlayed"),function(e){rt[e?"unshift":"push"](()=>{r=e,n(23,r)})}]}function Cs(e,t){Ii(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoMyGames{background-color:var(--emfe-w-color-contrast, #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}.MyGamesButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:20px;font-weight:500;margin-right:60px;transition:linear 100ms;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;margin-right:10px}.Mobile .MyGamesButton.Active{padding-bottom:4px}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},xs,$s,t,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,integratedgameframedesktop:11,integratedgameframemobile:12,translationurl:29,favorites:13,mostplayed:14,lastplayed:15,casinomygames:16,lastplayedperiod:17,mostplayedperiod:18,lastplayedorder:19,lastplayedlimit:20,lastplayedunique:21,mostplayedrounds:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","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}),f()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),f()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),f()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[12]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get translationurl(){return this.$$.ctx[29]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[15]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get lastplayedperiod(){return this.$$.ctx[17]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}get lastplayedorder(){return this.$$.ctx[19]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[20]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get lastplayedunique(){return this.$$.ctx[21]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}});const ks={en:{Translations:{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":{Translations:{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"}},de:{Translations:{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:{Translations:{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:{Translations:{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:{Translations:{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:{Translations:{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:{Translations:{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:{Translations:{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:{Translations:{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."}},hr:{Translations:{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."}},hu:{Translations:{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:{Translations:{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:{Translations:{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."}},sl:{Translations:{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:{Translations:{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."}}};function Fs(e,t,n){const i=e.slice();return i[48]=t[n],i}function Ss(e){let n,i,r,a;function o(e){return 1==e[13]&&e[8].length<2?Es:0!=e[11].length?Ts:void 0}let s=o(e),l=s&&s(e),c=!1===e[9]&&Is(e),d=2<=e[8].length&&0==e[11].length&&_s(e);return{c(){l&&l.c(),n=ge(),i=me("div"),c&&c.c(),r=ge(),d&&d.c(),fe(i,"class",a="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,i,t),c&&c.m(i,null),de(i,r),d&&d.m(i,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[9]?c?c.p(e,t):((c=Is(e)).c(),c.m(i,r)):c&&(c.d(1),c=null),2<=e[8].length&&0==e[11].length?d?d.p(e,t):((d=_s(e)).c(),d.m(i,null)):d&&(d.d(1),d=null),8192&t[0]&&a!==(a="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))&&fe(i,"class",a)},d(e){l&&l.d(e),e&&pe(n),e&&pe(i),c&&c.d(),d&&d.d()}}}function Ms(e){let n,i,r=e[17]("Translations.loading")+"";return{c(){n=me("p"),i=he(r)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.loading")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Ts(e){let n,i,r=e[17]("Translations.searchResult")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.searchResult")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Es(e){let n,i,r,a,o=e[17]("Translations.recentSearch")+"",s=0==e[11].length&&Ls(e);return{c(){n=me("p"),i=he(o),r=ge(),s&&s.c(),a=c(),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,i),ue(e,r,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){131072&t[0]&&o!==(o=e[17]("Translations.recentSearch")+"")&&ye(i,o),0==e[11].length?s?s.p(e,t):((s=Ls(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){e&&pe(n),e&&pe(r),s&&s.d(e),e&&pe(a)}}}function Ls(e){let n,i,r,a=e[17]("Translations.noRecentSearches")+"";return{c(){n=me("div"),i=me("p"),r=he(a),fe(i,"class","SearchMessage"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,i),de(i,r)},p(e,t){131072&t[0]&&a!==(a=e[17]("Translations.noRecentSearches")+"")&&ye(r,a)},d(e){e&&pe(n)}}}function Is(t){let r,a=t[11],o=[];for(let e=0;e<a.length;e+=1)o[e]=Gs(Fs(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(1149183&n[0]){let e;for(a=t[11],e=0;e<a.length;e+=1){var i=Fs(t,a,e);o[e]?o[e].p(i,n):(o[e]=Gs(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function Gs(e){let n,i,r,a,o,s,l,c,d,u,p;return{c(){k(n=me("casino-game-thumbnail"),"endpoint",e[0]),k(n,"session",e[15]),k(n,"userid",e[16]),k(n,"favorites",e[7]),k(n,"lang",e[1]),k(n,"gamethumbnail",i=e[48].thumbnail),k(n,"gamename",r=e[48].name),k(n,"gamevendor",a=e[48].vendor.name),k(n,"gameisnew",o=e[48].isNew),k(n,"gametag",s=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags)),k(n,"gamecellsize",l=e[48].cellSize),k(n,"gameid",c=e[48].id),k(n,"gamefunmode",d=e[48].hasFunMode),k(n,"gamefavorite",u=e[48].isFavorite),k(n,"livelobbyendpoint",p=e[48].details?e[48].launchUrl:""),k(n,"integratedgameframedesktop",e[4]),k(n,"integratedgameframemobile",e[5]),k(n,"clientstyling",e[2]),k(n,"clientstylingurl",e[3]),k(n,"gamepagemodalurl",e[6])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&k(n,"endpoint",e[0]),32768&t[0]&&k(n,"session",e[15]),65536&t[0]&&k(n,"userid",e[16]),128&t[0]&&k(n,"favorites",e[7]),2&t[0]&&k(n,"lang",e[1]),2048&t[0]&&i!==(i=e[48].thumbnail)&&k(n,"gamethumbnail",i),2048&t[0]&&r!==(r=e[48].name)&&k(n,"gamename",r),2048&t[0]&&a!==(a=e[48].vendor.name)&&k(n,"gamevendor",a),2048&t[0]&&o!==(o=e[48].isNew)&&k(n,"gameisnew",o),2048&t[0]&&s!==(s=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags))&&k(n,"gametag",s),2048&t[0]&&l!==(l=e[48].cellSize)&&k(n,"gamecellsize",l),2048&t[0]&&c!==(c=e[48].id)&&k(n,"gameid",c),2048&t[0]&&d!==(d=e[48].hasFunMode)&&k(n,"gamefunmode",d),2048&t[0]&&u!==(u=e[48].isFavorite)&&k(n,"gamefavorite",u),2048&t[0]&&p!==(p=e[48].details?e[48].launchUrl:"")&&k(n,"livelobbyendpoint",p),16&t[0]&&k(n,"integratedgameframedesktop",e[4]),32&t[0]&&k(n,"integratedgameframemobile",e[5]),4&t[0]&&k(n,"clientstyling",e[2]),8&t[0]&&k(n,"clientstylingurl",e[3]),64&t[0]&&k(n,"gamepagemodalurl",e[6])},d(e){e&&pe(n)}}}function _s(e){let n,i,r,a,o,s,l=e[17]("Translations.notFound")+"",c=e[17]("Translations.notFoundText")+"";return{c(){n=me("div"),i=me("p"),r=he(l),a=ge(),o=me("p"),s=he(c),fe(i,"class","SearchMessage"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(n,a),de(n,o),de(o,s)},p(e,t){131072&t[0]&&l!==(l=e[17]("Translations.notFound")+"")&&ye(r,l),131072&t[0]&&c!==(c=e[17]("Translations.notFoundText")+"")&&ye(s,c)},d(e){e&&pe(n)}}}function Ps(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x=n[17]("Translations.cancel")+"";function C(e){return e[14]?Ms:Ss}let k=C(n),F=k(n);return{c(){i=me("div"),r=me("div"),(a=me("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>',o=ge(),s=me("input"),c=ge(),d=me("span"),u=j("svg"),p=j("path"),h=ge(),g=me("small"),f=he(x),v=ge(),F.c(),this.c=W,fe(a,"class","SearchIcon"),fe(s,"class","SearchInput"),fe(s,"type","search"),fe(s,"placeholder",l=n[17]("Translations.placeHolderSearchGames")),fe(s,"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(u,"width","11"),fe(u,"height","11"),fe(u,"fill","none"),fe(u,"xmlns","http://www.w3.org/2000/svg"),fe(d,"class",m="SearchClearButton "+(0!=n[8].length?"":"NotVisible")),fe(g,"class",y="SearchCancelButton "+(n[9]?"NotVisible":"")),fe(r,"class",b="Search "+(n[9]?"":"SearchAnimation")),fe(i,"class",("PC"!==lt(n[18])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),I(s,n[8]),n[29](s),de(r,c),de(r,d),de(d,u),de(u,p),de(r,h),de(r,g),de(g,f),de(i,v),F.m(i,null),n[32](i),w||($=[V(s,"input",n[28]),V(s,"focus",n[19]),V(d,"click",n[30]),V(g,"click",n[31])],w=!0)},p(e,t){131072&t[0]&&l!==(l=e[17]("Translations.placeHolderSearchGames"))&&fe(s,"placeholder",l),256&t[0]&&I(s,e[8]),256&t[0]&&m!==(m="SearchClearButton "+(0!=e[8].length?"":"NotVisible"))&&fe(d,"class",m),131072&t[0]&&x!==(x=e[17]("Translations.cancel")+"")&&ye(f,x),512&t[0]&&y!==(y="SearchCancelButton "+(e[9]?"NotVisible":""))&&fe(g,"class",y),512&t[0]&&b!==(b="Search "+(e[9]?"":"SearchAnimation"))&&fe(r,"class",b),k===(k=C(e))&&F?F.p(e,t):(F.d(1),(F=k(e))&&(F.c(),F.m(i,null)))},i:W,o:W,d(e){e&&pe(i),n[29](null),F.d(),n[32](null),w=!1,Y($)}}}function Bs(i,e,a){let t;ct(i,Ki,e=>a(17,t=e));let n,r,o,s,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:p="en"}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{integratedgameframedesktop:g="false"}=e,{integratedgameframemobile:f="false"}=e,{gamepagemodalurl:y="true"}=e,{translationurl:b=""}=e,{showfavorites:v=""}=e,w=window.navigator.userAgent,$=[],x=[],C={},k="",F=!0,S=!1,M=!1,T=!1,E=[];Object.keys(ks).forEach(e=>{Cs(e,ks[e])});const L=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===(x=(x=localStorage.getItem("searchedGamesWds_casino"))?x.split(","):[]).indexOf(t)&&(x.unshift(t),n=x.join(","),localStorage.setItem("searchedGamesWds_casino",n)))}"UserSessionID"==e.data.type&&(a(15,o=e.data.session),a(16,s=e.data.userid),a(27,T=!0)),"CategoryChange"==e.data.type&&_()},I=()=>{if(a(9,F=!1),a(13,S=!0),l&&c&&p&&k.length<2){a(11,$=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],i=0,r=(t=e?e.split(","):t).length;if(0<r){for(i=0;i<r;i++){let e=new URL(l+"/casino/games/"+t[i]);e.searchParams.append("language",p),e.searchParams.append("datasource",c),e.searchParams.append("platform",lt(w)),n.push(((e,i)=>new Promise((t,n)=>{a(14,M=!0),i&&Object.keys(C).indexOf(i)>=0?(a(14,M=!1),t(C[i])):fetch(e).then(e=>e.json()).then(e=>{a(14,M=!1),e.error||(C[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{a(14,M=!1),console.error(e),n(e)})}))(e,t[i]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),a(11,$=e.map(e=>(e.isFavorite=G(e.id),e)))})}}B(S),"function"==typeof gtag&&gtag("event","SearchInitialized",{context:"SearchWidget"})},G=t=>-1!==E.findIndex(e=>e==t),_=()=>{a(8,k=""),a(9,F=!0),a(14,M=!1),a(11,$=[]),a(13,S=!1),B(S)},P=()=>{a(8,k=""),n.focus()},B=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e})};return it(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})),i.$$set=e=>{"endpoint"in e&&a(0,l=e.endpoint),"datasource"in e&&a(23,c=e.datasource),"session"in e&&a(24,d=e.session),"userid"in e&&a(25,u=e.userid),"lang"in e&&a(1,p=e.lang),"clientstyling"in e&&a(2,m=e.clientstyling),"clientstylingurl"in e&&a(3,h=e.clientstylingurl),"integratedgameframedesktop"in e&&a(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&a(5,f=e.integratedgameframemobile),"gamepagemodalurl"in e&&a(6,y=e.gamepagemodalurl),"translationurl"in e&&a(26,b=e.translationurl),"showfavorites"in e&&a(7,v=e.showfavorites)},i.$$.update=()=>{if(8389379&i.$$.dirty[0])if(2<=k.length){const i=new URL(l+"/casino/games");i.searchParams.append("datasource",c),i.searchParams.append("expand","vendor"),i.searchParams.append("platform",lt(w)),i.searchParams.append("language",p),i.searchParams.append("pagination","offset=0,limit=30"),i.searchParams.append("filter","name="+k),e=i,new Promise((t,n)=>{a(14,M=!0),fetch(e.href).then(e=>e.json()).then(e=>{a(14,M=!1),t(e)}).catch(e=>{a(14,M=!1),console.error(e),n(e)})}).then(e=>{a(11,$=e.items.map(e=>(e.isFavorite=G(e.id),e)))})}else F||I();var e,t,n;if(2&i.$$.dirty[0]&&p&&(n=p,ot.set(n)),67108864&i.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Cs(e,t[e])})}).catch(e=>{console.log(e)}),50331648&i.$$.dirty[0]&&d&&u&&(a(27,T=!0),a(15,o=d),a(16,s=u)),134217856&i.$$.dirty[0]&&v&&T&&(n=new URL(`${l}/player/${s}/favorites/`),a(14,M=!0),t={method:"GET",headers:{"X-SessionID":o}},fetch(n.href,t).then(e=>e.json()).then(e=>{a(14,M=!1),E=e.items.map(e=>e.id)})),1028&i.$$.dirty[0]&&m&&r){let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)}if(1032&i.$$.dirty[0]&&h&&r){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[l,p,m,h,g,f,y,v,k,F,r,$,n,S,M,o,s,t,w,I,i=>{if(0===(null==i?void 0:i.length))return"";let r,a,o=99999999999;const s=new Date(Date.now());return i.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Tr(e).diff(s)<o&&(o=Tr(e).diff(s),a=t),Tr(s).isAfter(n)&&Tr(s).isBefore(e)&&(r=i[a].name)}),r},_,P,c,d,u,b,T,function(){k=this.value,a(8,k)},function(e){rt[e?"unshift":"push"](()=>{n=e,a(12,n)})},()=>P(),()=>_(),function(e){rt[e?"unshift":"push"](()=>{r=e,a(10,r)})}]}function Rs(e,{delay:t=0,duration:n=400,easing:i=w}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:e=>"opacity: "+e*r}}function Ds(n){let i,r,a,o,s,l,c,d,t,u,p,m;return{c(){i=me("div"),r=me("div"),(a=me("div")).innerHTML="<slot></slot>",o=ge(),s=me("span"),(l=me("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(a,"class","ModalContainer"),fe(a,"part","ModalContainer"),fe(l,"name","close"),fe(s,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(s,"part","ModalCloseBtn"),fe(s,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),Z(()=>n[18].call(r)),fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(s,l),n[17](r),d=h(r,n[18].bind(r)),n[19](i),u=!0,p||(m=V(s,"click",n[8]),p=!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(()=>{(t=t||se(r,Rs,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||se(r,Rs,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&pe(i),n[17](null),d(),e&&t&&t.end(),n[19](null),p=!1,m()}}}function As(e){let n,i,r=e[7]&&Ds(e);return{c(){r&&r.c(),n=c(),this.c=W},m(e,t){r&&r.m(e,t),ue(e,n,t),i=!0},p(e,[t]){e[7]?r?(r.p(e,t),128&t&&re(r,1)):((r=Ds(e)).c(),re(r,1),r.m(n.parentNode,n)):r&&(ne(),ae(r,1,1,()=>{r=null}),ie())},i(e){i||(re(r),i=!0)},o(e){ae(r),i=!1},d(e){r&&r.d(e),e&&pe(n)}}}function Ns(e,t,n){let i,r,a,o,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:p=""}=t,{haspanicbutton:m="false"}=t,{gamepagemodalurl:h="false"}=t,{sessioncheck:g="true"}=t,{integratedgameframedesktop:f="false"}=t,y=window.navigator.userAgent,b=!1,v=!1,w=!1;const $=e=>{var t;"ModalClosed"!=e.data.type||"false"==f&&!st(y)||n(7,w=!1),"ShowGameModal"===e.data.type&&(n(7,w=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,w=!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:i?getComputedStyle(i).width:null,modalHeight:i?getComputedStyle(i).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(v=e.data.detailsObtained),"OpenCalendarModal"===e.data.type&&(n(7,w=!0),window.postMessage({type:"DisableScroll"},window.location.href))},x=e=>{var t;v&&(t={modalWidth:getComputedStyle(i).width,modalHeight:getComputedStyle(i).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return it(()=>(n(3,b=st(y)),window.addEventListener("message",$,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",$),window.removeEventListener("resize",$)})),e.$$set=e=>{"duration"in e&&n(0,s=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,u=e.clientstylingurl),"endpoint"in e&&n(13,p=e.endpoint),"haspanicbutton"in e&&n(1,m=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,h=e.gamepagemodalurl),"sessioncheck"in e&&n(15,g=e.sessioncheck),"integratedgameframedesktop"in e&&n(16,f=e.integratedgameframedesktop)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&p&&"true"==g&&Xi(p,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2052&e.$$.dirty&&d&&r){let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)}if(4100&e.$$.dirty&&u&&r){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[s,m,r,b,i,void 0,void 0,w,()=>{n(7,w=!1),n(3,b=st(y)),window.postMessage({type:"ModalClosed",gamepagemodalurl:h,mobileView:b},window.location.href)},l,c,d,u,p,h,g,f,function(e){rt[e?"unshift":"push"](()=>{i=e,n(4,i)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){rt[e?"unshift":"push"](()=>{r=e,n(2,r)})}]}function Os(e,t,n){const i=e.slice();return i[26]=t[n],i[27]=t,i[28]=n,i}function Hs(e,t,n){const i=e.slice();return i[29]=t[n],i[28]=n,i}function js(t){let r,n,a,i,e,o=t[3],s=[];for(let e=0;e<o.length;e+=1)s[e]=Zs(Os(t,o,e));return{c(){r=me("div"),n=me("div"),a=he(t[1]),i=ge();for(let e=0;e<s.length;e+=1)s[e].c();fe(n,"class","CasinoCalendarDailyDay"),fe(r,"class",e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,a),de(r,i);for(let e=0;e<s.length;e+=1)s[e].m(r,null)},p(t,n){if(2&n&&ye(a,t[1]),409&n){let e;for(o=t[3],e=0;e<o.length;e+=1){var i=Os(t,o,e);s[e]?s[e].p(i,n):(s[e]=Zs(i),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}64&n&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&pe(r),H(s,e)}}}function Us(e){let n;return{c(){(n=me("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function zs(e){let n,i;return{c(){n=j("svg"),fe(i=j("path"),"stroke-linecap","round"),fe(i,"stroke-linejoin","round"),fe(i,"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","currentColor"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,i)},d(e){e&&pe(n)}}}function Ws(e){let n,i;return{c(){n=j("svg"),fe(i=j("path"),"stroke-linecap","round"),fe(i,"stroke-linejoin","round"),fe(i,"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","currentColor"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,i)},d(e){e&&pe(n)}}}function Ys(t){let i,r,a=t[26].details,o=[];for(let e=0;e<a.length;e+=1)o[e]=Vs(Hs(t,a,e));let s=t[26].detailsExpanded&&qs(t);return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=ge(),s&&s.c(),r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n),s&&s.m(t,n),ue(t,r,n)},p(t,n){if(280&n){let e;for(a=t[26].details,e=0;e<a.length;e+=1){const s=Hs(t,a,e);o[e]?o[e].p(s,n):(o[e]=Vs(s),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}t[26].detailsExpanded?s?s.p(t,n):((s=qs(t)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){H(o,e),e&&pe(i),s&&s.d(e),e&&pe(r)}}}function Vs(n){let i,r,a,o,s,l,c,d,u=n[29].title+"";function p(){return n[18](n[26],n[28])}return{c(){i=me("div"),r=me("div"),a=me("button"),o=he(u),fe(a,"class",s="HeaderButton "+(n[29].expandedTab?"Active":"")),fe(r,"class","Header"),fe(i,"class",l=n[28]==n[4]?"SelectedTab":""),fe(i,"id","CollapseMoreInfoButton"),P(i,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),c||(d=V(a,"click",p),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(a,"class",s),16&t&&l!==(l=n[28]==n[4]?"SelectedTab":"")&&fe(i,"class",l),8&t&&P(i,"height",n[26].expandedInfo?"100%":"")},d(e){e&&pe(i),c=!1,d()}}}function qs(e){let n,i,r,a=e[26].details[e[4]].description+"";return{c(){n=me("div"),i=he(a),fe(n,"class",r="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),de(n,i)},p(e,t){24&t&&a!==(a=e[26].details[e[4]].description+"")&&ye(i,a),24&t&&r!==(r="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))&&fe(n,"class",r)},d(e){e&&pe(n)}}}function Zs(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C=n[26].title+"",k=n[26].description+"";function F(e){return 1==e[26].expandedInfo?Ws:zs}let S=F(n),M=S(n);function T(){return n[17](n[26],n[27],n[28])}let E=1==n[26].expandedInfo&&Ys(n);return{c(){i=me("div"),r=me("div"),a=he(C),o=ge(),s=me("div"),l=me("img"),u=ge(),p=me("div"),m=he(k),h=ge(),g=me("div"),f=me("button"),y=he(n[0]),b=ge(),M.c(),v=ge(),E&&E.c(),w=ge(),fe(r,"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(p,"class","CasinoCalendarDailyDescription"),fe(f,"class","MoreInfoButton"),fe(g,"class","CasinoCalendarTabs"),fe(i,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,o),de(i,s),de(s,l),de(i,u),de(i,p),de(p,m),de(i,h),de(i,g),de(g,f),de(f,y),de(f,b),M.m(f,null),de(g,v),E&&E.m(g,null),de(i,w),$||(x=V(f,"click",T),$=!0)},p(e,t){n=e,8&t&&C!==(C=n[26].title+"")&&ye(a,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&&k!==(k=n[26].description+"")&&ye(m,k),1&t&&ye(y,n[0]),S!==(S=F(n))&&(M.d(1),(M=S(n))&&(M.c(),M.m(f,null))),1==n[26].expandedInfo?E?E.p(n,t):((E=Ys(n)).c(),E.m(g,null)):E&&(E.d(1),E=null)},d(e){e&&pe(i),M.d(),E&&E.d(),$=!1,x()}}}function Js(n){let i;function r(e){return e[5]?Us:js}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[19](i)},p(e,[t]){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&pe(i),o.d(),n[19](null)}}}function Ks(t,e,i){let n,{dailybackground:r=""}=e,{dailybuttontitle:a=""}=e,{dailyday:o=""}=e,{dailydescription:s="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:p=""}=e,{translationUrl:m=""}=e,h=[],g=0,f=!0,y=!1,b=window.navigator.userAgent;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(w),ot.set(v))});const $=e=>{"DailyEventsData"==e.data.type&&(i(5,f=!1),i(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&&(i(4,g=0),h.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t}))},x=e=>{i(4,g=0),i(3,h[e].detailsExpanded=!h[e].detailsExpanded,h),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetDetails"})},C=(e,t)=>{i(4,g=t),e.details.forEach((e,t)=>{e.expandedTab=g==t})};return it(()=>(window.addEventListener("message",$,!1),st(b)&&i(6,y=!0),()=>{window.removeEventListener("message",$)})),t.$$set=e=>{"dailybackground"in e&&i(9,r=e.dailybackground),"dailybuttontitle"in e&&i(0,a=e.dailybuttontitle),"dailyday"in e&&i(1,o=e.dailyday),"dailydescription"in e&&i(10,s=e.dailydescription),"dailyicon"in e&&i(11,l=e.dailyicon),"dailytitle"in e&&i(12,c=e.dailytitle),"lang"in e&&i(13,d=e.lang),"clientstyling"in e&&i(14,u=e.clientstyling),"clientstylingurl"in e&&i(15,p=e.clientstylingurl),"translationUrl"in e&&i(16,m=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty&&d&&(e=d,ot.set(e)),16388&t.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32772&t.$$.dirty&&p&&n){let e=new URL(p),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},[a,o,n,h,g,f,y,x,C,r,s,l,c,d,u,p,m,(e,t,n)=>{i(3,t[n].expandedInfo=!e.expandedInfo,h),x(n)},(e,t)=>{C(e,t)},function(e){rt[e?"unshift":"push"](()=>{n=e,i(2,n)})}]}function Xs(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C,k,F;return{c(){i=me("div"),r=me("div"),a=me("div"),o=me("div"),(s=me("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=ge(),c=me("div"),d=me("div"),u=me("img"),m=ge(),h=me("div"),g=he(n[2]),f=ge(),y=me("div"),b=ge(),v=me("div"),w=me("button"),$=he(n[3]),this.c=W,fe(s,"class","CalendarBar"),ce(u.src,p=n[1])||fe(u,"src",p),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(a,"class","CasinoCalendarItems"),fe(r,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(o,s),de(o,l),de(o,c),de(c,d),de(d,u),de(c,m),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](i),k||(F=V(w,"click",n[15]),k=!0)},p(e,[t]){2&t&&!ce(u.src,p=e[1])&&fe(u,"src",p),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(r,"class",C)},i:W,o:W,d(e){e&&pe(i),n[14](null),n[16](null),k=!1,F()}}}function Qs(e,t,n){let i,r,{cmsendpoint:a=""}=t,{lang:o=""}=t,{dailybackground:s=""}=t,{dailyicon:l=""}=t,{dailyday:c=""}=t,{dailydescription:d="<p></p>"}=t,{dailybuttontitle:u=""}=t,{index:p="0"}=t,{clientstyling:m=""}=t,{clientstylingurl:h=""}=t;var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(f),ot.set(g))});let y=!1,b=window.navigator.userAgent;const v=()=>{window.postMessage({type:"OpenCalendarModal",index:p},window.location.href),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};return it(()=>{st(b)&&n(7,y=!0)}),e.$$set=e=>{"cmsendpoint"in e&&n(9,a=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,p=e.index),"clientstyling"in e&&n(12,m=e.clientstyling),"clientstylingurl"in e&&n(13,h=e.clientstylingurl)},e.$$.update=()=>{if(2063&e.$$.dirty&&l&&c&&d&&u&&s){let e=document.createElement("div");e.innerHTML=d,i&&i.append(e)}if(4128&e.$$.dirty&&m&&r){let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)}if(8224&e.$$.dirty&&h&&r){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}},[s,l,c,u,p,r,i,y,v,a,o,d,m,h,function(e){rt[e?"unshift":"push"](()=>{i=e,n(6,i)})},()=>v(),function(e){rt[e?"unshift":"push"](()=>{r=e,n(5,r)})}]}function el(e,t,n){const i=e.slice();return i[11]=t[n],i[13]=n,i}function tl(t){let i,r,n,a,o,e,s,l,c,d,u,p=t[1],m=[];for(let e=0;e<p.length;e+=1)m[e]=rl(el(t,p,e));return{c(){i=me("div");for(let e=0;e<m.length;e+=1)m[e].c();r=ge(),n=me("casino-modal"),k(a=me("casino-calendar-daily-details"),"dailybackground",o=t[1][t[2]].dailyBackground),k(a,"dailybuttontitle",e=t[1][t[2]].dailyButtonTitle),k(a,"dailyday",s=t[1][t[2]].dailyDay),k(a,"dailydescription",l=t[1][t[2]].dailyDescription),k(a,"dailyicon",c=t[1][t[2]].dailyIcon),k(a,"dailytitle",d=t[1][t[2]].dailyTitle),k(a,"lang",t[0]),fe(i,"class",u="CasinoCalendarItem "+(t[5]?"Mobile":""))},m(e,t){ue(e,i,t);for(let e=0;e<m.length;e+=1)m[e].m(i,null);de(i,r),de(i,n),de(n,a)},p(t,n){if(3&n){let e;for(p=t[1],e=0;e<p.length;e+=1){const o=el(t,p,e);m[e]?m[e].p(o,n):(m[e]=rl(o),m[e].c(),m[e].m(i,r))}for(;e<m.length;e+=1)m[e].d(1);m.length=p.length}6&n&&o!==(o=t[1][t[2]].dailyBackground)&&k(a,"dailybackground",o),6&n&&e!==(e=t[1][t[2]].dailyButtonTitle)&&k(a,"dailybuttontitle",e),6&n&&s!==(s=t[1][t[2]].dailyDay)&&k(a,"dailyday",s),6&n&&l!==(l=t[1][t[2]].dailyDescription)&&k(a,"dailydescription",l),6&n&&c!==(c=t[1][t[2]].dailyIcon)&&k(a,"dailyicon",c),6&n&&d!==(d=t[1][t[2]].dailyTitle)&&k(a,"dailytitle",d),1&n&&k(a,"lang",t[0]),32&n&&u!==(u="CasinoCalendarItem "+(t[5]?"Mobile":""))&&fe(i,"class",u)},d(e){e&&pe(i),H(m,e)}}}function nl(e){let n;return{c(){(n=me("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function il(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function rl(e){let n,i,r,a,o,s,t;return{c(){k(n=me("casino-calendar-daily-item"),"dailybackground",i=e[11].dailyBackground),k(n,"dailyicon",r=e[11].dailyIcon),k(n,"dailyday",a=e[11].dailyDay),k(n,"dailydescription",o=e[11].dailyDescription),k(n,"dailybuttontitle",s=e[11].dailyButtonTitle),k(n,"index",t=e[13]),k(n,"lang",e[0])},m(e,t){ue(e,n,t)},p(e,t){2&t&&i!==(i=e[11].dailyBackground)&&k(n,"dailybackground",i),2&t&&r!==(r=e[11].dailyIcon)&&k(n,"dailyicon",r),2&t&&a!==(a=e[11].dailyDay)&&k(n,"dailyday",a),2&t&&o!==(o=e[11].dailyDescription)&&k(n,"dailydescription",o),2&t&&s!==(s=e[11].dailyButtonTitle)&&k(n,"dailybuttontitle",s),1&t&&k(n,"lang",e[0])},d(e){e&&pe(n)}}}function al(e){let n;function i(e){return e[4]?il:e[3]?nl:e[1]?.length?tl:void 0}let r=i(e),a=r&&r(e);return{c(){a&&a.c(),n=c(),this.c=W},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,[t]){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n.parentNode,n)))},i:W,o:W,d(e){a&&a.d(e),e&&pe(n)}}}function ol(e,t,n){let i,{cmsendpoint:r=""}=t,{lang:a="en"}=t,o=0,s=!0,l=!1,c=!1,d=window.navigator.userAgent;const u=e=>{e.data&&"OpenCalendarModal"==e.data.type&&(n(2,o=e.data.index),window.postMessage({type:"DailyEventsData",data:null==(e=i[o])?void 0:e.dailyEvents}))};return it(()=>(window.addEventListener("message",u,!1),st(d)&&n(5,c=!0),()=>{window.removeEventListener("message",u)})),e.$$set=e=>{"cmsendpoint"in e&&n(6,r=e.cmsendpoint),"lang"in e&&n(0,a=e.lang)},e.$$.update=()=>{65&e.$$.dirty&&r&&a&&fetch(`${r}/${a}/daily-calendar/`).then(e=>e.json()).then(e=>{n(1,i=e)}).catch(e=>{console.log(e),n(4,l=!0)}).finally(()=>{n(3,s=!1)})},[a,i,o,s,l,c,r]}function sl(e,t,n){const i=e.slice();return i[135]=t[n],i[137]=n,i}function ll(e){let n,i,r,a,o,s,l,c="PC"!==lt(e[78])&&"false"===e[13],d=c&&dl(),u="true"==e[20]&&0==Tl&&!e[74]&&ul(e),p=!e[73]&&!e[72]&&"false"==e[50]&&pl(e);function m(e){return e[68]?gl:e[74]?void 0:hl}let h=m(e),g=h&&h(e),f=e[70]&&"true"==e[16]&&Sl(e);return{c(){n=me("section"),d&&d.c(),i=ge(),r=me("casino-search"),a=ge(),u&&u.c(),o=ge(),p&&p.c(),s=ge(),g&&g.c(),l=ge(),f&&f.c(),k(r,"endpoint",e[1]),k(r,"datasource",e[2]),k(r,"lang",e[4]),k(r,"clientstyling",e[7]),k(r,"clientstylingurl",e[8]),k(r,"integratedgameframedesktop",e[28]),k(r,"integratedgameframemobile",e[29]),k(r,"translationurl",e[9]),k(r,"showfavorites",e[14]),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),P(n,"max-width",e[15]+"px")},m(e,t){ue(e,n,t),d&&d.m(n,null),de(n,i),de(n,r),de(n,a),u&&u.m(n,null),de(n,o),p&&p.m(n,null),de(n,s),g&&g.m(n,null),de(n,l),f&&f.m(n,null)},p(e,t){(c=8192&t[0]?"PC"!==lt(e[78])&&"false"===e[13]:c)?d||((d=dl()).c(),d.m(n,i)):d&&(d.d(1),d=null),2&t[0]&&k(r,"endpoint",e[1]),4&t[0]&&k(r,"datasource",e[2]),16&t[0]&&k(r,"lang",e[4]),128&t[0]&&k(r,"clientstyling",e[7]),256&t[0]&&k(r,"clientstylingurl",e[8]),268435456&t[0]&&k(r,"integratedgameframedesktop",e[28]),536870912&t[0]&&k(r,"integratedgameframemobile",e[29]),512&t[0]&&k(r,"translationurl",e[9]),16384&t[0]&&k(r,"showfavorites",e[14]),"true"!=e[20]||0!=Tl||e[74]?u&&(u.d(1),u=null):u?u.p(e,t):((u=ul(e)).c(),u.m(n,o)),e[73]||e[72]||"false"!=e[50]?p&&(p.d(1),p=null):p?p.p(e,t):((p=pl(e)).c(),p.m(n,s)),h===(h=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=h&&h(e))&&(g.c(),g.m(n,l))),e[70]&&"true"==e[16]?f?f.p(e,t):((f=Sl(e)).c(),f.m(n,null)):f&&(f.d(1),f=null),32768&t[0]&&P(n,"max-width",e[15]+"px")},d(e){e&&pe(n),d&&d.d(),u&&u.d(),p&&p.d(),g&&g.d(),f&&f.d()}}}function cl(e){let n,i,r=e[77]("casinoPage.500")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32768&t[2]&&r!==(r=e[77]("casinoPage.500")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function dl(){let n;return{c(){fe(n=me("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function ul(e){let n;return{c(){k(n=me("casino-random-game"),"datasource",e[2]),k(n,"filteredrandomgamecategories",e[21]),k(n,"endpoint",e[1]),k(n,"lang",e[4]),k(n,"gameevent",e[67]),k(n,"randombuttonicon",e[63]),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&k(n,"datasource",e[2]),2097152&t[0]&&k(n,"filteredrandomgamecategories",e[21]),2&t[0]&&k(n,"endpoint",e[1]),16&t[0]&&k(n,"lang",e[4]),32&t[2]&&k(n,"gameevent",e[67]),2&t[2]&&k(n,"randombuttonicon",e[63]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8])},d(e){e&&pe(n)}}}function pl(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$=n[77]("casinoPage.filters")+"",x=n[76]&&ml(n);return{c(){i=me("div"),x&&x.c(),r=ge(),a=me("div"),o=me("div"),s=he($),l=ge(),c=me("div"),d=j("svg"),u=j("defs"),p=j("style"),m=he(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=j("path"),g=ge(),f=me("div"),y=me("span"),b=he(n[76]),fe(o,"class","FilterButton"),fe(o,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(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(y,"part","NumberOfFilters"),fe(f,"class","NumberOfFiltersContainer"),fe(f,"part","NumberOfFiltersContainer"),fe(c,"class","FilterIconContainer"),fe(c,"part","FilterIconContainer"),fe(a,"class","FilterButtonWrapper"),fe(a,"part","FilterButtonWrapper"),fe(i,"class","FiltersButtonsContainer"),fe(i,"part","FiltersButtonsContainer")},m(e,t){ue(e,i,t),x&&x.m(i,null),de(i,r),de(i,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(d,u),de(u,p),de(p,m),de(d,h),de(c,g),de(c,f),de(f,y),de(y,b),v||(w=V(a,"click",n[86]),v=!0)},p(e,t){e[76]?x?x.p(e,t):((x=ml(e)).c(),x.m(i,r)):x&&(x.d(1),x=null),32768&t[2]&&$!==($=e[77]("casinoPage.filters")+"")&&ye(s,$),16384&t[2]&&ye(b,e[76])},d(e){e&&pe(i),x&&x.d(),v=!1,w()}}}function ml(n){let i,r,a,o,s,l,c,d=n[77]("casinoPage.clear")+"";return{c(){i=me("div"),r=me("div"),a=he(d),o=ge(),(s=me("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(r,"class","ClearButton"),fe(r,"part","ClearButton"),fe(i,"class","ClearFilterButtonWrapper"),fe(i,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),l||(c=V(i,"click",n[85]),l=!0)},p(e,t){32768&t[2]&&d!==(d=e[77]("casinoPage.clear")+"")&&ye(a,d)},d(e){e&&pe(i),l=!1,c()}}}function hl(e){let n;function i(e){return e[73]?bl:e[72]?yl:fl}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function gl(e){let n,i,r=e[77]("casinoPage.loading")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32768&t[2]&&r!==(r=e[77]("casinoPage.loading")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function fl(e){let n;return{c(){k(n=me("casino-games-category-section"),"userid",e[6]),k(n,"endpoint",e[1]),k(n,"datasource",e[2]),k(n,"favorites",e[14]),k(n,"lang",e[4]),k(n,"currency",e[3]),k(n,"session",e[5]),k(n,"categoryid",e[65]),k(n,"categorygames","9"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8]),k(n,"livecasino",e[19]),k(n,"visiblegames",e[12]),k(n,"gamepagemodalurl",e[22]),k(n,"integratedgameframedesktop",e[28]),k(n,"integratedgameframemobile",e[29]),k(n,"casinomygames",e[0]),k(n,"filterbylogo",e[52]),k(n,"addfilterselector",e[50]),k(n,"addsortingselector",e[51])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&k(n,"userid",e[6]),2&t[0]&&k(n,"endpoint",e[1]),4&t[0]&&k(n,"datasource",e[2]),16384&t[0]&&k(n,"favorites",e[14]),16&t[0]&&k(n,"lang",e[4]),8&t[0]&&k(n,"currency",e[3]),32&t[0]&&k(n,"session",e[5]),8&t[2]&&k(n,"categoryid",e[65]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8]),524288&t[0]&&k(n,"livecasino",e[19]),4096&t[0]&&k(n,"visiblegames",e[12]),4194304&t[0]&&k(n,"gamepagemodalurl",e[22]),268435456&t[0]&&k(n,"integratedgameframedesktop",e[28]),536870912&t[0]&&k(n,"integratedgameframemobile",e[29]),1&t[0]&&k(n,"casinomygames",e[0]),2097152&t[1]&&k(n,"filterbylogo",e[52]),524288&t[1]&&k(n,"addfilterselector",e[50]),1048576&t[1]&&k(n,"addsortingselector",e[51])},d(e){e&&pe(n)}}}function yl(e){let n;return{c(){k(n=me("casino-my-games"),"userid",e[6]),k(n,"session",e[5]),k(n,"endpoint",e[1]),k(n,"datasource",e[2]),k(n,"lang",e[4]),k(n,"currency",e[3]),k(n,"favorites",e[14]),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8]),k(n,"livecasino",e[19]),k(n,"visiblegames",e[12]),k(n,"gamepagemodalurl",e[22]),k(n,"integratedgameframedesktop",e[28]),k(n,"integratedgameframemobile",e[29]),k(n,"translationurl",e[9]),k(n,"mostplayed",e[54]),k(n,"lastplayed",e[55]),k(n,"filteredcategories",e[17]),k(n,"activecategory",e[18]),k(n,"lastplayedunique",e[60]),k(n,"categoryindex","0"),k(n,"categoryid","MYGAMES"),k(n,"casinomygames",e[0]),k(n,"lastplayedperiod",e[56]),k(n,"mostplayedperiod",e[57]),k(n,"lastplayedorder",e[58]),k(n,"lastplayedlimit",e[59]),k(n,"mostplayedrounds",e[61])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&k(n,"userid",e[6]),32&t[0]&&k(n,"session",e[5]),2&t[0]&&k(n,"endpoint",e[1]),4&t[0]&&k(n,"datasource",e[2]),16&t[0]&&k(n,"lang",e[4]),8&t[0]&&k(n,"currency",e[3]),16384&t[0]&&k(n,"favorites",e[14]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8]),524288&t[0]&&k(n,"livecasino",e[19]),4096&t[0]&&k(n,"visiblegames",e[12]),4194304&t[0]&&k(n,"gamepagemodalurl",e[22]),268435456&t[0]&&k(n,"integratedgameframedesktop",e[28]),536870912&t[0]&&k(n,"integratedgameframemobile",e[29]),512&t[0]&&k(n,"translationurl",e[9]),8388608&t[1]&&k(n,"mostplayed",e[54]),16777216&t[1]&&k(n,"lastplayed",e[55]),131072&t[0]&&k(n,"filteredcategories",e[17]),262144&t[0]&&k(n,"activecategory",e[18]),536870912&t[1]&&k(n,"lastplayedunique",e[60]),1&t[0]&&k(n,"casinomygames",e[0]),33554432&t[1]&&k(n,"lastplayedperiod",e[56]),67108864&t[1]&&k(n,"mostplayedperiod",e[57]),134217728&t[1]&&k(n,"lastplayedorder",e[58]),268435456&t[1]&&k(n,"lastplayedlimit",e[59]),1073741824&t[1]&&k(n,"mostplayedrounds",e[61])},d(e){e&&pe(n)}}}function bl(t){let r,a=t[75],o=[];for(let e=0;e<a.length;e+=1)o[e]=Fl(sl(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(2143837695&n[0]|8388607&n[1]|8193&n[2]){let e;for(a=t[75],e=0;e<a.length;e+=1){var i=sl(t,a,e);o[e]?o[e].p(i,n):(o[e]=Fl(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function vl(e){let n,i;return{c(){n=me("div"),k(i=me("casino-winners"),"session",e[5]),k(i,"userid",e[6]),k(i,"periodrecent",e[30]),k(i,"periodtop",e[31]),k(i,"numberusersrecent",e[32]),k(i,"numberuserstop",e[33]),k(i,"amountlimit",e[34]),k(i,"isrecentavailable",e[27]),k(i,"istopavailable",e[26]),k(i,"defaultcurrency",e[35]),k(i,"usercurrency",e[3]),k(i,"enableautoscroll",e[25]),k(i,"tabsorder",e[24]),k(i,"lang",e[4]),k(i,"clientstyling",e[7]),k(i,"clientstylingurl",e[8]),k(i,"endpoint",e[1]),k(i,"winnersdatasources",e[62]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[0]&&k(i,"session",e[5]),64&t[0]&&k(i,"userid",e[6]),1073741824&t[0]&&k(i,"periodrecent",e[30]),1&t[1]&&k(i,"periodtop",e[31]),2&t[1]&&k(i,"numberusersrecent",e[32]),4&t[1]&&k(i,"numberuserstop",e[33]),8&t[1]&&k(i,"amountlimit",e[34]),134217728&t[0]&&k(i,"isrecentavailable",e[27]),67108864&t[0]&&k(i,"istopavailable",e[26]),16&t[1]&&k(i,"defaultcurrency",e[35]),8&t[0]&&k(i,"usercurrency",e[3]),33554432&t[0]&&k(i,"enableautoscroll",e[25]),16777216&t[0]&&k(i,"tabsorder",e[24]),16&t[0]&&k(i,"lang",e[4]),128&t[0]&&k(i,"clientstyling",e[7]),256&t[0]&&k(i,"clientstylingurl",e[8]),2&t[0]&&k(i,"endpoint",e[1]),1&t[2]&&k(i,"winnersdatasources",e[62])},d(e){e&&pe(n)}}}function wl(e){let n,i,r;return{c(){n=me("br"),i=ge(),k(r=me("casino-calendar"),"cmsendpoint",e[10]),k(r,"lang",e[4])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,r,t)},p(e,t){1024&t[0]&&k(r,"cmsendpoint",e[10]),16&t[0]&&k(r,"lang",e[4])},d(e){e&&pe(n),e&&pe(i),e&&pe(r)}}}function $l(e){let n,i,r,a;return{c(){n=me("br"),i=ge(),k(r=me("jackpot-banner"),"title","Jackpot Cards"),k(r,"currency",a=e[3]||"RON"),k(r,"gameid","999"),k(r,"endpoint",e[1]),k(r,"lang",e[4]),k(r,"backgroundsrc","/assets/background0.jpg"),k(r,"backgroundsrcmobile","/assets/background0.jpg"),k(r,"titlelogopath","/assets/jackpots_logo.svg"),k(r,"caticon0","/assets/icon0.svg"),k(r,"caticon1","/assets/icon1.svg"),k(r,"caticon2","/assets/icon2.svg"),k(r,"caticon3","/assets/icon3.svg"),k(r,"iconlabels",e[44]),k(r,"visualstructure","typeSpread"),k(r,"clientstyling",e[7]),k(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,r,t)},p(e,t){8&t[0]&&a!==(a=e[3]||"RON")&&k(r,"currency",a),2&t[0]&&k(r,"endpoint",e[1]),16&t[0]&&k(r,"lang",e[4]),8192&t[1]&&k(r,"iconlabels",e[44]),128&t[0]&&k(r,"clientstyling",e[7]),256&t[0]&&k(r,"clientstylingurl",e[8])},d(e){e&&pe(n),e&&pe(i),e&&pe(r)}}}function xl(e){let n,i,r,a;return{c(){n=me("br"),i=ge(),k(r=me("jackpot-banner"),"title","Egypt Quest"),k(r,"currency",a=e[3]||"RON"),k(r,"gameid","998"),k(r,"endpoint",e[1]),k(r,"lang",e[4]),k(r,"backgroundsrc",e[41]),k(r,"backgroundsrcmobile",e[42]),k(r,"titlelogopath",e[43]),k(r,"caticon0",e[37]),k(r,"caticon1",e[38]),k(r,"caticon2",e[39]),k(r,"caticon3",e[40]),k(r,"iconlabels",e[44]),k(r,"visualstructure",e[45]),k(r,"clientstyling",e[7]),k(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,r,t)},p(e,t){8&t[0]&&a!==(a=e[3]||"RON")&&k(r,"currency",a),2&t[0]&&k(r,"endpoint",e[1]),16&t[0]&&k(r,"lang",e[4]),1024&t[1]&&k(r,"backgroundsrc",e[41]),2048&t[1]&&k(r,"backgroundsrcmobile",e[42]),4096&t[1]&&k(r,"titlelogopath",e[43]),64&t[1]&&k(r,"caticon0",e[37]),128&t[1]&&k(r,"caticon1",e[38]),256&t[1]&&k(r,"caticon2",e[39]),512&t[1]&&k(r,"caticon3",e[40]),8192&t[1]&&k(r,"iconlabels",e[44]),16384&t[1]&&k(r,"visualstructure",e[45]),128&t[0]&&k(r,"clientstyling",e[7]),256&t[0]&&k(r,"clientstylingurl",e[8])},d(e){e&&pe(n),e&&pe(i),e&&pe(r)}}}function Cl(e){let n,i;return{c(){k(n=me("casino-collections-providers"),"endpoint",i=e[1].slice(0,-2)),k(n,"datasource",e[2]),k(n,"lang",e[4]),k(n,"type","vendor"),k(n,"titletype","logo"),k(n,"collectionprovidersgamenames",e[49]),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&i!==(i=e[1].slice(0,-2))&&k(n,"endpoint",i),4&t[0]&&k(n,"datasource",e[2]),16&t[0]&&k(n,"lang",e[4]),262144&t[1]&&k(n,"collectionprovidersgamenames",e[49]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8])},d(e){e&&pe(n)}}}function kl(e){let n,i;return{c(){k(n=me("casino-collections-providers"),"endpoint",i=e[1].slice(0,-2)),k(n,"datasource",e[2]),k(n,"lang",e[4]),k(n,"type",e[47]),k(n,"collectionprovidersgamenames",e[49]),k(n,"titletype",e[48]),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&i!==(i=e[1].slice(0,-2))&&k(n,"endpoint",i),4&t[0]&&k(n,"datasource",e[2]),16&t[0]&&k(n,"lang",e[4]),65536&t[1]&&k(n,"type",e[47]),262144&t[1]&&k(n,"collectionprovidersgamenames",e[49]),131072&t[1]&&k(n,"titletype",e[48]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8])},d(e){e&&pe(n)}}}function Fl(n){let i,r,a,o,s,l,c,d,u,p,e,m,h,g,f=n[23]&&n[137]==+n[23]&&vl(n),y=n[53]&&n[137]==+n[53]&&wl(n);function b(e,t){return 32&t[1]|8192&t[2]&&(a=null),32&t[1]|8192&t[2]&&(o=null),(a=null==a?!(!e[36]||e[137]!=(""==e[36].split(",")[0]?e[75].length:+e[36].split(",")[0])):a)?xl:(o=null==o?!(!e[36]||e[137]!=(""==e[36].split(",")[1]?e[75].length:+e[36].split(",")[1])):o)?$l:void 0}let v=b(n,[-1,-1,-1,-1,-1]),w=v&&v(n);function $(e,t){return 32768&t[1]|8192&t[2]&&(l=null),32768&t[1]|8192&t[2]&&(c=null),(l=null==l?!(!e[46]||e[137]!=(""==e[46].split(",")[0]?e[75].length:+e[46].split(",")[0])):l)?kl:(c=null==c?!(!e[46]||e[137]!=(""==e[46].split(",")[1]?e[75].length:+e[46].split(",")[1])):c)?Cl:void 0}let x=$(n,[-1,-1,-1,-1,-1]),C=x&&x(n);return{c(){f&&f.c(),i=ge(),y&&y.c(),r=ge(),w&&w.c(),s=ge(),C&&C.c(),d=ge(),k(u=me("casino-games-category-section"),"session",n[5]),k(u,"userid",n[6]),k(u,"endpoint",n[1]),k(u,"datasource",n[2]),k(u,"lang",n[4]),k(u,"currency",n[3]),k(u,"categoryid",p=n[135]),k(u,"categoryindex",e=n[137]),k(u,"categorygames","9"),k(u,"favorites",n[14]),k(u,"class","CategoryContainer"),P(u,"background-color",n[137]%2!=0?n[11]:"transparent"),k(u,"clientstyling",n[7]),k(u,"clientstylingurl",n[8]),k(u,"livecasino",n[19]),k(u,"visiblegames",n[12]),k(u,"gamepagemodalurl",n[22]),k(u,"integratedgameframedesktop",n[28]),k(u,"integratedgameframemobile",n[29]),k(u,"casinomygames",n[0]),k(u,"filterbylogo",n[52]),k(u,"addfilterselector",n[50]),k(u,"addsortingselector",n[51])},m(e,t){f&&f.m(e,t),ue(e,i,t),y&&y.m(e,t),ue(e,r,t),w&&w.m(e,t),ue(e,s,t),C&&C.m(e,t),ue(e,d,t),ue(e,u,t),h||(g=S(m=n[81].call(null,u,n[135])),h=!0)},p(e,t){(n=e)[23]&&n[137]==+n[23]?f?f.p(n,t):((f=vl(n)).c(),f.m(i.parentNode,i)):f&&(f.d(1),f=null),n[53]&&n[137]==+n[53]?y?y.p(n,t):((y=wl(n)).c(),y.m(r.parentNode,r)):y&&(y.d(1),y=null),v===(v=b(n,t))&&w?w.p(n,t):(w&&w.d(1),(w=v&&v(n))&&(w.c(),w.m(s.parentNode,s))),x===(x=$(n,t))&&C?C.p(n,t):(C&&C.d(1),(C=x&&x(n))&&(C.c(),C.m(d.parentNode,d))),32&t[0]&&k(u,"session",n[5]),64&t[0]&&k(u,"userid",n[6]),2&t[0]&&k(u,"endpoint",n[1]),4&t[0]&&k(u,"datasource",n[2]),16&t[0]&&k(u,"lang",n[4]),8&t[0]&&k(u,"currency",n[3]),8192&t[2]&&p!==(p=n[135])&&k(u,"categoryid",p),16384&t[0]&&k(u,"favorites",n[14]),2048&t[0]&&P(u,"background-color",n[137]%2!=0?n[11]:"transparent"),128&t[0]&&k(u,"clientstyling",n[7]),256&t[0]&&k(u,"clientstylingurl",n[8]),524288&t[0]&&k(u,"livecasino",n[19]),4096&t[0]&&k(u,"visiblegames",n[12]),4194304&t[0]&&k(u,"gamepagemodalurl",n[22]),268435456&t[0]&&k(u,"integratedgameframedesktop",n[28]),536870912&t[0]&&k(u,"integratedgameframemobile",n[29]),1&t[0]&&k(u,"casinomygames",n[0]),2097152&t[1]&&k(u,"filterbylogo",n[52]),524288&t[1]&&k(u,"addfilterselector",n[50]),1048576&t[1]&&k(u,"addsortingselector",n[51]),m&&F(m.update)&&8192&t[2]&&m.update.call(null,n[135])},d(e){f&&f.d(e),e&&pe(i),y&&y.d(e),e&&pe(r),w&&w.d(e),e&&pe(s),C&&C.d(e),e&&pe(d),e&&pe(u),h=!1,g()}}}function Sl(n){let i,r,a,e,t,o,s,l=n[77]("casinoPage.breakButton")+"";return{c(){i=me("div"),r=me("button"),a=he(l),fe(r,"class",e="PanicButton "+("PC"!==lt(n[78])?"PanicButtonMobile ":"")),fe(r,"part",t="PanicButton "+("PC"!==lt(n[78])?"PanicButtonMobile":"")),B(r,"PanicButtonAnimation",n[71]),fe(i,"class",o="PanicSection "+("PC"!==lt(n[78])?"PanicSectionMobile":"")),fe(i,"part",s="PanicSection "+("PC"!==lt(n[78])?"PanicSectionMobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[87](r)},p(e,t){32768&t[2]&&l!==(l=e[77]("casinoPage.breakButton")+"")&&ye(a,l),512&t[2]&&B(r,"PanicButtonAnimation",e[71])},d(e){e&&pe(i),n[87](null)}}}function Ml(n){let i;function r(e){return e[69]?cl:ll}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[88](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&pe(i),o.d(),n[88](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoSearch{margin:30px 16px}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px}.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 #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.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}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop.CasinoSearch{margin:30px 16px}.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 .SearchInput{width:50%}.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}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Bs,Ps,t,{endpoint:0,datasource:23,session:24,userid:25,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,gamepagemodalurl:6,translationurl:26,showfavorites:7},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","translationurl","showfavorites"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[23]}set datasource(e){this.$$set({datasource:e}),f()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[6]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get translationurl(){return this.$$.ctx[26]}set translationurl(e){this.$$set({translationurl:e}),f()}get showfavorites(){return this.$$.ctx[7]}set showfavorites(e){this.$$set({showfavorites:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ns,As,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15,integratedgameframedesktop:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#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-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C)}.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:50vw;padding:20px;text-align:center;margin-bottom:50px;overflow:scroll}.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-color-primary, #D0046C)}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color: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;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-color-primary, #D0046C)}.Mobile{max-height:70vh;margin-bottom:0}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ks,Js,t,{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),f()))}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}),f()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),f()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),f()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),f()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),f()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),f()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:scroll;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:linear-gradient(#e2e2e2, #b5b5b5);border-radius:4px 4px 0 0;border-bottom:3px solid #888;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 #fff;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:#fff;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:#fff;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}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:72px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:80%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:10px 6px;border-radius:5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Qs,Xs,t,{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),f()))}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}),f()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),f()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),f()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),f()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),f()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),f()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),f()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),f()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:flex-start;text-align:left;gap:10px}.Mobile{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ol,al,t,{cmsendpoint:6,lang:0},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["cmsendpoint","lang"]}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),f()}});let Tl=!1;function El(e,t,l){let R;ct(e,Ki,e=>l(77,R=e));let D,{endpoint:c=""}=t,{datasource:n=""}=t,{currency:A=""}=t,{lang:r=""}=t,{session:a=""}=t,{userid:o=""}=t,{clientstyling:s=""}=t,{clientstylingurl:d=""}=t,{translationurl:u=""}=t,{cmsendpoint:N=""}=t,{categorybackground:O=""}=t,H=t["visiblegames"],{alternativesearch:j="false"}=t,{favorites:p=""}=t,{containermaxwidth:U="1300"}=t,{lobbyid:z="casinodefault"}=t,{haspanicbutton:W="false"}=t,{filteredcategories:m=""}=t,{activecategory:h=""}=t,{livecasino:Y="false"}=t,{playrandomgame:V="false"}=t,{filteredrandomgamecategories:q=""}=t,{gamepagemodalurl:Z="false"}=t,{positionwinnerswidget:J=""}=t,{tabsorder:K=""}=t,{enableautoscroll:X=""}=t,{istopavailable:Q=""}=t,{isrecentavailable:ee=""}=t,{integratedgameframedesktop:te="false"}=t,{integratedgameframemobile:ne="false"}=t,{periodrecent:ie=""}=t,{periodtop:re=""}=t,{numberusersrecent:ae=""}=t,{numberuserstop:oe=""}=t,{amountlimit:se=""}=t,{defaultcurrency:le=""}=t,{showsubgroups:ce=""}=t,{positionjackpotbanners:de=""}=t,{caticon0:ue=""}=t,{caticon1:pe=""}=t,{caticon2:me=""}=t,{caticon3:he=""}=t,{backgroundsrc:ge=""}=t,{backgroundsrcmobile:fe=""}=t,{titlelogopath:ye=""}=t,{iconlabels:be=""}=t,{visualstructure:ve=""}=t,{positioncollections:we=""}=t,{type:$e=""}=t,{titletype:xe=""}=t,{collectionprovidersgamenames:Ce=""}=t,{addfilterselector:ke="false"}=t,{addsortingselector:Fe="false"}=t,{filterbylogo:Se=""}=t,{positioncasinocalendar:Me=""}=t,{casinomygames:g="false"}=t,{mostplayed:Te=""}=t,{lastplayed:Ee=""}=t,{lastplayedperiod:Le="Last30Days"}=t,{mostplayedperiod:Ie="Last30Days"}=t,{lastplayedorder:Ge=""}=t,{lastplayedlimit:_e=""}=t,{lastplayedunique:Pe="true"}=t,{mostplayedrounds:Be=""}=t,{winnersdatasources:Re=""}=t,{randombuttonicon:De=""}=t,Ae=window.navigator.userAgent;D=st(Ae)?"OpenGameFrame":"ShowGameModal";let f,y,b,Ne,v,w,Oe,He,i,$,x=!1,C=!1,je=!1,k="",F=!1,S=0,M=!1,T=!0,Ue=!1,ze=[],E=[],We=!1,L=[],Ye=0,I="",Ve=!1;var qe,Ze;({withLocale:qe,translations:Ze}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(Ze),ot.set(qe))}),Object.keys(Cr).forEach(e=>{xr(e,Cr[e])});const Je=e=>{switch(We=!0,l(0,g="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:We},window.location.href)}),e.data.itemId){case"LOBBY":l(73,T=!0),l(72,M=!1),l(65,v="");break;case"MYGAMES":l(0,g="true"),l(73,T=!1),l(72,M=!0),l(65,v="");break;case"FAVORITES":l(73,T=!1),l(72,M=!0),l(65,v="");break;case"MOSTPLAYED":"true"==Te&&(l(65,v=""),l(73,T=!1),l(72,M=!0));break;case"LASTPLAYED":"true"==Ee&&(l(65,v=""),l(73,T=!1),l(72,M=!0));break;default:l(73,T=!1),l(72,M=!1),l(65,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},Ke=n=>{if(n.data)switch(n.data.type){case"CategoryChange":Je(n);break;case"UserSessionID":y=n.data.session,(f=n.data.userID)&&f.length&&y&&0<y.length&&G(c,y,f);break;case"SetUnfavoredGame":t=`${c}/player/${f}/favorites`,o=y,f,s=n.data.id,L.includes(s)&&(L=L.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),Xe(t,o)});break;case"SetFavoredGame":{var i=`${c}/player/${f}/favorites`;var r=y;f;var a=n.data.id;L.includes(a)||L.push(a);let e={items:L},t={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(i,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),Xe(i,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&G(c,y,f);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),_();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),_();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:I,origin:n.data.origin},window.location.href),_();break;case"CategoryVendors":I=n.data.categoryid,_();break;case"searchCancelled":l(74,Ue=!1),v&&Je({data:{itemId:v}});break;case"searchActive":l(74,Ue=!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 G=(e,t,n)=>{"true"==p&&a&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((i=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i},window.location.href),tt(i.items)),i)).then(e=>e).catch(e=>{console.error(e)})},Xe=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((i=e)&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i},window.location.href),i)).catch(e=>{console.error(e)})};const Qe=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},et=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},tt=(e=[])=>(L=[],0<e.length&&e.forEach(e=>{L.push(e.id)}),L);const _=()=>{var e=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e&&I&&(e[I]?l(76,Ye=e[I].length):l(76,Ye=0))},nt=()=>{w&&(Oe=w.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},P=e=>{S=0,Ne=setInterval(()=>{S+=1,l(71,F=!0),3<=S&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Ne))},1e3)},B=e=>{S<3&&l(71,F=!1),clearInterval(Ne)};return it(()=>(window.addEventListener("scroll",nt,!1),window.addEventListener("message",Ke,!1),()=>{window.removeEventListener("scroll",nt),window.removeEventListener("message",Ke),l(71,F=!1),null!=b&&b.removeEventListener("mousedown",P),null!=b&&b.removeEventListener("touchstart",P),null!=b&&b.removeEventListener("mouseup",B),null!=b&&b.removeEventListener("touchend",B)})),e.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"datasource"in e&&l(2,n=e.datasource),"currency"in e&&l(3,A=e.currency),"lang"in e&&l(4,r=e.lang),"session"in e&&l(5,a=e.session),"userid"in e&&l(6,o=e.userid),"clientstyling"in e&&l(7,s=e.clientstyling),"clientstylingurl"in e&&l(8,d=e.clientstylingurl),"translationurl"in e&&l(9,u=e.translationurl),"cmsendpoint"in e&&l(10,N=e.cmsendpoint),"categorybackground"in e&&l(11,O=e.categorybackground),"visiblegames"in e&&l(12,H=e.visiblegames),"alternativesearch"in e&&l(13,j=e.alternativesearch),"favorites"in e&&l(14,p=e.favorites),"containermaxwidth"in e&&l(15,U=e.containermaxwidth),"lobbyid"in e&&l(82,z=e.lobbyid),"haspanicbutton"in e&&l(16,W=e.haspanicbutton),"filteredcategories"in e&&l(17,m=e.filteredcategories),"activecategory"in e&&l(18,h=e.activecategory),"livecasino"in e&&l(19,Y=e.livecasino),"playrandomgame"in e&&l(20,V=e.playrandomgame),"filteredrandomgamecategories"in e&&l(21,q=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(22,Z=e.gamepagemodalurl),"positionwinnerswidget"in e&&l(23,J=e.positionwinnerswidget),"tabsorder"in e&&l(24,K=e.tabsorder),"enableautoscroll"in e&&l(25,X=e.enableautoscroll),"istopavailable"in e&&l(26,Q=e.istopavailable),"isrecentavailable"in e&&l(27,ee=e.isrecentavailable),"integratedgameframedesktop"in e&&l(28,te=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(29,ne=e.integratedgameframemobile),"periodrecent"in e&&l(30,ie=e.periodrecent),"periodtop"in e&&l(31,re=e.periodtop),"numberusersrecent"in e&&l(32,ae=e.numberusersrecent),"numberuserstop"in e&&l(33,oe=e.numberuserstop),"amountlimit"in e&&l(34,se=e.amountlimit),"defaultcurrency"in e&&l(35,le=e.defaultcurrency),"showsubgroups"in e&&l(83,ce=e.showsubgroups),"positionjackpotbanners"in e&&l(36,de=e.positionjackpotbanners),"caticon0"in e&&l(37,ue=e.caticon0),"caticon1"in e&&l(38,pe=e.caticon1),"caticon2"in e&&l(39,me=e.caticon2),"caticon3"in e&&l(40,he=e.caticon3),"backgroundsrc"in e&&l(41,ge=e.backgroundsrc),"backgroundsrcmobile"in e&&l(42,fe=e.backgroundsrcmobile),"titlelogopath"in e&&l(43,ye=e.titlelogopath),"iconlabels"in e&&l(44,be=e.iconlabels),"visualstructure"in e&&l(45,ve=e.visualstructure),"positioncollections"in e&&l(46,we=e.positioncollections),"type"in e&&l(47,$e=e.type),"titletype"in e&&l(48,xe=e.titletype),"collectionprovidersgamenames"in e&&l(49,Ce=e.collectionprovidersgamenames),"addfilterselector"in e&&l(50,ke=e.addfilterselector),"addsortingselector"in e&&l(51,Fe=e.addsortingselector),"filterbylogo"in e&&l(52,Se=e.filterbylogo),"positioncasinocalendar"in e&&l(53,Me=e.positioncasinocalendar),"casinomygames"in e&&l(0,g=e.casinomygames),"mostplayed"in e&&l(54,Te=e.mostplayed),"lastplayed"in e&&l(55,Ee=e.lastplayed),"lastplayedperiod"in e&&l(56,Le=e.lastplayedperiod),"mostplayedperiod"in e&&l(57,Ie=e.mostplayedperiod),"lastplayedorder"in e&&l(58,Ge=e.lastplayedorder),"lastplayedlimit"in e&&l(59,_e=e.lastplayedlimit),"lastplayedunique"in e&&l(60,Pe=e.lastplayedunique),"mostplayedrounds"in e&&l(61,Be=e.mostplayedrounds),"winnersdatasources"in e&&l(62,Re=e.winnersdatasources),"randombuttonicon"in e&&l(63,De=e.randombuttonicon)},e.$$.update=()=>{var i,t;if((262160&e.$$.dirty[0]&&r&&h&&(l(65,v=h),Je({data:{itemId:v}})),98&e.$$.dirty[0]&&a&&o&&c&&(l(70,je=!0),y=a,(f=o)&&f.length&&y&&0<y.length&&"true"!=g&&G(c,y,f)),4194312&e.$$.dirty[2]&&v&&E&&E&&!E.includes(decodeURI(v))&&""!=v&&window.postMessage({type:"NonExistentCategory"},window.location.href),8214&e.$$.dirty[0]&&c&&n&&r&&j)&&(c||(k="Endpoint is missing! Please provide a valid endpointURL.",l(69,C=!0),l(68,x=!1),console.error(k)),n||(k="Datasource is missing! Please provide a valid datasource.",l(69,C=!0),l(68,x=!1),console.error(k)),(!r||r.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",l(69,C=!0),l(68,x=!1),console.error(k)),!C)){l(68,x=!0),"true"==p&&G(c,y,f),t=r,ot.set(t);let e=new URL(c+"/casino/groups/"+n);e.searchParams.append("language",r),e.searchParams.append("platform",lt(Ae)),i=e,new Promise((t,n)=>{l(68,x=!0),fetch(i).then(e=>e.json()).then(e=>{l(68,x=!1),t(e)}).catch(e=>{l(69,C=!0),l(68,x=!1),console.error(e),n(e)})}).then(e=>{let i=m.split(",");e&&(He=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,m))for(var n of i)e.flags==n&&(t=!1);return t}),l(75,ze=He.filter(e=>{return!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==ce)}).map(e=>e.id)),l(84,E=e.items.map(e=>e.id.toString())),l(68,x=!1))}),_(),(w=void 0)&&(Oe=w.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(16&e.$$.dirty[0]&&r&&(Ve&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Ve=!1),512&e.$$.dirty[0]&&u&&(t=new URL(u),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{xr(e,t[e])})}).catch(e=>{console.log(e)})),128&e.$$.dirty[0]|16&e.$$.dirty[2]&&s&&$){let e=document.createElement("style");e.innerHTML=s,$.appendChild(e)}if(256&e.$$.dirty[0]|16&e.$$.dirty[2]&&d&&$){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}4&e.$$.dirty[2]&&b&&(null!=b&&b.addEventListener("mousedown",P,!1),null!=b&&b.addEventListener("touchstart",P,!1),null!=b&&b.addEventListener("mouseup",B,!1),null!=b&&b.addEventListener("touchend",B,!1))},[g,c,n,A,r,a,o,s,d,u,N,O,H,j,p,U,W,m,h,Y,V,q,Z,J,K,X,Q,ee,te,ne,ie,re,ae,oe,se,le,de,ue,pe,me,he,ge,fe,ye,be,ve,we,$e,xe,Ce,ke,Fe,Se,Me,Te,Ee,Le,Ie,Ge,_e,Pe,Be,Re,De,b,v,$,D,x,C,je,F,M,T,Ue,ze,Ye,R,Ae,Qe,et,(e,t)=>{I=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:H,receivedFavoriteResults:i},window.location.href)},z,ce,E,()=>et(),()=>{Qe()},function(e){rt[e?"unshift":"push"](()=>{b=e,l(64,b)})},function(e){rt[e?"unshift":"push"](()=>{$=e,l(66,$)})}]}function Ll(e,t){Ii(e,t)}customElements.get("casino-page")||customElements.define("casino-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;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-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.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){}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},El,Ml,t,{endpoint:1,datasource:2,currency:3,lang:4,session:5,userid:6,clientstyling:7,clientstylingurl:8,translationurl:9,cmsendpoint:10,categorybackground:11,visiblegames:12,alternativesearch:13,favorites:14,containermaxwidth:15,lobbyid:82,haspanicbutton:16,filteredcategories:17,activecategory:18,livecasino:19,playrandomgame:20,filteredrandomgamecategories:21,gamepagemodalurl:22,positionwinnerswidget:23,tabsorder:24,enableautoscroll:25,istopavailable:26,isrecentavailable:27,integratedgameframedesktop:28,integratedgameframemobile:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:34,defaultcurrency:35,showsubgroups:83,positionjackpotbanners:36,caticon0:37,caticon1:38,caticon2:39,caticon3:40,backgroundsrc:41,backgroundsrcmobile:42,titlelogopath:43,iconlabels:44,visualstructure:45,positioncollections:46,type:47,titletype:48,collectionprovidersgamenames:49,addfilterselector:50,addsortingselector:51,filterbylogo:52,positioncasinocalendar:53,casinomygames:0,mostplayed:54,lastplayed:55,lastplayedperiod:56,mostplayedperiod:57,lastplayedorder:58,lastplayedlimit:59,lastplayedunique:60,mostplayedrounds:61,winnersdatasources:62,randombuttonicon:63},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","alternativesearch","favorites","containermaxwidth","lobbyid","haspanicbutton","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","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","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[3]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[5]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[6]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),f()}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get categorybackground(){return this.$$.ctx[11]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),f()}get containermaxwidth(){return this.$$.ctx[15]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[82]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[18]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[19]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[20]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[21]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get gamepagemodalurl(){return this.$$.ctx[22]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[23]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[24]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[25]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[26]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[27]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[28]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[29]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[31]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[34]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get showsubgroups(){return this.$$.ctx[83]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get positionjackpotbanners(){return this.$$.ctx[36]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[37]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[38]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[39]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[40]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[41]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[42]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[43]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[44]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[45]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get positioncollections(){return this.$$.ctx[46]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[47]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[48]}set titletype(e){this.$$set({titletype:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[49]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}get addfilterselector(){return this.$$.ctx[50]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[51]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[52]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}get positioncasinocalendar(){return this.$$.ctx[53]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),f()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get mostplayed(){return this.$$.ctx[54]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[55]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[56]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get mostplayedperiod(){return this.$$.ctx[57]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}get lastplayedorder(){return this.$$.ctx[58]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[59]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get lastplayedunique(){return this.$$.ctx[60]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}get mostplayedrounds(){return this.$$.ctx[61]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get winnersdatasources(){return this.$$.ctx[62]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),f()}get randombuttonicon(){return this.$$.ctx[63]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}});const Il={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."}},"zh-hk":{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."}},de:{gamePage:{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:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off",loading:"Loading, please wait..."}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter..."}},es:{gamePage:{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:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off",loading:"Yükleniyor, lütfen bekleyin..."}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off",loading:"Loading, please wait..."}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off",loading:"Se incarca, te rugam asteapta…"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Betöltés, kérjük várjon..."}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo",loading:"Carregando, por favor espere ..."}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."}}};function Gl(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,i=window.cstmNativeBridge.EVENTS[e];if(i){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[i],window.cstmNativeBridge.eventListeners[i]=function(){delete window.cstmNativeBridge.eventListeners[i],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var _l=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},Pl=function(e,...t){try{return Gl(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function Bl(n){let i,r,a=n[13]&&Al(n);return{c(){i=me("div"),r=me("div"),a&&a.c(),fe(r,"class","CasinoGamePageContainer"),fe(r,"part","CasinoGamePageContainer"),P(r,"background","rgba(0, 0, 0, 0.5)"),fe(i,"class","GamePageBackground"),P(i,"background",n[22]?"":`url(${n[12].backgroundImageUrl})`),P(i,"background-size","cover")},m(e,t){ue(e,i,t),de(i,r),a&&a.m(r,null),n[84](i)},p(e,t){e[13]?a?a.p(e,t):((a=Al(e)).c(),a.m(r,null)):a&&(a.d(1),a=null),4198400&t[0]&&P(i,"background",e[22]?"":`url(${e[12].backgroundImageUrl})`)},d(e){e&&pe(i),a&&a.d(),n[84](null)}}}function Rl(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function Dl(e){let n,i,r=e[26]("gamePage.loading")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){67108864&t[0]&&r!==(r=e[26]("gamePage.loading")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Al(e){let n;function i(e){return e[22]?Hl:e[6]?Ol:e[7]?void 0:Nl}let r=i(e),a=r&&r(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a&&a.d(e),e&&pe(n)}}}function Nl(e){let n;function i(e){return e[14]?Ul:jl}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function Ol(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$=n[26]("gamePage.deposit")+"",x="true"===n[1]&&Yl(n);function C(e){return e[19]?ql:Vl}let k=C(n),F=k(n);return{c(){i=me("div"),r=me("div"),a=me("iframe"),s=ge(),l=me("div"),c=me("button"),d=he($),u=ge(),p=me("p"),m=me("span"),h=he(n[4]),g=ge(),x&&x.c(),f=ge(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[12].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(p,"class","Time"),fe(p,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(r,"id","IframeGame"),fe(r,"part","IframeGame"),fe(r,"style",n[25]),fe(i,"id","IframeContainer"),fe(i,"part","IframeContainer"),P(i,"width",n[20]),P(i,"height",n[21]),B(i,"FullsScreenLayout",n[19])},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[64](a),de(r,s),de(r,l),de(l,c),de(c,d),de(l,u),de(l,p),de(p,m),de(m,h),n[66](p),de(l,g),x&&x.m(l,null),de(l,f),F.m(l,null),n[70](l),n[71](r),n[72](i),v||(w=V(c,"click",n[65]),v=!0)},p(e,t){4096&t[0]&&!ce(a.src,o=e[12].launchUrl)&&fe(a,"src",o),67108864&t[0]&&$!==($=e[26]("gamePage.deposit")+"")&&ye(d,$),16&t[0]&&ye(h,e[4]),"true"===e[1]?x?x.p(e,t):((x=Yl(e)).c(),x.m(l,f)):x&&(x.d(1),x=null),k===(k=C(e))&&F?F.p(e,t):(F.d(1),(F=k(e))&&(F.c(),F.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),33554432&t[0]&&fe(r,"style",e[25]),1048576&t[0]&&P(i,"width",e[20]),2097152&t[0]&&P(i,"height",e[21]),524288&t[0]&&B(i,"FullsScreenLayout",e[19])},d(e){e&&pe(i),n[64](null),n[66](null),x&&x.d(),F.d(),n[70](null),n[71](null),n[72](null),v=!1,w()}}}function Hl(e){let n;function i(e){return e[6]?Kl:e[15]&&!e[7]?Jl:e[7]?void 0:Zl}let r=i(e),a=r&&r(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a&&a.d(e),e&&pe(n)}}}function jl(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$=n[12].name+"",x=n[26]("gamePage.signIn")+"",C=n[26]("gamePage.register")+"";return{c(){i=me("div"),r=me("h3"),a=he($),o=ge(),s=me("img"),c=ge(),d=me("div"),u=me("button"),p=he(x),m=ge(),h=me("button"),g=he(C),f=ge(),y=me("p"),b=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(h,"class","RegisterButton"),fe(h,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,o),de(i,s),de(i,c),de(i,d),de(d,u),de(u,p),de(d,m),de(d,h),de(h,g),de(i,f),de(i,y),de(y,b),v||(w=[V(u,"click",n[82]),V(h,"click",n[83])],v=!0)},p(e,t){4096&t[0]&&$!==($=e[12].name+"")&&ye(a,$),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&x!==(x=e[26]("gamePage.signIn")+"")&&ye(p,x),67108864&t[0]&&C!==(C=e[26]("gamePage.register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4])},d(e){e&&pe(i),v=!1,Y(w)}}}function Ul(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x=n[26]("gamePage.signIn")+"",C=n[26]("gamePage.register")+"";function k(e){return e[19]?Wl:zl}let F=k(n),S=F(n);return{c(){i=me("div"),r=me("div"),a=me("iframe"),s=ge(),l=me("div"),c=me("div"),d=me("button"),u=he(x),p=ge(),m=me("button"),h=he(C),g=ge(),f=me("p"),y=me("span"),b=he(n[4]),v=ge(),S.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[12].launchUrl)||fe(a,"src",o),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(r,"id","IframeGame"),fe(r,"part","IframeGame"),fe(r,"style",n[25]),fe(i,"id","IframeContainer"),fe(i,"part","IframeContainer"),P(i,"width",n[20]),P(i,"height",n[21]),B(i,"FullsScreenLayout",n[19])},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[73](a),de(r,s),de(r,l),de(l,c),de(c,d),de(d,u),de(c,p),de(c,m),de(m,h),de(l,g),de(l,f),de(f,y),de(y,b),n[76](f),de(l,v),S.m(l,null),n[79](l),n[80](r),n[81](i),w||($=[V(d,"click",n[74]),V(m,"click",n[75])],w=!0)},p(e,t){4096&t[0]&&!ce(a.src,o=e[12].launchUrl)&&fe(a,"src",o),67108864&t[0]&&x!==(x=e[26]("gamePage.signIn")+"")&&ye(u,x),67108864&t[0]&&C!==(C=e[26]("gamePage.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(r,"style",e[25]),1048576&t[0]&&P(i,"width",e[20]),2097152&t[0]&&P(i,"height",e[21]),524288&t[0]&&B(i,"FullsScreenLayout",e[19])},d(e){e&&pe(i),n[73](null),n[76](null),S.d(),n[79](null),n[80](null),n[81](null),w=!1,Y($)}}}function zl(n){let i,r,a;return{c(){(i=me("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(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[78]),r=!0)},p:W,d(e){e&&pe(i),r=!1,a()}}}function Wl(n){let i,r,a;return{c(){(i=me("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[77]),r=!0)},p:W,d(e){e&&pe(i),r=!1,a()}}}function Yl(n){let i,r,a,o=n[26]("gamePage.breakButton")+"";return{c(){i=me("div"),r=me("button"),a=he(o),fe(r,"class","Button"),fe(r,"part","Button"),B(r,"PanicButtonAnimation",n[11]),fe(i,"class","PanicSection"),fe(i,"part","PanicSection")},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[67](r)},p(e,t){67108864&t[0]&&o!==(o=e[26]("gamePage.breakButton")+"")&&ye(a,o),2048&t[0]&&B(r,"PanicButtonAnimation",e[11])},d(e){e&&pe(i),n[67](null)}}}function Vl(n){let i,r,a;return{c(){(i=me("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(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[69]),r=!0)},p:W,d(e){e&&pe(i),r=!1,a()}}}function ql(n){let i,r,a;return{c(){(i=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[68]),r=!0)},p:W,d(e){e&&pe(i),r=!1,a()}}}function Zl(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$=n[12].name+"",x=n[26]("gamePage.signIn")+"",C=n[26]("gamePage.register")+"";return{c(){i=me("div"),r=me("h3"),a=he($),o=ge(),s=me("img"),c=ge(),d=me("div"),u=me("button"),p=he(x),m=ge(),h=me("button"),g=he(C),f=ge(),y=me("p"),b=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(h,"class","RegisterButton"),fe(h,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,o),de(i,s),de(i,c),de(i,d),de(d,u),de(u,p),de(d,m),de(d,h),de(h,g),de(i,f),de(i,y),de(y,b),v||(w=[V(u,"click",n[62]),V(h,"click",n[63])],v=!0)},p(e,t){4096&t[0]&&$!==($=e[12].name+"")&&ye(a,$),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&x!==(x=e[26]("gamePage.signIn")+"")&&ye(p,x),67108864&t[0]&&C!==(C=e[26]("gamePage.register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4])},d(e){e&&pe(i),v=!1,Y(w)}}}function Jl(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C,k=n[12].name+"",F=n[26]("gamePage.signIn")+"",S=n[26]("gamePage.register")+"",M=n[26]("gamePage.playForFun")+"";return{c(){i=me("div"),r=me("h3"),a=he(k),o=ge(),s=me("img"),c=ge(),d=me("div"),u=me("button"),p=he(F),m=ge(),h=me("button"),g=he(S),f=ge(),y=me("button"),b=he(M),v=ge(),w=me("p"),$=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(h,"class","RegisterButton"),fe(h,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,o),de(i,s),de(i,c),de(i,d),de(d,u),de(u,p),de(d,m),de(d,h),de(h,g),de(d,f),de(d,y),de(y,b),de(i,v),de(i,w),de(w,$),x||(C=[V(u,"click",n[59]),V(h,"click",n[60]),V(y,"click",n[61])],x=!0)},p(e,t){4096&t[0]&&k!==(k=e[12].name+"")&&ye(a,k),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&F!==(F=e[26]("gamePage.signIn")+"")&&ye(p,F),67108864&t[0]&&S!==(S=e[26]("gamePage.register")+"")&&ye(g,S),67108864&t[0]&&M!==(M=e[26]("gamePage.playForFun")+"")&&ye(b,M),16&t[0]&&ye($,e[4])},d(e){e&&pe(i),x=!1,Y(C)}}}function Kl(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C=n[12].name+"",k=n[26]("gamePage.deposit")+"",F=n[26]("gamePage.playNow")+"",S="true"==n[0]&&Xl(n),M="true"===n[1]&&nc(n);return{c(){S&&S.c(),i=ge(),r=me("div"),a=me("h3"),o=he(C),s=ge(),l=me("img"),d=ge(),u=me("div"),p=me("button"),m=he(k),h=ge(),g=me("button"),f=he(F),y=ge(),M&&M.c(),b=ge(),v=me("p"),w=he(n[4]),ce(l.src,c=n[12].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(p,"class","DepositButton"),fe(p,"part","DepositButton"),fe(g,"class","PlayNowButton"),fe(g,"part","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){S&&S.m(e,t),ue(e,i,t),ue(e,r,t),de(r,a),de(a,o),de(r,s),de(r,l),de(r,d),de(r,u),de(u,p),de(p,m),de(u,h),de(u,g),de(g,f),de(r,y),M&&M.m(r,null),de(r,b),de(r,v),de(v,w),$||(x=[V(p,"click",n[56]),V(g,"click",n[57])],$=!0)},p(e,t){"true"==e[0]?S?S.p(e,t):((S=Xl(e)).c(),S.m(i.parentNode,i)):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]("gamePage.deposit")+"")&&ye(m,k),67108864&t[0]&&F!==(F=e[26]("gamePage.playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):((M=nc(e)).c(),M.m(r,b)):M&&(M.d(1),M=null),16&t[0]&&ye(w,e[4])},d(e){S&&S.d(e),e&&pe(i),e&&pe(r),M&&M.d(),$=!1,Y(x)}}}function Xl(e){let n,i=!e[8]&&Ql(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[8]?i&&(i.d(1),i=null):i?i.p(e,t):((i=Ql(e)).c(),i.m(n.parentNode,n))},d(e){i&&i.d(e),e&&pe(n)}}}function Ql(e){let n;function i(e){return e[12].isFavored?tc:ec}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function ec(n){let i,r,a,o,s,l,c;return{c(){i=me("div"),r=j("svg"),P(a=j("path"),"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","20px"),fe(r,"y","20px"),fe(r,"viewBox","0 0 512.001 512.001"),P(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(i,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(i,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),l||(c=V(i,"click",n[55]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"part",s)},d(e){e&&pe(i),l=!1,c()}}}function tc(n){let i,r,a,o,s,l,c;return{c(){i=me("div"),r=j("svg"),P(a=j("path"),"fill","white"),fe(a,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),fe(r,"version","1.1"),fe(r,"class","FavoredIcon"),fe(r,"part","FavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"viewBox","0 0 19.481 19.481"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"enable-background","new 0 0 19.481 19.481"),fe(i,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(i,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),l||(c=V(i,"click",n[54]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"part",s)},d(e){e&&pe(i),l=!1,c()}}}function nc(n){let i,r,a,e,t,o,s,l=n[26]("gamePage.breakButton")+"";return{c(){i=me("div"),r=me("button"),a=he(l),fe(r,"class",e="PanicButton "+("PC"!==lt(n[27])?"PanicButtonMobile":"")),fe(r,"part",t="PanicButton "+("PC"!==lt(n[27])?"PanicButtonMobile":"")),B(r,"PanicButtonAnimation",n[11]),fe(i,"class",o="PanicSection "+("PC"!==lt(n[27])?"PanicSectionMobile":"")),fe(i,"part",s="PanicSection "+("PC"!==lt(n[27])?"PanicSectionMobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[58](r)},p(e,t){67108864&t[0]&&l!==(l=e[26]("gamePage.breakButton")+"")&&ye(a,l),2048&t[0]&&B(r,"PanicButtonAnimation",e[11])},d(e){e&&pe(i),n[58](null)}}}function ic(n){let i;function r(e){return e[10]?Dl:e[9]?Rl:Bl}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[85](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&pe(i),o.d(),n[85](null)}}}function rc(t,e,r){let R;ct(t,Ki,e=>r(26,R=e));let D,n,i,a,A,o,s,l,c,N,O,d,u,H,j,p,m,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:z=""}=e,{depositurl:W=""}=e,{loginevent:k=""}=e,{registerevent:F=""}=e,{depositevent:Y=""}=e,{clockformat:V=""}=e,{haspanicbutton:q="false"}=e,{playforfun:S="true"}=e,{checksession:Z="true"}=e,{integratedgameframedesktop:M="false"}=e,{integratedgameframemobile:J="false"}=e,{gameid:K=""}=e,T=!1,X=!1,Q=!1,ee=!1,E=!0,te=!1,ne=0,L=!1,ie=!1,re=!1,ae=!0,I=!1,G=window.navigator.userAgent,oe=!1,se=[],le=!1,ce="false",de;var ue,pe;({withLocale:ue,translations:pe}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(pe),ot.set(ue))}),Object.keys(Il).forEach(e=>{Ll(e,Il[e])});const me=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(r(6,T=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,e},he=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),ae=t||!1,fetch(n.href).then(e=>e.json()).then(e=>{r(12,o=me(e[0])),r(10,E=!1),o.launchUrl&&(r(13,L=!0),r(14,ie="true"==S&&o.hasFunMode),r(15,re="true"==S&&o.hasAnonymousFunMode))},e=>{console.error("There was an error",e),r(9,ee=!0)}).then(()=>{s&&(ae||(r(20,N=o.width),r(21,O=o.height),H=o.width+"px",j=o.height+"px",d=o.width,u=o.height),$e())}).finally(()=>{r(10,E=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href)},ge=()=>{null!=a&&a.addEventListener("mousedown",Te,!1),null!=a&&a.addEventListener("touchstart",Te,!1),null!=a&&a.addEventListener("mouseup",Ee,!1),null!=a&&a.addEventListener("touchend",Ee,!1)},fe=()=>{r(11,te=!1),null!=a&&a.removeEventListener("mousedown",Te),null!=a&&a.removeEventListener("touchstart",Te),null!=a&&a.removeEventListener("mouseup",Ee),null!=a&&a.removeEventListener("touchend",Ee)},ye=e=>{switch(e.data.type){case"GameLaunchID":he(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":r(53,ce="true");break;case"LaunchGameFrame":we(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":"false"==M&&!st(G)||(window.postMessage({type:"EnableScroll"},window.location.href),r(53,ce="false"),fe(),st(G)?setTimeout(()=>{r(13,L="true"===J)},500):setTimeout(()=>{r(13,L="true"===M)},500));break;case"UserSessionID":if(0<e.data.session.length){i=e.data.session,e.data.userID,r(6,T=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",i),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),r(12,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":r(20,N=e.data.modalContainerSize.modalWidth),r(21,O=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(se=e.data.receivedFavoriteResults.items,o&&o.id&&(r(12,o.isFavored=be(o.id),o),r(8,Q=!1)))}},be=t=>-1!==se.findIndex(e=>e.id==t),ve=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),r(12,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),r(12,o.isFavored=!0,o))},we=(e,n)=>{let t=new URL(f+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t;r(12,o=me(e[0])),r(10,E=!1),o.launchUrl&&r(12,o.isFavored=(e=o,t=n,r(15,re="true"==S&&e.hasAnonymousFunMode),r(14,ie="true"==S&&t),r(13,L=!0),be(e.id)),o)}).finally(()=>{r(10,E=!1)})},$e=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width),u=parseInt(o.height),d=t*n,H=d?Math.floor(d)+"px":"1280px",j=u?Math.floor(u)+"px":"720px",Le()},xe=e=>{if(!le)return st(G)?Ce(J):Ce(M);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};Pl("OPEN_GAME",e)},Ce=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:o.id},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},ke=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:L},window.location.href),L&&(s&&$e(),window.addEventListener("ModalSize",ye,!1))},_=()=>{k&&"false"==M&&!st(G)?window.postMessage({type:k,transition:"Login"},window.location.href):k&&(window.postMessage({type:k,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},P=()=>{F&&"false"==M&&!st(G)?window.postMessage({type:F,transition:"Register"},window.location.href):F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),z&&(window.location=z),"function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Fe=()=>{Y&&(window.postMessage({type:Y},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&&gtag("event","GoToDeposit",{context:"GamePage"})),W&&(window.location=W)};function Se(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!I||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Se,!1),document.addEventListener("mozfullscreenchange",Se,!1),document.addEventListener("fullscreenchange",Se,!1),document.addEventListener("MSFullscreenChange",Se,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(I?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(19,I=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(19,I=!0)))},Me=(setInterval(()=>{r(4,D=V?Tr().format(V):Tr().format("LTS"))},100),()=>{"true"==Z?Xi(f,b).then(e=>{i=e.Guid,e.UserID,r(6,T=!0)},e=>{r(6,T=!1),console.error("err on session",e)}):(i=b,r(6,T=!0))}),Te=e=>{ne=0,A=setInterval(()=>{ne+=1,r(11,te=!0),3<=ne&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(A))},1e3)},Ee=e=>{ne<3&&r(11,te=!1),clearInterval(A)},Le=()=>{var e=I?"100%":H,t=I?"100%":j,n=I||!ae?"none":o.width?Math.floor(o.width)+"px":"1280px",i=I||!ae?"none":o.height?Math.floor(o.height)+100+"px":"720px";r(25,de=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+i),I||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,i=parseInt(getComputedStyle(s).height);g=g||i*Math.max(n,.5),r(16,s.style.height=g+"px",s),r(17,l.style.height=g+"px",l),e&&r(18,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return e=()=>{r(7,X=(b||v)&&!T)},Ie().$$.before_update.push(e),it(()=>(window.addEventListener("resize",ke,!1),window.addEventListener("message",ye,!1),le=!!_l(G),()=>{fe(),window.removeEventListener("resize",ke),window.removeEventListener("message",ye)})),t.$$set=e=>{"endpoint"in e&&r(34,f=e.endpoint),"lang"in e&&r(35,y=e.lang),"session"in e&&r(36,b=e.session),"userid"in e&&r(37,v=e.userid),"clientstyling"in e&&r(38,w=e.clientstyling),"clientstylingurl"in e&&r(39,$=e.clientstylingurl),"translationurl"in e&&r(40,x=e.translationurl),"favorites"in e&&r(0,U=e.favorites),"loginurl"in e&&r(41,C=e.loginurl),"registerurl"in e&&r(42,z=e.registerurl),"depositurl"in e&&r(43,W=e.depositurl),"loginevent"in e&&r(44,k=e.loginevent),"registerevent"in e&&r(45,F=e.registerevent),"depositevent"in e&&r(46,Y=e.depositevent),"clockformat"in e&&r(47,V=e.clockformat),"haspanicbutton"in e&&r(1,q=e.haspanicbutton),"playforfun"in e&&r(48,S=e.playforfun),"checksession"in e&&r(49,Z=e.checksession),"integratedgameframedesktop"in e&&r(50,M=e.integratedgameframedesktop),"integratedgameframemobile"in e&&r(51,J=e.integratedgameframemobile),"gameid"in e&&r(52,K=e.gameid)},t.$$.update=()=>{if(16&t.$$.dirty[1]&&y&&(e=y,ot.set(e),r(22,oe=st(G))),2097176&t.$$.dirty[1]&&f&&K&&y&&he(K,!0),104&t.$$.dirty[1]&&b&&v&&f&&Me(),262184&t.$$.dirty[1]&&"false"==Z&&b&&f&&Me(),512&t.$$.dirty[1]&&x&&fetch(x).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ll(e,t[e])})}).catch(e=>{console.log(e)}),1&t.$$.dirty[0]&&U&&r(8,Q=!0),8&t.$$.dirty[0]|128&t.$$.dirty[1]&&w&&p){let e=document.createElement("style");e.innerHTML=w,p.appendChild(e)}if(8&t.$$.dirty[0]|256&t.$$.dirty[1]&&$&&p){let t=document.createElement("style");$&&(e=new URL($),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{p.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|4194304&t.$$.dirty[1]&&"true"==ce&&a&&ge(),4&t.$$.dirty[0]&&a&&ge()},[U,q,a,p,D,n,T,X,Q,ee,E,te,o,L,ie,re,s,l,c,I,N,O,oe,m,h,"",R,G,ve,xe,_,P,Fe,B,f,y,b,v,w,$,x,C,z,W,k,F,Y,V,S,Z,M,J,K,ce,()=>ve(o.id),()=>ve(o.id),()=>Fe(),()=>{xe(o)},function(e){rt[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>_(),()=>P(),()=>{xe(o)},()=>_(),()=>P(),function(e){rt[e?"unshift":"push"](()=>{n=e,r(5,n)})},()=>Fe(),function(e){rt[e?"unshift":"push"](()=>{h=e,r(24,h)})},function(e){rt[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>B(),()=>B(),function(e){rt[e?"unshift":"push"](()=>{m=e,r(23,m)})},function(e){rt[e?"unshift":"push"](()=>{l=e,r(17,l)})},function(e){rt[e?"unshift":"push"](()=>{s=e,r(16,s)})},function(e){rt[e?"unshift":"push"](()=>{n=e,r(5,n)})},()=>_(),()=>P(),function(e){rt[e?"unshift":"push"](()=>{h=e,r(24,h)})},()=>B(),()=>B(),function(e){rt[e?"unshift":"push"](()=>{m=e,r(23,m)})},function(e){rt[e?"unshift":"push"](()=>{l=e,r(17,l)})},function(e){rt[e?"unshift":"push"](()=>{s=e,r(16,s)})},()=>_(),()=>P(),function(e){rt[e?"unshift":"push"](()=>{c=e,r(18,c)})},function(e){rt[e?"unshift":"push"](()=>{p=e,r(3,p)})}]}function ac(n){let i,r,a,o,s,l,c,d,t,u,p,m;return{c(){i=me("div"),r=me("div"),(a=me("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),s=me("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(r,"class",l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(r,"part",c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(i,"class","FilterModalWindow"),fe(i,"id","FilterModal"),fe(i,"part","FilterModalWindow"),Z(()=>n[13].call(i))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),d=h(i,n[13].bind(i)),u=!0,p||(m=V(a,"click",n[6]),p=!0)},p(e,t){n=e,(!u||8&t&&l!==(l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(r,"class",l),(!u||8&t&&c!==(c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(r,"part",c)},i(e){u||(Z(()=>{(t=t||se(i,Rs,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||se(i,Rs,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&pe(i),d(),e&&t&&t.end(),p=!1,m()}}}function oc(n){let i,r,a=n[0]&&ac(n);return{c(){i=me("div"),a&&a.c(),this.c=W,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),a&&a.m(i,null),n[14](i),r=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&re(a,1)):((a=ac(e)).c(),re(a,1),a.m(i,null)):a&&(ne(),ae(a,1,1,()=>{a=null}),ie())},i(e){r||(re(a),r=!0)},o(e){ae(a),r=!1},d(e){e&&pe(i),a&&a.d(),n[14](null)}}}function sc(e,t,n){let i,r,a,{show:o=!1}=t,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:p=""}=t,{sessioncheck:m="true"}=t,h=window.navigator.userAgent,g=!1;const f=()=>{n(0,o=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,o=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(f(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))};return it(()=>(window.addEventListener("message",y,!1),st(h)&&n(3,g=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,o=e.show),"duration"in e&&n(1,s=e.duration),"session"in e&&n(7,l=e.session),"userid"in e&&n(8,c=e.userid),"clientstyling"in e&&n(9,d=e.clientstyling),"clientstylingurl"in e&&n(10,u=e.clientstylingurl),"endpoint"in e&&n(11,p=e.endpoint),"sessioncheck"in e&&n(12,m=e.sessioncheck)},e.$$.update=()=>{if(2432&e.$$.dirty&&l&&c&&p&&"true"==m&&Xi(p,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),516&e.$$.dirty&&d&&i){let e=document.createElement("style");e.innerHTML=d,i.appendChild(e)}if(1028&e.$$.dirty&&u&&i){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[o,s,i,g,void 0,void 0,f,l,c,d,u,p,m,function(){r=this.clientWidth,a=this.clientHeight,n(4,r),n(5,a)},function(e){rt[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function lc(e,t){Ii(e,t)}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},rc,ic,t,{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,clockformat:47,haspanicbutton:1,playforfun:48,checksession:49,integratedgameframedesktop:50,integratedgameframemobile:51,gameid:52},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[34]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[35]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[36]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[37]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[38]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[39]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[40]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[41]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[42]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[43]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[44]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[45]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[46]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[47]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[48]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[49]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[50]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[51]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[52]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},sc,oc,t,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11,sessioncheck:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[12]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const cc={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},"zh-hk":{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement",filterModalTitle:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtro",filterModalSubtitle:"Selecciona multiples opciones",filterClear:"Resetear Filtro",filterApply:"Aplicar"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function dc(e,t,n){const i=e.slice();return i[36]=t[n],i}function uc(e,t,n){const i=e.slice();return i[39]=t[n],i}function pc(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C,k=n[7]("filters.filterModalTitle")+"",F=n[7]("filters.filterModalSubtitle")+"",S=n[7]("filters.filterApply")+"",M=n[2]&&hc(n),T=n[5]&&$c(n);return{c(){i=me("div"),r=me("section"),a=me("div"),o=me("h4"),s=he(k),l=ge(),c=me("h5"),d=he(F),u=ge(),p=me("section"),M&&M.c(),m=ge(),h=me("section"),T&&T.c(),g=ge(),f=me("div"),y=he(S),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(r,"class","FilterHeaderSection"),fe(r,"part","FilterHeaderSection"),fe(p,"class","FilterContentSection"),fe(p,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[4]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[4]?"":"ApplyFilterButtonDisabled")),fe(h,"class","FilterFooterSection"),fe(h,"part","FilterFooterSection"),fe(i,"class",w="FilterModalContent "+(n[3]?"FilterModalMobileContent":"")),fe(i,"part",$="FilterModalContent "+(n[3]?"FilterModalMobileContent":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(i,u),de(i,p),M&&M.m(p,null),de(i,m),de(i,h),T&&T.m(h,null),de(h,g),de(h,f),de(f,y),x||(C=V(f,"click",n[22]),x=!0)},p(e,t){128&t[0]&&k!==(k=e[7]("filters.filterModalTitle")+"")&&ye(s,k),128&t[0]&&F!==(F=e[7]("filters.filterModalSubtitle")+"")&&ye(d,F),e[2]?M?M.p(e,t):((M=hc(e)).c(),M.m(p,null)):M&&(M.d(1),M=null),e[5]?T?T.p(e,t):((T=$c(e)).c(),T.m(h,g)):T&&(T.d(1),T=null),128&t[0]&&S!==(S=e[7]("filters.filterApply")+"")&&ye(y,S),16&t[0]&&b!==(b="ApplyFiltersButton "+(e[4]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),16&t[0]&&v!==(v="ApplyFiltersButton "+(e[4]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),8&t[0]&&w!==(w="FilterModalContent "+(e[3]?"FilterModalMobileContent":""))&&fe(i,"class",w),8&t[0]&&$!==($="FilterModalContent "+(e[3]?"FilterModalMobileContent":""))&&fe(i,"part",$)},d(e){e&&pe(i),M&&M.d(),T&&T.d(),x=!1,C()}}}function mc(e){let n;return{c(){fe(n=me("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function hc(t){let r,a=t[2],o=[];for(let e=0;e<a.length;e+=1)o[e]=wc(dc(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(261&n[0]){let e;for(a=t[2],e=0;e<a.length;e+=1){var i=dc(t,a,e);o[e]?o[e].p(i,n):(o[e]=wc(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function gc(n){let i,r,a,o,s,l,c,d,u,p,m=n[36].isFilterSelected&&yc();function h(){return n[20](n[36])}return{c(){i=me("div"),r=me("img"),s=ge(),m&&m.c(),l=ge(),fe(r,"class","VendorImage"),fe(r,"part","VendorImage"),ce(r.src,a=n[36].logo)||fe(r,"src",a),fe(r,"alt",o=n[36].name),fe(i,"class",c="VendorBox "+(n[36].isFilterSelected?"VendorBoxSelected":"")+" "+(n[36].logo?"":"VendorBoxMissing")),fe(i,"part",d="VendorBox "+(n[36].isFilterSelected?"VendorBoxSelected":""))},m(e,t){ue(e,i,t),de(i,r),de(i,s),m&&m.m(i,null),de(i,l),u||(p=V(i,"click",h),u=!0)},p(e,t){n=e,4&t[0]&&!ce(r.src,a=n[36].logo)&&fe(r,"src",a),4&t[0]&&o!==(o=n[36].name)&&fe(r,"alt",o),n[36].isFilterSelected?m||((m=yc()).c(),m.m(i,l)):m&&(m.d(1),m=null),4&t[0]&&c!==(c="VendorBox "+(n[36].isFilterSelected?"VendorBoxSelected":"")+" "+(n[36].logo?"":"VendorBoxMissing"))&&fe(i,"class",c),4&t[0]&&d!==(d="VendorBox "+(n[36].isFilterSelected?"VendorBoxSelected":""))&&fe(i,"part",d)},d(e){e&&pe(i),m&&m.d(),u=!1,p()}}}function fc(t){let r,a=t[36].subVendors,o=[];for(let e=0;e<a.length;e+=1)o[e]=vc(uc(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(260&n[0]){let e;for(a=t[36].subVendors,e=0;e<a.length;e+=1){var i=uc(t,a,e);o[e]?o[e].p(i,n):(o[e]=vc(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function yc(){let n;return{c(){(n=me("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function bc(){let n;return{c(){(n=me("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function vc(n){let i,r,a,o,s,l,c,d,u,p,m=n[39].isFilterSelected&&bc();function h(){return n[19](n[39])}return{c(){i=me("div"),r=me("img"),s=ge(),m&&m.c(),l=ge(),fe(r,"class","VendorImage"),fe(r,"part","VendorImage"),ce(r.src,a=n[39].logo)||fe(r,"src",a),fe(r,"alt",o=n[39].name),fe(i,"class",c="VendorBox "+(n[39].isFilterSelected?"VendorBoxSelected":"")+" "+(n[39].logo?"":"VendorBoxMissing")),fe(i,"part",d="VendorBox "+(n[39].isFilterSelected?"VendorBoxSelected":""))},m(e,t){ue(e,i,t),de(i,r),de(i,s),m&&m.m(i,null),de(i,l),u||(p=V(i,"click",h),u=!0)},p(e,t){n=e,4&t[0]&&!ce(r.src,a=n[39].logo)&&fe(r,"src",a),4&t[0]&&o!==(o=n[39].name)&&fe(r,"alt",o),n[39].isFilterSelected?m||((m=bc()).c(),m.m(i,l)):m&&(m.d(1),m=null),4&t[0]&&c!==(c="VendorBox "+(n[39].isFilterSelected?"VendorBoxSelected":"")+" "+(n[39].logo?"":"VendorBoxMissing"))&&fe(i,"class",c),4&t[0]&&d!==(d="VendorBox "+(n[39].isFilterSelected?"VendorBoxSelected":""))&&fe(i,"part",d)},d(e){e&&pe(i),m&&m.d(),u=!1,p()}}}function wc(e){let n;function i(e){return"true"==e[0]?fc:gc}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function $c(e){let n,i=e[5].length&&xc(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[5].length?i?i.p(e,t):((i=xc(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function xc(n){let i,r,a,o,s=n[7]("filters.filterClear")+"";return{c(){i=me("div"),r=he(s),fe(i,"class","ClearFiltersButton"),fe(i,"part","ClearFiltersButton")},m(e,t){ue(e,i,t),de(i,r),a||(o=V(i,"click",n[21]),a=!0)},p(e,t){128&t[0]&&s!==(s=e[7]("filters.filterClear")+"")&&ye(r,s)},d(e){e&&pe(i),a=!1,o()}}}function Cc(n){let i;function r(e){return e[6]?mc:pc}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=W,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[23](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&pe(i),o.d(),n[23](null)}}}function kc(t,e,r){let n;ct(t,Ki,e=>r(7,n=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{translationurl:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:p=""}=e,{showsubvendors:m="false"}=e,h=[],g=!1,f=window.navigator.userAgent,y=!1,b="",v=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),w=[],$={},x=!1,C=[];var k,F;$[b]&&($={[b]:[]}),{withLocale:k,translations:F}={withLocale:"en",translations:{}},ot.subscribe(e=>{null==e&&(at.set(F),ot.set(k))}),Object.keys(cc).forEach(e=>{lc(e,cc[e])});const S=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(b&&((v=JSON.parse(localStorage.getItem("vendorFiltersByCategory")))&&r(5,w=v[b])),!w){let e=localStorage.getItem("vendorFiltersByCategory");null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify($={[b]:w})):((e=JSON.parse(e))[b]=w,localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}const n=new URL(a+"/casino/vendors");n.searchParams.append("fields","id,name,subVendors,logo"),n.searchParams.append("language",s),n.searchParams.append("datasource",o),n.searchParams.append("platform",lt(f)),1<(b.match(/\$/g)||[]).length?(n.searchParams.append("filter",`games(subGroups=${b})`),n.searchParams.append("subVendors",`games(subGroups=${b})`)):n.searchParams.append("filter",`games(groups=${b})`),i=n,new Promise((t,n)=>{fetch(i).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},b&&t[b]&&(e.isFilterSelected=0<=t[b].indexOf(e.id))}),r(2,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=w;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),C=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),r(5,w=C),r(4,y=!1);break;case"AvailableVendors":r(2,h=t.data.venArray),r(5,w=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":r(2,h=t.data.venArray);break;case"ClearVendorFilters":E(),window.postMessage({type:"ApplyFilters"},window.location.href),r(4,y=!1);break;case"FiltersModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":b=t.data.categoryid,v&&b&&r(5,w=v[b]);break;case"ModalLoader":r(6,x=!1)}var i},M=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(w.push(t.id),r(4,y=!!T(w,C))):(w.includes(t.id)&&r(5,w=w.filter(e=>e!==t.id)),r(4,y=!(!w.length&&T(w,C)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},T=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},E=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=localStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),r(4,y=T(w,C)),r(5,w=[]),null!==e&&((e=JSON.parse(e))[b]=w,localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},L=()=>{r(6,x=!0);let e=localStorage.getItem("vendorFiltersByCategory");null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify($={[b]:w})):((e=JSON.parse(e))[b]=w,localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)},I=()=>{let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)},G=()=>{let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})};return it(()=>(window.addEventListener("message",S,!1),st(f)&&r(3,g=!0),()=>{window.removeEventListener("message",S)})),t.$$set=e=>{"endpoint"in e&&r(11,a=e.endpoint),"datasource"in e&&r(12,o=e.datasource),"lang"in e&&r(13,s=e.lang),"session"in e&&r(14,l=e.session),"userid"in e&&r(15,c=e.userid),"translationurl"in e&&r(16,d=e.translationurl),"clientstyling"in e&&r(17,u=e.clientstyling),"clientstylingurl"in e&&r(18,p=e.clientstylingurl),"showsubvendors"in e&&r(0,m=e.showsubvendors)},t.$$.update=()=>{var e;131072&t.$$.dirty[0]&&u&&I(),262144&t.$$.dirty[0]&&p&&G(),65536&t.$$.dirty[0]&&d&&(e=new URL(d),fetch(e.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{lc(e,t[e])})}).catch(e=>{console.log(e)})),131074&t.$$.dirty[0]&&u&&i&&I(),262146&t.$$.dirty[0]&&p&&i&&G()},[m,i,h,g,y,w,x,n,M,E,L,a,o,s,l,c,d,u,p,e=>M(e),e=>M(e),()=>E(),()=>L(),function(e){rt[e?"unshift":"push"](()=>{i=e,r(1,i)})}]}function Fc(e,t){Ii(e,t)}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;height:127px;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:120px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxMissing{background:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-size:cover;background-position:center}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},kc,Cc,t,{endpoint:11,datasource:12,lang:13,session:14,userid:15,translationurl:16,clientstyling:17,clientstylingurl:18,showsubvendors:0},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","translationurl","clientstyling","clientstylingurl","showsubvendors"]}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[14]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[15]}set userid(e){this.$$set({userid:e}),f()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get showsubvendors(){return this.$$.ctx[0]}set showsubvendors(e){this.$$set({showsubvendors:e}),f()}});const Sc={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},"zh-hk":{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{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:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"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:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function Mc(e){let n;function i(e){return e[6]?Ic:e[11]?Lc:void 0}let r=i(e),a=r&&r(e);return{c(){n=me("div"),a&&a.c(),fe(n,"class","CasinoIntegratedGamePage"),fe(n,"part","CasinoIntegratedGamePage")},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n,null)))},d(e){e&&pe(n),a&&a.d()}}}function Tc(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function Ec(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&pe(n)}}}function Lc(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C,k,F,S,M,T=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function L(e){return e[17]?_c:Gc}let I=L(n),G=I(n),_="true"==n[1]&&!n[17]&&Pc();return{c(){i=me("div"),(r=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=me("p"),s=me("span"),l=he(n[4]),c=ge(),d=me("div"),u=ge(),p=me("div"),m=me("div"),h=me("iframe"),f=ge(),y=me("div"),b=me("div"),v=me("button"),w=he(T),$=ge(),x=me("button"),C=he(E),k=ge(),G.c(),F=ge(),_&&_.c(),fe(r,"class","backButton"),fe(r,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(i,"class","GamePageIntegratedTopSection"),fe(i,"part","GamePageIntegratedTopSection"),fe(h,"title","Games"),fe(h,"class","GamesContainer"),fe(h,"part","GamesContainer"),fe(h,"aria-hidden","false"),ce(h.src,g=n[10].launchUrl)||fe(h,"src",g),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe(x,"class","RegisterButton"),fe(x,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(m,"id","IframeGame"),fe(m,"part","IframeGame"),P(m,"width",n[17]?"100%":n[18]),P(m,"height",n[17]?"100%":n[19]),P(m,"max-width",n[17]||!n[12]?"none":n[10].width?Math.floor(n[10].width)+"px":"1280px"),P(m,"max-height",n[17]||!n[12]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(p,"id","IframeContainer"),fe(p,"part","IframeContainer"),B(p,"FullsScreenLayout",n[17])},m(e,t){ue(e,i,t),de(i,r),de(i,a),de(i,o),de(o,s),de(s,l),n[57](o),de(i,c),de(i,d),ue(e,u,t),ue(e,p,t),de(p,m),de(m,h),n[58](h),de(m,f),de(m,y),de(y,b),de(b,v),de(v,w),de(b,$),de(b,x),de(x,C),de(y,k),G.m(y,null),n[63](y),n[64](m),de(p,F),_&&_.m(p,null),n[65](p),S||(M=[V(r,"click",n[56]),V(v,"click",n[59]),V(x,"click",n[60])],S=!0)},p(e,t){16&t[0]&&ye(l,e[4]),1024&t[0]&&!ce(h.src,g=e[10].launchUrl)&&fe(h,"src",g),4194304&t[0]&&T!==(T=e[22]("gamePage.signIn")+"")&&ye(w,T),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ye(C,E),I===(I=L(e))&&G?G.p(e,t):(G.d(1),(G=I(e))&&(G.c(),G.m(y,null))),393216&t[0]&&P(m,"width",e[17]?"100%":e[18]),655360&t[0]&&P(m,"height",e[17]?"100%":e[19]),136192&t[0]&&P(m,"max-width",e[17]||!e[12]?"none":e[10].width?Math.floor(e[10].width)+"px":"1280px"),136192&t[0]&&P(m,"max-height",e[17]||!e[12]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?_&&(_.d(1),_=null):_||((_=Pc()).c(),_.m(p,null)),131072&t[0]&&B(p,"FullsScreenLayout",e[17])},d(e){e&&pe(i),n[57](null),e&&pe(u),e&&pe(p),n[58](null),G.d(),n[63](null),n[64](null),_&&_.d(),n[65](null),S=!1,Y(M)}}}function Ic(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C,k,F=n[22]("gamePage.deposit")+"",S="true"===n[0]&&Bc(n);function M(e){return e[17]?Dc:Rc}let T=M(n),E=T(n),L="true"==n[1]&&!n[17]&&Ac();return{c(){i=me("div"),(r=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=me("p"),s=me("span"),l=he(n[4]),c=ge(),d=me("button"),u=he(F),p=ge(),m=me("div"),h=me("div"),g=me("iframe"),v=ge(),w=me("div"),S&&S.c(),$=ge(),E.c(),x=ge(),L&&L.c(),fe(r,"class","backButton"),fe(r,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(d,"class","DepositButton"),fe(d,"part","DepositButton"),fe(i,"class","GamePageIntegratedTopSection"),fe(i,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"id","IframeGame"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,f=n[10].launchUrl)||fe(g,"src",f),fe(g,"width",y=n[14]+"px"),fe(g,"height",b=n[15]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(h,"id","IframeGame"),fe(h,"part","IframeGame"),P(h,"width",n[17]?"100%":n[18]),P(h,"height",n[17]?"100%":n[19]),P(h,"max-width",n[17]?"none":n[10].width?n[10].width+"px":"1280px"),P(h,"max-height",n[17]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(m,"id","IframeContainer"),fe(m,"part","IframeContainer"),B(m,"FullsScreenLayout",n[17])},m(e,t){ue(e,i,t),de(i,r),de(i,a),de(i,o),de(o,s),de(s,l),n[47](o),de(i,c),de(i,d),de(d,u),ue(e,p,t),ue(e,m,t),de(m,h),de(h,g),n[49](g),de(h,v),de(h,w),S&&S.m(w,null),de(w,$),E.m(w,null),n[53](w),n[54](h),de(m,x),L&&L.m(m,null),n[55](m),C||(k=[V(r,"click",n[46]),V(d,"click",n[48])],C=!0)},p(e,t){16&t[0]&&ye(l,e[4]),4194304&t[0]&&F!==(F=e[22]("gamePage.deposit")+"")&&ye(u,F),1024&t[0]&&!ce(g.src,f=e[10].launchUrl)&&fe(g,"src",f),16384&t[0]&&y!==(y=e[14]+"px")&&fe(g,"width",y),32768&t[0]&&b!==(b=e[15]+"px")&&fe(g,"height",b),"true"===e[0]?S?S.p(e,t):((S=Bc(e)).c(),S.m(w,$)):S&&(S.d(1),S=null),T===(T=M(e))&&E?E.p(e,t):(E.d(1),(E=T(e))&&(E.c(),E.m(w,null))),393216&t[0]&&P(h,"width",e[17]?"100%":e[18]),655360&t[0]&&P(h,"height",e[17]?"100%":e[19]),132096&t[0]&&P(h,"max-width",e[17]?"none":e[10].width?e[10].width+"px":"1280px"),132096&t[0]&&P(h,"max-height",e[17]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?L&&(L.d(1),L=null):L||((L=Ac()).c(),L.m(m,null)),131072&t[0]&&B(m,"FullsScreenLayout",e[17])},d(e){e&&pe(i),n[47](null),e&&pe(p),e&&pe(m),n[49](null),S&&S.d(),E.d(),n[53](null),n[54](null),L&&L.d(),n[55](null),C=!1,Y(k)}}}function Gc(n){let i,r,a;return{c(){(i=me("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(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[62]),r=!0)},p:W,d(e){e&&pe(i),r=!1,a()}}}function _c(n){let i,r,a;return{c(){(i=me("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[61]),r=!0)},p:W,d(e){e&&pe(i),r=!1,a()}}}function Pc(){let n;return{c(){(n=me("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function Bc(n){let i,r,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){i=me("div"),r=me("button"),a=he(o),fe(r,"class",e="PanicButton "+("PC"!==lt(n[23])?"PanicButtonMobile":"")),fe(r,"part",t="PanicButton "+("PC"!==lt(n[23])?"PanicButtonMobile":"")),B(r,"PanicButtonAnimation",n[9]),fe(i,"class","PanicSection"),fe(i,"part","PanicSection")},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[50](r)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),512&t[0]&&B(r,"PanicButtonAnimation",e[9])},d(e){e&&pe(i),n[50](null)}}}function Rc(n){let i,r,a;return{c(){(i=me("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(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[52]),r=!0)},p:W,d(e){e&&pe(i),r=!1,a()}}}function Dc(n){let i,r,a;return{c(){(i=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[51]),r=!0)},p:W,d(e){e&&pe(i),r=!1,a()}}}function Ac(){let n;return{c(){(n=me("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function Nc(n){let i;function r(e){return e[8]?Ec:e[7]?Tc:Mc}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[66](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&pe(i),o.d(),n[66](null)}}}function Oc(t,e,i){let R;ct(t,Ki,e=>i(22,R=e));let D,n,r,a,A,o,s,l,c,d,u,p,N,O,m,h,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:H=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{translationurl:$=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:k=""}=e,{loginevent:F=""}=e,{registerevent:S=""}=e,{depositevent:M=""}=e,{clockformat:T=""}=e,{haspanicbutton:j="false"}=e,{playforfun:E="true"}=e,{checksession:U="true"}=e,{gamebanneractive:z="false"}=e,{gameid:L=""}=e,I=!1,W=!1,Y=!0,G=!1,_=0,V=!1,q=!1,Z=!0,P=!1,J=window.navigator.userAgent;var K,X;({withLocale:K,translations:X}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(X),ot.set(K))}),Object.keys(Sc).forEach(e=>{Fc(e,Sc[e])});const Q=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),i(12,Z=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(10,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),r&&0<r.length&&(i(6,I=!0),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,m.scrollIntoView(),e})(e[0])),o.launchUrl&&(V=!0,i(11,q="true"==E&&o.hasFunMode),"true"==E&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),i(7,W=!0)}).then(()=>{s&&(ee(),Z||(i(18,N=o.width),i(19,O=o.height),u=o.width,p=o.height))})},ee=()=>{let e=getComputedStyle(s),t=getComputedStyle(d);i(14,l=parseInt(e.width.slice(0,-2))),i(15,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);u=parseInt(t.width),p=parseInt(t.height),l/n>c-h.clientHeight-g.clientHeight?(p=c-h.clientHeight-g.clientHeight,u=c*n):(u=l,p=l/n),i(18,N=u?Math.floor(u)+"px":"1280px"),i(19,O=p?Math.floor(p)+"px":"720px")},te=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:V},window.location.href),V&&s&&"PC"==lt(J)&&ee()},ne=()=>{F&&(window.postMessage({type:F,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x),"function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},ie=()=>{S&&(window.postMessage({type:S,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},re=()=>{M&&(window.postMessage({type:M},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&&gtag("event","GoToDeposit",{context:"IntegratedGamePage"})),k&&(window.location=k)};function ae(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!P||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ae,!1),document.addEventListener("mozfullscreenchange",ae,!1),document.addEventListener("fullscreenchange",ae,!1),document.addEventListener("MSFullscreenChange",ae,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(P?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(17,P=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(17,P=!0)))},oe=setInterval(()=>{i(4,D=T?Tr().format(T):Tr().format("LTS"))},100),se=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},le=e=>{_=0,A=setInterval(()=>{_+=1,i(9,G=!0),3<=_&&clearInterval(A)},1e3)},ce=e=>{_<3&&i(9,G=!1),clearInterval(A)};return it(()=>(window.addEventListener("resize",te,!1),_l(J),()=>{i(9,G=!1),null!=a&&a.removeEventListener("mousedown",le),null!=a&&a.removeEventListener("touchstart",le),null!=a&&a.removeEventListener("mouseup",ce),null!=a&&a.removeEventListener("touchend",ce),window.removeEventListener("resize",te),clearInterval(oe)})),t.$$set=e=>{"endpoint"in e&&i(29,f=e.endpoint),"lang"in e&&i(30,y=e.lang),"session"in e&&i(31,b=e.session),"userid"in e&&i(32,H=e.userid),"clientstyling"in e&&i(33,v=e.clientstyling),"clientstylingurl"in e&&i(34,w=e.clientstylingurl),"translationurl"in e&&i(35,$=e.translationurl),"loginurl"in e&&i(36,x=e.loginurl),"registerurl"in e&&i(37,C=e.registerurl),"depositurl"in e&&i(38,k=e.depositurl),"loginevent"in e&&i(39,F=e.loginevent),"registerevent"in e&&i(40,S=e.registerevent),"depositevent"in e&&i(41,M=e.depositevent),"clockformat"in e&&i(42,T=e.clockformat),"haspanicbutton"in e&&i(0,j=e.haspanicbutton),"playforfun"in e&&i(43,E=e.playforfun),"checksession"in e&&i(44,U=e.checksession),"gamebanneractive"in e&&i(1,z=e.gamebanneractive),"gameid"in e&&i(45,L=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,ot.set(e),st(J),i(8,Y=!1)),1610612736&t.$$.dirty[0]|16384&t.$$.dirty[1]&&f&&L&&y&&Q(L),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&b&&H&&f&&("true"==U?Xi(f,b).then(e=>{r=e.Guid,e.UserID,i(6,I=!0)},e=>{i(6,I=!1),console.error("err on session",e)}):r=b),8&t.$$.dirty[0]|4&t.$$.dirty[1]&&v&&m){let e=document.createElement("style");e.innerHTML=v,m.appendChild(e)}if(8&t.$$.dirty[0]|8&t.$$.dirty[1]&&w&&m){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{m.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&a&&(null!=a&&a.addEventListener("mousedown",le,!1),null!=a&&a.addEventListener("touchstart",le,!1),null!=a&&a.addEventListener("mouseup",ce,!1),null!=a&&a.addEventListener("touchend",ce,!1)),16&t.$$.dirty[1]&&$&&fetch($).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Fc(e,t[e])})}).catch(e=>{console.log(e)})},[j,z,a,m,D,n,I,W,Y,G,o,q,Z,s,l,c,d,P,N,O,h,g,R,J,ne,ie,re,B,se,f,y,b,H,v,w,$,x,C,k,F,S,M,T,E,U,L,()=>se(),function(e){rt[e?"unshift":"push"](()=>{g=e,i(21,g)})},()=>re(),function(e){rt[e?"unshift":"push"](()=>{n=e,i(5,n)})},function(e){rt[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>B(),()=>B(),function(e){rt[e?"unshift":"push"](()=>{h=e,i(20,h)})},function(e){rt[e?"unshift":"push"](()=>{d=e,i(16,d)})},function(e){rt[e?"unshift":"push"](()=>{s=e,i(13,s)})},()=>se(),function(e){rt[e?"unshift":"push"](()=>{g=e,i(21,g)})},function(e){rt[e?"unshift":"push"](()=>{n=e,i(5,n)})},()=>ne(),()=>ie(),()=>B(),()=>B(),function(e){rt[e?"unshift":"push"](()=>{h=e,i(20,h)})},function(e){rt[e?"unshift":"push"](()=>{d=e,i(16,d)})},function(e){rt[e?"unshift":"push"](()=>{s=e,i(13,s)})},function(e){rt[e?"unshift":"push"](()=>{m=e,i(3,m)})}]}function Hc(e){let n,i,r,a,o,s,l,c,d,u,p="true"==e[19]&&Uc(e);return{c(){n=me("div"),i=me("div"),r=me("div"),a=ge(),o=me("div"),s=ge(),l=me("casino-categories-slider"),c=ge(),d=me("casino-page"),u=ge(),p&&p.c(),fe(r,"class","HeaderPlaceholder"),fe(r,"part","HeaderPlaceholder"),P(r,"height",e[73]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),k(l,"endpoint",e[66]),k(l,"datasource",e[67]),k(l,"lang",e[68]),k(l,"session",e[72]),k(l,"userid",e[3]),k(l,"sessioncheck","false"),k(l,"actionevent",e[16]),k(l,"filteredcategories",e[8]),k(l,"mostplayed",e[56]),k(l,"mostplayedrounds",e[57]),k(l,"lastplayed",e[58]),k(l,"lastplayedperiod",e[51]),k(l,"favorites",e[12]),k(l,"activecategory",e[1]),k(l,"clientstyling",e[4]),k(l,"clientstylingurl",e[5]),k(l,"containermaxwidth",e[14]),k(l,"location","secondaryMenu"),k(l,"showsubgroups",e[45]),k(d,"session",e[72]),k(d,"userid",e[3]),k(d,"endpoint",e[66]),k(d,"datasource",e[67]),k(d,"lang",e[68]),k(d,"cmsendpoint",e[2]),k(d,"visiblegames",e[21]),k(d,"playrandomgame",e[20]),k(d,"activecategory",e[1]),k(d,"alternativesearch",e[13]),k(d,"favorites",e[12]),k(d,"clientstyling",e[4]),k(d,"clientstylingurl",e[5]),k(d,"lobbyid",e[7]),k(d,"containermaxwidth",e[14]),k(d,"haspanicbutton",e[15]),k(d,"livecasino",e[17]),k(d,"currency",e[0]),k(d,"filteredcategories",e[8]),k(d,"gamepagemodalurl",e[24]),k(d,"randombuttonicon",e[59]),k(d,"positioncasinocalendar",e[50]),k(d,"filteredrandomgamecategories",e[60]),k(d,"positionwinnerswidget",e[25]),k(d,"periodrecent",e[30]),k(d,"periodtop",e[31]),k(d,"numberusersrecent",e[32]),k(d,"numberuserstop",e[33]),k(d,"amountlimit",e[34]),k(d,"isrecentavailable",e[29]),k(d,"istopavailable",e[28]),k(d,"integratedgameframedesktop",e[22]),k(d,"integratedgameframemobile",e[23]),k(d,"defaultcurrency",e[35]),k(d,"enableautoscroll",e[27]),k(d,"collectionprovidersgamenames",e[49]),k(d,"tabsorder",e[26]),k(d,"positionjackpotbanners",e[36]),k(d,"backgroundsrc",e[41]),k(d,"backgroundsrcmobile",e[42]),k(d,"titlelogopath",e[43]),k(d,"caticon0",e[37]),k(d,"caticon1",e[38]),k(d,"caticon2",e[39]),k(d,"caticon3",e[40]),k(d,"iconlabels",e[44]),k(d,"positioncollections",e[46]),k(d,"type",e[47]),k(d,"titletype",e[48]),k(d,"casinomygames",Wc),k(d,"filterbylogo",e[63]),k(d,"addfilterselector",e[61]),k(d,"addsortingselector",e[62]),k(d,"lastplayedunique",e[55]),k(d,"lastplayedlimit",e[54]),k(d,"lastplayedorder",e[53]),k(d,"mostplayedrounds",e[57]),k(d,"mostplayed",e[56]),k(d,"lastplayed",e[58]),k(d,"lastplayedperiod",e[51]),k(d,"mostplayedperiod",e[52]),k(d,"showsubgroups",e[45]),k(d,"winnersdatasources",e[64]),fe(i,"class","WidgetsSection"),fe(i,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(i,o),de(i,s),de(i,l),de(i,c),de(i,d),de(i,u),p&&p.m(i,null)},p(e,t){2048&t[2]&&P(r,"height",e[73]+"px"),16&t[2]&&k(l,"endpoint",e[66]),32&t[2]&&k(l,"datasource",e[67]),64&t[2]&&k(l,"lang",e[68]),1024&t[2]&&k(l,"session",e[72]),8&t[0]&&k(l,"userid",e[3]),65536&t[0]&&k(l,"actionevent",e[16]),256&t[0]&&k(l,"filteredcategories",e[8]),33554432&t[1]&&k(l,"mostplayed",e[56]),67108864&t[1]&&k(l,"mostplayedrounds",e[57]),134217728&t[1]&&k(l,"lastplayed",e[58]),1048576&t[1]&&k(l,"lastplayedperiod",e[51]),4096&t[0]&&k(l,"favorites",e[12]),2&t[0]&&k(l,"activecategory",e[1]),16&t[0]&&k(l,"clientstyling",e[4]),32&t[0]&&k(l,"clientstylingurl",e[5]),16384&t[0]&&k(l,"containermaxwidth",e[14]),16384&t[1]&&k(l,"showsubgroups",e[45]),1024&t[2]&&k(d,"session",e[72]),8&t[0]&&k(d,"userid",e[3]),16&t[2]&&k(d,"endpoint",e[66]),32&t[2]&&k(d,"datasource",e[67]),64&t[2]&&k(d,"lang",e[68]),4&t[0]&&k(d,"cmsendpoint",e[2]),2097152&t[0]&&k(d,"visiblegames",e[21]),1048576&t[0]&&k(d,"playrandomgame",e[20]),2&t[0]&&k(d,"activecategory",e[1]),8192&t[0]&&k(d,"alternativesearch",e[13]),4096&t[0]&&k(d,"favorites",e[12]),16&t[0]&&k(d,"clientstyling",e[4]),32&t[0]&&k(d,"clientstylingurl",e[5]),128&t[0]&&k(d,"lobbyid",e[7]),16384&t[0]&&k(d,"containermaxwidth",e[14]),32768&t[0]&&k(d,"haspanicbutton",e[15]),131072&t[0]&&k(d,"livecasino",e[17]),1&t[0]&&k(d,"currency",e[0]),256&t[0]&&k(d,"filteredcategories",e[8]),16777216&t[0]&&k(d,"gamepagemodalurl",e[24]),268435456&t[1]&&k(d,"randombuttonicon",e[59]),524288&t[1]&&k(d,"positioncasinocalendar",e[50]),536870912&t[1]&&k(d,"filteredrandomgamecategories",e[60]),33554432&t[0]&&k(d,"positionwinnerswidget",e[25]),1073741824&t[0]&&k(d,"periodrecent",e[30]),1&t[1]&&k(d,"periodtop",e[31]),2&t[1]&&k(d,"numberusersrecent",e[32]),4&t[1]&&k(d,"numberuserstop",e[33]),8&t[1]&&k(d,"amountlimit",e[34]),536870912&t[0]&&k(d,"isrecentavailable",e[29]),268435456&t[0]&&k(d,"istopavailable",e[28]),4194304&t[0]&&k(d,"integratedgameframedesktop",e[22]),8388608&t[0]&&k(d,"integratedgameframemobile",e[23]),16&t[1]&&k(d,"defaultcurrency",e[35]),134217728&t[0]&&k(d,"enableautoscroll",e[27]),262144&t[1]&&k(d,"collectionprovidersgamenames",e[49]),67108864&t[0]&&k(d,"tabsorder",e[26]),32&t[1]&&k(d,"positionjackpotbanners",e[36]),1024&t[1]&&k(d,"backgroundsrc",e[41]),2048&t[1]&&k(d,"backgroundsrcmobile",e[42]),4096&t[1]&&k(d,"titlelogopath",e[43]),64&t[1]&&k(d,"caticon0",e[37]),128&t[1]&&k(d,"caticon1",e[38]),256&t[1]&&k(d,"caticon2",e[39]),512&t[1]&&k(d,"caticon3",e[40]),8192&t[1]&&k(d,"iconlabels",e[44]),32768&t[1]&&k(d,"positioncollections",e[46]),65536&t[1]&&k(d,"type",e[47]),131072&t[1]&&k(d,"titletype",e[48]),2&t[2]&&k(d,"filterbylogo",e[63]),1073741824&t[1]&&k(d,"addfilterselector",e[61]),1&t[2]&&k(d,"addsortingselector",e[62]),16777216&t[1]&&k(d,"lastplayedunique",e[55]),8388608&t[1]&&k(d,"lastplayedlimit",e[54]),4194304&t[1]&&k(d,"lastplayedorder",e[53]),67108864&t[1]&&k(d,"mostplayedrounds",e[57]),33554432&t[1]&&k(d,"mostplayed",e[56]),134217728&t[1]&&k(d,"lastplayed",e[58]),1048576&t[1]&&k(d,"lastplayedperiod",e[51]),2097152&t[1]&&k(d,"mostplayedperiod",e[52]),16384&t[1]&&k(d,"showsubgroups",e[45]),4&t[2]&&k(d,"winnersdatasources",e[64]),"true"==e[19]?p?p.p(e,t):((p=Uc(e)).c(),p.m(i,null)):p&&(p.d(1),p=null)},d(e){e&&pe(n),p&&p.d()}}}function jc(e){let n,i;return{c(){n=me("p"),i=he(e[71]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[2]&&ye(i,e[71])},d(e){e&&pe(n)}}}function Uc(e){let n,i;return{c(){n=me("casino-modal"),k(i=me("casino-game-page"),"session",e[72]),k(i,"userid",e[3]),k(i,"endpoint",e[66]),k(i,"datasource",e[67]),k(i,"lang",e[68]),k(i,"loginevent",e[9]),k(i,"registerevent",e[10]),k(i,"depositevent",e[11]),k(i,"checksession","false"),k(i,"playforfun",e[18]),k(i,"favorites",e[12]),k(i,"clientstyling",e[4]),k(i,"clientstylingurl",e[5]),k(i,"clockformat",e[6]),k(i,"haspanicbutton",e[15]),k(i,"currency",e[0]),k(i,"integratedgameframedesktop",e[22]),k(i,"integratedgameframemobile",e[23]),k(n,"session",e[72]),k(n,"userid",e[3]),k(n,"endpoint",e[66]),k(n,"datasource",e[67]),k(n,"lang",e[68]),k(n,"sessioncheck","false"),k(n,"clientstyling",e[4]),k(n,"clientstylingurl",e[5]),k(n,"gamepagemodalurl",e[24]),k(n,"haspanicbutton",e[15]),k(n,"integratedgameframedesktop",e[22])},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1024&t[2]&&k(i,"session",e[72]),8&t[0]&&k(i,"userid",e[3]),16&t[2]&&k(i,"endpoint",e[66]),32&t[2]&&k(i,"datasource",e[67]),64&t[2]&&k(i,"lang",e[68]),512&t[0]&&k(i,"loginevent",e[9]),1024&t[0]&&k(i,"registerevent",e[10]),2048&t[0]&&k(i,"depositevent",e[11]),262144&t[0]&&k(i,"playforfun",e[18]),4096&t[0]&&k(i,"favorites",e[12]),16&t[0]&&k(i,"clientstyling",e[4]),32&t[0]&&k(i,"clientstylingurl",e[5]),64&t[0]&&k(i,"clockformat",e[6]),32768&t[0]&&k(i,"haspanicbutton",e[15]),1&t[0]&&k(i,"currency",e[0]),4194304&t[0]&&k(i,"integratedgameframedesktop",e[22]),8388608&t[0]&&k(i,"integratedgameframemobile",e[23]),1024&t[2]&&k(n,"session",e[72]),8&t[0]&&k(n,"userid",e[3]),16&t[2]&&k(n,"endpoint",e[66]),32&t[2]&&k(n,"datasource",e[67]),64&t[2]&&k(n,"lang",e[68]),16&t[0]&&k(n,"clientstyling",e[4]),32&t[0]&&k(n,"clientstylingurl",e[5]),16777216&t[0]&&k(n,"gamepagemodalurl",e[24]),32768&t[0]&&k(n,"haspanicbutton",e[15]),4194304&t[0]&&k(n,"integratedgameframedesktop",e[22])},d(e){e&&pe(n)}}}function zc(n){let i,r,a;function o(e){return e[70]?jc:Hc}let s=o(n),l=s(n);return{c(){i=me("div"),l.c(),this.c=W,fe(i,"class",r=n[69]?"DisplayNone":""),fe(i,"part",a=n[69]?"DisplayNone":"")},m(e,t){ue(e,i,t),l.m(i,null),n[85](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))),128&t[2]&&r!==(r=e[69]?"DisplayNone":"")&&fe(i,"class",r),128&t[2]&&a!==(a=e[69]?"DisplayNone":"")&&fe(i,"part",a)},i:W,o:W,d(e){e&&pe(i),l.d(),n[85](null)}}}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Oc,Nc,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,translationurl:35,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:0,playforfun:43,checksession:44,gamebanneractive:1,gameid:45},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[35]}set translationurl(e){this.$$set({translationurl:e}),f()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[43]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[44]}set checksession(e){this.$$set({checksession:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[45]}set gameid(e){this.$$set({gameid:e}),f()}});let Wc="false";function Yc(e,t,n){let i,r,a,o,{endpoint:s=""}=t,{cmsendpoint:l="https://wt1-stage.everymatrix.com/apijson"}=t,{datasource:c=""}=t,{lang:d=""}=t,{session:u=""}=t,{userid:p=""}=t,{opsession:m=""}=t,{clientstyling:h=""}=t,{clientstylingurl:g=""}=t,{clockformat:f=""}=t,{lobbyid:y=""}=t,{currency:b=""}=t,{filteredcategories:v=""}=t,{loginurl:w=""}=t,{registerurl:$=""}=t,{depositurl:x=""}=t,{loginevent:C=""}=t,{registerevent:R=""}=t,{depositevent:D=""}=t,{favorites:k=""}=t,{desktopoffset:F="0"}=t,{mobileoffset:S="0"}=t,{alternativesearch:A="false"}=t,{containermaxwidth:N=""}=t,{haspanicbutton:O="false"}=t,{activecategory:M="LOBBY"}=t,{actionevent:H="CategoryChange"}=t,{livecasino:j="false"}=t,{playforfun:U="true"}=t,{gamemodal:z="true"}=t,{playrandomgame:W="false"}=t,{visiblegames:Y="10"}=t,{integratedgameframedesktop:V="false"}=t,{integratedgameframemobile:q="false"}=t,{gamepagemodalurl:Z="false"}=t,{positionwinnerswidget:J=""}=t,{tabsorder:K=""}=t,{enableautoscroll:X=""}=t,{istopavailable:Q=""}=t,{isrecentavailable:ee=""}=t,{periodrecent:te=""}=t,{periodtop:ne=""}=t,{numberusersrecent:ie=""}=t,{numberuserstop:re=""}=t,{amountlimit:ae=""}=t,{defaultcurrency:oe=""}=t,{positionjackpotbanners:se=""}=t,{caticon0:le=""}=t,{caticon1:ce=""}=t,{caticon2:de=""}=t,{caticon3:ue=""}=t,{backgroundsrc:pe=""}=t,{backgroundsrcmobile:me=""}=t,{titlelogopath:he=""}=t,{iconlabels:ge=""}=t,{visualstructure:fe=""}=t,{showsubgroups:ye="false"}=t,{positioncollections:be=""}=t,{type:ve=""}=t,{titletype:we=""}=t,{collectionprovidersgamenames:$e=""}=t,{positioncasinocalendar:xe=""}=t,{lastplayedperiod:Ce="Last30Days"}=t,{mostplayedperiod:ke="Last30Days"}=t,{lastplayedorder:Fe=""}=t,{lastplayedlimit:Se=""}=t,{lastplayedunique:Me="true"}=t,{mostplayed:T=""}=t,{mostplayedrounds:Te=""}=t,{lastplayed:E="false"}=t,{randombuttonicon:Ee=""}=t,{filteredrandomgamecategories:Le=""}=t,{addfilterselector:Ie="false"}=t,{addsortingselector:Ge="false"}=t,{filterbylogo:_e="false"}=t,{winnersdatasources:Pe=""}=t,L=!1,I=!1,G="Loading, please wait ...",_="",Be=window.navigator.userAgent,P=!1,B=0,Re=!1;var De,Ae;({withLocale:De,translations:Ae}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(Ae),ot.set(De))});const Ne=e=>{if(e.data)switch(e.data.type){case"searchCancelled":P=!0;break;case"WidgetTopReference":(Re=e.data.scrollTop)&&(B||n(73,B="PC"===lt(Be)?parseInt(F):parseInt(S)),P||window.scrollTo({top:B}),P=!1);break;case"UserSessionID":n(72,_=e.data.session),e.data.userID;break;case"CategoryChange":n(1,M=e.data.itemId)}};return it(()=>(window.addEventListener("message",Ne,!1),n(73,B="PC"===lt(Be)?parseInt(F):parseInt(S)),()=>{window.removeEventListener("message",Ne)})),e.$$set=e=>{"endpoint"in e&&n(74,s=e.endpoint),"cmsendpoint"in e&&n(2,l=e.cmsendpoint),"datasource"in e&&n(75,c=e.datasource),"lang"in e&&n(76,d=e.lang),"session"in e&&n(77,u=e.session),"userid"in e&&n(3,p=e.userid),"opsession"in e&&n(78,m=e.opsession),"clientstyling"in e&&n(4,h=e.clientstyling),"clientstylingurl"in e&&n(5,g=e.clientstylingurl),"clockformat"in e&&n(6,f=e.clockformat),"lobbyid"in e&&n(7,y=e.lobbyid),"currency"in e&&n(0,b=e.currency),"filteredcategories"in e&&n(8,v=e.filteredcategories),"loginurl"in e&&n(79,w=e.loginurl),"registerurl"in e&&n(80,$=e.registerurl),"depositurl"in e&&n(81,x=e.depositurl),"loginevent"in e&&n(9,C=e.loginevent),"registerevent"in e&&n(10,R=e.registerevent),"depositevent"in e&&n(11,D=e.depositevent),"favorites"in e&&n(12,k=e.favorites),"desktopoffset"in e&&n(82,F=e.desktopoffset),"mobileoffset"in e&&n(83,S=e.mobileoffset),"alternativesearch"in e&&n(13,A=e.alternativesearch),"containermaxwidth"in e&&n(14,N=e.containermaxwidth),"haspanicbutton"in e&&n(15,O=e.haspanicbutton),"activecategory"in e&&n(1,M=e.activecategory),"actionevent"in e&&n(16,H=e.actionevent),"livecasino"in e&&n(17,j=e.livecasino),"playforfun"in e&&n(18,U=e.playforfun),"gamemodal"in e&&n(19,z=e.gamemodal),"playrandomgame"in e&&n(20,W=e.playrandomgame),"visiblegames"in e&&n(21,Y=e.visiblegames),"integratedgameframedesktop"in e&&n(22,V=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(23,q=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(24,Z=e.gamepagemodalurl),"positionwinnerswidget"in e&&n(25,J=e.positionwinnerswidget),"tabsorder"in e&&n(26,K=e.tabsorder),"enableautoscroll"in e&&n(27,X=e.enableautoscroll),"istopavailable"in e&&n(28,Q=e.istopavailable),"isrecentavailable"in e&&n(29,ee=e.isrecentavailable),"periodrecent"in e&&n(30,te=e.periodrecent),"periodtop"in e&&n(31,ne=e.periodtop),"numberusersrecent"in e&&n(32,ie=e.numberusersrecent),"numberuserstop"in e&&n(33,re=e.numberuserstop),"amountlimit"in e&&n(34,ae=e.amountlimit),"defaultcurrency"in e&&n(35,oe=e.defaultcurrency),"positionjackpotbanners"in e&&n(36,se=e.positionjackpotbanners),"caticon0"in e&&n(37,le=e.caticon0),"caticon1"in e&&n(38,ce=e.caticon1),"caticon2"in e&&n(39,de=e.caticon2),"caticon3"in e&&n(40,ue=e.caticon3),"backgroundsrc"in e&&n(41,pe=e.backgroundsrc),"backgroundsrcmobile"in e&&n(42,me=e.backgroundsrcmobile),"titlelogopath"in e&&n(43,he=e.titlelogopath),"iconlabels"in e&&n(44,ge=e.iconlabels),"visualstructure"in e&&n(84,fe=e.visualstructure),"showsubgroups"in e&&n(45,ye=e.showsubgroups),"positioncollections"in e&&n(46,be=e.positioncollections),"type"in e&&n(47,ve=e.type),"titletype"in e&&n(48,we=e.titletype),"collectionprovidersgamenames"in e&&n(49,$e=e.collectionprovidersgamenames),"positioncasinocalendar"in e&&n(50,xe=e.positioncasinocalendar),"lastplayedperiod"in e&&n(51,Ce=e.lastplayedperiod),"mostplayedperiod"in e&&n(52,ke=e.mostplayedperiod),"lastplayedorder"in e&&n(53,Fe=e.lastplayedorder),"lastplayedlimit"in e&&n(54,Se=e.lastplayedlimit),"lastplayedunique"in e&&n(55,Me=e.lastplayedunique),"mostplayed"in e&&n(56,T=e.mostplayed),"mostplayedrounds"in e&&n(57,Te=e.mostplayedrounds),"lastplayed"in e&&n(58,E=e.lastplayed),"randombuttonicon"in e&&n(59,Ee=e.randombuttonicon),"filteredrandomgamecategories"in e&&n(60,Le=e.filteredrandomgamecategories),"addfilterselector"in e&&n(61,Ie=e.addfilterselector),"addsortingselector"in e&&n(62,Ge=e.addsortingselector),"filterbylogo"in e&&n(63,_e=e.filterbylogo),"winnersdatasources"in e&&n(64,Pe=e.winnersdatasources)},e.$$.update=()=>{if(16384&e.$$.dirty[2]&&d&&Qi(d),8&e.$$.dirty[0]|36864&e.$$.dirty[2]&&u&&p&&s&&Xi(s,u).then(e=>{n(72,_=e.Guid),e.UserID,n(0,b=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),4096&e.$$.dirty[0]|167772160&e.$$.dirty[1]|28672&e.$$.dirty[2]&&s&&c&&d&&T&&E&&k&&(s||(n(71,G="Endpoint is missing! Please provide a valid endpointURL."),n(70,I=!0),console.error(G)),c||(n(71,G="Datasource is missing! Please provide a valid datasource."),n(70,I=!0),console.error(G)),(!d||d.length<2)&&(n(71,G="Language is missing! Please provide a valid language (alpha2code)"),n(70,I=!0),console.error(G)),Qi(d),n(66,i=s),n(67,r=c),n(68,a=d),n(70,I=!1)),65536&e.$$.dirty[2]&&m&&n(72,_=m),16&e.$$.dirty[0]|8&e.$$.dirty[2]&&h&&o){let e=document.createElement("style");e.innerHTML=h,o.appendChild(e)}if(32&e.$$.dirty[0]|8&e.$$.dirty[2]&&g&&o){n(69,L=!0);let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(69,L=!1)},500))})}},[b,M,l,p,h,g,f,y,v,C,R,D,k,A,N,O,H,j,U,z,W,Y,V,q,Z,J,K,X,Q,ee,te,ne,ie,re,ae,oe,se,le,ce,de,ue,pe,me,he,ge,ye,be,ve,we,$e,xe,Ce,ke,Fe,Se,Me,T,Te,E,Ee,Le,Ie,Ge,_e,Pe,o,i,r,a,L,I,G,_,B,s,c,d,u,m,w,$,x,F,S,fe,function(e){rt[e?"unshift":"push"](()=>{o=e,n(65,o)})}]}class Vc extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Yc,zc,t,{endpoint:74,cmsendpoint:2,datasource:75,lang:76,session:77,userid:3,opsession:78,clientstyling:4,clientstylingurl:5,clockformat:6,lobbyid:7,currency:0,filteredcategories:8,loginurl:79,registerurl:80,depositurl:81,loginevent:9,registerevent:10,depositevent:11,favorites:12,desktopoffset:82,mobileoffset:83,alternativesearch:13,containermaxwidth:14,haspanicbutton:15,activecategory:1,actionevent:16,livecasino:17,playforfun:18,gamemodal:19,playrandomgame:20,visiblegames:21,integratedgameframedesktop:22,integratedgameframemobile:23,gamepagemodalurl:24,positionwinnerswidget:25,tabsorder:26,enableautoscroll:27,istopavailable:28,isrecentavailable:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:34,defaultcurrency:35,positionjackpotbanners:36,caticon0:37,caticon1:38,caticon2:39,caticon3:40,backgroundsrc:41,backgroundsrcmobile:42,titlelogopath:43,iconlabels:44,visualstructure:84,showsubgroups:45,positioncollections:46,type:47,titletype:48,collectionprovidersgamenames:49,positioncasinocalendar:50,lastplayedperiod:51,mostplayedperiod:52,lastplayedorder:53,lastplayedlimit:54,lastplayedunique:55,mostplayed:56,mostplayedrounds:57,lastplayed:58,randombuttonicon:59,filteredrandomgamecategories:60,addfilterselector:61,addsortingselector:62,filterbylogo:63,winnersdatasources:64},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","cmsendpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","showsubgroups","positioncollections","type","titletype","collectionprovidersgamenames","positioncasinocalendar","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayed","mostplayedrounds","lastplayed","randombuttonicon","filteredrandomgamecategories","addfilterselector","addsortingselector","filterbylogo","winnersdatasources"]}get endpoint(){return this.$$.ctx[74]}set endpoint(e){this.$$set({endpoint:e}),f()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get datasource(){return this.$$.ctx[75]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[76]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[77]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[78]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[6]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[7]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get filteredcategories(){return this.$$.ctx[8]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get loginurl(){return this.$$.ctx[79]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[80]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[81]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[9]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[10]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[11]}set depositevent(e){this.$$set({depositevent:e}),f()}get favorites(){return this.$$.ctx[12]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[82]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[83]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[14]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[15]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[16]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[17]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[18]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[19]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[20]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[21]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[22]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[23]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[25]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[26]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[27]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[28]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[29]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[31]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[34]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[36]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[37]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[38]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[39]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[40]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[41]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[42]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[43]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[44]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[84]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get showsubgroups(){return this.$$.ctx[45]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get positioncollections(){return this.$$.ctx[46]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[47]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[48]}set titletype(e){this.$$set({titletype:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[49]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}get positioncasinocalendar(){return this.$$.ctx[50]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),f()}get lastplayedperiod(){return this.$$.ctx[51]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get mostplayedperiod(){return this.$$.ctx[52]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}get lastplayedorder(){return this.$$.ctx[53]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[54]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get lastplayedunique(){return this.$$.ctx[55]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}get mostplayed(){return this.$$.ctx[56]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[57]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[58]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get randombuttonicon(){return this.$$.ctx[59]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[60]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get addfilterselector(){return this.$$.ctx[61]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[62]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[63]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}get winnersdatasources(){return this.$$.ctx[64]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",Vc),Vc});
32
+ `},K,g,y,b,v,x,ne,k,F,S,M,T,E,L,I,G,he,ge,function(e){rt[e?"unshift":"push"](()=>{a=e,o(19,a)})},()=>be($),()=>ye($),()=>be($),function(e){rt[e?"unshift":"push"](()=>{h=e,o(14,h)})},function(e){rt[e?"unshift":"push"](()=>{s=e,o(11,s)})}]}function oa(e,t){Ii(e,t)}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity: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}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},aa,ea,t,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),f()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const sa={en:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},zh:{Translations:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"}},de:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},it:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},fr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},es:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},tr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},ru:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},ro:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},hr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},hu:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},pl:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},pt:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},sl:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},sr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}}};function la(e,t,n){const i=e.slice();return i[35]=t[n],i[36]=t,i[37]=n,i}function ca(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,e,$,D,x,C,A,k,F,S,M,T,E,N,L=n[11]("Translations.filterby")+"",I=n[11]("Translations.providers")+"",G=n[11]("Translations.clear")+"";function O(e){return e[7]?pa:ua}let _=O(n),P=_(n),B=n[5],R=[];for(let e=0;e<B.length;e+=1)R[e]=ga(la(n,B,e));return{c(){i=me("div"),r=me("div"),a=me("div"),o=j("svg"),s=j("path"),l=ge(),c=me("div"),d=me("span"),u=he(L),p=ge(),m=me("div"),h=me("span"),g=he(I),f=ge(),P.c(),y=ge(),b=me("span"),v=j("svg"),w=j("path"),D=ge(),x=me("div"),C=me("ul");for(let e=0;e<R.length;e+=1)R[e].c();A=ge(),k=me("button"),F=he(G),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(m,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(a,"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(r,"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(i,"class",T="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(d,u),de(c,p),de(c,m),de(m,h),de(h,g),de(m,f),P.m(m,null),de(r,y),de(r,b),de(b,v),de(v,w),de(i,D),de(i,x),de(x,C);for(let e=0;e<R.length;e+=1)R[e].m(C,null);de(x,A),de(x,k),de(k,F),E||(N=[Z(r,"click",n[22]),Z(k,"click",n[25])],E=!0)},p(t,n){if(2048&n[0]&&L!==(L=t[11]("Translations.filterby")+"")&&ye(u,L),2048&n[0]&&I!==(I=t[11]("Translations.providers")+"")&&ye(g,I),_===(_=O(t))&&P?P.p(t,n):(P.d(1),(P=_(t))&&(P.c(),P.m(m,null))),16&n[0]&&e!==(e="TriangleInactive "+(t[4]?"TriangleActive":""))&&fe(b,"class",e),16&n[0]&&$!==($="FilterSelector "+(t[4]?"FilterSelectorOpen":""))&&fe(r,"class",$),8228&n[0]){let e;for(B=t[5],e=0;e<B.length;e+=1){const r=la(t,B,e);R[e]?R[e].p(r,n):(R[e]=ga(r),R[e].c(),R[e].m(C,null))}for(;e<R.length;e+=1)R[e].d(1);R.length=B.length}2048&n[0]&&G!==(G=t[11]("Translations.clear")+"")&&ye(F,G),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]&&T!==(T="FilterContainer "+("true"==t[0]&&"true"==t[1]?"FilerContainerSplit":""))&&fe(i,"class",T)},d(e){e&&pe(i),P.d(),H(R,e),E=!1,q(N)}}}function da(e){let n,i,r=e[11]("casinoPage.500")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){2048&t[0]&&r!==(r=e[11]("casinoPage.500")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function ua(e){let n,i;return{c(){n=me("span"),i=he(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&ye(i,e[8])},d(e){e&&pe(n)}}}function pa(e){let n,i,r=e[11]("Translations.all")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){2048&t[0]&&r!==(r=e[11]("Translations.all")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function ma(e){let n,i;return{c(){ce((n=me("img")).src,i=e[35].logo)||fe(n,"src",i),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,i=e[35].logo)&&fe(n,"src",i)},d(e){e&&pe(n)}}}function ha(e){let n,i,r=e[35].name+"";return{c(){n=me("span"),i=he(r)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[0]&&r!==(r=e[35].name+"")&&ye(i,r)},d(e){e&&pe(n)}}}function ga(n){let i,r,a,o,s,l,c,d,u,p,m,h;function g(){n[23].call(a,n[36],n[37])}function f(){return n[24](n[35])}function y(e){return"false"===e[2]?ha:"true"===e[2]?ma:void 0}let b=y(n),v=b&&b(n);return{c(){i=me("li"),r=me("label"),a=me("input"),s=ge(),l=me("span"),c=ge(),v&&v.c(),d=ge(),fe(a,"type","checkbox"),fe(a,"name","checkbox"),a.__value=o=n[35].name,a.value=a.__value,fe(l,"class","FiltersCheckmark"),fe(r,"class","FilterLabel"),fe(i,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),i.value=p=n[35].name},m(e,t){ue(e,i,t),de(i,r),de(r,a),a.checked=n[35].isFilterSelected,de(r,s),de(r,l),de(r,c),v&&v.m(r,null),de(i,d),m||(h=[Z(a,"change",g),Z(a,"click",f)],m=!0)},p(e,t){n=e,32&t[0]&&o!==(o=n[35].name)&&(a.__value=o,a.value=a.__value),32&t[0]&&(a.checked=n[35].isFilterSelected),b===(b=y(n))&&v?v.p(n,t):(v&&v.d(1),(v=b&&b(n))&&(v.c(),v.m(r,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(i,"class",u),32&t[0]&&p!==(p=n[35].name)&&(i.value=p)},d(e){e&&pe(i),v&&v.d(),m=!1,q(h)}}}function fa(n){let i;function r(e){return e[10]?da:e[9]?void 0:ca}let a=r(n),o=a&&a(n);return{c(){i=me("div"),o&&o.c(),this.c=V},m(e,t){ue(e,i,t),o&&o.m(i,null),n[26](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o&&o.d(),n[26](null)}}}function ya(n,e,i){let t;ct(n,Ki,e=>i(11,t=e));let r,{endpoint:a=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:p="false"}=e,{addsortingselector:m="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:{}}),ot.subscribe(e=>{null==e&&(at.set(F),ot.set(k))}),Object.keys(sa).forEach(e=>{oa(e,sa[e])}),v[u]&&(v={[u]:[]});const S=()=>{i(4,g=!g)},M=t=>{let e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,b.length&&0!=b.filter(e=>e.name===t.name).length?i(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),T()},T=()=>{i(7,w=b.length===y.length||0==b.length),i(8,$=b.length)},E=()=>{i(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),i(5,y),window.postMessage({type:"ApplyFilters"},window.location.href),i(7,w=!0),i(4,g=!1)};return n.$$set=e=>{"endpoint"in e&&i(15,a=e.endpoint),"datasource"in e&&i(16,o=e.datasource),"lang"in e&&i(17,s=e.lang),"translationurl"in e&&i(18,l=e.translationurl),"clientstyling"in e&&i(19,c=e.clientstyling),"clientstylingurl"in e&&i(20,d=e.clientstylingurl),"categoryid"in e&&i(21,u=e.categoryid),"addfilterselector"in e&&i(0,p=e.addfilterselector),"addsortingselector"in e&&i(1,m=e.addsortingselector),"filterbylogo"in e&&i(2,h=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&a&&o&&u&&h){const t=new URL(a+"/casino/vendors");var e;t.searchParams.append("fields","id,name,logo,subVendors"),t.searchParams.append("language",s),t.searchParams.append("datasource",o),t.searchParams.append("platform",lt(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,i(9,x=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),i(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}),i(5,y=e),T()}).catch(e=>{console.error(e),i(10,C=!0),n(e)}).finally(()=>{i(9,x=!1)})})}if(524296&n.$$.dirty[0]&&c&&r){let e=document.createElement("style");e.innerHTML=c,r.appendChild(e)}if(1048584&n.$$.dirty[0]&&d&&r){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{oa(e,t[e])})}).catch(e=>{console.log(e)})},[p,m,h,r,g,y,b,w,$,x,C,t,S,M,E,a,o,s,l,c,d,u,()=>S(),function(e,t){e[t].isFilterSelected=this.checked,i(5,y)},e=>M(e),()=>E(),function(e){rt[e?"unshift":"push"](()=>{r=e,i(3,r)})}]}function ba(e,t,n){const i=e.slice();return i[81]=t[n],i[83]=n,i}function va(e,t,n){const i=e.slice();return i[81]=t[n],i[84]=t,i[83]=n,i}function wa(e,t,n){const i=e.slice();return i[81]=t[n],i[83]=n,i}function $a(e){let n;function i(e){return e[22]?Fa:e[33]?ka:void 0}let r=i(e),a=r&&r(e);return{c(){n=me("div"),a&&a.c()},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n,null)))},d(e){e&&pe(n),a&&a.d()}}}function xa(e){let n,i,r;function a(e){return e[26]?Za:e[23].length?Va:qa}let o=a(e),s=o(e);function l(e){return e[23]?Ka:Ja}let c=l(e),d=c(e);return{c(){n=me("div"),i=me("div"),s.c(),r=ge(),d.c(),fe(i,"class","CasinoGamesHeader Searched "+(st(e[38])?"CasinoGamesHeaderMobile":"")),fe(i,"part","CasinoGamesHeader Searched "+(st(e[38])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,i),s.m(i,null),de(n,r),d.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(i,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&&pe(n),s.d(),d.d()}}}function Ca(e){let n;function i(e){return e[28]?to:eo}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r!==(r=i(e))&&(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function ka(n){let i,r,a,o,s,l="true"!==n[14]&&Sa(n);function c(e){return e[20]&&!e[30]?Ea:e[36]?Ta:Ma}let d=c(n),u=d(n);return{c(){i=me("div"),l&&l.c(),r=ge(),a=me("ul"),u.c(),fe(a,"class",o=(0!=n[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(a,"part",s=(0!=n[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(i,"class","CasinoGamesContainer"),fe(i,"part","CasinoGamesContainer")},m(e,t){ue(e,i,t),l&&l.m(i,null),de(i,r),de(i,a),u.m(a,null),n[56](a)},p(e,t){"true"!==e[14]?l?l.p(e,t):((l=Sa(e)).c(),l.m(i,r)):l&&(l.d(1),l=null),d===(d=c(e))&&u?u.p(e,t):(u.d(1),(u=d(e))&&(u.c(),u.m(a,null))),32&t[1]&&o!==(o=(0!=e[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(a,"class",o),32&t[1]&&s!==(s=(0!=e[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(a,"part",s)},d(e){e&&pe(i),l&&l.d(),u.d(),n[56](null)}}}function Fa(e){let n,i,r="true"!==e[14]&&Na(e);function a(e){return e[20]&&!e[30]?Wa:0!==e[23].length?za:Ua}let o=a(e),s=o(e);return{c(){n=me("div"),r&&r.c(),i=ge(),s.c(),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),r&&r.m(n,null),de(n,i),s.m(n,null)},p(e,t){"true"!==e[14]?r?r.p(e,t):((r=Na(e)).c(),r.m(n,i)):r&&(r.d(1),r=null),o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(n,null)))},d(e){e&&pe(n),r&&r.d(),s.d()}}}function Sa(n){let i,r,a,o,s,l,c,d,u=n[37]("gamesCategorySection.favorites")+"",p=n[36].items.length+"";return{c(){i=me("div"),r=me("h3"),a=he(u),o=ge(),s=me("span"),l=he("("),c=he(p),d=he(")"),fe(s,"class","CategoryFavName"),fe(r,"class","CategoryName"),fe(r,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(s,l),de(s,c),de(s,d),n[55](r)},p(e,t){64&t[1]&&u!==(u=e[37]("gamesCategorySection.favorites")+"")&&ye(a,u),32&t[1]&&p!==(p=e[36].items.length+"")&&ye(c,p)},d(e){e&&pe(i),n[55](null)}}}function Ma(e){let n,i,r=e[37]("gamesCategorySection.waiting")+"";return{c(){n=me("p"),i=he(r)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.waiting")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Ta(t){let i,r=t[36].items,a=[];for(let e=0;e<r.length;e+=1)a[e]=Aa(ba(t,r,e));let o=null;return r.length||(o=La(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();i=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);ue(t,i,n),o&&o.m(t,n)},p(t,n){if(16378&n[0]|508&n[1]){let e;for(r=t[36].items,e=0;e<r.length;e+=1){const o=ba(t,r,e);a[e]?a[e].p(o,n):(a[e]=Aa(o),a[e].c(),a[e].m(i.parentNode,i))}for(;e<a.length;e+=1)a[e].d(1);a.length=r.length,!r.length&&o?o.p(t,n):r.length?o&&(o.d(1),o=null):((o=La(t)).c(),o.m(i.parentNode,i))}},d(e){H(a,e),e&&pe(i),o&&o.d(e)}}}function Ea(e){let n;return{c(){fe(n=me("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function La(e){let n,i,r,a,o,s,l,c,d,u,p,m,h,g,t,f,y=e[37]("gamesCategorySection.noFavoritesTitle")+"",b=(w=e,st(w[38])?Ga:Ia),v=b(e);var w;return{c(){n=me("p"),i=j("svg"),r=j("rect"),a=j("rect"),o=j("circle"),s=j("path"),l=j("path"),c=j("path"),d=j("path"),u=ge(),p=me("span"),m=he(y),h=ge(),v.c(),g=ge(),fe(r,"x","1"),fe(r,"y","18.053"),fe(r,"width","90.263"),fe(r,"height","90.263"),fe(r,"rx","12"),fe(r,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(r,"stroke-width","1.5"),fe(a,"x","106.737"),fe(a,"y","56.737"),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(o,"cx","70.5"),fe(o,"cy","32.237"),fe(o,"r","31.487"),fe(o,"stroke","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-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-color-primary, #D0046C)"),fe(c,"stroke","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-color-primary, #D0046C)"),fe(d,"stroke-width","1.5"),fe(d,"stroke-linecap","round"),fe(d,"stroke-linejoin","round"),fe(i,"width","198"),fe(i,"height","148"),fe(i,"viewBox","0 0 198 148"),fe(i,"fill","none"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(p,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(p,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(st(e[38])?"NoFavoriteGamesMobile":"")),fe(n,"part",f="NoFavoriteGames "+(st(e[38])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(i,o),de(i,s),de(i,l),de(i,c),de(i,d),de(n,u),de(n,p),de(p,m),de(n,h),v.m(n,null),de(n,g)},p(e,t){64&t[1]&&y!==(y=e[37]("gamesCategorySection.noFavoritesTitle")+"")&&ye(m,y),v.p(e,t)},d(e){e&&pe(n),v.d()}}}function Ia(e){let n,i,r=e[37]("gamesCategorySection.noFavorites")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.noFavorites")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Ga(e){let n,i,r=e[37]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.noFavoritesMobile")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function _a(e){let n,i=e[81].gameModel.isFavorite&&Pa(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[81].gameModel.isFavorite?i?i.p(e,t):((i=Pa(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function Pa(e){let n,i=function(e){let n,i,r;function a(e,t){return 32&t[1]&&(i=null),(n=null==n?!!st(e[38]):n)?Ra:(i=null==i?!!e[81].gameModel.platform.includes("PC"):i)?Ba:void 0}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),r=c()},m(e,t){s&&s.m(e,t),ue(e,r,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s&&s.d(e),e&&pe(r)}}}(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){i.p(e,t)},d(e){i&&i.d(e),e&&pe(n)}}}function Ba(e){let n,i,r,a,o,s,l,c,d,u,p,m,h,g;return{c(){k(n=me("casino-game-thumbnail"),"class",i=""+(io+(e[81].cellSize||"1x1"))),k(n,"part",r=""+(io+(e[81].cellSize||"1x1"))),k(n,"session",e[4]),k(n,"userid",e[5]),k(n,"lang",e[3]),k(n,"favorites",e[6]),k(n,"gamethumbnail",a=e[81].gameModel.thumbnail),k(n,"gamename",o=e[81].gameModel.name),k(n,"gamevendor",s=e[81].gameModel.vendor.name),k(n,"gameisnew",l=e[81].gameModel.isNew),k(n,"gametag",c=0<e[81].gameModel.advancedTags?.length&&e[39](e[81].gameModel.advancedTags)),k(n,"gamecellsize",d=e[81].cellSize),k(n,"gameid",u=e[81].gameModel.id),k(n,"gamefunmode",p=e[81].gameModel.hasFunMode),k(n,"gamefavorite",m=e[81].gameModel.isFavorite),k(n,"showfavoredcategory",e[33]),k(n,"connectlive",h=1==e[34][e[81].id]?"connect":"disconnect"),k(n,"visibilityconnect",e[35]),k(n,"currency",e[9]),k(n,"livelobbyendpoint",g=e[81].gameModel.details?e[81].gameModel.launchUrl:""),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8]),k(n,"endpoint",e[1]),k(n,"livecasino",e[10]),k(n,"gamepagemodalurl",e[11]),k(n,"integratedgameframedesktop",e[12]),k(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){32&t[1]&&i!==(i=""+(io+(e[81].cellSize||"1x1")))&&k(n,"class",i),32&t[1]&&r!==(r=""+(io+(e[81].cellSize||"1x1")))&&k(n,"part",r),16&t[0]&&k(n,"session",e[4]),32&t[0]&&k(n,"userid",e[5]),8&t[0]&&k(n,"lang",e[3]),64&t[0]&&k(n,"favorites",e[6]),32&t[1]&&a!==(a=e[81].gameModel.thumbnail)&&k(n,"gamethumbnail",a),32&t[1]&&o!==(o=e[81].gameModel.name)&&k(n,"gamename",o),32&t[1]&&s!==(s=e[81].gameModel.vendor.name)&&k(n,"gamevendor",s),32&t[1]&&l!==(l=e[81].gameModel.isNew)&&k(n,"gameisnew",l),32&t[1]&&c!==(c=0<e[81].gameModel.advancedTags?.length&&e[39](e[81].gameModel.advancedTags))&&k(n,"gametag",c),32&t[1]&&d!==(d=e[81].cellSize)&&k(n,"gamecellsize",d),32&t[1]&&u!==(u=e[81].gameModel.id)&&k(n,"gameid",u),32&t[1]&&p!==(p=e[81].gameModel.hasFunMode)&&k(n,"gamefunmode",p),32&t[1]&&m!==(m=e[81].gameModel.isFavorite)&&k(n,"gamefavorite",m),4&t[1]&&k(n,"showfavoredcategory",e[33]),40&t[1]&&h!==(h=1==e[34][e[81].id]?"connect":"disconnect")&&k(n,"connectlive",h),16&t[1]&&k(n,"visibilityconnect",e[35]),512&t[0]&&k(n,"currency",e[9]),32&t[1]&&g!==(g=e[81].gameModel.details?e[81].gameModel.launchUrl:"")&&k(n,"livelobbyendpoint",g),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8]),2&t[0]&&k(n,"endpoint",e[1]),1024&t[0]&&k(n,"livecasino",e[10]),2048&t[0]&&k(n,"gamepagemodalurl",e[11]),4096&t[0]&&k(n,"integratedgameframedesktop",e[12]),8192&t[0]&&k(n,"integratedgameframemobile",e[13])},d(e){e&&pe(n)}}}function Ra(e){let n,i=e[81].gameModel.platform.includes("iPad")||e[81].gameModel.platform.includes("iPhone")||e[81].gameModel.platform.includes("Android"),r=i&&Da(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(i=32&t[1]?e[81].gameModel.platform.includes("iPad")||e[81].gameModel.platform.includes("iPhone")||e[81].gameModel.platform.includes("Android"):i)?r?r.p(e,t):((r=Da(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&pe(n)}}}function Da(e){let n,i,r,a,o,s,l,c,d,u,p,m,h,g;return{c(){k(n=me("casino-game-thumbnail"),"class",i=""+(io+(e[81].cellSize||"1x1"))),k(n,"part",r=""+(io+(e[81].cellSize||"1x1"))),k(n,"session",e[4]),k(n,"userid",e[5]),k(n,"lang",e[3]),k(n,"favorites",e[6]),k(n,"gamethumbnail",a=e[81].gameModel.thumbnail),k(n,"gamename",o=e[81].gameModel.name),k(n,"gamevendor",s=e[81].gameModel.vendor.name),k(n,"gameisnew",l=e[81].gameModel.isNew),k(n,"gametag",c=0<e[81].gameModel.advancedTags?.length&&e[39](e[81].gameModel.advancedTags)),k(n,"gamecellsize",d=e[81].cellSize),k(n,"gameid",u=e[81].gameModel.id),k(n,"gamefunmode",p=e[81].gameModel.hasFunMode),k(n,"gamefavorite",m=e[81].gameModel.isFavorite),k(n,"showfavoredcategory",e[33]),k(n,"connectlive",h=1==e[34][e[81].id]?"connect":"disconnect"),k(n,"visibilityconnect",e[35]),k(n,"currency",e[9]),k(n,"livelobbyendpoint",g=e[81].gameModel.details?e[81].gameModel.launchUrl:""),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8]),k(n,"endpoint",e[1]),k(n,"livecasino",e[10]),k(n,"gamepagemodalurl",e[11]),k(n,"integratedgameframedesktop",e[12]),k(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){32&t[1]&&i!==(i=""+(io+(e[81].cellSize||"1x1")))&&k(n,"class",i),32&t[1]&&r!==(r=""+(io+(e[81].cellSize||"1x1")))&&k(n,"part",r),16&t[0]&&k(n,"session",e[4]),32&t[0]&&k(n,"userid",e[5]),8&t[0]&&k(n,"lang",e[3]),64&t[0]&&k(n,"favorites",e[6]),32&t[1]&&a!==(a=e[81].gameModel.thumbnail)&&k(n,"gamethumbnail",a),32&t[1]&&o!==(o=e[81].gameModel.name)&&k(n,"gamename",o),32&t[1]&&s!==(s=e[81].gameModel.vendor.name)&&k(n,"gamevendor",s),32&t[1]&&l!==(l=e[81].gameModel.isNew)&&k(n,"gameisnew",l),32&t[1]&&c!==(c=0<e[81].gameModel.advancedTags?.length&&e[39](e[81].gameModel.advancedTags))&&k(n,"gametag",c),32&t[1]&&d!==(d=e[81].cellSize)&&k(n,"gamecellsize",d),32&t[1]&&u!==(u=e[81].gameModel.id)&&k(n,"gameid",u),32&t[1]&&p!==(p=e[81].gameModel.hasFunMode)&&k(n,"gamefunmode",p),32&t[1]&&m!==(m=e[81].gameModel.isFavorite)&&k(n,"gamefavorite",m),4&t[1]&&k(n,"showfavoredcategory",e[33]),40&t[1]&&h!==(h=1==e[34][e[81].id]?"connect":"disconnect")&&k(n,"connectlive",h),16&t[1]&&k(n,"visibilityconnect",e[35]),512&t[0]&&k(n,"currency",e[9]),32&t[1]&&g!==(g=e[81].gameModel.details?e[81].gameModel.launchUrl:"")&&k(n,"livelobbyendpoint",g),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8]),2&t[0]&&k(n,"endpoint",e[1]),1024&t[0]&&k(n,"livecasino",e[10]),2048&t[0]&&k(n,"gamepagemodalurl",e[11]),4096&t[0]&&k(n,"integratedgameframedesktop",e[12]),8192&t[0]&&k(n,"integratedgameframemobile",e[13])},d(e){e&&pe(n)}}}function Aa(e){let n,i=e[81].gameModel&&_a(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[81].gameModel?i?i.p(e,t):((i=_a(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function Na(n){let i,r,a,o,s=n[22].name+"";function l(e){return e[24]?Ha:Oa}let c=l(n),d=c(n);return{c(){i=me("div"),r=me("h3"),a=he(s),o=ge(),d.c(),fe(r,"class","CategoryName"),fe(r,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader")},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[51](r),de(i,o),d.m(i,null)},p(e,t){4194304&t[0]&&s!==(s=e[22].name+"")&&ye(a,s),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(i,null)))},d(e){e&&pe(i),n[51](null),d.d()}}}function Oa(e){let n,i,r="true"==e[15]&&ja(e);return{c(){n=me("div"),r&&r.c(),fe(n,"class",i="true"==e[15]&&"true"==e[16]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),r&&r.m(n,null)},p(e,t){"true"==e[15]?r?r.p(e,t):((r=ja(e)).c(),r.m(n,null)):r&&(r.d(1),r=null),98304&t[0]&&i!==(i="true"==e[15]&&"true"==e[16]?"CategoryFilterContainer":"")&&fe(n,"class",i)},d(e){e&&pe(n),r&&r.d()}}}function Ha(n){let i,r,a,o,s,l,c,d,u=n[37]("gamesCategorySection.viewAll")+"",p=n[22].games.total+"";return{c(){i=me("a"),r=me("span"),a=he(u),o=he(" ("),s=he(p),l=he(")"),fe(r,"class","CategoryLoadMore"),fe(r,"part","CategoryLoadMore"),fe(i,"class","CategoryNameLink"),fe(i,"part","CategoryNameLink")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(r,l),c||(d=Z(i,"click",n[52]),c=!0)},p(e,t){64&t[1]&&u!==(u=e[37]("gamesCategorySection.viewAll")+"")&&ye(a,u),4194304&t[0]&&p!==(p=e[22].games.total+"")&&ye(s,p)},d(e){e&&pe(i),c=!1,d()}}}function ja(e){let n;return{c(){k(n=me("casino-filter"),"clientstylingurl",e[8]),k(n,"clientstyling",e[7]),k(n,"endpoint",e[1]),k(n,"datasource",e[2]),k(n,"lang",e[3]),k(n,"categoryid",e[0]),k(n,"addfilterselector",e[15]),k(n,"addsortingselector",e[16]),k(n,"filterbylogo",e[17])},m(e,t){ue(e,n,t)},p(e,t){256&t[0]&&k(n,"clientstylingurl",e[8]),128&t[0]&&k(n,"clientstyling",e[7]),2&t[0]&&k(n,"endpoint",e[1]),4&t[0]&&k(n,"datasource",e[2]),8&t[0]&&k(n,"lang",e[3]),1&t[0]&&k(n,"categoryid",e[0]),32768&t[0]&&k(n,"addfilterselector",e[15]),65536&t[0]&&k(n,"addsortingselector",e[16]),131072&t[0]&&k(n,"filterbylogo",e[17])},d(e){e&&pe(n)}}}function Ua(e){let n;return{c(){(n=me("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function za(n){let i,e,r,a=n[23],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ya(va(n,a,e));return{c(){i=me("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class",e=(0===n[36].items.length&&n[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(i,"part",r=(0===n[36].items.length&&n[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e].m(i,null);n[54](i)},p(t,n){if(8929274&n[0]|280&n[1]){let e;for(a=t[23],e=0;e<a.length;e+=1){const r=va(t,a,e);o[e]?o[e].p(r,n):(o[e]=Ya(r),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}36&n[1]&&e!==(e=(0===t[36].items.length&&t[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(i,"class",e),36&n[1]&&r!==(r=(0===t[36].items.length&&t[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(i,"part",r)},d(e){e&&pe(i),H(o,e),n[54](null)}}}function Wa(e){let n;return{c(){fe(n=me("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function Ya(e){let n,i=function(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y=n[83];const b=()=>n[53](i,y),v=()=>n[53](null,y);return{c(){k(i=me("casino-game-thumbnail"),"session",n[4]),k(i,"userid",n[5]),k(i,"lang",n[3]),k(i,"class",r=""+(io+(n[81].cellSize||"1x1"))),k(i,"part",a=""+(io+(n[81].cellSize||"1x1"))),k(i,"favorites",n[6]),k(i,"gamethumbnail",o=n[81].thumbnail),k(i,"gamename",s=n[81].name),k(i,"gamevendor",l=n[81].vendor.name),k(i,"gameisnew",c=n[81].isNew),k(i,"gametag",d=0<n[81].advancedTags?.length&&n[39](n[81].advancedTags)),k(i,"gamecellsize",u=n[81].cellSize),k(i,"gameid",p=n[81].id),k(i,"gamefunmode",m=n[81].hasFunMode),k(i,"gamefavorite",h=n[81].isFavorite),k(i,"connectlive",g=1==n[34][n[81].id]?"connect":"disconnect"),k(i,"visibilityconnect",n[35]),k(i,"currency",n[9]),k(i,"livelobbyendpoint",f=n[81].details?n[81].href:""),k(i,"clientstyling",n[7]),k(i,"clientstylingurl",n[8]),k(i,"endpoint",n[1]),k(i,"livecasino",n[10]),k(i,"gamepagemodalurl",n[11]),k(i,"integratedgameframedesktop",n[12]),k(i,"integratedgameframemobile",n[13])},m(e,t){ue(e,i,t),b()},p(e,t){n=e,16&t[0]&&k(i,"session",n[4]),32&t[0]&&k(i,"userid",n[5]),8&t[0]&&k(i,"lang",n[3]),8388608&t[0]&&r!==(r=""+(io+(n[81].cellSize||"1x1")))&&k(i,"class",r),8388608&t[0]&&a!==(a=""+(io+(n[81].cellSize||"1x1")))&&k(i,"part",a),64&t[0]&&k(i,"favorites",n[6]),8388608&t[0]&&o!==(o=n[81].thumbnail)&&k(i,"gamethumbnail",o),8388608&t[0]&&s!==(s=n[81].name)&&k(i,"gamename",s),8388608&t[0]&&l!==(l=n[81].vendor.name)&&k(i,"gamevendor",l),8388608&t[0]&&c!==(c=n[81].isNew)&&k(i,"gameisnew",c),8388608&t[0]&&d!==(d=0<n[81].advancedTags?.length&&n[39](n[81].advancedTags))&&k(i,"gametag",d),8388608&t[0]&&u!==(u=n[81].cellSize)&&k(i,"gamecellsize",u),8388608&t[0]&&p!==(p=n[81].id)&&k(i,"gameid",p),8388608&t[0]&&m!==(m=n[81].hasFunMode)&&k(i,"gamefunmode",m),8388608&t[0]&&h!==(h=n[81].isFavorite)&&k(i,"gamefavorite",h),8388608&t[0]|8&t[1]&&g!==(g=1==n[34][n[81].id]?"connect":"disconnect")&&k(i,"connectlive",g),16&t[1]&&k(i,"visibilityconnect",n[35]),512&t[0]&&k(i,"currency",n[9]),8388608&t[0]&&f!==(f=n[81].details?n[81].href:"")&&k(i,"livelobbyendpoint",f),128&t[0]&&k(i,"clientstyling",n[7]),256&t[0]&&k(i,"clientstylingurl",n[8]),2&t[0]&&k(i,"endpoint",n[1]),1024&t[0]&&k(i,"livecasino",n[10]),2048&t[0]&&k(i,"gamepagemodalurl",n[11]),4096&t[0]&&k(i,"integratedgameframedesktop",n[12]),8192&t[0]&&k(i,"integratedgameframemobile",n[13]),y!==n[83]&&(v(),y=n[83],b())},d(e){e&&pe(i),v()}}}(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){i.p(e,t)},d(e){i&&i.d(e),e&&pe(n)}}}function Va(e){let n,i,r=e[37]("gamesCategorySection.searchedItems")+"";return{c(){n=me("h3"),i=he(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.searchedItems")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function qa(e){let n,i,r=e[37]("gamesCategorySection.noResults")+"";return{c(){n=me("h3"),i=he(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.noResults")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Za(e){let n,i,r=e[37]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=me("h3"),i=he(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.recentSearchedItems")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Ja(e){let n;return{c(){(n=me("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function Ka(t){let i,r,a=!t[29]&&Xa(t),o=t[23],s=[];for(let e=0;e<o.length;e+=1)s[e]=Qa(wa(t,o,e));return{c(){a&&a.c(),i=ge(),r=me("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(r,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(r,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),ue(e,i,t),ue(e,r,t);for(let e=0;e<s.length;e+=1)s[e].m(r,null)},p(t,n){if(t[29]?a&&(a.d(1),a=null):a?a.p(t,n):((a=Xa(t)).c(),a.m(i.parentNode,i)),142622714&n[0]|256&n[1]){let e;for(o=t[23],e=0;e<o.length;e+=1){const a=wa(t,o,e);s[e]?s[e].p(a,n):(s[e]=Qa(a),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&pe(i),e&&pe(r),H(s,e)}}}function Xa(e){let n,i,t,r,a=e[37]("gamesCategorySection.noRecentSearch")+"";return{c(){n=me("p"),i=he(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(st(e[38])?"NoRecentSearchesMobile":"")),fe(n,"part",r="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(st(e[38])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,i)},p(e,t){64&t[1]&&a!==(a=e[37]("gamesCategorySection.noRecentSearch")+"")&&ye(i,a)},d(e){e&&pe(n)}}}function Qa(e){let n,i,r,a,o,s,l,c,d,u,p,m,h;return{c(){k(n=me("casino-game-thumbnail"),"class",i=""+(io+(e[81].cellSize||"1x1"))),k(n,"part",r=""+(io+(e[81].cellSize||"1x1"))),k(n,"session",e[4]),k(n,"userid",e[5]),k(n,"lang",e[3]),k(n,"searchitem",e[27]),k(n,"favorites",e[6]),k(n,"gamethumbnail",a=e[81].thumbnail),k(n,"gamename",o=e[81].name),k(n,"gamevendor",s=e[81].vendor.name),k(n,"gameisnew",l=e[81].isNew),k(n,"gametag",c=0<e[81].advancedTags?.length&&e[39](e[81].advancedTags)),k(n,"gamecellsize",d=e[81].cellSize),k(n,"gameid",u=e[81].id),k(n,"gamefunmode",p=e[81].hasFunMode),k(n,"gamefavorite",m=e[81].isFavorite),k(n,"currency",e[9]),k(n,"livelobbyendpoint",h=e[81].details?e[81].href:""),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8]),k(n,"endpoint",e[1]),k(n,"livecasino",e[10]),k(n,"gamepagemodalurl",e[11]),k(n,"integratedgameframedesktop",e[12]),k(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){8388608&t[0]&&i!==(i=""+(io+(e[81].cellSize||"1x1")))&&k(n,"class",i),8388608&t[0]&&r!==(r=""+(io+(e[81].cellSize||"1x1")))&&k(n,"part",r),16&t[0]&&k(n,"session",e[4]),32&t[0]&&k(n,"userid",e[5]),8&t[0]&&k(n,"lang",e[3]),134217728&t[0]&&k(n,"searchitem",e[27]),64&t[0]&&k(n,"favorites",e[6]),8388608&t[0]&&a!==(a=e[81].thumbnail)&&k(n,"gamethumbnail",a),8388608&t[0]&&o!==(o=e[81].name)&&k(n,"gamename",o),8388608&t[0]&&s!==(s=e[81].vendor.name)&&k(n,"gamevendor",s),8388608&t[0]&&l!==(l=e[81].isNew)&&k(n,"gameisnew",l),8388608&t[0]&&c!==(c=0<e[81].advancedTags?.length&&e[39](e[81].advancedTags))&&k(n,"gametag",c),8388608&t[0]&&d!==(d=e[81].cellSize)&&k(n,"gamecellsize",d),8388608&t[0]&&u!==(u=e[81].id)&&k(n,"gameid",u),8388608&t[0]&&p!==(p=e[81].hasFunMode)&&k(n,"gamefunmode",p),8388608&t[0]&&m!==(m=e[81].isFavorite)&&k(n,"gamefavorite",m),512&t[0]&&k(n,"currency",e[9]),8388608&t[0]&&h!==(h=e[81].details?e[81].href:"")&&k(n,"livelobbyendpoint",h),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8]),2&t[0]&&k(n,"endpoint",e[1]),1024&t[0]&&k(n,"livecasino",e[10]),2048&t[0]&&k(n,"gamepagemodalurl",e[11]),4096&t[0]&&k(n,"integratedgameframedesktop",e[12]),8192&t[0]&&k(n,"integratedgameframemobile",e[13])},d(e){e&&pe(n)}}}function eo(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function to(e){let n;return{c(){(n=me("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function no(n){let i;function r(e){return e[21]?Ca:e[25]?xa:$a}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=V,fe(i,"class","CasinoGamesCategorySectionContainer"),fe(i,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[57](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o.d(),n[57](null)}}}customElements.get("casino-filter")||customElements.define("casino-filter",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>.FilterContainer{color:#fff;position:relative;z-index:16}.FilterSelector{background-color:#58586B;display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:#D1D1D1;text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:grid;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{position:relative}.FilterItem 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}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid #D0046C}.FilterItem input:checked~.FiltersCheckmark{background-color:#D0046C;border:1px solid #D0046C}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin:0 15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid #fff}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{display:grid;grid-template-columns:minmax(150px, 150px);gap:20px;margin-block-start:0}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{grid-template-columns:1fr}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:10px 25px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ya,fa,t,{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),f()))}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}),f()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),f()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}});const io="game-tile-";function ro(e,t,l){let R;ct(e,Ki,e=>l(37,R=e));let a,o,s,n,D,i,c,r,d,u,{categoryindex:A=""}=t,{endpoint:p=""}=t,{datasource:m=""}=t,{lang:h=""}=t,{session:N=""}=t,{userid:O=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:b=""}=t,{currency:H=""}=t,{categoryid:v=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:z=""}=t,{gamepagemodalurl:W="false"}=t,{integratedgameframedesktop:Y="false"}=t,{integratedgameframemobile:V="false"}=t,{casinomygames:w="false"}=t,{addfilterselector:q="false"}=t,{addsortingselector:Z="false"}=t,{filterbylogo:J=""}=t,{once:K=!0}=t,{top:X=0}=t,{bottom:Q=0}=t,{left:ee=0}=t,{right:te=0}=t,$=!0,x=!1,C=!0,ne=window.navigator.userAgent,k=[],F=!0,S=40,M=!1,T=!1,ie=!1,E=!1,L=!1,re=!0,ae=!1,I=!1,oe=!1,G=new Array(1e4),_={},se="",P={items:[],count:0,name:""},le=(Object.keys(Fr).forEach(e=>{kr(e,Fr[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>S&&ue(v),l(34,_[t]=1,_)):l(34,_[t]=0,_)})}));const ce=(e,i,r,t=0)=>{l(20,$=!0);let n,a="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),s=p.replace(/.$/,"2");return a=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${s}/casino/groups/${m}/${n}/subGroups`)):new URL(`${s}/casino/groups/${m}/`+v),new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",lt(ne)),a.searchParams.append("pagination",`games(offset=${i},limit=${r})`),a.searchParams.append("language",h),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),o&&o[v])if(o[v].length&&!1===C&&!1===I){let t="";l(28,L=!0),o[v].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),a.searchParams.append("filter",(o&&o[v].length<2?"$and":"$or")+`(${t})`)}else l(28,L=!1);fetch(a).then(e=>e.json()).then(e=>{l(20,$=!1),1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),l(50,u=!0),l(21,x=!1),D=e.games.total,t(e)},e=>{l(21,x=!0),console.error(e),n(e)})})},de=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==v&&(l(25,M=!1),C=!1,l(24,F=!1),l(23,k=t.data.mostPlayedGames),l(22,s={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),l(20,$=!1);break;case"LastPlayedData":"LASTPLAYED"==v&&(l(25,M=!1),C=!1,l(24,F=!1),l(23,k=t.data.lastPlayedGames),l(22,s={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),l(20,$=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(25,M=!0),l(26,T=!0),0<t.data.searchData.length?(l(23,k=t.data.searchData),l(29,re=!0),k&&k.forEach(e=>{e.isFavorite=B(e.id)})):(l(23,k=[]),l(29,re=!1));break;case"OutOfRecentSearches":l(25,M=!1),l(26,T=!1);break;case"SearchData":l(25,M=!0),l(26,T=!1),l(23,k=t.data.searchData.items||[]),l(27,E=!0),t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),k&&k.forEach(e=>{e.isFavorite=B(e.id)});break;case"CategoryData_"+v:l(25,M=!1),C=!0,l(24,F=!0),l(27,E=!1),oe=!1,t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),ce(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(22,s=e),l(23,k=s.games.items),k&&k.forEach(e=>{e.isFavorite=B(e.id)})});break;case"CategoryChange":S=20;break;case"CategoryUpdate":l(25,M=!1),C=!1,l(27,E=!1),oe=!0,l(0,v=t.data.itemId),"MOSTPLAYED"!==v&&l(24,F=!1),"true"!==w&&ce(0,0,S).then(e=>{l(22,s=e),s.games.items.forEach(e=>{e.isFavorite=B(e.id)}),l(23,k=s.games.items),l(24,F=!1),k.length<10&&0==t.data.origin&&(ie=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ie},window.location.href)},500))});break;case"FavoriteUpdate":C=!0,s&&(l(23,k=s.games.items),k.forEach(e=>{e.isFavorite=B(e.id)}));break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(c=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;I?C||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let e;C=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),l(36,P.items=(n=e,P.items,r=window.navigator.userAgent,st(r)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),P),l(36,P.name="Favorites",P),l(33,I=!0),l(20,$=!1));break;case"UserSessionID":if(a=t.data.session,o=t.data.userID,"true"==g&&o&&o.length&&a&&0<a.length){var i=`${p}/player/${o}/favorites/`;r=a;l(20,$=!0);let e={method:"GET",headers:{"X-SessionID":r}};new Promise((t,n)=>{fetch(i,e).then(e=>e.json()).then(e=>{l(20,$=!1),c=e?e.items:[],k.forEach(e=>{e.isFavorite=B(e.id)});e=k;l(23,k=void 0),l(23,k=e),t(c)}).catch(e=>{console.error(e),n(e)})})}}var n,r},ue=e=>{S+=1,l(30,ae=!0),S<=D&&ce(0,0,S).then(e=>{l(22,s=e),s.games.items.length>k.length&&(l(23,k=s.games.items),k.forEach(e=>{e.isFavorite=B(e.id)})),l(30,ae=!1)})},B=t=>!!c&&-1!==c.findIndex(e=>e.id==t),pe=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return it(()=>(window.addEventListener("visibilitychange",e=>{document[d]?l(35,se="disconnect"):l(35,se="connect")}),window.addEventListener("message",de,!1),"FAVORITES"===v&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",de),window.removeEventListener("visibilitychange",de)})),e.$$set=e=>{"categoryindex"in e&&l(41,A=e.categoryindex),"endpoint"in e&&l(1,p=e.endpoint),"datasource"in e&&l(2,m=e.datasource),"lang"in e&&l(3,h=e.lang),"session"in e&&l(4,N=e.session),"userid"in e&&l(5,O=e.userid),"favorites"in e&&l(6,g=e.favorites),"clientstyling"in e&&l(7,f=e.clientstyling),"clientstylingurl"in e&&l(8,y=e.clientstylingurl),"translationurl"in e&&l(42,b=e.translationurl),"currency"in e&&l(9,H=e.currency),"categoryid"in e&&l(0,v=e.categoryid),"categorygames"in e&&l(43,j=e.categorygames),"livecasino"in e&&l(10,U=e.livecasino),"visiblegames"in e&&l(44,z=e.visiblegames),"gamepagemodalurl"in e&&l(11,W=e.gamepagemodalurl),"integratedgameframedesktop"in e&&l(12,Y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(13,V=e.integratedgameframemobile),"casinomygames"in e&&l(14,w=e.casinomygames),"addfilterselector"in e&&l(15,q=e.addfilterselector),"addsortingselector"in e&&l(16,Z=e.addsortingselector),"filterbylogo"in e&&l(17,J=e.filterbylogo),"once"in e&&l(45,K=e.once),"top"in e&&l(46,X=e.top),"bottom"in e&&l(47,Q=e.bottom),"left"in e&&l(48,ee=e.left),"right"in e&&l(49,te=e.right)},e.$$.update=()=>{if(524288&e.$$.dirty[0]|524288&e.$$.dirty[1]&&u&&G&&oe&&G.forEach((e,t)=>{e&&(e.elems_index=t,le.observe(e))}),9&e.$$.dirty[0]&&h&&v)switch(v){case"FAVORITES":l(33,I=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&l(33,I=!1)}if(2048&e.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{kr(e,t[e])})}).catch(e=>{console.log(e)}),262272&e.$$.dirty[0]&&f&&r){let e=document.createElement("style");e.innerHTML=f,r.appendChild(e)}if(262400&e.$$.dirty[0]&&y&&r){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[v,p,m,h,N,O,g,f,y,H,U,W,Y,V,w,q,Z,J,r,G,$,x,s,k,F,M,T,E,L,re,ae,n,i,I,_,se,P,R,ne,i=>{if(0===(null==i?void 0:i.length))return"";let r,a="",o=999999999999;const s=new Date(Date.now());return i.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Tr(e).diff(s)<o&&(o=Tr(e).diff(s),r=t),Tr(s).isAfter(n)&&Tr(s).isBefore(e)&&(a=i[r].name)}),a},pe,A,b,j,z,K,X,Q,ee,te,u,function(e){rt[e?"unshift":"push"](()=>{i=e,l(32,i)})},e=>pe(s.id),function(e,t){rt[e?"unshift":"push"](()=>{G[t]=e,l(19,G)})},function(e){rt[e?"unshift":"push"](()=>{n=e,l(31,n)})},function(e){rt[e?"unshift":"push"](()=>{i=e,l(32,i)})},function(e){rt[e?"unshift":"push"](()=>{n=e,l(31,n)})},function(e){rt[e?"unshift":"push"](()=>{r=e,l(18,r)})}]}function ao(e,t){Ii(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media only screen and (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row}.CategoryName{margin-bottom:20px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ro,no,t,{categoryindex:41,endpoint:1,datasource:2,lang:3,session:4,userid:5,favorites:6,clientstyling:7,clientstylingurl:8,translationurl:42,currency:9,categoryid:0,categorygames:43,livecasino:10,visiblegames:44,gamepagemodalurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,casinomygames:14,addfilterselector:15,addsortingselector:16,filterbylogo:17,once:45,top:46,bottom:47,left:48,right:49},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[41]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[42]}set translationurl(e){this.$$set({translationurl:e}),f()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[43]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[44]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}get once(){return this.$$.ctx[45]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[46]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[47]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[48]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[49]}set right(e){this.$$set({right:e}),f()}});const oo={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},"zh-hk":{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function so(e,t,n){const i=e.slice();return i[35]=t[n],i[37]=n,i}function lo(n){let i,r,a,o,s,l,c,d=!n[7]&&co(n),u=n[7]&&po(n);return{c(){i=me("div"),r=me("div"),(a=me("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(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(r,"class","ModalContainer"),fe(r,"part","ModalContainer"),fe(i,"class","ModalWindow"),fe(i,"part","ModalWindow")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),d&&d.m(r,null),de(r,s),u&&u.m(r,null),l||(c=Z(a,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=co(e)).c(),d.m(r,s)),e[7]?u?u.p(e,t):((u=po(e)).c(),u.m(r,null)):u&&(u.d(1),u=null)},d(e){e&&pe(i),d&&d.d(),u&&u.d(),l=!1,c()}}}function co(t){let n,i,r,a,o,s,e=t[8]("randomGame.randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=uo(so(t,l,e));return{c(){n=me("div"),i=me("main"),r=me("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ge(),o=me("p"),s=he(e),fe(r,"class","items"),fe(r,"part","items"),P(r,"transform","translateY("+t[6]+"px)"),fe(i,"class","RandomGamesSliderWrapper"),fe(i,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,i),de(i,r);for(let e=0;e<c.length;e+=1)c[e].m(r,null);de(n,a),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 i=so(t,l,e);c[e]?c[e].p(i,n):(c[e]=uo(i),c[e].c(),c[e].m(r,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&P(r,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&pe(n),H(c,e)}}}function uo(e){let n,i,r,a,o,s;return{c(){n=me("div"),i=me("img"),s=ge(),fe(i,"class","RandomGameImage"),fe(i,"part","RandomGameImage"),ce(i.src,r=e[35].thumbnail)||fe(i,"src",r),fe(i,"alt",a=e[35].name),fe(i,"title",o=e[35].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,i),de(n,s)},p(e,t){16&t[0]&&!ce(i.src,r=e[35].thumbnail)&&fe(i,"src",r),16&t[0]&&a!==(a=e[35].name)&&fe(i,"alt",a),16&t[0]&&o!==(o=e[35].name)&&fe(i,"title",o)},d(e){e&&pe(n)}}}function po(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C=n[3].name+"",k=n[3].vendor.name+"",F=n[8]("randomGame.playNowRandomGame")+"";return{c(){i=me("div"),r=me("div"),a=me("img"),c=ge(),(d=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ge(),p=me("div"),m=me("p"),h=he(C),g=ge(),f=me("p"),y=he(k),b=ge(),v=me("button"),w=he(F),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[3].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[3].name),fe(a,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(r,"class","item"),fe(r,"part","item"),fe(m,"class","RandomGameTitle"),fe(m,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(p,"class","RandomGameDetails"),fe(p,"part","RandomGameDetails"),fe(i,"class","RandomGameWrapper"),fe(i,"part","RandomGameWrapper")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,c),de(r,d),de(i,u),de(i,p),de(p,m),de(m,h),de(p,g),de(p,f),de(f,y),de(p,b),de(p,v),de(v,w),$||(x=[Z(d,"click",n[20]),Z(v,"click",n[21])],$=!0)},p(e,t){8&t[0]&&!ce(a.src,o=e[3].thumbnail)&&fe(a,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(a,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(a,"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),256&t[0]&&F!==(F=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,F)},d(e){e&&pe(i),$=!1,q(x)}}}function mo(e){let n,i,r=e[8]("randomGame.playRandomGame")+"";return{c(){n=me("span"),i=he(r),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&r!==(r=e[8]("randomGame.playRandomGame")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function ho(e){let n,i;return{c(){n=me("span"),i=he(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){2&t[0]&&ye(i,e[1])},d(e){e&&pe(n)}}}function go(n){let i,r,a,o,s,l,c,d,u=n[5]&&lo(n);function p(e){return e[1]?ho:e[1]?void 0:mo}let m=p(n),h=m&&m(n);return{c(){i=me("div"),u&&u.c(),r=ge(),a=me("div"),o=me("button"),h&&h.c(),s=ge(),l=me("span"),this.c=V,fe(l,"class","RandomButtonIcon"),fe(l,"part","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(o,"part","RandomButton"),fe(a,"class","RandomButtonWrapper"),fe(a,"part","RandomButtonWrapper"),fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),u&&u.m(i,null),de(i,r),de(i,a),de(a,o),h&&h.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[23](i),c||(d=Z(o,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=lo(e)).c(),u.m(i,r)):u&&(u.d(1),u=null),m===(m=p(e))&&h?h.p(e,t):(h&&h.d(1),(h=m&&m(e))&&(h.c(),h.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:V,o:V,d(e){e&&pe(i),u&&u.d(),h&&h.d(),n[23](null),c=!1,d()}}}function fo(t,e,n){let i;ct(t,Ki,e=>n(8,i=e));let r,a,{endpoint:o=""}=e,{datasource:s=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:p=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{filteredrandomgamecategories:g=""}=e,f=[],y="",b=!1,v=0,w=0,$=!1,x=window.navigator.userAgent;var C,k;({withLocale:C,translations:k}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(k),ot.set(C))}),Object.keys(oo).forEach(e=>{ao(e,oo[e])});const F=()=>{n(4,r=T(r)),n(6,v=0),w=0,n(7,$=!1),n(3,y=f[Math.floor(Math.random()*f.length)]),n(5,b=!0)};let S;const M=e=>{if(g)for(;F(),!g.includes(y.vendor.name););else F();clearInterval(S),S=setInterval(()=>{n(6,v-=75),20==++w&&(n(7,$=!0),clearInterval(S))},150),e&&"function"==typeof gtag&&gtag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},T=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},E=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),n(5,b=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return t.$$set=e=>{"endpoint"in e&&n(12,o=e.endpoint),"datasource"in e&&n(13,s=e.datasource),"gameevent"in e&&n(14,l=e.gameevent),"lang"in e&&n(15,c=e.lang),"randombuttonicon"in e&&n(0,d=e.randombuttonicon),"buttontext"in e&&n(1,u=e.buttontext),"translationurl"in e&&n(16,p=e.translationurl),"clientstyling"in e&&n(17,m=e.clientstyling),"clientstylingurl"in e&&n(18,h=e.clientstylingurl),"filteredrandomgamecategories"in e&&n(19,g=e.filteredrandomgamecategories)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&(e=c,ot.set(e)),65536&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ao(e,t[e])})}).catch(e=>{console.log(e)}),12288&t.$$.dirty[0]&&o&&s){let e=new URL(o+"/casino/games");e.searchParams.append("platform",lt(x)),e.searchParams.append("datasource",s),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{f=e.items,n(4,r=f.slice(0,19))})}if(131076&t.$$.dirty[0]&&m&&a){let e=document.createElement("style");e.innerHTML=m,a.appendChild(e)}if(262148&t.$$.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)})}var e},[d,u,a,y,r,b,v,$,i,M,E,()=>{n(5,b=!1),window.postMessage({type:"RandomWidgetState",state:b},window.location.href)},o,s,l,c,p,m,h,g,()=>M(!0),()=>E(),()=>M(),function(e){rt[e?"unshift":"push"](()=>{a=e,n(2,a)})}]}function yo(e,t){Ii(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden;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-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},fo,go,t,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}});const bo={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},"zh-hk":{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function vo(e,t,n){const i=e.slice();return i[63]=t[n],i}function wo(e,t,n){const i=e.slice();return i[66]=t[n],i}function $o(n){let r,i,a,o,s,l,c,d,e,u,p,m,h,g,f,y,b,v,w,$,x=n[14],C=[];for(let e=0;e<x.length;e+=1)C[e]=Fo(wo(n,x,e));let k=n[9],F=[];for(let e=0;e<k.length;e+=1)F[e]=So(vo(n,k,e));return{c(){r=me("div"),i=me("div"),a=me("div");for(let e=0;e<C.length;e+=1)C[e].c();o=ge(),s=me("div"),l=me("button"),c=j("svg"),d=j("path"),u=ge(),p=me("button"),m=j("svg"),h=j("path"),y=ge(),b=me("div");for(let e=0;e<F.length;e+=1)F[e].c();fe(a,"class","WinnerButtonsContainer"),fe(d,"style",e=n[10]>=n[9].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[10]>=n[9].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(m,"id","Component_46_2"),fe(m,"data-name","Component 46 – 2"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(m,"width","15"),fe(m,"height","15"),fe(m,"viewBox","0 0 16 24.656"),fe(p,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(i,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(r,"class",v="CasinoWinners "+(n[11]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a);for(let e=0;e<C.length;e+=1)C[e].m(a,null);de(i,o),de(i,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,p),de(p,m),de(m,h),de(r,y),de(r,b);for(let e=0;e<F.length;e+=1)F[e].m(b,null);n[42](b),w||($=[Z(l,"click",n[39]),Z(p,"click",n[40])],w=!0)},p(t,n){if(114947&n[0]){let e;for(x=t[14],e=0;e<x.length;e+=1){var i=wo(t,x,e);C[e]?C[e].p(i,n):(C[e]=Fo(i),C[e].c(),C[e].m(a,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=x.length}if(1536&n[0]&&e!==(e=t[10]>=t[9].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),1536&n[0]&&g!==(g=t[10]>=t[9].length?"fill:#F6F6F62E":"")&&fe(h,"style",g),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(s,"class",f),434732&n[0]){let e;for(k=t[9],e=0;e<k.length;e+=1){const a=vo(t,k,e);F[e]?F[e].p(a,n):(F[e]=So(a),F[e].c(),F[e].m(b,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=k.length}2048&n[0]&&v!==(v="CasinoWinners "+(t[11]?"Mobile":""))&&fe(r,"class",v)},d(e){e&&pe(r),H(C,e),H(F,e),n[42](null),w=!1,q($)}}}function xo(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function Co(n){let i,r,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){i=me("button"),r=he(l),fe(i,"class",a="WinnersButton "+("recent"==n[8]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),o||(s=Z(i,"click",n[37]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(r,l),257&t[0]&&a!==(a="WinnersButton "+("recent"==e[8]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(i,"class",a)},d(e){e&&pe(i),o=!1,s()}}}function ko(n){let i,r,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){i=me("button"),r=he(c),a=ge(),fe(i,"class",o="WinnersButton "+("top"==n[8]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),de(i,a),s||(l=Z(i,"click",n[38]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(r,c),258&t[0]&&o!==(o="WinnersButton "+("top"==e[8]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(i,"class",o)},d(e){e&&pe(i),s=!1,l()}}}function Fo(e){let n,i,r="recent"==e[66]&&Co(e),a="top"==e[66]&&ko(e);return{c(){r&&r.c(),n=ge(),a&&a.c(),i=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),a&&a.m(e,t),ue(e,i,t)},p(e,t){"recent"==e[66]?r?r.p(e,t):((r=Co(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"top"==e[66]?a?a.p(e,t):((a=ko(e)).c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(e){r&&r.d(e),e&&pe(n),a&&a.d(e),e&&pe(i)}}}function So(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C,k,F,S,M=n[63].gameName+"",T=n[17](n[63].username)+"",E=n[15]("Translations.won")+"",L=n[63].specifiedCurrencyAmount.toFixed(2)+"",I=(n[5]?n[3]:n[2])+"";function G(){return n[41](n[63])}return{c(){i=me("div"),r=me("div"),a=me("img"),l=ge(),c=me("p"),d=he(M),u=ge(),p=me("p"),m=he(T),h=ge(),g=me("p"),f=he(E),y=ge(),b=me("p"),v=he(L),w=ge(),$=me("span"),x=he(I),C=ge(),ce(a.src,o=n[63]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[63]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(r,"class","WinnerCard"),fe(i,"class",k="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,l),de(r,c),de(c,d),de(r,u),de(r,p),de(p,m),de(r,h),de(r,g),de(g,f),de(r,y),de(r,b),de(b,v),de(b,w),de(b,$),de($,x),de(i,C),F||(S=Z(a,"click",G),F=!0)},p(e,t){n=e,512&t[0]&&!ce(a.src,o=n[63]?.gameModel?.thumbnail)&&fe(a,"src",o),512&t[0]&&s!==(s=n[63]?.gameModel?.thumbnail)&&fe(a,"alt",s),512&t[0]&&M!==(M=n[63].gameName+"")&&ye(d,M),512&t[0]&&T!==(T=n[17](n[63].username)+"")&&ye(m,T),32768&t[0]&&E!==(E=n[15]("Translations.won")+"")&&ye(f,E),512&t[0]&&L!==(L=n[63].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,L),44&t[0]&&I!==(I=(n[5]?n[3]:n[2])+"")&&ye(x,I),8192&t[0]&&k!==(k="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(i,"class",k)},d(e){e&&pe(i),F=!1,S()}}}function Mo(n){let i;function r(e){return e[12]?xo:$o}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=V},m(e,t){ue(e,i,t),o.m(i,null),n[43](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o.d(),n[43](null)}}}function To(t,e,i){let R;ct(t,Ki,e=>i(15,R=e));let r,n,D,a,A,o,N,s,l,c,{endpoint:d=""}=e,{session:u=""}=e,{userid:p=""}=e,{periodrecent:m="Today"}=e,{periodtop:h="Last7Days"}=e,{numberusersrecent:g="20"}=e,{numberuserstop:f="20"}=e,{amountlimit:y="1"}=e,{vendorCategory:b="All"}=e,{lang:v="en"}=e,{isrecentavailable:w="true"}=e,{istopavailable:$="true"}=e,{defaultcurrency:x=""}=e,{usercurrency:C=""}=e,{clientstyling:k=""}=e,{clientstylingurl:F=""}=e,{enableautoscroll:S=""}=e,{tabsorder:M=""}=e,{translationurl:T=""}=e,{winnersdatasources:E=""}=e,L=[],I=0,G=0,O=window.navigator.userAgent,_=!0,H=!1,j=[];Object.keys(bo).forEach(e=>{yo(e,bo[e])});const P=()=>{j=E.split(",").map(function(e){return e.trim()});const t=new URL(`${d}/casino/${n}-winners`);t.searchParams.append("limit","recent"==n?g:f),t.searchParams.append("specifiedCurrency",c),t.searchParams.append("period","recent"==n?m:h),t.searchParams.append("language",v),t.searchParams.append("amountLimit",y),t.searchParams.append("vendorCategory",b),j.forEach(e=>{t.searchParams.append("dataSources",e)}),fetch(t.href).then(e=>e.json()).then(e=>{i(9,L=[]),i(9,L=e.items.map(e=>e)),setTimeout(()=>{i(10,G=Math.round(r.offsetWidth/225)),z(),"true"==S&&(clearInterval(s),I=0,G<N?s=setInterval(()=>{V()},3e3):clearInterval(s)),i(12,_=!1)},5)})},B=e=>{n!==e&&(i(9,L=[]),i(8,n=e),P())},U=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(A||"Not logged in")})},z=n=>{const e=[...r.children];N=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{i(13,H=!0)},10)},W=()=>{z(I)},Y=()=>{var e;G>=L.length||(e=L.length,0===I?I=e-G:I-G<0?I=0:I-=G,W())},V=()=>{var e;G>=L.length||(e=L.length,"true"==S&&(I===e-G?I=0:I++),"false"==S&&(I===e-G?I=0:e-G<I+G?I=e-G:I+=G),W())},q=()=>{i(36,c=a?C:x)};return it(()=>(i(11,D=st(O)),()=>{clearInterval(s)})),t.$$set=e=>{"endpoint"in e&&i(22,d=e.endpoint),"session"in e&&i(23,u=e.session),"userid"in e&&i(24,p=e.userid),"periodrecent"in e&&i(25,m=e.periodrecent),"periodtop"in e&&i(26,h=e.periodtop),"numberusersrecent"in e&&i(27,g=e.numberusersrecent),"numberuserstop"in e&&i(28,f=e.numberuserstop),"amountlimit"in e&&i(21,y=e.amountlimit),"vendorCategory"in e&&i(29,b=e.vendorCategory),"lang"in e&&i(30,v=e.lang),"isrecentavailable"in e&&i(0,w=e.isrecentavailable),"istopavailable"in e&&i(1,$=e.istopavailable),"defaultcurrency"in e&&i(2,x=e.defaultcurrency),"usercurrency"in e&&i(3,C=e.usercurrency),"clientstyling"in e&&i(31,k=e.clientstyling),"clientstylingurl"in e&&i(32,F=e.clientstylingurl),"enableautoscroll"in e&&i(4,S=e.enableautoscroll),"tabsorder"in e&&i(33,M=e.tabsorder),"translationurl"in e&&i(34,T=e.translationurl),"winnersdatasources"in e&&i(35,E=e.winnersdatasources)},t.$$.update=()=>{if(2116026371&t.$$.dirty[0]|4&t.$$.dirty[1]&&w&&$&&m&&h&&g&&f&&y&&b&&v&&M&&(i(14,l=M.split(",")),i(8,n=l[0]),"false"==w&&i(21,y=""),q(),i(12,_=!1)),12582912&t.$$.dirty[0]&&u&&d&&(i(5,a=!0),A=p),32&t.$$.dirty[0]&&a&&q(),4194304&t.$$.dirty[0]|32&t.$$.dirty[1]&&d&&c&&P(),1073741824&t.$$.dirty[0]&&v&&(e=v,ot.set(e)),8&t.$$.dirty[1]&&T&&(e=new URL(T),fetch(e.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{yo(e,t[e])})}).catch(e=>{console.log(e)})),64&t.$$.dirty[0]|1&t.$$.dirty[1]&&k&&o){let e=document.createElement("style");e.innerHTML=k,o.appendChild(e)}if(64&t.$$.dirty[0]|2&t.$$.dirty[1]&&F&&o){let e=new URL(F),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e;16&t.$$.dirty[1]&&E&&P()},[w,$,x,C,S,a,o,r,n,L,G,D,_,H,l,R,B,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),U,Y,V,y,d,u,p,m,h,g,f,b,v,k,F,M,T,E,c,()=>B("recent"),()=>B("top"),()=>Y(),()=>V(),e=>U(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){rt[e?"unshift":"push"](()=>{r=e,i(7,r)})},function(e){rt[e?"unshift":"push"](()=>{o=e,i(6,o)})}]}function Eo(e,t){Ii(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},To,Mo,t,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,vendorCategory:29,lang:30,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:31,clientstylingurl:32,enableautoscroll:4,tabsorder:33,translationurl:34,winnersdatasources:35},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get vendorCategory(){return this.$$.ctx[29]}set vendorCategory(e){this.$$set({vendorCategory:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),f()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[33]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get translationurl(){return this.$$.ctx[34]}set translationurl(e){this.$$set({translationurl:e}),f()}get winnersdatasources(){return this.$$.ctx[35]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),f()}});const Lo={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},"zh-hk":{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando"}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function Io(e,t,n){const i=e.slice();return i[49]=t[n],i[51]=n,i}function Go(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v;function w(e){return e[5]?Bo:Ro}let $=w(n),x=$(n);return{c(){i=me("div"),r=me("div"),a=me("div"),o=me("div"),s=me("img"),c=ge(),d=me("div"),x.c(),u=ge(),p=me("div"),m=me("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(m.src,h=n[11])||fe(m,"src",h),fe(m,"alt",""),fe(p,"class","title"),fe(a,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),P(a,"background","url("+n[10]+")"),fe(r,"class","jackpotBanner"),fe(i,"class",f=n[12]?"DisplayNone":""),fe(i,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(o,s),de(a,c),de(a,d),x.m(d,null),de(a,u),de(a,p),de(p,m),b||(v=Z(r,"click",n[32]),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(m.src,h=e[11])&&fe(m,"src",h),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(a,"class",g),1024&t[0]&&P(a,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(i,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(i,"part",y)},d(e){e&&pe(i),x.d(),b=!1,v()}}}function _o(e){let n,i,r=e[14]("jackpotBanners.loadingText")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16384&t[0]&&r!==(r=e[14]("jackpotBanners.loadingText")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Po(e){let n;return{c(){(n=me("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function Bo(e){let n,i,r,a,o,s,D,l,c,A,N,d,O,H,u,p,m,h,g,j,f,y,U,z,b,W,Y,v,w,$,x,C,k,V,F,S,q,Z,M,J,K,T,E,L,I,G,X,_,P,Q,ee,B,te,R=e[8][0]+"",ne=e[7][0]+"",ie=e[8][1]+"",re=e[7][1]+"",ae=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=me("div"),i=me("div"),r=me("div"),a=me("img"),s=me("span"),D=he(R),l=me("span"),c=me("span"),A=he(ne),N=ge(),d=me("span"),O=he(e[1]),H=ge(),u=me("div"),p=me("div"),m=me("img"),g=me("span"),j=he(ie),f=me("span"),y=me("span"),U=he(re),z=ge(),b=me("span"),W=he(e[1]),Y=ge(),v=me("div"),w=me("div"),$=me("div"),x=me("img"),k=me("span"),V=he(ae),F=me("span"),S=me("span"),q=he(oe),Z=ge(),M=me("span"),J=he(e[1]),K=ge(),T=me("div"),E=me("div"),L=me("img"),G=me("span"),X=he(se),_=me("span"),P=me("span"),Q=he(le),ee=ge(),B=me("span"),te=he(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[9][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(i,"class","displayCard"),fe(m,"class","displayCardIcon"),ce(m.src,h=e[9][1])||fe(m,"src",h),fe(m,"alt",""),fe(g,"class","cardLabel"),fe(p,"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(L,"class","displayCardIcon"),ce(L.src,I=e[9][3])||fe(L,"src",I),fe(L,"alt",""),fe(G,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(P,"class","jackpotValue"),fe(B,"class","jackpot-currency"),fe(_,"class","cardTextWrapper"),fe(T,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(r,a),de(r,s),de(s,D),de(i,l),de(l,c),de(c,A),de(l,N),de(l,d),de(d,O),de(n,H),de(n,u),de(u,p),de(p,m),de(p,g),de(g,j),de(u,f),de(f,y),de(y,U),de(f,z),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,T),de(T,E),de(E,L),de(E,G),de(G,X),de(T,_),de(_,P),de(P,Q),de(_,ee),de(_,B),de(B,te)},p(e,t){512&t[0]&&!ce(a.src,o=e[9][0])&&fe(a,"src",o),256&t[0]&&R!==(R=e[8][0]+"")&&ye(D,R),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(A,ne),2&t[0]&&ye(O,e[1]),512&t[0]&&!ce(m.src,h=e[9][1])&&fe(m,"src",h),256&t[0]&&ie!==(ie=e[8][1]+"")&&ye(j,ie),128&t[0]&&re!==(re=e[7][1]+"")&&ye(U,re),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce(x.src,C=e[9][2])&&fe(x,"src",C),256&t[0]&&ae!==(ae=e[8][2]+"")&&ye(V,ae),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(q,oe),2&t[0]&&ye(J,e[1]),512&t[0]&&!ce(L.src,I=e[9][3])&&fe(L,"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&&pe(n),e&&pe(Y),e&&pe(v)}}}function Ro(t){let r,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=Do(Io(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(898&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var i=Io(t,a,e);o[e]?o[e].p(i,n):(o[e]=Do(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function Do(e){let n,i,r,a,o,s,l,c,d,u,p,m,h=e[8][e[51]]+"",g=(e[7][e[51]]??"")+"";return{c(){n=me("div"),i=me("div"),r=me("img"),o=me("span"),s=he(h),l=me("span"),c=me("span"),d=he(g),u=ge(),p=me("span"),m=he(e[1]),fe(r,"class","displayCardIcon"),ce(r.src,a=e[9][e[51]])||fe(r,"src",a),fe(r,"alt",""),fe(o,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(p,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,p),de(p,m)},p(e,t){512&t[0]&&!ce(r.src,a=e[9][e[51]])&&fe(r,"src",a),256&t[0]&&h!==(h=e[8][e[51]]+"")&&ye(s,h),128&t[0]&&g!==(g=(e[7][e[51]]??"")+"")&&ye(d,g),2&t[0]&&ye(m,e[1])},d(e){e&&pe(n)}}}function Ao(n){let i;function r(e){return e[13]?Po:e[3]?_o:Go}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=V},m(e,t){ue(e,i,t),o.m(i,null),n[33](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o.d(),n[33](null)}}}function No(n,e,i){let t;ct(n,Ki,e=>i(14,t=e));let r,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:p=""}=e,{backgroundsrc:m=""}=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,R=window.navigator.userAgent,C=!1,k=!1,F="",S=[],M=[],T=[],E=[],L=[],I="",G="",_=!1,P=!0,D=!1;Object.keys(Lo).forEach(e=>{Eo(e,Lo[e])});const B=["typeSpread","typeLeft"],A=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href),"function"==typeof gtag&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+x})};return n.$$set=e=>{"visualstructure"in e&&i(0,o=e.visualstructure),"title"in e&&i(16,s=e.title),"caticon0"in e&&i(17,l=e.caticon0),"caticon1"in e&&i(18,c=e.caticon1),"caticon2"in e&&i(19,d=e.caticon2),"caticon3"in e&&i(20,u=e.caticon3),"iconlabels"in e&&i(21,p=e.iconlabels),"backgroundsrc"in e&&i(22,m=e.backgroundsrc),"currency"in e&&i(1,h=e.currency),"backgroundsrcmobile"in e&&i(23,g=e.backgroundsrcmobile),"titlelogopath"in e&&i(24,f=e.titlelogopath),"lang"in e&&i(25,y=e.lang),"clientstyling"in e&&i(26,b=e.clientstyling),"clientstylingurl"in e&&i(27,v=e.clientstylingurl),"translationurl"in e&&i(28,w=e.translationurl),"endpoint"in e&&i(29,$=e.endpoint),"gameid"in e&&i(30,x=e.gameid)},n.$$.update=()=>{if(536870912&n.$$.dirty[0]&&$&&(t=new URL($+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{i(31,M=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&r&&b){let e=document.createElement("style");e.innerHTML=b,r.appendChild(e)}if(134217732&n.$$.dirty[0]&&r&&v){i(12,_=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{i(12,_=!1)},500)})}if(570425346&n.$$.dirty[0]|1&n.$$.dirty[1]&&$&&y&&h&&0<M.length&&($&&y&&h)){let e=new URL($+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",h),fetch(e.href).then(e=>e.json().then(e=>{i(3,P=!1),a=e,M.includes(x)&&((e=null==(e=null==(e=a)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>S.push(+e)),e=a,i(6,F=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{i(13,D=!0),i(3,P=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&h&&y&&!P&&(i(4,C=st(R)&&1<window.innerHeight/window.innerWidth),i(5,k=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==S.length&&i(7,T=S.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),i(8,E=p?p.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),B.includes(o.trim())?i(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${B[0]}"`),i(0,o=B[0])),i(10,I=g&&C&&!k?g:m),i(11,G=f),i(9,L=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,ot.set(e)),268435456&n.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Eo(e,t[e])})}).catch(e=>{console.log(e)})},[o,h,r,P,C,k,F,T,E,L,I,G,_,D,t,A,s,l,c,d,u,p,m,g,f,y,b,v,w,$,x,M,()=>A(),function(e){rt[e?"unshift":"push"](()=>{r=e,i(2,r)})}]}function Oo(e,t){Ii(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width: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}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},No,Ao,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),f()}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[30]}set gameid(e){this.$$set({gameid:e}),f()}});const Ho={en:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},"zh-hk":{Translations:{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."}},de:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."}},it:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},fr:{Translations:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."}},es:{Translations:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}}};function jo(e,t,n){const i=e.slice();return i[39]=t[n],i}function Uo(e,t,n){const i=e.slice();return i[42]=t[n],i}function zo(n){let r,i,a,o,s,l,c,d,u,p,m,e,h,g,f=("vendor"==n[0]?n[8]("Translations.providers"):n[8]("Translations.collections"))+"",y=n[3],b=[];for(let e=0;e<y.length;e+=1)b[e]=Jo(jo(n,y,e));return{c(){r=me("div"),i=me("div"),a=me("p"),o=he(f),s=ge(),l=me("div"),(c=me("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=me("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>',p=ge(),m=me("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(a,"class","Title"),fe(l,"class","ButtonsContainer"),fe(i,"class","CategoriesHeader"),fe(m,"class","CategoriesSlider"),fe(r,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),de(l,c),de(l,d),de(l,u),de(r,p),de(r,m);for(let e=0;e<b.length;e+=1)b[e].m(m,null);n[23](m),h||(g=[Z(c,"click",n[19]),Z(u,"click",n[20])],h=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("Translations.providers"):t[8]("Translations.collections"))+"")&&ye(o,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var i=jo(t,y,e);b[e]?b[e].p(i,n):(b[e]=Jo(i),b[e].c(),b[e].m(m,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(r,"class",e)},d(e){e&&pe(r),H(b,e),n[23](null),h=!1,q(g)}}}function Wo(e){let n,i,r=e[8]("Translations.loading")+"";return{c(){n=me("p"),i=he(r)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&r!==(r=e[8]("Translations.loading")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Yo(e){let n,i,r=e[39].name+"";return{c(){n=me("p"),i=he(r),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){8&t[0]&&r!==(r=e[39].name+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Vo(e){let n,i,r;return{c(){fe(n=me("img"),"class","CategorySlideLogo"),ce(n.src,i=e[39].icon)||fe(n,"src",i),fe(n,"alt",r=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,i=e[39].icon)&&fe(n,"src",i),8&t[0]&&r!==(r=e[39].name+" icon")&&fe(n,"alt",r)},d(e){e&&pe(n)}}}function qo(e){let n,i,r,a=e[42].name+"";return{c(){n=me("p"),i=he(a),fe(n,"title",r=e[42].name)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){8&t[0]&&a!==(a=e[42].name+"")&&ye(i,a),8&t[0]&&r!==(r=e[42].name)&&fe(n,"title",r)},d(e){e&&pe(n)}}}function Zo(n){let i,r,a,o,s,l,c,d;function u(){return n[21](n[42])}let p="true"==n[2]&&qo(n);return{c(){i=me("div"),r=me("img"),s=ge(),p&&p.c(),l=ge(),fe(r,"class","CategorySlideGameImage"),ce(r.src,a=n[42].defaultThumbnail)||fe(r,"src",a),fe(r,"alt",o=n[42].name),fe(i,"class","CategorySlideGames")},m(e,t){var n;ue(e,i,t),de(i,r),de(i,s),p&&p.m(i,null),de(i,l),c||(d=Z(r,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(r.src,a=n[42].defaultThumbnail)&&fe(r,"src",a),8&t[0]&&o!==(o=n[42].name)&&fe(r,"alt",o),"true"==n[2]?p?p.p(n,t):((p=qo(n)).c(),p.m(i,l)):p&&(p.d(1),p=null)},d(e){e&&pe(i),p&&p.d(),c=!1,d()}}}function Jo(n){let i,r,a,o,s,l,c,d,u;function p(e){return"logo"==e[1]?Vo:"title"==e[1]?Yo:void 0}let m=p(n),h=m&&m(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=Zo(Uo(n,g,e));function y(){return n[22](n[39])}return{c(){i=me("div"),r=me("div"),a=me("div"),h&&h.c(),o=ge(),s=me("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(a,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(r,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),P(r,"background-image","url("+n[39]?.background+")"),fe(i,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,i,t),de(i,r),de(r,a),h&&h.m(a,null),de(r,o),de(r,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);de(i,c),d||(u=Z(r,"click",y),d=!0)},p(e,t){if(m===(m=p(n=e))&&h?h.p(n,t):(h&&h.d(1),(h=m&&m(n))&&(h.c(),h.m(a,null))),2060&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const r=Uo(n,g,e);f[e]?f[e].p(r,t):(f[e]=Zo(r),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(r,"class",l),8&t[0]&&P(r,"background-image","url("+n[39]?.background+")")},d(e){e&&pe(i),h&&h.d(),H(f,e),d=!1,u()}}}function Ko(n){let i;function r(e){return e[6]?Wo:zo}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=V},m(e,t){ue(e,i,t),o.m(i,null),n[24](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o.d(),n[24](null)}}}function Xo(n,e,i){let t;ct(n,Ki,e=>i(8,t=e));let r,a,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:p=""}=e,{titletype:m=""}=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(Ho).forEach(e=>{Oo(e,Ho[e])});const k=n=>{(o=[...r.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>a=e.getBoundingClientRect().width),x=Math.round(r.offsetWidth/a)},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())},T=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},E=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return it(()=>{i(7,l=st(C))}),n.$$set=e=>{"endpoint"in e&&i(13,c=e.endpoint),"datasource"in e&&i(14,d=e.datasource),"lang"in e&&i(15,u=e.lang),"type"in e&&i(0,p=e.type),"titletype"in e&&i(1,m=e.titletype),"clientstyling"in e&&i(16,h=e.clientstyling),"clientstylingurl"in e&&i(17,g=e.clientstylingurl),"translationurl"in e&&i(18,f=e.translationurl),"collectionprovidersgamenames"in e&&i(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{i(6,v=!1);let t=e.items.filter(e=>e.flags==p);i(3,b=t.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})}if(24&n.$$.dirty[0]&&b&&r&&k(),32768&n.$$.dirty[0]&&u&&(e=u,ot.set(e)),65568&n.$$.dirty[0]&&h&&s){let e=document.createElement("style");e.innerHTML=h,s.appendChild(e)}if(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;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Oo(e,t[e])})}).catch(e=>{console.log(e)})},[p,m,y,b,r,s,v,l,t,S,M,T,E,c,d,u,h,g,f,()=>S(),()=>M(),e=>T(e.gameId,e.launchUrl,e.name),e=>E(e.id),function(e){rt[e?"unshift":"push"](()=>{r=e,i(4,r)})},function(e){rt[e?"unshift":"push"](()=>{s=e,i(5,s)})}]}function Qo(n){let i,r,a,o,s;return{c(){i=me("div"),r=me("casino-games-category-section"),this.c=V,k(r,"session",n[0]),k(r,"userid",n[1]),k(r,"endpoint",n[2]),k(r,"datasource",n[3]),k(r,"lang",n[5]),k(r,"currency",n[4]),k(r,"favorites",n[13]),k(r,"categoryid","FAVORITES"),k(r,"class","CategoryContainer"),k(r,"clientstyling",n[6]),k(r,"clientstylingurl",n[7]),k(r,"livecasino",n[8]),k(r,"visiblegames",n[12]),k(r,"gamepagemodalurl",n[11]),k(r,"integratedgameframedesktop",n[10]),k(r,"integratedgameframemobile",n[9]),k(r,"casinomygames",n[14]),fe(i,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,i,t),de(i,r),n[18](i),o||(s=S(a=n[16].call(null,r,(n[2],n[1],n[0],n[1]))),o=!0)},p(e,[t]){1&t&&k(r,"session",e[0]),2&t&&k(r,"userid",e[1]),4&t&&k(r,"endpoint",e[2]),8&t&&k(r,"datasource",e[3]),32&t&&k(r,"lang",e[5]),16&t&&k(r,"currency",e[4]),8192&t&&k(r,"favorites",e[13]),64&t&&k(r,"clientstyling",e[6]),128&t&&k(r,"clientstylingurl",e[7]),256&t&&k(r,"livecasino",e[8]),4096&t&&k(r,"visiblegames",e[12]),2048&t&&k(r,"gamepagemodalurl",e[11]),1024&t&&k(r,"integratedgameframedesktop",e[10]),512&t&&k(r,"integratedgameframemobile",e[9]),16384&t&&k(r,"casinomygames",e[14]),a&&F(a.update)&&7&t&&a.update.call(null,(e[2],e[1],e[0],e[1]))},i:V,o:V,d(e){e&&pe(i),n[18](null),o=!1,s()}}}function es(e,t,s){let n,i,{endpoint:l=""}=t,{datasource:r=""}=t,{currency:a=""}=t,{lang:o=""}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:p=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:h="false"}=t,{integratedgameframedesktop:g="false"}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:b=""}=t,{categoryid:v=""}=t,{casinomygames:w="false"}=t,$=[];var x,C;({withLocale:x,translations:C}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(C),ot.set(x))});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&&F(l,c,d);break;case"SetUnfavoredGame":e=`${l}/player/${d}/favorites`,t=c,d,o=n.data.id,n.data.triggerFactor,$.includes(o)&&($=$.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),S(e,t)});break;case"SetFavoredGame":{var i=`${l}/player/${d}/favorites`;var r=c;d;var a=n.data.id;n.data.triggerFactor;$.includes(a)||$.push(a);let e={items:$},t={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(i,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),S(i,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&F(l,c,d)}var e,t,o};let F=(e,t,n)=>{"true"==b&&c&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((i=e)&&(M(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i,favStadalone:!0},window.location.href),T(i.items)),i)).then(e=>e).catch(e=>{console.error(e)})};let S=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(i=e,M(),i&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i,favStadalone:!0},window.location.href),i)).catch(e=>{console.error(e)})};const M=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:i},window.location.href)},T=(e=[])=>($=[],0<e.length&&e.forEach(e=>{$.push(e.id)}),$);return it(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)})),e.$$set=e=>{"endpoint"in e&&s(2,l=e.endpoint),"datasource"in e&&s(3,r=e.datasource),"currency"in e&&s(4,a=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,p=e.clientstylingurl),"livecasino"in e&&s(8,m=e.livecasino),"integratedgameframemobile"in e&&s(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&s(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&s(11,f=e.gamepagemodalurl),"visiblegames"in e&&s(12,y=e.visiblegames),"favorites"in e&&s(13,b=e.favorites),"categoryid"in e&&s(17,v=e.categoryid),"casinomygames"in e&&s(14,w=e.casinomygames)},e.$$.update=()=>{if(8231&e.$$.dirty&&l&&d&&c&&o&&b&&"true"==b&&F(l,c,d),32832&e.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32896&e.$$.dirty&&p&&n){let t=document.createElement("style");fetch(new URL(p)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}},[c,d,l,r,a,o,u,p,m,h,g,f,y,b,w,n,F,v,function(e){rt[e?"unshift":"push"](()=>{n=e,s(15,n)})}]}function ts(e,t){Ii(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #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-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}.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-color-white, #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}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Xo,Ko,t,{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),f()))}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}),f()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoFavoritesSectionContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},es,Qo,t,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:17,casinomygames:14},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const ns={en:{LastPlayedTranslations:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}},de:{LastPlayedTranslations:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."}}};function is(e){let n;return{c(){k(n=me("casino-games-category-section"),"session",e[4]),k(n,"userid",e[5]),k(n,"endpoint",e[0]),k(n,"datasource",e[1]),k(n,"lang",e[3]),k(n,"currency",e[2]),k(n,"favorites",e[13]),k(n,"categoryid","LASTPLAYED"),k(n,"categoryindex","1"),k(n,"categorygames","9"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[12]),k(n,"gamepagemodalurl",e[11]),k(n,"integratedgameframedesktop",e[10]),k(n,"integratedgameframemobile",e[9]),k(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&k(n,"session",e[4]),32&t[0]&&k(n,"userid",e[5]),1&t[0]&&k(n,"endpoint",e[0]),2&t[0]&&k(n,"datasource",e[1]),8&t[0]&&k(n,"lang",e[3]),4&t[0]&&k(n,"currency",e[2]),8192&t[0]&&k(n,"favorites",e[13]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),4096&t[0]&&k(n,"visiblegames",e[12]),2048&t[0]&&k(n,"gamepagemodalurl",e[11]),1024&t[0]&&k(n,"integratedgameframedesktop",e[10]),512&t[0]&&k(n,"integratedgameframemobile",e[9]),16384&t[0]&&k(n,"casinomygames",e[14])},d(e){e&&pe(n)}}}function rs(e){let n,i,r=e[17]("LastPlayedTranslations.noRecentGames")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){131072&t[0]&&r!==(r=e[17]("LastPlayedTranslations.noRecentGames")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function as(n){let i,r;function a(e){return e[16]?rs:is}let o=a(n),s=o(n);return{c(){i=me("div"),r=me("div"),s.c(),this.c=V,fe(r,"class","CasinoLastPlayedSection"),fe(i,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,i,t),de(i,r),s.m(r,null),n[23](i)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:V,o:V,d(e){e&&pe(i),s.d(),n[23](null)}}}function os(t,e,n){let i;ct(t,Ki,e=>n(17,i=e));let r,a,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:p=""}=e,{clientstylingurl:m=""}=e,{translationurl:h=""}=e,{livecasino:g="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:v=""}=e,{favorites:w=""}=e,{lastplayedperiod:$="Last30Days"}=e,{lastplayedorder:x=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:k="false"}=e,{lastplayedunique:F="true"}=e,S=window.navigator.userAgent,M=!1,T;Object.keys(ns).forEach(e=>{ts(e,ns[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,p=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"translationurl"in e&&n(18,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),"visiblegames"in e&&n(12,v=e.visiblegames),"favorites"in e&&n(13,w=e.favorites),"lastplayedperiod"in e&&n(19,$=e.lastplayedperiod),"lastplayedorder"in e&&n(20,x=e.lastplayedorder),"lastplayedlimit"in e&&n(21,C=e.lastplayedlimit),"casinomygames"in e&&n(14,k=e.casinomygames),"lastplayedunique"in e&&n(22,F=e.lastplayedunique)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&o&&u&&c&&new Promise((e,t)=>{let n=new URL(`${o}/player/${u}/games/last-played`);n.searchParams.append("unique",F),n.searchParams.append("limit",C),n.searchParams.append("order",x),n.searchParams.append("period",$),"PC"===lt(S)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),r=g?n:n.href,fetch(r).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 n=[];e.items.forEach(e=>{let t=new URL(o+"/casino/games/"+e.gameId);t.searchParams.append("datasource",s),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{T=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:T},window.location.href)})}else n(16,M=!0)}),262144&t.$$.dirty[0]&&h&&(e=translationUrl,fetch(e).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ts(e,t[e])})}).catch(e=>{console.log(e)})),32832&t.$$.dirty[0]&&p&&a){let e=document.createElement("style");e.innerHTML=p,a.appendChild(e)}if(32896&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;8&t.$$.dirty[0]&&c&&(e=c,ot.set(e))},[o,s,l,c,d,u,p,m,g,f,y,b,v,w,k,a,M,i,h,$,x,C,F,function(e){rt[e?"unshift":"push"](()=>{a=e,n(15,a)})}]}function ss(e){let n;return{c(){k(n=me("casino-games-category-section"),"session",e[4]),k(n,"userid",e[5]),k(n,"endpoint",e[0]),k(n,"datasource",e[1]),k(n,"lang",e[3]),k(n,"currency",e[2]),k(n,"favorites",e[13]),k(n,"categoryid","MOSTPLAYED"),k(n,"categoryindex","1"),k(n,"categorygames","9"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[12]),k(n,"gamepagemodalurl",e[11]),k(n,"integratedgameframedesktop",e[10]),k(n,"integratedgameframemobile",e[9]),k(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&k(n,"session",e[4]),32&t[0]&&k(n,"userid",e[5]),1&t[0]&&k(n,"endpoint",e[0]),2&t[0]&&k(n,"datasource",e[1]),8&t[0]&&k(n,"lang",e[3]),4&t[0]&&k(n,"currency",e[2]),8192&t[0]&&k(n,"favorites",e[13]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),4096&t[0]&&k(n,"visiblegames",e[12]),2048&t[0]&&k(n,"gamepagemodalurl",e[11]),1024&t[0]&&k(n,"integratedgameframedesktop",e[10]),512&t[0]&&k(n,"integratedgameframemobile",e[9]),16384&t[0]&&k(n,"casinomygames",e[14])},d(e){e&&pe(n)}}}function ls(e){let n;return{c(){(n=me("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function cs(n){let i,r;function a(e){return e[16]?ls:ss}let o=a(n),s=o(n);return{c(){i=me("div"),r=me("div"),s.c(),this.c=V,fe(r,"class","casino-most-played-section"),fe(i,"class","CasinoGamesCategorySectionContainer"),fe(i,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,i,t),de(i,r),s.m(r,null),n[20](i)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:V,o:V,d(e){e&&pe(i),s.d(),n[20](null)}}}function ds(t,e,n){let i,r,{endpoint:a=""}=e,{datasource:o=""}=e,{currency:s=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:p=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,{casinomygames:w="false"}=e,{mostplayedperiod:$="Last30Days"}=e,{mostplayedrounds:x="10"}=e,C=window.navigator.userAgent,k=[],F=!1;return t.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,p=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastPlayedEmpty"in e&&n(17,v=e.lastPlayedEmpty),"casinomygames"in e&&n(14,w=e.casinomygames),"mostplayedperiod"in e&&n(18,$=e.mostplayedperiod),"mostplayedrounds"in e&&n(19,x=e.mostplayedrounds)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&a&&d&&l&&(e=>{let t=new URL(`${a}/player/${d}/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",$);var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),i=m?t:t.href,new Promise((e,t)=>{fetch(i).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)})})})({limit:100,device:lt(C),rounds:x}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(a+"/casino/games/"+e.gameId);t.searchParams.append("datasource",o),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{k=e.map(e=>e[0]),"true"===w&&(k=k.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else n(16,F=!0)}),32832&t.$$.dirty[0]&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(32896&t.$$.dirty[0]&&p&&r){let t=document.createElement("style");fetch(new URL(p)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;8&t.$$.dirty[0]&&l&&(e=l,ot.set(e))},[a,o,s,l,c,d,u,p,m,h,g,f,y,b,w,r,F,v,$,x,function(e){rt[e?"unshift":"push"](()=>{r=e,n(15,r)})}]}function us(e,t){Ii(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},os,as,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:18,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,casinomygames:14,lastplayedunique:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ds,cs,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:17,casinomygames:14,mostplayedperiod:18,mostplayedrounds:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastPlayedEmpty(){return this.$$.ctx[17]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}get mostplayedrounds(){return this.$$.ctx[19]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}});const ps={en:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},"zh-hk":{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},de:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},it:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},fr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},es:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},tr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ru:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ro:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hu:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pt:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}}};function ms(e,t,n){const i=e.slice();return i[42]=t[n],i}function hs(t){let r,n,a,i,o,e,s=t[26],l=[];for(let e=0;e<s.length;e+=1)l[e]=bs(ms(t,s,e));function c(e){return"Favorites"==e[24]?$s:"MostPlayed"==e[24]?ws:"LastPlayed"==e[24]?vs:void 0}let d=c(t),u=d&&d(t);return{c(){r=me("div"),n=me("div"),a=me("div");for(let e=0;e<l.length;e+=1)l[e].c();i=ge(),o=me("div"),u&&u.c(),fe(a,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(r,"class",e="CasinoMyGames "+(t[25]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,a);for(let e=0;e<l.length;e+=1)l[e].m(a,null);de(r,i),de(r,o),u&&u.m(o,null)},p(t,n){if(1023467520&n[0]){let e;for(s=t[26],e=0;e<s.length;e+=1){var i=ms(t,s,e);l[e]?l[e].p(i,n):(l[e]=bs(i),l[e].c(),l[e].m(a,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))),33554432&n[0]&&e!==(e="CasinoMyGames "+(t[25]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&pe(r),H(l,e),u&&u.d()}}}function gs(n){let i,r,a,o,s,l,c,d,u,p,m=n[28]("Translations.favorites")+"";return{c(){i=me("button"),r=he(m),a=ge(),o=me("span"),s=he("("),l=he(n[27]),c=he(")"),fe(i,"class",d="MyGamesButton "+("Favorites"==n[24]?"Active":"")+" "+("false"==n[13]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),de(i,a),de(i,o),de(o,s),de(o,l),de(o,c),u||(p=Z(i,"click",n[31]),u=!0)},p(e,t){268435456&t[0]&&m!==(m=e[28]("Translations.favorites")+"")&&ye(r,m),134217728&t[0]&&ye(l,e[27]),16785408&t[0]&&d!==(d="MyGamesButton "+("Favorites"==e[24]?"Active":"")+" "+("false"==e[13]?"Off":""))&&fe(i,"class",d)},d(e){e&&pe(i),u=!1,p()}}}function fs(n){let i,r,a,o,s,l=n[28]("Translations.mostPlayed")+"";return{c(){i=me("button"),r=he(l),fe(i,"class",a="MyGamesButton "+("MostPlayed"==n[24]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),o||(s=Z(i,"click",n[32]),o=!0)},p(e,t){268435456&t[0]&&l!==(l=e[28]("Translations.mostPlayed")+"")&&ye(r,l),16793600&t[0]&&a!==(a="MyGamesButton "+("MostPlayed"==e[24]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(i,"class",a)},d(e){e&&pe(i),o=!1,s()}}}function ys(n){let i,r,a,o,s,l,c=n[28]("Translations.recentlyPlayed")+"";return{c(){i=me("button"),r=he(c),a=ge(),fe(i,"class",o="MyGamesButton "+("LastPlayed"==n[24]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),de(i,a),s||(l=Z(i,"click",n[33]),s=!0)},p(e,t){268435456&t[0]&&c!==(c=e[28]("Translations.recentlyPlayed")+"")&&ye(r,c),16809984&t[0]&&o!==(o="MyGamesButton "+("LastPlayed"==e[24]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(i,"class",o)},d(e){e&&pe(i),s=!1,l()}}}function bs(e){let n,i,r,a="Favorites"==e[42]&&gs(e),o="MostPlayed"==e[42]&&fs(e),s="LastPlayed"==e[42]&&ys(e);return{c(){a&&a.c(),n=ge(),o&&o.c(),i=ge(),s&&s.c(),r=c()},m(e,t){a&&a.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,i,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){"Favorites"==e[42]?a?a.p(e,t):((a=gs(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"MostPlayed"==e[42]?o?o.p(e,t):((o=fs(e)).c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null),"LastPlayed"==e[42]?s?s.p(e,t):((s=ys(e)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){a&&a.d(e),e&&pe(n),o&&o.d(e),e&&pe(i),s&&s.d(e),e&&pe(r)}}}function vs(e){let n;return{c(){k(n=me("casino-last-played-section"),"userid",e[0]),k(n,"endpoint",e[2]),k(n,"datasource",e[3]),k(n,"favorites",e[13]),k(n,"lang",e[4]),k(n,"currency",e[5]),k(n,"session",e[1]),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[9]),k(n,"lastplayedperiod",e[17]),k(n,"lastplayedorder",e[19]),k(n,"lastplayedlimit",e[20]),k(n,"lastplayedunique",e[21]),k(n,"gamepagemodalurl",e[10]),k(n,"integratedgameframedesktop",e[11]),k(n,"integratedgameframemobile",e[12]),k(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&k(n,"userid",e[0]),4&t[0]&&k(n,"endpoint",e[2]),8&t[0]&&k(n,"datasource",e[3]),8192&t[0]&&k(n,"favorites",e[13]),16&t[0]&&k(n,"lang",e[4]),32&t[0]&&k(n,"currency",e[5]),2&t[0]&&k(n,"session",e[1]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),512&t[0]&&k(n,"visiblegames",e[9]),131072&t[0]&&k(n,"lastplayedperiod",e[17]),524288&t[0]&&k(n,"lastplayedorder",e[19]),1048576&t[0]&&k(n,"lastplayedlimit",e[20]),2097152&t[0]&&k(n,"lastplayedunique",e[21]),1024&t[0]&&k(n,"gamepagemodalurl",e[10]),2048&t[0]&&k(n,"integratedgameframedesktop",e[11]),4096&t[0]&&k(n,"integratedgameframemobile",e[12]),65536&t[0]&&k(n,"casinomygames",e[16])},d(e){e&&pe(n)}}}function ws(e){let n;return{c(){k(n=me("casino-most-played-section"),"endpoint",e[2]),k(n,"datasource",e[3]),k(n,"lang",e[4]),k(n,"currency",e[5]),k(n,"session",e[1]),k(n,"userid",e[0]),k(n,"favorites",e[13]),k(n,"categoryindex","0"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[9]),k(n,"gamepagemodalurl",e[10]),k(n,"mostplayedrounds",e[22]),k(n,"integratedgameframedesktop",e[11]),k(n,"integratedgameframemobile",e[12]),k(n,"mostplayedperiod",e[18]),k(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&k(n,"endpoint",e[2]),8&t[0]&&k(n,"datasource",e[3]),16&t[0]&&k(n,"lang",e[4]),32&t[0]&&k(n,"currency",e[5]),2&t[0]&&k(n,"session",e[1]),1&t[0]&&k(n,"userid",e[0]),8192&t[0]&&k(n,"favorites",e[13]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),512&t[0]&&k(n,"visiblegames",e[9]),1024&t[0]&&k(n,"gamepagemodalurl",e[10]),4194304&t[0]&&k(n,"mostplayedrounds",e[22]),2048&t[0]&&k(n,"integratedgameframedesktop",e[11]),4096&t[0]&&k(n,"integratedgameframemobile",e[12]),262144&t[0]&&k(n,"mostplayedperiod",e[18]),65536&t[0]&&k(n,"casinomygames",e[16])},d(e){e&&pe(n)}}}function $s(e){let n;return{c(){k(n=me("casino-favorites-section"),"session",e[1]),k(n,"userid",e[0]),k(n,"endpoint",e[2]),k(n,"datasource",e[3]),k(n,"lang",e[4]),k(n,"currency",e[5]),k(n,"favorites",e[13]),k(n,"categoryid","FAVORITES"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[9]),k(n,"gamepagemodalurl",e[10]),k(n,"integratedgameframedesktop",e[11]),k(n,"integratedgameframemobile",e[12]),k(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&k(n,"session",e[1]),1&t[0]&&k(n,"userid",e[0]),4&t[0]&&k(n,"endpoint",e[2]),8&t[0]&&k(n,"datasource",e[3]),16&t[0]&&k(n,"lang",e[4]),32&t[0]&&k(n,"currency",e[5]),8192&t[0]&&k(n,"favorites",e[13]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),512&t[0]&&k(n,"visiblegames",e[9]),1024&t[0]&&k(n,"gamepagemodalurl",e[10]),2048&t[0]&&k(n,"integratedgameframedesktop",e[11]),4096&t[0]&&k(n,"integratedgameframemobile",e[12]),65536&t[0]&&k(n,"casinomygames",e[16])},d(e){e&&pe(n)}}}function xs(n){let i;function r(e){if(e[16])return hs}let a=r(n),o=a&&a(n);return{c(){i=me("div"),o&&o.c(),this.c=V},m(e,t){ue(e,i,t),o&&o.m(i,null),n[34](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o&&o.d(),n[34](null)}}}function Cs(e,t,n){let i;ct(e,Ki,e=>n(28,i=e));let r,{userid:a=""}=t,{session:o=""}=t,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{currency:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:p=""}=t,{livecasino:m=""}=t,{visiblegames:h=""}=t,{gamepagemodalurl:g=""}=t,{integratedgameframedesktop:f=""}=t,{integratedgameframemobile:y=""}=t,{translationurl:b=""}=t,{favorites:v="false"}=t,{mostplayed:w="false"}=t,{lastplayed:$="false"}=t,{casinomygames:x="false"}=t,{lastplayedperiod:C="Last30Days"}=t,{mostplayedperiod:k="Last30Days"}=t,{lastplayedorder:F=""}=t,{lastplayedlimit:S=""}=t,{lastplayedunique:M="true"}=t,{mostplayedrounds:T=""}=t,R=window.navigator.userAgent,E="",L=!1,I=["","",""],G="0";var _,P;({withLocale:_,translations:P}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(P),ot.set(_))}),Object.keys(ps).forEach(e=>{us(e,ps[e])});const B=e=>{E!==e&&n(24,E=e)},D=()=>{var e;n(24,E="true"===v?"Favorites":"true"===w?"MostPlayed":"true"===$?"LastPlayed":""),n(26,I[0]="true"===v?"Favorites":"",I),n(26,I[1]="true"===w?"MostPlayed":"",I),n(26,I[2]="true"===$?"LastPlayed":"",I),e=c,ot.set(e)},A=e=>{e.data&&"UpdateCategoryFavoriteGames"===e.data.type&&n(27,G=e.data.receivedFavoriteResults.count)};return it(()=>(window.addEventListener("message",A,!1),n(25,L=st(R)),()=>{window.removeEventListener("message",A)})),e.$$set=e=>{"userid"in e&&n(0,a=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,p=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"visiblegames"in e&&n(9,h=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(11,f=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(12,y=e.integratedgameframemobile),"translationurl"in e&&n(30,b=e.translationurl),"favorites"in e&&n(13,v=e.favorites),"mostplayed"in e&&n(14,w=e.mostplayed),"lastplayed"in e&&n(15,$=e.lastplayed),"casinomygames"in e&&n(16,x=e.casinomygames),"lastplayedperiod"in e&&n(17,C=e.lastplayedperiod),"mostplayedperiod"in e&&n(18,k=e.mostplayedperiod),"lastplayedorder"in e&&n(19,F=e.lastplayedorder),"lastplayedlimit"in e&&n(20,S=e.lastplayedlimit),"lastplayedunique"in e&&n(21,M=e.lastplayedunique),"mostplayedrounds"in e&&n(22,T=e.mostplayedrounds)},e.$$.update=()=>{if(28&e.$$.dirty[0]&&s&&l&&c&&D(),57344&e.$$.dirty[0]&&v&&w&&$&&D(),1073741824&e.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{us(e,t[e])})}).catch(e=>{console.log(e)}),8388672&e.$$.dirty[0]&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(8388736&e.$$.dirty[0]&&p&&r){let t=document.createElement("style");fetch(new URL(p)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[a,o,s,l,c,d,u,p,m,h,g,f,y,v,w,$,x,C,k,F,S,M,T,r,E,L,I,G,i,B,b,()=>B("Favorites"),()=>B("MostPlayed"),()=>B("LastPlayed"),function(e){rt[e?"unshift":"push"](()=>{r=e,n(23,r)})}]}function ks(e,t){Ii(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoMyGames{background-color:var(--emfe-w-color-contrast, #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}.MyGamesButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:20px;font-weight:500;margin-right:60px;transition:linear 100ms;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;margin-right:10px}.Mobile .MyGamesButton.Active{padding-bottom:4px}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Cs,xs,t,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,integratedgameframedesktop:11,integratedgameframemobile:12,translationurl:30,favorites:13,mostplayed:14,lastplayed:15,casinomygames:16,lastplayedperiod:17,mostplayedperiod:18,lastplayedorder:19,lastplayedlimit:20,lastplayedunique:21,mostplayedrounds:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","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}),f()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),f()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),f()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[12]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[15]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get lastplayedperiod(){return this.$$.ctx[17]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}get lastplayedorder(){return this.$$.ctx[19]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[20]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get lastplayedunique(){return this.$$.ctx[21]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}});const Fs={en:{Translations:{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":{Translations:{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"}},de:{Translations:{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:{Translations:{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:{Translations:{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:{Translations:{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:{Translations:{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:{Translations:{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:{Translations:{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:{Translations:{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."}},hr:{Translations:{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."}},hu:{Translations:{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:{Translations:{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:{Translations:{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."}},sl:{Translations:{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:{Translations:{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."}}};function Ss(e,t,n){const i=e.slice();return i[48]=t[n],i}function Ms(e){let n,i,r,a;function o(e){return 1==e[13]&&e[8].length<2?Ls:0!=e[11].length?Es:void 0}let s=o(e),l=s&&s(e),c=!1===e[9]&&Gs(e),d=2<=e[8].length&&0==e[11].length&&Ps(e);return{c(){l&&l.c(),n=ge(),i=me("div"),c&&c.c(),r=ge(),d&&d.c(),fe(i,"class",a="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,i,t),c&&c.m(i,null),de(i,r),d&&d.m(i,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[9]?c?c.p(e,t):((c=Gs(e)).c(),c.m(i,r)):c&&(c.d(1),c=null),2<=e[8].length&&0==e[11].length?d?d.p(e,t):((d=Ps(e)).c(),d.m(i,null)):d&&(d.d(1),d=null),8192&t[0]&&a!==(a="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))&&fe(i,"class",a)},d(e){l&&l.d(e),e&&pe(n),e&&pe(i),c&&c.d(),d&&d.d()}}}function Ts(e){let n,i,r=e[17]("Translations.loading")+"";return{c(){n=me("p"),i=he(r)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.loading")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Es(e){let n,i,r=e[17]("Translations.searchResult")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.searchResult")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Ls(e){let n,i,r,a,o=e[17]("Translations.recentSearch")+"",s=0==e[11].length&&Is(e);return{c(){n=me("p"),i=he(o),r=ge(),s&&s.c(),a=c(),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,i),ue(e,r,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){131072&t[0]&&o!==(o=e[17]("Translations.recentSearch")+"")&&ye(i,o),0==e[11].length?s?s.p(e,t):((s=Is(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){e&&pe(n),e&&pe(r),s&&s.d(e),e&&pe(a)}}}function Is(e){let n,i,r,a=e[17]("Translations.noRecentSearches")+"";return{c(){n=me("div"),i=me("p"),r=he(a),fe(i,"class","SearchMessage"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,i),de(i,r)},p(e,t){131072&t[0]&&a!==(a=e[17]("Translations.noRecentSearches")+"")&&ye(r,a)},d(e){e&&pe(n)}}}function Gs(t){let r,a=t[11],o=[];for(let e=0;e<a.length;e+=1)o[e]=_s(Ss(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(1149183&n[0]){let e;for(a=t[11],e=0;e<a.length;e+=1){var i=Ss(t,a,e);o[e]?o[e].p(i,n):(o[e]=_s(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function _s(e){let n,i,r,a,o,s,l,c,d,u,p;return{c(){k(n=me("casino-game-thumbnail"),"endpoint",e[0]),k(n,"session",e[15]),k(n,"userid",e[16]),k(n,"favorites",e[7]),k(n,"lang",e[1]),k(n,"gamethumbnail",i=e[48].thumbnail),k(n,"gamename",r=e[48].name),k(n,"gamevendor",a=e[48].vendor.name),k(n,"gameisnew",o=e[48].isNew),k(n,"gametag",s=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags)),k(n,"gamecellsize",l=e[48].cellSize),k(n,"gameid",c=e[48].id),k(n,"gamefunmode",d=e[48].hasFunMode),k(n,"gamefavorite",u=e[48].isFavorite),k(n,"livelobbyendpoint",p=e[48].details?e[48].launchUrl:""),k(n,"integratedgameframedesktop",e[4]),k(n,"integratedgameframemobile",e[5]),k(n,"clientstyling",e[2]),k(n,"clientstylingurl",e[3]),k(n,"gamepagemodalurl",e[6])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&k(n,"endpoint",e[0]),32768&t[0]&&k(n,"session",e[15]),65536&t[0]&&k(n,"userid",e[16]),128&t[0]&&k(n,"favorites",e[7]),2&t[0]&&k(n,"lang",e[1]),2048&t[0]&&i!==(i=e[48].thumbnail)&&k(n,"gamethumbnail",i),2048&t[0]&&r!==(r=e[48].name)&&k(n,"gamename",r),2048&t[0]&&a!==(a=e[48].vendor.name)&&k(n,"gamevendor",a),2048&t[0]&&o!==(o=e[48].isNew)&&k(n,"gameisnew",o),2048&t[0]&&s!==(s=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags))&&k(n,"gametag",s),2048&t[0]&&l!==(l=e[48].cellSize)&&k(n,"gamecellsize",l),2048&t[0]&&c!==(c=e[48].id)&&k(n,"gameid",c),2048&t[0]&&d!==(d=e[48].hasFunMode)&&k(n,"gamefunmode",d),2048&t[0]&&u!==(u=e[48].isFavorite)&&k(n,"gamefavorite",u),2048&t[0]&&p!==(p=e[48].details?e[48].launchUrl:"")&&k(n,"livelobbyendpoint",p),16&t[0]&&k(n,"integratedgameframedesktop",e[4]),32&t[0]&&k(n,"integratedgameframemobile",e[5]),4&t[0]&&k(n,"clientstyling",e[2]),8&t[0]&&k(n,"clientstylingurl",e[3]),64&t[0]&&k(n,"gamepagemodalurl",e[6])},d(e){e&&pe(n)}}}function Ps(e){let n,i,r,a,o,s,l=e[17]("Translations.notFound")+"",c=e[17]("Translations.notFoundText")+"";return{c(){n=me("div"),i=me("p"),r=he(l),a=ge(),o=me("p"),s=he(c),fe(i,"class","SearchMessage"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(n,a),de(n,o),de(o,s)},p(e,t){131072&t[0]&&l!==(l=e[17]("Translations.notFound")+"")&&ye(r,l),131072&t[0]&&c!==(c=e[17]("Translations.notFoundText")+"")&&ye(s,c)},d(e){e&&pe(n)}}}function Bs(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x=n[17]("Translations.cancel")+"";function C(e){return e[14]?Ts:Ms}let k=C(n),F=k(n);return{c(){i=me("div"),r=me("div"),(a=me("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>',o=ge(),s=me("input"),c=ge(),d=me("span"),u=j("svg"),p=j("path"),h=ge(),g=me("small"),f=he(x),v=ge(),F.c(),this.c=V,fe(a,"class","SearchIcon"),fe(s,"class","SearchInput"),fe(s,"type","search"),fe(s,"placeholder",l=n[17]("Translations.placeHolderSearchGames")),fe(s,"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(u,"width","11"),fe(u,"height","11"),fe(u,"fill","none"),fe(u,"xmlns","http://www.w3.org/2000/svg"),fe(d,"class",m="SearchClearButton "+(0!=n[8].length?"":"NotVisible")),fe(g,"class",y="SearchCancelButton "+(n[9]?"NotVisible":"")),fe(r,"class",b="Search "+(n[9]?"":"SearchAnimation")),fe(i,"class",("PC"!==lt(n[18])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),I(s,n[8]),n[29](s),de(r,c),de(r,d),de(d,u),de(u,p),de(r,h),de(r,g),de(g,f),de(i,v),F.m(i,null),n[32](i),w||($=[Z(s,"input",n[28]),Z(s,"focus",n[19]),Z(d,"click",n[30]),Z(g,"click",n[31])],w=!0)},p(e,t){131072&t[0]&&l!==(l=e[17]("Translations.placeHolderSearchGames"))&&fe(s,"placeholder",l),256&t[0]&&I(s,e[8]),256&t[0]&&m!==(m="SearchClearButton "+(0!=e[8].length?"":"NotVisible"))&&fe(d,"class",m),131072&t[0]&&x!==(x=e[17]("Translations.cancel")+"")&&ye(f,x),512&t[0]&&y!==(y="SearchCancelButton "+(e[9]?"NotVisible":""))&&fe(g,"class",y),512&t[0]&&b!==(b="Search "+(e[9]?"":"SearchAnimation"))&&fe(r,"class",b),k===(k=C(e))&&F?F.p(e,t):(F.d(1),(F=k(e))&&(F.c(),F.m(i,null)))},i:V,o:V,d(e){e&&pe(i),n[29](null),F.d(),n[32](null),w=!1,q($)}}}function Rs(i,e,a){let t;ct(i,Ki,e=>a(17,t=e));let n,r,o,s,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:p="en"}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{integratedgameframedesktop:g="false"}=e,{integratedgameframemobile:f="false"}=e,{gamepagemodalurl:y="true"}=e,{translationurl:b=""}=e,{showfavorites:v=""}=e,w=window.navigator.userAgent,$=[],x=[],C={},k="",F=!0,S=!1,M=!1,T=!1,E=[];Object.keys(Fs).forEach(e=>{ks(e,Fs[e])});const L=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===(x=(x=localStorage.getItem("searchedGamesWds_casino"))?x.split(","):[]).indexOf(t)&&(x.unshift(t),n=x.join(","),localStorage.setItem("searchedGamesWds_casino",n)))}"UserSessionID"==e.data.type&&(a(15,o=e.data.session),a(16,s=e.data.userid),a(27,T=!0)),"CategoryChange"==e.data.type&&_()},I=()=>{if(a(9,F=!1),a(13,S=!0),l&&c&&p&&k.length<2){a(11,$=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],i=0,r=(t=e?e.split(","):t).length;if(0<r){for(i=0;i<r;i++){let e=new URL(l+"/casino/games/"+t[i]);e.searchParams.append("language",p),e.searchParams.append("datasource",c),e.searchParams.append("platform",lt(w)),n.push(((e,i)=>new Promise((t,n)=>{a(14,M=!0),i&&Object.keys(C).indexOf(i)>=0?(a(14,M=!1),t(C[i])):fetch(e).then(e=>e.json()).then(e=>{a(14,M=!1),e.error||(C[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{a(14,M=!1),console.error(e),n(e)})}))(e,t[i]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),a(11,$=e.map(e=>(e.isFavorite=G(e.id),e)))})}}B(S),"function"==typeof gtag&&gtag("event","SearchInitialized",{context:"SearchWidget"})},G=t=>-1!==E.findIndex(e=>e==t),_=()=>{a(8,k=""),a(9,F=!0),a(14,M=!1),a(11,$=[]),a(13,S=!1),B(S)},P=()=>{a(8,k=""),n.focus()},B=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e})};return it(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})),i.$$set=e=>{"endpoint"in e&&a(0,l=e.endpoint),"datasource"in e&&a(23,c=e.datasource),"session"in e&&a(24,d=e.session),"userid"in e&&a(25,u=e.userid),"lang"in e&&a(1,p=e.lang),"clientstyling"in e&&a(2,m=e.clientstyling),"clientstylingurl"in e&&a(3,h=e.clientstylingurl),"integratedgameframedesktop"in e&&a(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&a(5,f=e.integratedgameframemobile),"gamepagemodalurl"in e&&a(6,y=e.gamepagemodalurl),"translationurl"in e&&a(26,b=e.translationurl),"showfavorites"in e&&a(7,v=e.showfavorites)},i.$$.update=()=>{if(8389379&i.$$.dirty[0])if(2<=k.length){const i=new URL(l+"/casino/games");i.searchParams.append("datasource",c),i.searchParams.append("expand","vendor"),i.searchParams.append("platform",lt(w)),i.searchParams.append("language",p),i.searchParams.append("pagination","offset=0,limit=30"),i.searchParams.append("filter","name="+k),e=i,new Promise((t,n)=>{a(14,M=!0),fetch(e.href).then(e=>e.json()).then(e=>{a(14,M=!1),t(e)}).catch(e=>{a(14,M=!1),console.error(e),n(e)})}).then(e=>{a(11,$=e.items.map(e=>(e.isFavorite=G(e.id),e)))})}else F||I();var e,t,n;if(2&i.$$.dirty[0]&&p&&(n=p,ot.set(n)),67108864&i.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ks(e,t[e])})}).catch(e=>{console.log(e)}),50331648&i.$$.dirty[0]&&d&&u&&(a(27,T=!0),a(15,o=d),a(16,s=u)),134217856&i.$$.dirty[0]&&v&&T&&(n=new URL(`${l}/player/${s}/favorites/`),a(14,M=!0),t={method:"GET",headers:{"X-SessionID":o}},fetch(n.href,t).then(e=>e.json()).then(e=>{a(14,M=!1),E=e.items.map(e=>e.id)})),1028&i.$$.dirty[0]&&m&&r){let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)}if(1032&i.$$.dirty[0]&&h&&r){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[l,p,m,h,g,f,y,v,k,F,r,$,n,S,M,o,s,t,w,I,i=>{if(0===(null==i?void 0:i.length))return"";let r,a,o=99999999999;const s=new Date(Date.now());return i.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Tr(e).diff(s)<o&&(o=Tr(e).diff(s),a=t),Tr(s).isAfter(n)&&Tr(s).isBefore(e)&&(r=i[a].name)}),r},_,P,c,d,u,b,T,function(){k=this.value,a(8,k)},function(e){rt[e?"unshift":"push"](()=>{n=e,a(12,n)})},()=>P(),()=>_(),function(e){rt[e?"unshift":"push"](()=>{r=e,a(10,r)})}]}function Ds(e,{delay:t=0,duration:n=400,easing:i=w}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:e=>"opacity: "+e*r}}function As(n){let i,r,a,o,s,l,c,d,t,u,p,m;return{c(){i=me("div"),r=me("div"),(a=me("div")).innerHTML="<slot></slot>",o=ge(),s=me("span"),(l=me("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(a,"class","ModalContainer"),fe(a,"part","ModalContainer"),fe(l,"name","close"),fe(s,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(s,"part","ModalCloseBtn"),fe(s,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),Y(()=>n[18].call(r)),fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(s,l),n[17](r),d=h(r,n[18].bind(r)),n[19](i),u=!0,p||(m=Z(s,"click",n[8]),p=!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||(Y(()=>{(t=t||se(r,Ds,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||se(r,Ds,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&pe(i),n[17](null),d(),e&&t&&t.end(),n[19](null),p=!1,m()}}}function Ns(e){let n,i,r=e[7]&&As(e);return{c(){r&&r.c(),n=c(),this.c=V},m(e,t){r&&r.m(e,t),ue(e,n,t),i=!0},p(e,[t]){e[7]?r?(r.p(e,t),128&t&&re(r,1)):((r=As(e)).c(),re(r,1),r.m(n.parentNode,n)):r&&(ne(),ae(r,1,1,()=>{r=null}),ie())},i(e){i||(re(r),i=!0)},o(e){ae(r),i=!1},d(e){r&&r.d(e),e&&pe(n)}}}function Os(e,t,n){let i,r,a,o,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:p=""}=t,{haspanicbutton:m="false"}=t,{gamepagemodalurl:h="false"}=t,{sessioncheck:g="true"}=t,{integratedgameframedesktop:f="false"}=t,y=window.navigator.userAgent,b=!1,v=!1,w=!1;const $=e=>{var t;"ModalClosed"!=e.data.type||"false"==f&&!st(y)||n(7,w=!1),"ShowGameModal"===e.data.type&&(n(7,w=!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,w=!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:i?getComputedStyle(i).width:null,modalHeight:i?getComputedStyle(i).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(v=e.data.detailsObtained),"OpenCalendarModal"===e.data.type&&(n(7,w=!0),window.postMessage({type:"DisableScroll"},window.location.href))},x=e=>{var t;v&&(t={modalWidth:getComputedStyle(i).width,modalHeight:getComputedStyle(i).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return it(()=>(n(3,b=st(y)),window.addEventListener("message",$,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",$),window.removeEventListener("resize",$)})),e.$$set=e=>{"duration"in e&&n(0,s=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,u=e.clientstylingurl),"endpoint"in e&&n(13,p=e.endpoint),"haspanicbutton"in e&&n(1,m=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,h=e.gamepagemodalurl),"sessioncheck"in e&&n(15,g=e.sessioncheck),"integratedgameframedesktop"in e&&n(16,f=e.integratedgameframedesktop)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&p&&"true"==g&&Xi(p,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2052&e.$$.dirty&&d&&r){let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)}if(4100&e.$$.dirty&&u&&r){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[s,m,r,b,i,void 0,void 0,w,()=>{n(7,w=!1),n(3,b=st(y)),window.postMessage({type:"ModalClosed",gamepagemodalurl:h,mobileView:b},window.location.href)},l,c,d,u,p,h,g,f,function(e){rt[e?"unshift":"push"](()=>{i=e,n(4,i)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){rt[e?"unshift":"push"](()=>{r=e,n(2,r)})}]}function Hs(e,t,n){const i=e.slice();return i[26]=t[n],i[27]=t,i[28]=n,i}function js(e,t,n){const i=e.slice();return i[29]=t[n],i[28]=n,i}function Us(t){let r,n,a,i,e,o=t[3],s=[];for(let e=0;e<o.length;e+=1)s[e]=Js(Hs(t,o,e));return{c(){r=me("div"),n=me("div"),a=he(t[1]),i=ge();for(let e=0;e<s.length;e+=1)s[e].c();fe(n,"class","CasinoCalendarDailyDay"),fe(r,"class",e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,a),de(r,i);for(let e=0;e<s.length;e+=1)s[e].m(r,null)},p(t,n){if(2&n&&ye(a,t[1]),409&n){let e;for(o=t[3],e=0;e<o.length;e+=1){var i=Hs(t,o,e);s[e]?s[e].p(i,n):(s[e]=Js(i),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}64&n&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&pe(r),H(s,e)}}}function zs(e){let n;return{c(){(n=me("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function Ws(e){let n,i;return{c(){n=j("svg"),fe(i=j("path"),"stroke-linecap","round"),fe(i,"stroke-linejoin","round"),fe(i,"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","currentColor"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,i)},d(e){e&&pe(n)}}}function Ys(e){let n,i;return{c(){n=j("svg"),fe(i=j("path"),"stroke-linecap","round"),fe(i,"stroke-linejoin","round"),fe(i,"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","currentColor"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,i)},d(e){e&&pe(n)}}}function Vs(t){let i,r,a=t[26].details,o=[];for(let e=0;e<a.length;e+=1)o[e]=qs(js(t,a,e));let s=t[26].detailsExpanded&&Zs(t);return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=ge(),s&&s.c(),r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n),s&&s.m(t,n),ue(t,r,n)},p(t,n){if(280&n){let e;for(a=t[26].details,e=0;e<a.length;e+=1){const s=js(t,a,e);o[e]?o[e].p(s,n):(o[e]=qs(s),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}t[26].detailsExpanded?s?s.p(t,n):((s=Zs(t)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){H(o,e),e&&pe(i),s&&s.d(e),e&&pe(r)}}}function qs(n){let i,r,a,o,s,l,c,d,u=n[29].title+"";function p(){return n[18](n[26],n[28])}return{c(){i=me("div"),r=me("div"),a=me("button"),o=he(u),fe(a,"class",s="HeaderButton "+(n[29].expandedTab?"Active":"")),fe(r,"class","Header"),fe(i,"class",l=n[28]==n[4]?"SelectedTab":""),fe(i,"id","CollapseMoreInfoButton"),P(i,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),c||(d=Z(a,"click",p),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(a,"class",s),16&t&&l!==(l=n[28]==n[4]?"SelectedTab":"")&&fe(i,"class",l),8&t&&P(i,"height",n[26].expandedInfo?"100%":"")},d(e){e&&pe(i),c=!1,d()}}}function Zs(e){let n,i,r,a=e[26].details[e[4]].description+"";return{c(){n=me("div"),i=he(a),fe(n,"class",r="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),de(n,i)},p(e,t){24&t&&a!==(a=e[26].details[e[4]].description+"")&&ye(i,a),24&t&&r!==(r="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))&&fe(n,"class",r)},d(e){e&&pe(n)}}}function Js(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C=n[26].title+"",k=n[26].description+"";function F(e){return 1==e[26].expandedInfo?Ys:Ws}let S=F(n),M=S(n);function T(){return n[17](n[26],n[27],n[28])}let E=1==n[26].expandedInfo&&Vs(n);return{c(){i=me("div"),r=me("div"),a=he(C),o=ge(),s=me("div"),l=me("img"),u=ge(),p=me("div"),m=he(k),h=ge(),g=me("div"),f=me("button"),y=he(n[0]),b=ge(),M.c(),v=ge(),E&&E.c(),w=ge(),fe(r,"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(p,"class","CasinoCalendarDailyDescription"),fe(f,"class","MoreInfoButton"),fe(g,"class","CasinoCalendarTabs"),fe(i,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,o),de(i,s),de(s,l),de(i,u),de(i,p),de(p,m),de(i,h),de(i,g),de(g,f),de(f,y),de(f,b),M.m(f,null),de(g,v),E&&E.m(g,null),de(i,w),$||(x=Z(f,"click",T),$=!0)},p(e,t){n=e,8&t&&C!==(C=n[26].title+"")&&ye(a,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&&k!==(k=n[26].description+"")&&ye(m,k),1&t&&ye(y,n[0]),S!==(S=F(n))&&(M.d(1),(M=S(n))&&(M.c(),M.m(f,null))),1==n[26].expandedInfo?E?E.p(n,t):((E=Vs(n)).c(),E.m(g,null)):E&&(E.d(1),E=null)},d(e){e&&pe(i),M.d(),E&&E.d(),$=!1,x()}}}function Ks(n){let i;function r(e){return e[5]?zs:Us}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=V},m(e,t){ue(e,i,t),o.m(i,null),n[19](i)},p(e,[t]){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o.d(),n[19](null)}}}function Xs(t,e,i){let n,{dailybackground:r=""}=e,{dailybuttontitle:a=""}=e,{dailyday:o=""}=e,{dailydescription:s="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:p=""}=e,{translationUrl:m=""}=e,h=[],g=0,f=!0,y=!1,b=window.navigator.userAgent;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(w),ot.set(v))});const $=e=>{"DailyEventsData"==e.data.type&&(i(5,f=!1),i(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&&(i(4,g=0),h.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t}))},x=e=>{i(4,g=0),i(3,h[e].detailsExpanded=!h[e].detailsExpanded,h),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetDetails"})},C=(e,t)=>{i(4,g=t),e.details.forEach((e,t)=>{e.expandedTab=g==t})};return it(()=>(window.addEventListener("message",$,!1),st(b)&&i(6,y=!0),()=>{window.removeEventListener("message",$)})),t.$$set=e=>{"dailybackground"in e&&i(9,r=e.dailybackground),"dailybuttontitle"in e&&i(0,a=e.dailybuttontitle),"dailyday"in e&&i(1,o=e.dailyday),"dailydescription"in e&&i(10,s=e.dailydescription),"dailyicon"in e&&i(11,l=e.dailyicon),"dailytitle"in e&&i(12,c=e.dailytitle),"lang"in e&&i(13,d=e.lang),"clientstyling"in e&&i(14,u=e.clientstyling),"clientstylingurl"in e&&i(15,p=e.clientstylingurl),"translationUrl"in e&&i(16,m=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty&&d&&(e=d,ot.set(e)),16388&t.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32772&t.$$.dirty&&p&&n){let e=new URL(p),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},[a,o,n,h,g,f,y,x,C,r,s,l,c,d,u,p,m,(e,t,n)=>{i(3,t[n].expandedInfo=!e.expandedInfo,h),x(n)},(e,t)=>{C(e,t)},function(e){rt[e?"unshift":"push"](()=>{n=e,i(2,n)})}]}function Qs(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C,k,F;return{c(){i=me("div"),r=me("div"),a=me("div"),o=me("div"),(s=me("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=ge(),c=me("div"),d=me("div"),u=me("img"),m=ge(),h=me("div"),g=he(n[2]),f=ge(),y=me("div"),b=ge(),v=me("div"),w=me("button"),$=he(n[3]),this.c=V,fe(s,"class","CalendarBar"),ce(u.src,p=n[1])||fe(u,"src",p),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(a,"class","CasinoCalendarItems"),fe(r,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(o,s),de(o,l),de(o,c),de(c,d),de(d,u),de(c,m),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](i),k||(F=Z(w,"click",n[15]),k=!0)},p(e,[t]){2&t&&!ce(u.src,p=e[1])&&fe(u,"src",p),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(r,"class",C)},i:V,o:V,d(e){e&&pe(i),n[14](null),n[16](null),k=!1,F()}}}function el(e,t,n){let i,r,{cmsendpoint:a=""}=t,{lang:o=""}=t,{dailybackground:s=""}=t,{dailyicon:l=""}=t,{dailyday:c=""}=t,{dailydescription:d="<p></p>"}=t,{dailybuttontitle:u=""}=t,{index:p="0"}=t,{clientstyling:m=""}=t,{clientstylingurl:h=""}=t;var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(f),ot.set(g))});let y=!1,b=window.navigator.userAgent;const v=()=>{window.postMessage({type:"OpenCalendar",index:p},window.location.href),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};return it(()=>{st(b)&&n(7,y=!0)}),e.$$set=e=>{"cmsendpoint"in e&&n(9,a=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,p=e.index),"clientstyling"in e&&n(12,m=e.clientstyling),"clientstylingurl"in e&&n(13,h=e.clientstylingurl)},e.$$.update=()=>{if(2063&e.$$.dirty&&l&&c&&d&&u&&s){let e=document.createElement("div");e.innerHTML=d,i&&i.append(e)}if(4128&e.$$.dirty&&m&&r){let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)}if(8224&e.$$.dirty&&h&&r){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}},[s,l,c,u,p,r,i,y,v,a,o,d,m,h,function(e){rt[e?"unshift":"push"](()=>{i=e,n(6,i)})},()=>v(),function(e){rt[e?"unshift":"push"](()=>{r=e,n(5,r)})}]}function tl(e,t,n){const i=e.slice();return i[12]=t[n],i[14]=n,i}function nl(t){let i,r,e,a=t[1],o=[];for(let e=0;e<a.length;e+=1)o[e]=al(tl(t,a,e));let s=1==t[6]&&ol(t);return{c(){i=me("div");for(let e=0;e<o.length;e+=1)o[e].c();r=ge(),s&&s.c(),fe(i,"class",e="CasinoCalendarItem "+(t[5]?"Mobile":""))},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e].m(i,null);de(i,r),s&&s.m(i,null)},p(t,n){if(3&n){let e;for(a=t[1],e=0;e<a.length;e+=1){const s=tl(t,a,e);o[e]?o[e].p(s,n):(o[e]=al(s),o[e].c(),o[e].m(i,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}1==t[6]?s?s.p(t,n):((s=ol(t)).c(),s.m(i,null)):s&&(s.d(1),s=null),32&n&&e!==(e="CasinoCalendarItem "+(t[5]?"Mobile":""))&&fe(i,"class",e)},d(e){e&&pe(i),H(o,e),s&&s.d()}}}function il(e){let n;return{c(){(n=me("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function rl(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function al(e){let n,i,r,a,o,s,t;return{c(){k(n=me("casino-calendar-daily-item"),"dailybackground",i=e[12].dailyBackground),k(n,"dailyicon",r=e[12].dailyIcon),k(n,"dailyday",a=e[12].dailyDay),k(n,"dailydescription",o=e[12].dailyDescription),k(n,"dailybuttontitle",s=e[12].dailyButtonTitle),k(n,"index",t=e[14]),k(n,"lang",e[0])},m(e,t){ue(e,n,t)},p(e,t){2&t&&i!==(i=e[12].dailyBackground)&&k(n,"dailybackground",i),2&t&&r!==(r=e[12].dailyIcon)&&k(n,"dailyicon",r),2&t&&a!==(a=e[12].dailyDay)&&k(n,"dailyday",a),2&t&&o!==(o=e[12].dailyDescription)&&k(n,"dailydescription",o),2&t&&s!==(s=e[12].dailyButtonTitle)&&k(n,"dailybuttontitle",s),1&t&&k(n,"lang",e[0])},d(e){e&&pe(n)}}}function ol(e){let n,i,r,a,o,s,l,c;return{c(){n=me("casino-modal"),k(i=me("casino-calendar-daily-details"),"dailybackground",r=e[1][e[2]].dailyBackground),k(i,"dailybuttontitle",a=e[1][e[2]].dailyButtonTitle),k(i,"dailyday",o=e[1][e[2]].dailyDay),k(i,"dailydescription",s=e[1][e[2]].dailyDescription),k(i,"dailyicon",l=e[1][e[2]].dailyIcon),k(i,"dailytitle",c=e[1][e[2]].dailyTitle),k(i,"lang",e[0])},m(e,t){ue(e,n,t),de(n,i)},p(e,t){6&t&&r!==(r=e[1][e[2]].dailyBackground)&&k(i,"dailybackground",r),6&t&&a!==(a=e[1][e[2]].dailyButtonTitle)&&k(i,"dailybuttontitle",a),6&t&&o!==(o=e[1][e[2]].dailyDay)&&k(i,"dailyday",o),6&t&&s!==(s=e[1][e[2]].dailyDescription)&&k(i,"dailydescription",s),6&t&&l!==(l=e[1][e[2]].dailyIcon)&&k(i,"dailyicon",l),6&t&&c!==(c=e[1][e[2]].dailyTitle)&&k(i,"dailytitle",c),1&t&&k(i,"lang",e[0])},d(e){e&&pe(n)}}}function sl(e){let n;function i(e){return e[4]?rl:e[3]?il:e[1]?.length?nl:void 0}let r=i(e),a=r&&r(e);return{c(){a&&a.c(),n=c(),this.c=V},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,[t]){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n.parentNode,n)))},i:V,o:V,d(e){a&&a.d(e),e&&pe(n)}}}function ll(e,t,n){let i,{cmsendpoint:r=""}=t,{lang:a="en"}=t,o=0,s=!0,l=!1,c=!1,d=window.navigator.userAgent,u=!1;const p=e=>{var t;e.data&&"OpenCalendar"==e.data.type&&(n(2,o=e.data.index),n(6,u=!0),window.postMessage({type:"OpenCalendarModal",selectedIndex:o},window.location.href),window.postMessage({type:"DailyEventsData",data:null==(t=i[o])?void 0:t.dailyEvents})),e.data&&"ModalClosed"==e.data.type&&n(6,u=!1)};return it(()=>(window.addEventListener("message",p,!1),st(d)&&n(5,c=!0),()=>{window.removeEventListener("message",p)})),e.$$set=e=>{"cmsendpoint"in e&&n(7,r=e.cmsendpoint),"lang"in e&&n(0,a=e.lang)},e.$$.update=()=>{129&e.$$.dirty&&r&&a&&fetch(`${r}/${a}/daily-calendar/`).then(e=>e.json()).then(e=>{n(1,i=e)}).catch(e=>{console.log(e),n(4,l=!0)}).finally(()=>{n(3,s=!1)})},[a,i,o,s,l,c,u,r]}function cl(e,t,n){const i=e.slice();return i[135]=t[n],i[137]=n,i}function dl(e){let n,i,r,a,o,s,l,c="PC"!==lt(e[78])&&"false"===e[13],d=c&&pl(),u="true"==e[20]&&0==Ll&&!e[74]&&ml(e),p=!e[73]&&!e[72]&&"false"==e[50]&&hl(e);function m(e){return e[68]?yl:e[74]?void 0:fl}let h=m(e),g=h&&h(e),f=e[70]&&"true"==e[16]&&Tl(e);return{c(){n=me("section"),d&&d.c(),i=ge(),r=me("casino-search"),a=ge(),u&&u.c(),o=ge(),p&&p.c(),s=ge(),g&&g.c(),l=ge(),f&&f.c(),k(r,"endpoint",e[1]),k(r,"datasource",e[2]),k(r,"lang",e[4]),k(r,"clientstyling",e[7]),k(r,"clientstylingurl",e[8]),k(r,"integratedgameframedesktop",e[28]),k(r,"integratedgameframemobile",e[29]),k(r,"translationurl",e[9]),k(r,"showfavorites",e[14]),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),P(n,"max-width",e[15]+"px")},m(e,t){ue(e,n,t),d&&d.m(n,null),de(n,i),de(n,r),de(n,a),u&&u.m(n,null),de(n,o),p&&p.m(n,null),de(n,s),g&&g.m(n,null),de(n,l),f&&f.m(n,null)},p(e,t){(c=8192&t[0]?"PC"!==lt(e[78])&&"false"===e[13]:c)?d||((d=pl()).c(),d.m(n,i)):d&&(d.d(1),d=null),2&t[0]&&k(r,"endpoint",e[1]),4&t[0]&&k(r,"datasource",e[2]),16&t[0]&&k(r,"lang",e[4]),128&t[0]&&k(r,"clientstyling",e[7]),256&t[0]&&k(r,"clientstylingurl",e[8]),268435456&t[0]&&k(r,"integratedgameframedesktop",e[28]),536870912&t[0]&&k(r,"integratedgameframemobile",e[29]),512&t[0]&&k(r,"translationurl",e[9]),16384&t[0]&&k(r,"showfavorites",e[14]),"true"!=e[20]||0!=Ll||e[74]?u&&(u.d(1),u=null):u?u.p(e,t):((u=ml(e)).c(),u.m(n,o)),e[73]||e[72]||"false"!=e[50]?p&&(p.d(1),p=null):p?p.p(e,t):((p=hl(e)).c(),p.m(n,s)),h===(h=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=h&&h(e))&&(g.c(),g.m(n,l))),e[70]&&"true"==e[16]?f?f.p(e,t):((f=Tl(e)).c(),f.m(n,null)):f&&(f.d(1),f=null),32768&t[0]&&P(n,"max-width",e[15]+"px")},d(e){e&&pe(n),d&&d.d(),u&&u.d(),p&&p.d(),g&&g.d(),f&&f.d()}}}function ul(e){let n,i,r=e[77]("casinoPage.500")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32768&t[2]&&r!==(r=e[77]("casinoPage.500")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function pl(){let n;return{c(){fe(n=me("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function ml(e){let n;return{c(){k(n=me("casino-random-game"),"datasource",e[2]),k(n,"filteredrandomgamecategories",e[21]),k(n,"endpoint",e[1]),k(n,"lang",e[4]),k(n,"gameevent",e[67]),k(n,"randombuttonicon",e[63]),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&k(n,"datasource",e[2]),2097152&t[0]&&k(n,"filteredrandomgamecategories",e[21]),2&t[0]&&k(n,"endpoint",e[1]),16&t[0]&&k(n,"lang",e[4]),32&t[2]&&k(n,"gameevent",e[67]),2&t[2]&&k(n,"randombuttonicon",e[63]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8])},d(e){e&&pe(n)}}}function hl(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$=n[77]("casinoPage.filters")+"",x=n[76]&&gl(n);return{c(){i=me("div"),x&&x.c(),r=ge(),a=me("div"),o=me("div"),s=he($),l=ge(),c=me("div"),d=j("svg"),u=j("defs"),p=j("style"),m=he(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=j("path"),g=ge(),f=me("div"),y=me("span"),b=he(n[76]),fe(o,"class","FilterButton"),fe(o,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(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(y,"part","NumberOfFilters"),fe(f,"class","NumberOfFiltersContainer"),fe(f,"part","NumberOfFiltersContainer"),fe(c,"class","FilterIconContainer"),fe(c,"part","FilterIconContainer"),fe(a,"class","FilterButtonWrapper"),fe(a,"part","FilterButtonWrapper"),fe(i,"class","FiltersButtonsContainer"),fe(i,"part","FiltersButtonsContainer")},m(e,t){ue(e,i,t),x&&x.m(i,null),de(i,r),de(i,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(d,u),de(u,p),de(p,m),de(d,h),de(c,g),de(c,f),de(f,y),de(y,b),v||(w=Z(a,"click",n[86]),v=!0)},p(e,t){e[76]?x?x.p(e,t):((x=gl(e)).c(),x.m(i,r)):x&&(x.d(1),x=null),32768&t[2]&&$!==($=e[77]("casinoPage.filters")+"")&&ye(s,$),16384&t[2]&&ye(b,e[76])},d(e){e&&pe(i),x&&x.d(),v=!1,w()}}}function gl(n){let i,r,a,o,s,l,c,d=n[77]("casinoPage.clear")+"";return{c(){i=me("div"),r=me("div"),a=he(d),o=ge(),(s=me("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(r,"class","ClearButton"),fe(r,"part","ClearButton"),fe(i,"class","ClearFilterButtonWrapper"),fe(i,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),l||(c=Z(i,"click",n[85]),l=!0)},p(e,t){32768&t[2]&&d!==(d=e[77]("casinoPage.clear")+"")&&ye(a,d)},d(e){e&&pe(i),l=!1,c()}}}function fl(e){let n;function i(e){return e[73]?wl:e[72]?vl:bl}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function yl(e){let n,i,r=e[77]("casinoPage.loading")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32768&t[2]&&r!==(r=e[77]("casinoPage.loading")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function bl(e){let n;return{c(){k(n=me("casino-games-category-section"),"userid",e[6]),k(n,"endpoint",e[1]),k(n,"datasource",e[2]),k(n,"favorites",e[14]),k(n,"lang",e[4]),k(n,"currency",e[3]),k(n,"session",e[5]),k(n,"categoryid",e[65]),k(n,"categorygames","9"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8]),k(n,"livecasino",e[19]),k(n,"visiblegames",e[12]),k(n,"gamepagemodalurl",e[22]),k(n,"integratedgameframedesktop",e[28]),k(n,"integratedgameframemobile",e[29]),k(n,"casinomygames",e[0]),k(n,"filterbylogo",e[52]),k(n,"addfilterselector",e[50]),k(n,"addsortingselector",e[51])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&k(n,"userid",e[6]),2&t[0]&&k(n,"endpoint",e[1]),4&t[0]&&k(n,"datasource",e[2]),16384&t[0]&&k(n,"favorites",e[14]),16&t[0]&&k(n,"lang",e[4]),8&t[0]&&k(n,"currency",e[3]),32&t[0]&&k(n,"session",e[5]),8&t[2]&&k(n,"categoryid",e[65]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8]),524288&t[0]&&k(n,"livecasino",e[19]),4096&t[0]&&k(n,"visiblegames",e[12]),4194304&t[0]&&k(n,"gamepagemodalurl",e[22]),268435456&t[0]&&k(n,"integratedgameframedesktop",e[28]),536870912&t[0]&&k(n,"integratedgameframemobile",e[29]),1&t[0]&&k(n,"casinomygames",e[0]),2097152&t[1]&&k(n,"filterbylogo",e[52]),524288&t[1]&&k(n,"addfilterselector",e[50]),1048576&t[1]&&k(n,"addsortingselector",e[51])},d(e){e&&pe(n)}}}function vl(e){let n;return{c(){k(n=me("casino-my-games"),"userid",e[6]),k(n,"session",e[5]),k(n,"endpoint",e[1]),k(n,"datasource",e[2]),k(n,"lang",e[4]),k(n,"currency",e[3]),k(n,"favorites",e[14]),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8]),k(n,"livecasino",e[19]),k(n,"visiblegames",e[12]),k(n,"gamepagemodalurl",e[22]),k(n,"integratedgameframedesktop",e[28]),k(n,"integratedgameframemobile",e[29]),k(n,"translationurl",e[9]),k(n,"mostplayed",e[54]),k(n,"lastplayed",e[55]),k(n,"filteredcategories",e[17]),k(n,"activecategory",e[18]),k(n,"lastplayedunique",e[60]),k(n,"categoryindex","0"),k(n,"categoryid","MYGAMES"),k(n,"casinomygames",e[0]),k(n,"lastplayedperiod",e[56]),k(n,"mostplayedperiod",e[57]),k(n,"lastplayedorder",e[58]),k(n,"lastplayedlimit",e[59]),k(n,"mostplayedrounds",e[61])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&k(n,"userid",e[6]),32&t[0]&&k(n,"session",e[5]),2&t[0]&&k(n,"endpoint",e[1]),4&t[0]&&k(n,"datasource",e[2]),16&t[0]&&k(n,"lang",e[4]),8&t[0]&&k(n,"currency",e[3]),16384&t[0]&&k(n,"favorites",e[14]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8]),524288&t[0]&&k(n,"livecasino",e[19]),4096&t[0]&&k(n,"visiblegames",e[12]),4194304&t[0]&&k(n,"gamepagemodalurl",e[22]),268435456&t[0]&&k(n,"integratedgameframedesktop",e[28]),536870912&t[0]&&k(n,"integratedgameframemobile",e[29]),512&t[0]&&k(n,"translationurl",e[9]),8388608&t[1]&&k(n,"mostplayed",e[54]),16777216&t[1]&&k(n,"lastplayed",e[55]),131072&t[0]&&k(n,"filteredcategories",e[17]),262144&t[0]&&k(n,"activecategory",e[18]),536870912&t[1]&&k(n,"lastplayedunique",e[60]),1&t[0]&&k(n,"casinomygames",e[0]),33554432&t[1]&&k(n,"lastplayedperiod",e[56]),67108864&t[1]&&k(n,"mostplayedperiod",e[57]),134217728&t[1]&&k(n,"lastplayedorder",e[58]),268435456&t[1]&&k(n,"lastplayedlimit",e[59]),1073741824&t[1]&&k(n,"mostplayedrounds",e[61])},d(e){e&&pe(n)}}}function wl(t){let r,a=t[75],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ml(cl(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(2143837695&n[0]|8388607&n[1]|8193&n[2]){let e;for(a=t[75],e=0;e<a.length;e+=1){var i=cl(t,a,e);o[e]?o[e].p(i,n):(o[e]=Ml(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function $l(e){let n,i;return{c(){n=me("div"),k(i=me("casino-winners"),"session",e[5]),k(i,"userid",e[6]),k(i,"periodrecent",e[30]),k(i,"periodtop",e[31]),k(i,"numberusersrecent",e[32]),k(i,"numberuserstop",e[33]),k(i,"amountlimit",e[34]),k(i,"isrecentavailable",e[27]),k(i,"istopavailable",e[26]),k(i,"defaultcurrency",e[35]),k(i,"usercurrency",e[3]),k(i,"enableautoscroll",e[25]),k(i,"tabsorder",e[24]),k(i,"lang",e[4]),k(i,"clientstyling",e[7]),k(i,"clientstylingurl",e[8]),k(i,"endpoint",e[1]),k(i,"winnersdatasources",e[62]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[0]&&k(i,"session",e[5]),64&t[0]&&k(i,"userid",e[6]),1073741824&t[0]&&k(i,"periodrecent",e[30]),1&t[1]&&k(i,"periodtop",e[31]),2&t[1]&&k(i,"numberusersrecent",e[32]),4&t[1]&&k(i,"numberuserstop",e[33]),8&t[1]&&k(i,"amountlimit",e[34]),134217728&t[0]&&k(i,"isrecentavailable",e[27]),67108864&t[0]&&k(i,"istopavailable",e[26]),16&t[1]&&k(i,"defaultcurrency",e[35]),8&t[0]&&k(i,"usercurrency",e[3]),33554432&t[0]&&k(i,"enableautoscroll",e[25]),16777216&t[0]&&k(i,"tabsorder",e[24]),16&t[0]&&k(i,"lang",e[4]),128&t[0]&&k(i,"clientstyling",e[7]),256&t[0]&&k(i,"clientstylingurl",e[8]),2&t[0]&&k(i,"endpoint",e[1]),1&t[2]&&k(i,"winnersdatasources",e[62])},d(e){e&&pe(n)}}}function xl(e){let n,i,r;return{c(){n=me("br"),i=ge(),k(r=me("casino-calendar"),"cmsendpoint",e[10]),k(r,"lang",e[4])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,r,t)},p(e,t){1024&t[0]&&k(r,"cmsendpoint",e[10]),16&t[0]&&k(r,"lang",e[4])},d(e){e&&pe(n),e&&pe(i),e&&pe(r)}}}function Cl(e){let n,i,r,a;return{c(){n=me("br"),i=ge(),k(r=me("jackpot-banner"),"title","Jackpot Cards"),k(r,"currency",a=e[3]||"RON"),k(r,"gameid","999"),k(r,"endpoint",e[1]),k(r,"lang",e[4]),k(r,"backgroundsrc","/assets/background0.jpg"),k(r,"backgroundsrcmobile","/assets/background0.jpg"),k(r,"titlelogopath","/assets/jackpots_logo.svg"),k(r,"caticon0","/assets/icon0.svg"),k(r,"caticon1","/assets/icon1.svg"),k(r,"caticon2","/assets/icon2.svg"),k(r,"caticon3","/assets/icon3.svg"),k(r,"iconlabels",e[44]),k(r,"visualstructure","typeSpread"),k(r,"clientstyling",e[7]),k(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,r,t)},p(e,t){8&t[0]&&a!==(a=e[3]||"RON")&&k(r,"currency",a),2&t[0]&&k(r,"endpoint",e[1]),16&t[0]&&k(r,"lang",e[4]),8192&t[1]&&k(r,"iconlabels",e[44]),128&t[0]&&k(r,"clientstyling",e[7]),256&t[0]&&k(r,"clientstylingurl",e[8])},d(e){e&&pe(n),e&&pe(i),e&&pe(r)}}}function kl(e){let n,i,r,a;return{c(){n=me("br"),i=ge(),k(r=me("jackpot-banner"),"title","Egypt Quest"),k(r,"currency",a=e[3]||"RON"),k(r,"gameid","998"),k(r,"endpoint",e[1]),k(r,"lang",e[4]),k(r,"backgroundsrc",e[41]),k(r,"backgroundsrcmobile",e[42]),k(r,"titlelogopath",e[43]),k(r,"caticon0",e[37]),k(r,"caticon1",e[38]),k(r,"caticon2",e[39]),k(r,"caticon3",e[40]),k(r,"iconlabels",e[44]),k(r,"visualstructure",e[45]),k(r,"clientstyling",e[7]),k(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,r,t)},p(e,t){8&t[0]&&a!==(a=e[3]||"RON")&&k(r,"currency",a),2&t[0]&&k(r,"endpoint",e[1]),16&t[0]&&k(r,"lang",e[4]),1024&t[1]&&k(r,"backgroundsrc",e[41]),2048&t[1]&&k(r,"backgroundsrcmobile",e[42]),4096&t[1]&&k(r,"titlelogopath",e[43]),64&t[1]&&k(r,"caticon0",e[37]),128&t[1]&&k(r,"caticon1",e[38]),256&t[1]&&k(r,"caticon2",e[39]),512&t[1]&&k(r,"caticon3",e[40]),8192&t[1]&&k(r,"iconlabels",e[44]),16384&t[1]&&k(r,"visualstructure",e[45]),128&t[0]&&k(r,"clientstyling",e[7]),256&t[0]&&k(r,"clientstylingurl",e[8])},d(e){e&&pe(n),e&&pe(i),e&&pe(r)}}}function Fl(e){let n,i;return{c(){k(n=me("casino-collections-providers"),"endpoint",i=e[1].slice(0,-2)),k(n,"datasource",e[2]),k(n,"lang",e[4]),k(n,"type","vendor"),k(n,"titletype","logo"),k(n,"collectionprovidersgamenames",e[49]),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&i!==(i=e[1].slice(0,-2))&&k(n,"endpoint",i),4&t[0]&&k(n,"datasource",e[2]),16&t[0]&&k(n,"lang",e[4]),262144&t[1]&&k(n,"collectionprovidersgamenames",e[49]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8])},d(e){e&&pe(n)}}}function Sl(e){let n,i;return{c(){k(n=me("casino-collections-providers"),"endpoint",i=e[1].slice(0,-2)),k(n,"datasource",e[2]),k(n,"lang",e[4]),k(n,"type",e[47]),k(n,"collectionprovidersgamenames",e[49]),k(n,"titletype",e[48]),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&i!==(i=e[1].slice(0,-2))&&k(n,"endpoint",i),4&t[0]&&k(n,"datasource",e[2]),16&t[0]&&k(n,"lang",e[4]),65536&t[1]&&k(n,"type",e[47]),262144&t[1]&&k(n,"collectionprovidersgamenames",e[49]),131072&t[1]&&k(n,"titletype",e[48]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8])},d(e){e&&pe(n)}}}function Ml(n){let i,r,a,o,s,l,c,d,u,p,e,m,h,g,f=n[23]&&n[137]==+n[23]&&$l(n),y=n[53]&&n[137]==+n[53]&&xl(n);function b(e,t){return 32&t[1]|8192&t[2]&&(a=null),32&t[1]|8192&t[2]&&(o=null),(a=null==a?!(!e[36]||e[137]!=(""==e[36].split(",")[0]?e[75].length:+e[36].split(",")[0])):a)?kl:(o=null==o?!(!e[36]||e[137]!=(""==e[36].split(",")[1]?e[75].length:+e[36].split(",")[1])):o)?Cl:void 0}let v=b(n,[-1,-1,-1,-1,-1]),w=v&&v(n);function $(e,t){return 32768&t[1]|8192&t[2]&&(l=null),32768&t[1]|8192&t[2]&&(c=null),(l=null==l?!(!e[46]||e[137]!=(""==e[46].split(",")[0]?e[75].length:+e[46].split(",")[0])):l)?Sl:(c=null==c?!(!e[46]||e[137]!=(""==e[46].split(",")[1]?e[75].length:+e[46].split(",")[1])):c)?Fl:void 0}let x=$(n,[-1,-1,-1,-1,-1]),C=x&&x(n);return{c(){f&&f.c(),i=ge(),y&&y.c(),r=ge(),w&&w.c(),s=ge(),C&&C.c(),d=ge(),k(u=me("casino-games-category-section"),"session",n[5]),k(u,"userid",n[6]),k(u,"endpoint",n[1]),k(u,"datasource",n[2]),k(u,"lang",n[4]),k(u,"currency",n[3]),k(u,"categoryid",p=n[135]),k(u,"categoryindex",e=n[137]),k(u,"categorygames","9"),k(u,"favorites",n[14]),k(u,"class","CategoryContainer"),P(u,"background-color",n[137]%2!=0?n[11]:"transparent"),k(u,"clientstyling",n[7]),k(u,"clientstylingurl",n[8]),k(u,"livecasino",n[19]),k(u,"visiblegames",n[12]),k(u,"gamepagemodalurl",n[22]),k(u,"integratedgameframedesktop",n[28]),k(u,"integratedgameframemobile",n[29]),k(u,"casinomygames",n[0]),k(u,"filterbylogo",n[52]),k(u,"addfilterselector",n[50]),k(u,"addsortingselector",n[51])},m(e,t){f&&f.m(e,t),ue(e,i,t),y&&y.m(e,t),ue(e,r,t),w&&w.m(e,t),ue(e,s,t),C&&C.m(e,t),ue(e,d,t),ue(e,u,t),h||(g=S(m=n[81].call(null,u,n[135])),h=!0)},p(e,t){(n=e)[23]&&n[137]==+n[23]?f?f.p(n,t):((f=$l(n)).c(),f.m(i.parentNode,i)):f&&(f.d(1),f=null),n[53]&&n[137]==+n[53]?y?y.p(n,t):((y=xl(n)).c(),y.m(r.parentNode,r)):y&&(y.d(1),y=null),v===(v=b(n,t))&&w?w.p(n,t):(w&&w.d(1),(w=v&&v(n))&&(w.c(),w.m(s.parentNode,s))),x===(x=$(n,t))&&C?C.p(n,t):(C&&C.d(1),(C=x&&x(n))&&(C.c(),C.m(d.parentNode,d))),32&t[0]&&k(u,"session",n[5]),64&t[0]&&k(u,"userid",n[6]),2&t[0]&&k(u,"endpoint",n[1]),4&t[0]&&k(u,"datasource",n[2]),16&t[0]&&k(u,"lang",n[4]),8&t[0]&&k(u,"currency",n[3]),8192&t[2]&&p!==(p=n[135])&&k(u,"categoryid",p),16384&t[0]&&k(u,"favorites",n[14]),2048&t[0]&&P(u,"background-color",n[137]%2!=0?n[11]:"transparent"),128&t[0]&&k(u,"clientstyling",n[7]),256&t[0]&&k(u,"clientstylingurl",n[8]),524288&t[0]&&k(u,"livecasino",n[19]),4096&t[0]&&k(u,"visiblegames",n[12]),4194304&t[0]&&k(u,"gamepagemodalurl",n[22]),268435456&t[0]&&k(u,"integratedgameframedesktop",n[28]),536870912&t[0]&&k(u,"integratedgameframemobile",n[29]),1&t[0]&&k(u,"casinomygames",n[0]),2097152&t[1]&&k(u,"filterbylogo",n[52]),524288&t[1]&&k(u,"addfilterselector",n[50]),1048576&t[1]&&k(u,"addsortingselector",n[51]),m&&F(m.update)&&8192&t[2]&&m.update.call(null,n[135])},d(e){f&&f.d(e),e&&pe(i),y&&y.d(e),e&&pe(r),w&&w.d(e),e&&pe(s),C&&C.d(e),e&&pe(d),e&&pe(u),h=!1,g()}}}function Tl(n){let i,r,a,e,t,o,s,l=n[77]("casinoPage.breakButton")+"";return{c(){i=me("div"),r=me("button"),a=he(l),fe(r,"class",e="PanicButton "+("PC"!==lt(n[78])?"PanicButtonMobile ":"")),fe(r,"part",t="PanicButton "+("PC"!==lt(n[78])?"PanicButtonMobile":"")),B(r,"PanicButtonAnimation",n[71]),fe(i,"class",o="PanicSection "+("PC"!==lt(n[78])?"PanicSectionMobile":"")),fe(i,"part",s="PanicSection "+("PC"!==lt(n[78])?"PanicSectionMobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[87](r)},p(e,t){32768&t[2]&&l!==(l=e[77]("casinoPage.breakButton")+"")&&ye(a,l),512&t[2]&&B(r,"PanicButtonAnimation",e[71])},d(e){e&&pe(i),n[87](null)}}}function El(n){let i;function r(e){return e[69]?ul:dl}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=V},m(e,t){ue(e,i,t),o.m(i,null),n[88](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o.d(),n[88](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoSearch{margin:30px 16px}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px}.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 #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.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}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop.CasinoSearch{margin:30px 16px}.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 .SearchInput{width:50%}.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}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Rs,Bs,t,{endpoint:0,datasource:23,session:24,userid:25,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,gamepagemodalurl:6,translationurl:26,showfavorites:7},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","translationurl","showfavorites"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[23]}set datasource(e){this.$$set({datasource:e}),f()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[6]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get translationurl(){return this.$$.ctx[26]}set translationurl(e){this.$$set({translationurl:e}),f()}get showfavorites(){return this.$$.ctx[7]}set showfavorites(e){this.$$set({showfavorites:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Os,Ns,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15,integratedgameframedesktop:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#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-color-white, #FFFFFF);background: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:50vw;padding:20px;text-align:center;margin-bottom:50px;overflow:scroll}.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-color-primary, #D0046C)}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color: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;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-color-primary, #D0046C)}.Mobile{max-height:70vh;margin-bottom:0}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Xs,Ks,t,{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),f()))}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}),f()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),f()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),f()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),f()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),f()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),f()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:scroll;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:linear-gradient(#e2e2e2, #b5b5b5);border-radius:4px 4px 0 0;border-bottom:3px solid #888;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 #fff;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:#fff;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:#fff;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}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:72px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:80%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:10px 6px;border-radius:5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);cursor:pointer}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},el,Qs,t,{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),f()))}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}),f()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),f()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),f()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),f()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),f()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),f()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),f()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),f()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:flex-start;text-align:left;gap:10px}.Mobile{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ll,sl,t,{cmsendpoint:7,lang:0},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["cmsendpoint","lang"]}get cmsendpoint(){return this.$$.ctx[7]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),f()}});let Ll=!1;function Il(e,t,l){let R;ct(e,Ki,e=>l(77,R=e));let D,{endpoint:c=""}=t,{datasource:n=""}=t,{currency:A=""}=t,{lang:r=""}=t,{session:a=""}=t,{userid:o=""}=t,{clientstyling:s=""}=t,{clientstylingurl:d=""}=t,{translationurl:u=""}=t,{cmsendpoint:N=""}=t,{categorybackground:O=""}=t,H=t["visiblegames"],{alternativesearch:j="false"}=t,{favorites:p=""}=t,{containermaxwidth:U="1300"}=t,{lobbyid:z="casinodefault"}=t,{haspanicbutton:W="false"}=t,{filteredcategories:m=""}=t,{activecategory:h=""}=t,{livecasino:Y="false"}=t,{playrandomgame:V="false"}=t,{filteredrandomgamecategories:q=""}=t,{gamepagemodalurl:Z="false"}=t,{positionwinnerswidget:J=""}=t,{tabsorder:K=""}=t,{enableautoscroll:X=""}=t,{istopavailable:Q=""}=t,{isrecentavailable:ee=""}=t,{integratedgameframedesktop:te="false"}=t,{integratedgameframemobile:ne="false"}=t,{periodrecent:ie=""}=t,{periodtop:re=""}=t,{numberusersrecent:ae=""}=t,{numberuserstop:oe=""}=t,{amountlimit:se=""}=t,{defaultcurrency:le=""}=t,{showsubgroups:ce=""}=t,{positionjackpotbanners:de=""}=t,{caticon0:ue=""}=t,{caticon1:pe=""}=t,{caticon2:me=""}=t,{caticon3:he=""}=t,{backgroundsrc:ge=""}=t,{backgroundsrcmobile:fe=""}=t,{titlelogopath:ye=""}=t,{iconlabels:be=""}=t,{visualstructure:ve=""}=t,{positioncollections:we=""}=t,{type:$e=""}=t,{titletype:xe=""}=t,{collectionprovidersgamenames:Ce=""}=t,{addfilterselector:ke="false"}=t,{addsortingselector:Fe="false"}=t,{filterbylogo:Se=""}=t,{positioncasinocalendar:Me=""}=t,{casinomygames:g="false"}=t,{mostplayed:Te=""}=t,{lastplayed:Ee=""}=t,{lastplayedperiod:Le="Last30Days"}=t,{mostplayedperiod:Ie="Last30Days"}=t,{lastplayedorder:Ge=""}=t,{lastplayedlimit:_e=""}=t,{lastplayedunique:Pe="true"}=t,{mostplayedrounds:Be=""}=t,{winnersdatasources:Re=""}=t,{randombuttonicon:De=""}=t,Ae=window.navigator.userAgent;D=st(Ae)?"OpenGameFrame":"ShowGameModal";let f,y,b,Ne,v,w,Oe,He,i,$,x=!1,C=!1,je=!1,k="",F=!1,S=0,M=!1,T=!0,Ue=!1,ze=[],E=[],We=!1,L=[],Ye=0,I="",Ve=!1;var qe,Ze;({withLocale:qe,translations:Ze}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(Ze),ot.set(qe))}),Object.keys(Cr).forEach(e=>{xr(e,Cr[e])});const Je=e=>{switch(We=!0,l(0,g="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:We},window.location.href)}),e.data.itemId){case"LOBBY":l(73,T=!0),l(72,M=!1),l(65,v="");break;case"MYGAMES":l(0,g="true"),l(73,T=!1),l(72,M=!0),l(65,v="");break;case"FAVORITES":l(73,T=!1),l(72,M=!0),l(65,v="");break;case"MOSTPLAYED":"true"==Te&&(l(65,v=""),l(73,T=!1),l(72,M=!0));break;case"LASTPLAYED":"true"==Ee&&(l(65,v=""),l(73,T=!1),l(72,M=!0));break;default:l(73,T=!1),l(72,M=!1),l(65,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},Ke=n=>{if(n.data)switch(n.data.type){case"CategoryChange":Je(n);break;case"UserSessionID":y=n.data.session,(f=n.data.userID)&&f.length&&y&&0<y.length&&G(c,y,f);break;case"SetUnfavoredGame":t=`${c}/player/${f}/favorites`,o=y,f,s=n.data.id,L.includes(s)&&(L=L.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),Xe(t,o)});break;case"SetFavoredGame":{var i=`${c}/player/${f}/favorites`;var r=y;f;var a=n.data.id;L.includes(a)||L.push(a);let e={items:L},t={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(i,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),Xe(i,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&G(c,y,f);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),_();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),_();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:I,origin:n.data.origin},window.location.href),_();break;case"CategoryVendors":I=n.data.categoryid,_();break;case"searchCancelled":l(74,Ue=!1),v&&Je({data:{itemId:v}});break;case"searchActive":l(74,Ue=!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 G=(e,t,n)=>{"true"==p&&a&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((i=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i},window.location.href),tt(i.items)),i)).then(e=>e).catch(e=>{console.error(e)})},Xe=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((i=e)&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i},window.location.href),i)).catch(e=>{console.error(e)})};const Qe=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},et=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},tt=(e=[])=>(L=[],0<e.length&&e.forEach(e=>{L.push(e.id)}),L);const _=()=>{var e=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e&&I&&(e[I]?l(76,Ye=e[I].length):l(76,Ye=0))},nt=()=>{w&&(Oe=w.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},P=e=>{S=0,Ne=setInterval(()=>{S+=1,l(71,F=!0),3<=S&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Ne))},1e3)},B=e=>{S<3&&l(71,F=!1),clearInterval(Ne)};return it(()=>(window.addEventListener("scroll",nt,!1),window.addEventListener("message",Ke,!1),()=>{window.removeEventListener("scroll",nt),window.removeEventListener("message",Ke),l(71,F=!1),null!=b&&b.removeEventListener("mousedown",P),null!=b&&b.removeEventListener("touchstart",P),null!=b&&b.removeEventListener("mouseup",B),null!=b&&b.removeEventListener("touchend",B)})),e.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"datasource"in e&&l(2,n=e.datasource),"currency"in e&&l(3,A=e.currency),"lang"in e&&l(4,r=e.lang),"session"in e&&l(5,a=e.session),"userid"in e&&l(6,o=e.userid),"clientstyling"in e&&l(7,s=e.clientstyling),"clientstylingurl"in e&&l(8,d=e.clientstylingurl),"translationurl"in e&&l(9,u=e.translationurl),"cmsendpoint"in e&&l(10,N=e.cmsendpoint),"categorybackground"in e&&l(11,O=e.categorybackground),"visiblegames"in e&&l(12,H=e.visiblegames),"alternativesearch"in e&&l(13,j=e.alternativesearch),"favorites"in e&&l(14,p=e.favorites),"containermaxwidth"in e&&l(15,U=e.containermaxwidth),"lobbyid"in e&&l(82,z=e.lobbyid),"haspanicbutton"in e&&l(16,W=e.haspanicbutton),"filteredcategories"in e&&l(17,m=e.filteredcategories),"activecategory"in e&&l(18,h=e.activecategory),"livecasino"in e&&l(19,Y=e.livecasino),"playrandomgame"in e&&l(20,V=e.playrandomgame),"filteredrandomgamecategories"in e&&l(21,q=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(22,Z=e.gamepagemodalurl),"positionwinnerswidget"in e&&l(23,J=e.positionwinnerswidget),"tabsorder"in e&&l(24,K=e.tabsorder),"enableautoscroll"in e&&l(25,X=e.enableautoscroll),"istopavailable"in e&&l(26,Q=e.istopavailable),"isrecentavailable"in e&&l(27,ee=e.isrecentavailable),"integratedgameframedesktop"in e&&l(28,te=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(29,ne=e.integratedgameframemobile),"periodrecent"in e&&l(30,ie=e.periodrecent),"periodtop"in e&&l(31,re=e.periodtop),"numberusersrecent"in e&&l(32,ae=e.numberusersrecent),"numberuserstop"in e&&l(33,oe=e.numberuserstop),"amountlimit"in e&&l(34,se=e.amountlimit),"defaultcurrency"in e&&l(35,le=e.defaultcurrency),"showsubgroups"in e&&l(83,ce=e.showsubgroups),"positionjackpotbanners"in e&&l(36,de=e.positionjackpotbanners),"caticon0"in e&&l(37,ue=e.caticon0),"caticon1"in e&&l(38,pe=e.caticon1),"caticon2"in e&&l(39,me=e.caticon2),"caticon3"in e&&l(40,he=e.caticon3),"backgroundsrc"in e&&l(41,ge=e.backgroundsrc),"backgroundsrcmobile"in e&&l(42,fe=e.backgroundsrcmobile),"titlelogopath"in e&&l(43,ye=e.titlelogopath),"iconlabels"in e&&l(44,be=e.iconlabels),"visualstructure"in e&&l(45,ve=e.visualstructure),"positioncollections"in e&&l(46,we=e.positioncollections),"type"in e&&l(47,$e=e.type),"titletype"in e&&l(48,xe=e.titletype),"collectionprovidersgamenames"in e&&l(49,Ce=e.collectionprovidersgamenames),"addfilterselector"in e&&l(50,ke=e.addfilterselector),"addsortingselector"in e&&l(51,Fe=e.addsortingselector),"filterbylogo"in e&&l(52,Se=e.filterbylogo),"positioncasinocalendar"in e&&l(53,Me=e.positioncasinocalendar),"casinomygames"in e&&l(0,g=e.casinomygames),"mostplayed"in e&&l(54,Te=e.mostplayed),"lastplayed"in e&&l(55,Ee=e.lastplayed),"lastplayedperiod"in e&&l(56,Le=e.lastplayedperiod),"mostplayedperiod"in e&&l(57,Ie=e.mostplayedperiod),"lastplayedorder"in e&&l(58,Ge=e.lastplayedorder),"lastplayedlimit"in e&&l(59,_e=e.lastplayedlimit),"lastplayedunique"in e&&l(60,Pe=e.lastplayedunique),"mostplayedrounds"in e&&l(61,Be=e.mostplayedrounds),"winnersdatasources"in e&&l(62,Re=e.winnersdatasources),"randombuttonicon"in e&&l(63,De=e.randombuttonicon)},e.$$.update=()=>{var i,t;if((262160&e.$$.dirty[0]&&r&&h&&(l(65,v=h),Je({data:{itemId:v}})),98&e.$$.dirty[0]&&a&&o&&c&&(l(70,je=!0),y=a,(f=o)&&f.length&&y&&0<y.length&&"true"!=g&&G(c,y,f)),4194312&e.$$.dirty[2]&&v&&E&&E&&!E.includes(decodeURI(v))&&""!=v&&window.postMessage({type:"NonExistentCategory"},window.location.href),8214&e.$$.dirty[0]&&c&&n&&r&&j)&&(c||(k="Endpoint is missing! Please provide a valid endpointURL.",l(69,C=!0),l(68,x=!1),console.error(k)),n||(k="Datasource is missing! Please provide a valid datasource.",l(69,C=!0),l(68,x=!1),console.error(k)),(!r||r.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",l(69,C=!0),l(68,x=!1),console.error(k)),!C)){l(68,x=!0),"true"==p&&G(c,y,f),t=r,ot.set(t);let e=new URL(c+"/casino/groups/"+n);e.searchParams.append("language",r),e.searchParams.append("platform",lt(Ae)),i=e,new Promise((t,n)=>{l(68,x=!0),fetch(i).then(e=>e.json()).then(e=>{l(68,x=!1),t(e)}).catch(e=>{l(69,C=!0),l(68,x=!1),console.error(e),n(e)})}).then(e=>{let i=m.split(",");e&&(He=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,m))for(var n of i)e.flags==n&&(t=!1);return t}),l(75,ze=He.filter(e=>{return!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==ce)}).map(e=>e.id)),l(84,E=e.items.map(e=>e.id.toString())),l(68,x=!1))}),_(),(w=void 0)&&(Oe=w.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(16&e.$$.dirty[0]&&r&&(Ve&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Ve=!1),512&e.$$.dirty[0]&&u&&(t=new URL(u),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{xr(e,t[e])})}).catch(e=>{console.log(e)})),128&e.$$.dirty[0]|16&e.$$.dirty[2]&&s&&$){let e=document.createElement("style");e.innerHTML=s,$.appendChild(e)}if(256&e.$$.dirty[0]|16&e.$$.dirty[2]&&d&&$){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}4&e.$$.dirty[2]&&b&&(null!=b&&b.addEventListener("mousedown",P,!1),null!=b&&b.addEventListener("touchstart",P,!1),null!=b&&b.addEventListener("mouseup",B,!1),null!=b&&b.addEventListener("touchend",B,!1))},[g,c,n,A,r,a,o,s,d,u,N,O,H,j,p,U,W,m,h,Y,V,q,Z,J,K,X,Q,ee,te,ne,ie,re,ae,oe,se,le,de,ue,pe,me,he,ge,fe,ye,be,ve,we,$e,xe,Ce,ke,Fe,Se,Me,Te,Ee,Le,Ie,Ge,_e,Pe,Be,Re,De,b,v,$,D,x,C,je,F,M,T,Ue,ze,Ye,R,Ae,Qe,et,(e,t)=>{I=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:H,receivedFavoriteResults:i},window.location.href)},z,ce,E,()=>et(),()=>{Qe()},function(e){rt[e?"unshift":"push"](()=>{b=e,l(64,b)})},function(e){rt[e?"unshift":"push"](()=>{$=e,l(66,$)})}]}function Gl(e,t){Ii(e,t)}customElements.get("casino-page")||customElements.define("casino-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;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-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.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){}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Il,El,t,{endpoint:1,datasource:2,currency:3,lang:4,session:5,userid:6,clientstyling:7,clientstylingurl:8,translationurl:9,cmsendpoint:10,categorybackground:11,visiblegames:12,alternativesearch:13,favorites:14,containermaxwidth:15,lobbyid:82,haspanicbutton:16,filteredcategories:17,activecategory:18,livecasino:19,playrandomgame:20,filteredrandomgamecategories:21,gamepagemodalurl:22,positionwinnerswidget:23,tabsorder:24,enableautoscroll:25,istopavailable:26,isrecentavailable:27,integratedgameframedesktop:28,integratedgameframemobile:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:34,defaultcurrency:35,showsubgroups:83,positionjackpotbanners:36,caticon0:37,caticon1:38,caticon2:39,caticon3:40,backgroundsrc:41,backgroundsrcmobile:42,titlelogopath:43,iconlabels:44,visualstructure:45,positioncollections:46,type:47,titletype:48,collectionprovidersgamenames:49,addfilterselector:50,addsortingselector:51,filterbylogo:52,positioncasinocalendar:53,casinomygames:0,mostplayed:54,lastplayed:55,lastplayedperiod:56,mostplayedperiod:57,lastplayedorder:58,lastplayedlimit:59,lastplayedunique:60,mostplayedrounds:61,winnersdatasources:62,randombuttonicon:63},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","alternativesearch","favorites","containermaxwidth","lobbyid","haspanicbutton","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","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","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[3]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[5]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[6]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),f()}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get categorybackground(){return this.$$.ctx[11]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),f()}get containermaxwidth(){return this.$$.ctx[15]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[82]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[18]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[19]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[20]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[21]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get gamepagemodalurl(){return this.$$.ctx[22]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[23]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[24]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[25]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[26]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[27]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[28]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[29]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[31]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[34]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get showsubgroups(){return this.$$.ctx[83]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get positionjackpotbanners(){return this.$$.ctx[36]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[37]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[38]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[39]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[40]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[41]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[42]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[43]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[44]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[45]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get positioncollections(){return this.$$.ctx[46]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[47]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[48]}set titletype(e){this.$$set({titletype:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[49]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}get addfilterselector(){return this.$$.ctx[50]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[51]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[52]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}get positioncasinocalendar(){return this.$$.ctx[53]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),f()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get mostplayed(){return this.$$.ctx[54]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[55]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[56]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get mostplayedperiod(){return this.$$.ctx[57]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}get lastplayedorder(){return this.$$.ctx[58]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[59]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get lastplayedunique(){return this.$$.ctx[60]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}get mostplayedrounds(){return this.$$.ctx[61]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get winnersdatasources(){return this.$$.ctx[62]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),f()}get randombuttonicon(){return this.$$.ctx[63]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}});const _l={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."}},"zh-hk":{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."}},de:{gamePage:{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:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off",loading:"Loading, please wait..."}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter..."}},es:{gamePage:{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:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off",loading:"Yükleniyor, lütfen bekleyin..."}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off",loading:"Loading, please wait..."}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off",loading:"Se incarca, te rugam asteapta…"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Betöltés, kérjük várjon..."}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo",loading:"Carregando, por favor espere ..."}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait..."}}};function Pl(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,i=window.cstmNativeBridge.EVENTS[e];if(i){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[i],window.cstmNativeBridge.eventListeners[i]=function(){delete window.cstmNativeBridge.eventListeners[i],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var Bl=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},Rl=function(e,...t){try{return Pl(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function Dl(n){let i,r,a=n[13]&&Ol(n);return{c(){i=me("div"),r=me("div"),a&&a.c(),fe(r,"class","CasinoGamePageContainer"),fe(r,"part","CasinoGamePageContainer"),P(r,"background","rgba(0, 0, 0, 0.5)"),fe(i,"class","GamePageBackground"),P(i,"background",n[22]?"":`url(${n[12].backgroundImageUrl})`),P(i,"background-size","cover")},m(e,t){ue(e,i,t),de(i,r),a&&a.m(r,null),n[84](i)},p(e,t){e[13]?a?a.p(e,t):((a=Ol(e)).c(),a.m(r,null)):a&&(a.d(1),a=null),4198400&t[0]&&P(i,"background",e[22]?"":`url(${e[12].backgroundImageUrl})`)},d(e){e&&pe(i),a&&a.d(),n[84](null)}}}function Al(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function Nl(e){let n,i,r=e[26]("gamePage.loading")+"";return{c(){n=me("p"),i=he(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){67108864&t[0]&&r!==(r=e[26]("gamePage.loading")+"")&&ye(i,r)},d(e){e&&pe(n)}}}function Ol(e){let n;function i(e){return e[22]?Ul:e[6]?jl:e[7]?void 0:Hl}let r=i(e),a=r&&r(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a&&a.d(e),e&&pe(n)}}}function Hl(e){let n;function i(e){return e[14]?Wl:zl}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function jl(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$=n[26]("gamePage.deposit")+"",x="true"===n[1]&&ql(n);function C(e){return e[19]?Jl:Zl}let k=C(n),F=k(n);return{c(){i=me("div"),r=me("div"),a=me("iframe"),s=ge(),l=me("div"),c=me("button"),d=he($),u=ge(),p=me("p"),m=me("span"),h=he(n[4]),g=ge(),x&&x.c(),f=ge(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[12].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(p,"class","Time"),fe(p,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(r,"id","IframeGame"),fe(r,"part","IframeGame"),fe(r,"style",n[25]),fe(i,"id","IframeContainer"),fe(i,"part","IframeContainer"),P(i,"width",n[20]),P(i,"height",n[21]),B(i,"FullsScreenLayout",n[19])},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[64](a),de(r,s),de(r,l),de(l,c),de(c,d),de(l,u),de(l,p),de(p,m),de(m,h),n[66](p),de(l,g),x&&x.m(l,null),de(l,f),F.m(l,null),n[70](l),n[71](r),n[72](i),v||(w=Z(c,"click",n[65]),v=!0)},p(e,t){4096&t[0]&&!ce(a.src,o=e[12].launchUrl)&&fe(a,"src",o),67108864&t[0]&&$!==($=e[26]("gamePage.deposit")+"")&&ye(d,$),16&t[0]&&ye(h,e[4]),"true"===e[1]?x?x.p(e,t):((x=ql(e)).c(),x.m(l,f)):x&&(x.d(1),x=null),k===(k=C(e))&&F?F.p(e,t):(F.d(1),(F=k(e))&&(F.c(),F.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),33554432&t[0]&&fe(r,"style",e[25]),1048576&t[0]&&P(i,"width",e[20]),2097152&t[0]&&P(i,"height",e[21]),524288&t[0]&&B(i,"FullsScreenLayout",e[19])},d(e){e&&pe(i),n[64](null),n[66](null),x&&x.d(),F.d(),n[70](null),n[71](null),n[72](null),v=!1,w()}}}function Ul(e){let n;function i(e){return e[6]?Ql:e[15]&&!e[7]?Xl:e[7]?void 0:Kl}let r=i(e),a=r&&r(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a&&a.d(e),e&&pe(n)}}}function zl(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$=n[12].name+"",x=n[26]("gamePage.signIn")+"",C=n[26]("gamePage.register")+"";return{c(){i=me("div"),r=me("h3"),a=he($),o=ge(),s=me("img"),c=ge(),d=me("div"),u=me("button"),p=he(x),m=ge(),h=me("button"),g=he(C),f=ge(),y=me("p"),b=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(h,"class","RegisterButton"),fe(h,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,o),de(i,s),de(i,c),de(i,d),de(d,u),de(u,p),de(d,m),de(d,h),de(h,g),de(i,f),de(i,y),de(y,b),v||(w=[Z(u,"click",n[82]),Z(h,"click",n[83])],v=!0)},p(e,t){4096&t[0]&&$!==($=e[12].name+"")&&ye(a,$),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&x!==(x=e[26]("gamePage.signIn")+"")&&ye(p,x),67108864&t[0]&&C!==(C=e[26]("gamePage.register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4])},d(e){e&&pe(i),v=!1,q(w)}}}function Wl(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x=n[26]("gamePage.signIn")+"",C=n[26]("gamePage.register")+"";function k(e){return e[19]?Vl:Yl}let F=k(n),S=F(n);return{c(){i=me("div"),r=me("div"),a=me("iframe"),s=ge(),l=me("div"),c=me("div"),d=me("button"),u=he(x),p=ge(),m=me("button"),h=he(C),g=ge(),f=me("p"),y=me("span"),b=he(n[4]),v=ge(),S.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[12].launchUrl)||fe(a,"src",o),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(r,"id","IframeGame"),fe(r,"part","IframeGame"),fe(r,"style",n[25]),fe(i,"id","IframeContainer"),fe(i,"part","IframeContainer"),P(i,"width",n[20]),P(i,"height",n[21]),B(i,"FullsScreenLayout",n[19])},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[73](a),de(r,s),de(r,l),de(l,c),de(c,d),de(d,u),de(c,p),de(c,m),de(m,h),de(l,g),de(l,f),de(f,y),de(y,b),n[76](f),de(l,v),S.m(l,null),n[79](l),n[80](r),n[81](i),w||($=[Z(d,"click",n[74]),Z(m,"click",n[75])],w=!0)},p(e,t){4096&t[0]&&!ce(a.src,o=e[12].launchUrl)&&fe(a,"src",o),67108864&t[0]&&x!==(x=e[26]("gamePage.signIn")+"")&&ye(u,x),67108864&t[0]&&C!==(C=e[26]("gamePage.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(r,"style",e[25]),1048576&t[0]&&P(i,"width",e[20]),2097152&t[0]&&P(i,"height",e[21]),524288&t[0]&&B(i,"FullsScreenLayout",e[19])},d(e){e&&pe(i),n[73](null),n[76](null),S.d(),n[79](null),n[80](null),n[81](null),w=!1,q($)}}}function Yl(n){let i,r,a;return{c(){(i=me("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(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[78]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Vl(n){let i,r,a;return{c(){(i=me("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[77]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function ql(n){let i,r,a,o=n[26]("gamePage.breakButton")+"";return{c(){i=me("div"),r=me("button"),a=he(o),fe(r,"class","Button"),fe(r,"part","Button"),B(r,"PanicButtonAnimation",n[11]),fe(i,"class","PanicSection"),fe(i,"part","PanicSection")},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[67](r)},p(e,t){67108864&t[0]&&o!==(o=e[26]("gamePage.breakButton")+"")&&ye(a,o),2048&t[0]&&B(r,"PanicButtonAnimation",e[11])},d(e){e&&pe(i),n[67](null)}}}function Zl(n){let i,r,a;return{c(){(i=me("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(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[69]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Jl(n){let i,r,a;return{c(){(i=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[68]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Kl(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$=n[12].name+"",x=n[26]("gamePage.signIn")+"",C=n[26]("gamePage.register")+"";return{c(){i=me("div"),r=me("h3"),a=he($),o=ge(),s=me("img"),c=ge(),d=me("div"),u=me("button"),p=he(x),m=ge(),h=me("button"),g=he(C),f=ge(),y=me("p"),b=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(h,"class","RegisterButton"),fe(h,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,o),de(i,s),de(i,c),de(i,d),de(d,u),de(u,p),de(d,m),de(d,h),de(h,g),de(i,f),de(i,y),de(y,b),v||(w=[Z(u,"click",n[62]),Z(h,"click",n[63])],v=!0)},p(e,t){4096&t[0]&&$!==($=e[12].name+"")&&ye(a,$),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&x!==(x=e[26]("gamePage.signIn")+"")&&ye(p,x),67108864&t[0]&&C!==(C=e[26]("gamePage.register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4])},d(e){e&&pe(i),v=!1,q(w)}}}function Xl(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C,k=n[12].name+"",F=n[26]("gamePage.signIn")+"",S=n[26]("gamePage.register")+"",M=n[26]("gamePage.playForFun")+"";return{c(){i=me("div"),r=me("h3"),a=he(k),o=ge(),s=me("img"),c=ge(),d=me("div"),u=me("button"),p=he(F),m=ge(),h=me("button"),g=he(S),f=ge(),y=me("button"),b=he(M),v=ge(),w=me("p"),$=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(h,"class","RegisterButton"),fe(h,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,o),de(i,s),de(i,c),de(i,d),de(d,u),de(u,p),de(d,m),de(d,h),de(h,g),de(d,f),de(d,y),de(y,b),de(i,v),de(i,w),de(w,$),x||(C=[Z(u,"click",n[59]),Z(h,"click",n[60]),Z(y,"click",n[61])],x=!0)},p(e,t){4096&t[0]&&k!==(k=e[12].name+"")&&ye(a,k),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&F!==(F=e[26]("gamePage.signIn")+"")&&ye(p,F),67108864&t[0]&&S!==(S=e[26]("gamePage.register")+"")&&ye(g,S),67108864&t[0]&&M!==(M=e[26]("gamePage.playForFun")+"")&&ye(b,M),16&t[0]&&ye($,e[4])},d(e){e&&pe(i),x=!1,q(C)}}}function Ql(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C=n[12].name+"",k=n[26]("gamePage.deposit")+"",F=n[26]("gamePage.playNow")+"",S="true"==n[0]&&ec(n),M="true"===n[1]&&ac(n);return{c(){S&&S.c(),i=ge(),r=me("div"),a=me("h3"),o=he(C),s=ge(),l=me("img"),d=ge(),u=me("div"),p=me("button"),m=he(k),h=ge(),g=me("button"),f=he(F),y=ge(),M&&M.c(),b=ge(),v=me("p"),w=he(n[4]),ce(l.src,c=n[12].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(p,"class","DepositButton"),fe(p,"part","DepositButton"),fe(g,"class","PlayNowButton"),fe(g,"part","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){S&&S.m(e,t),ue(e,i,t),ue(e,r,t),de(r,a),de(a,o),de(r,s),de(r,l),de(r,d),de(r,u),de(u,p),de(p,m),de(u,h),de(u,g),de(g,f),de(r,y),M&&M.m(r,null),de(r,b),de(r,v),de(v,w),$||(x=[Z(p,"click",n[56]),Z(g,"click",n[57])],$=!0)},p(e,t){"true"==e[0]?S?S.p(e,t):((S=ec(e)).c(),S.m(i.parentNode,i)):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]("gamePage.deposit")+"")&&ye(m,k),67108864&t[0]&&F!==(F=e[26]("gamePage.playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):((M=ac(e)).c(),M.m(r,b)):M&&(M.d(1),M=null),16&t[0]&&ye(w,e[4])},d(e){S&&S.d(e),e&&pe(i),e&&pe(r),M&&M.d(),$=!1,q(x)}}}function ec(e){let n;function i(e){return e[8]?tc:nc}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function tc(e){let n;return{c(){(n=me("div")).innerHTML="<div></div><div></div>",fe(n,"class","LoaderRipple")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function nc(e){let n;function i(e){return e[12].isFavored?rc:ic}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function ic(n){let i,r,a,o,s,l,c;return{c(){i=me("div"),r=j("svg"),P(a=j("path"),"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","20px"),fe(r,"y","20px"),fe(r,"viewBox","0 0 512.001 512.001"),P(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(i,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(i,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),l||(c=Z(i,"click",n[55]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"part",s)},d(e){e&&pe(i),l=!1,c()}}}function rc(n){let i,r,a,o,s,l,c;return{c(){i=me("div"),r=j("svg"),P(a=j("path"),"fill","white"),fe(a,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),fe(r,"version","1.1"),fe(r,"class","FavoredIcon"),fe(r,"part","FavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"viewBox","0 0 19.481 19.481"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"enable-background","new 0 0 19.481 19.481"),fe(i,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(i,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),l||(c=Z(i,"click",n[54]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"part",s)},d(e){e&&pe(i),l=!1,c()}}}function ac(n){let i,r,a,e,t,o,s,l=n[26]("gamePage.breakButton")+"";return{c(){i=me("div"),r=me("button"),a=he(l),fe(r,"class",e="PanicButton "+("PC"!==lt(n[27])?"PanicButtonMobile":"")),fe(r,"part",t="PanicButton "+("PC"!==lt(n[27])?"PanicButtonMobile":"")),B(r,"PanicButtonAnimation",n[11]),fe(i,"class",o="PanicSection "+("PC"!==lt(n[27])?"PanicSectionMobile":"")),fe(i,"part",s="PanicSection "+("PC"!==lt(n[27])?"PanicSectionMobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[58](r)},p(e,t){67108864&t[0]&&l!==(l=e[26]("gamePage.breakButton")+"")&&ye(a,l),2048&t[0]&&B(r,"PanicButtonAnimation",e[11])},d(e){e&&pe(i),n[58](null)}}}function oc(n){let i;function r(e){return e[10]?Nl:e[9]?Al:Dl}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=V},m(e,t){ue(e,i,t),o.m(i,null),n[85](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o.d(),n[85](null)}}}function sc(t,e,r){let R;ct(t,Ki,e=>r(26,R=e));let D,n,i,a,A,o,s,l,c,N,O,d,u,H,j,p,m,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:z=""}=e,{depositurl:W=""}=e,{loginevent:k=""}=e,{registerevent:F=""}=e,{depositevent:Y=""}=e,{clockformat:V=""}=e,{haspanicbutton:q="false"}=e,{playforfun:S="true"}=e,{checksession:Z="true"}=e,{integratedgameframedesktop:M="false"}=e,{integratedgameframemobile:J="false"}=e,{gameid:K=""}=e,T=!1,X=!1,Q=!1,ee=!1,E=!0,te=!1,ne=0,L=!1,ie=!1,re=!1,ae=!0,I=!1,G=window.navigator.userAgent,oe=!1,se=[],le=!1,ce="false",de;var ue,pe;({withLocale:ue,translations:pe}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(pe),ot.set(ue))}),Object.keys(_l).forEach(e=>{Gl(e,_l[e])});const me=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(r(6,T=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,e},he=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),ae=t||!1,fetch(n.href).then(e=>e.json()).then(e=>{r(12,o=me(e[0])),r(10,E=!1),o.launchUrl&&(r(13,L=!0),r(14,ie="true"==S&&o.hasFunMode),r(15,re="true"==S&&o.hasAnonymousFunMode))},e=>{console.error("There was an error",e),r(9,ee=!0)}).then(()=>{s&&(ae||(r(20,N=o.width),r(21,O=o.height),H=o.width+"px",j=o.height+"px",d=o.width,u=o.height),$e())}).finally(()=>{r(10,E=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href)},ge=()=>{null!=a&&a.addEventListener("mousedown",Te,!1),null!=a&&a.addEventListener("touchstart",Te,!1),null!=a&&a.addEventListener("mouseup",Ee,!1),null!=a&&a.addEventListener("touchend",Ee,!1)},fe=()=>{r(11,te=!1),null!=a&&a.removeEventListener("mousedown",Te),null!=a&&a.removeEventListener("touchstart",Te),null!=a&&a.removeEventListener("mouseup",Ee),null!=a&&a.removeEventListener("touchend",Ee)},ye=e=>{switch(e.data.type){case"GameLaunchID":he(e.data.gameId,!0);break;case"LaunchGameFrame":we(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":"false"==M&&!st(G)||(window.postMessage({type:"EnableScroll"},window.location.href),r(53,ce="false"),fe(),st(G)?setTimeout(()=>{r(13,L="true"===J)},500):setTimeout(()=>{r(13,L="true"===M)},500));break;case"UserSessionID":if(0<e.data.session.length){i=e.data.session,e.data.userID,r(6,T=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",i),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),r(12,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":r(20,N=e.data.modalContainerSize.modalWidth),r(21,O=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(se=e.data.receivedFavoriteResults.items,o&&o.id&&(r(12,o.isFavored=be(o.id),o),r(8,Q=!1)))}},be=t=>-1!==se.findIndex(e=>e.id==t),ve=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),r(12,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),r(12,o.isFavored=!0,o))},we=(e,n)=>{let t=new URL(f+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t;r(12,o=me(e[0])),r(10,E=!1),o.launchUrl&&r(12,o.isFavored=(e=o,t=n,r(15,re="true"==S&&e.hasAnonymousFunMode),r(14,ie="true"==S&&t),r(13,L=!0),be(e.id)),o)}).finally(()=>{r(10,E=!1)})},$e=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width),u=parseInt(o.height),d=t*n,H=d?Math.floor(d)+"px":"1280px",j=u?Math.floor(u)+"px":"720px",Le()},xe=e=>{if(!le)return st(G)?Ce(J):Ce(M);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};Rl("OPEN_GAME",e)},Ce=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:o.id},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},ke=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:L},window.location.href),L&&(s&&$e(),window.addEventListener("ModalSize",ye,!1))},_=()=>{k&&"false"==M&&!st(G)?window.postMessage({type:k,transition:"Login"},window.location.href):k&&(window.postMessage({type:k,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},P=()=>{F&&"false"==M&&!st(G)?window.postMessage({type:F,transition:"Register"},window.location.href):F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),z&&(window.location=z),"function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Fe=()=>{Y&&(window.postMessage({type:Y},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&&gtag("event","GoToDeposit",{context:"GamePage"})),W&&(window.location=W)};function Se(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!I||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Se,!1),document.addEventListener("mozfullscreenchange",Se,!1),document.addEventListener("fullscreenchange",Se,!1),document.addEventListener("MSFullscreenChange",Se,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(I?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(19,I=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(19,I=!0)))},Me=(setInterval(()=>{r(4,D=V?Tr().format(V):Tr().format("LTS"))},100),()=>{"true"==Z?Xi(f,b).then(e=>{i=e.Guid,e.UserID,r(6,T=!0)},e=>{r(6,T=!1),console.error("err on session",e)}):(i=b,r(6,T=!0))}),Te=e=>{ne=0,A=setInterval(()=>{ne+=1,r(11,te=!0),3<=ne&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(A))},1e3)},Ee=e=>{ne<3&&r(11,te=!1),clearInterval(A)},Le=()=>{var e=I?"100%":H,t=I?"100%":j,n=I||!ae?"none":o.width?Math.floor(o.width)+"px":"1280px",i=I||!ae?"none":o.height?Math.floor(o.height)+100+"px":"720px";r(25,de=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+i),I||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,i=parseInt(getComputedStyle(s).height);g=g||i*Math.max(n,.5),r(16,s.style.height=g+"px",s),r(17,l.style.height=g+"px",l),e&&r(18,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return e=()=>{r(7,X=(b||v)&&!T)},Ie().$$.before_update.push(e),it(()=>(window.addEventListener("resize",ke,!1),window.addEventListener("message",ye,!1),le=!!Bl(G),()=>{fe(),window.removeEventListener("resize",ke),window.removeEventListener("message",ye)})),t.$$set=e=>{"endpoint"in e&&r(34,f=e.endpoint),"lang"in e&&r(35,y=e.lang),"session"in e&&r(36,b=e.session),"userid"in e&&r(37,v=e.userid),"clientstyling"in e&&r(38,w=e.clientstyling),"clientstylingurl"in e&&r(39,$=e.clientstylingurl),"translationurl"in e&&r(40,x=e.translationurl),"favorites"in e&&r(0,U=e.favorites),"loginurl"in e&&r(41,C=e.loginurl),"registerurl"in e&&r(42,z=e.registerurl),"depositurl"in e&&r(43,W=e.depositurl),"loginevent"in e&&r(44,k=e.loginevent),"registerevent"in e&&r(45,F=e.registerevent),"depositevent"in e&&r(46,Y=e.depositevent),"clockformat"in e&&r(47,V=e.clockformat),"haspanicbutton"in e&&r(1,q=e.haspanicbutton),"playforfun"in e&&r(48,S=e.playforfun),"checksession"in e&&r(49,Z=e.checksession),"integratedgameframedesktop"in e&&r(50,M=e.integratedgameframedesktop),"integratedgameframemobile"in e&&r(51,J=e.integratedgameframemobile),"gameid"in e&&r(52,K=e.gameid)},t.$$.update=()=>{if(16&t.$$.dirty[1]&&y&&(e=y,ot.set(e),r(22,oe=st(G))),2097176&t.$$.dirty[1]&&f&&K&&y&&he(K,!0),104&t.$$.dirty[1]&&b&&v&&f&&Me(),262184&t.$$.dirty[1]&&"false"==Z&&b&&f&&Me(),512&t.$$.dirty[1]&&x&&fetch(x).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Gl(e,t[e])})}).catch(e=>{console.log(e)}),1&t.$$.dirty[0]&&U&&r(8,Q=!0),8&t.$$.dirty[0]|128&t.$$.dirty[1]&&w&&p){let e=document.createElement("style");e.innerHTML=w,p.appendChild(e)}if(8&t.$$.dirty[0]|256&t.$$.dirty[1]&&$&&p){let t=document.createElement("style");$&&(e=new URL($),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{p.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|4194304&t.$$.dirty[1]&&"true"==ce&&a&&ge(),4&t.$$.dirty[0]&&a&&ge()},[U,q,a,p,D,n,T,X,Q,ee,E,te,o,L,ie,re,s,l,c,I,N,O,oe,m,h,"",R,G,ve,xe,_,P,Fe,B,f,y,b,v,w,$,x,C,z,W,k,F,Y,V,S,Z,M,J,K,ce,()=>ve(o.id),()=>ve(o.id),()=>Fe(),()=>{xe(o)},function(e){rt[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>_(),()=>P(),()=>{xe(o)},()=>_(),()=>P(),function(e){rt[e?"unshift":"push"](()=>{n=e,r(5,n)})},()=>Fe(),function(e){rt[e?"unshift":"push"](()=>{h=e,r(24,h)})},function(e){rt[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>B(),()=>B(),function(e){rt[e?"unshift":"push"](()=>{m=e,r(23,m)})},function(e){rt[e?"unshift":"push"](()=>{l=e,r(17,l)})},function(e){rt[e?"unshift":"push"](()=>{s=e,r(16,s)})},function(e){rt[e?"unshift":"push"](()=>{n=e,r(5,n)})},()=>_(),()=>P(),function(e){rt[e?"unshift":"push"](()=>{h=e,r(24,h)})},()=>B(),()=>B(),function(e){rt[e?"unshift":"push"](()=>{m=e,r(23,m)})},function(e){rt[e?"unshift":"push"](()=>{l=e,r(17,l)})},function(e){rt[e?"unshift":"push"](()=>{s=e,r(16,s)})},()=>_(),()=>P(),function(e){rt[e?"unshift":"push"](()=>{c=e,r(18,c)})},function(e){rt[e?"unshift":"push"](()=>{p=e,r(3,p)})}]}function lc(n){let i,r,a,o,s,l,c,d,t,u,p,m;return{c(){i=me("div"),r=me("div"),(a=me("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),s=me("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(r,"class",l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(r,"part",c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(i,"class","FilterModalWindow"),fe(i,"id","FilterModal"),fe(i,"part","FilterModalWindow"),Y(()=>n[13].call(i))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),d=h(i,n[13].bind(i)),u=!0,p||(m=Z(a,"click",n[6]),p=!0)},p(e,t){n=e,(!u||8&t&&l!==(l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(r,"class",l),(!u||8&t&&c!==(c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(r,"part",c)},i(e){u||(Y(()=>{(t=t||se(i,Ds,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||se(i,Ds,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&pe(i),d(),e&&t&&t.end(),p=!1,m()}}}function cc(n){let i,r,a=n[0]&&lc(n);return{c(){i=me("div"),a&&a.c(),this.c=V,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),a&&a.m(i,null),n[14](i),r=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&re(a,1)):((a=lc(e)).c(),re(a,1),a.m(i,null)):a&&(ne(),ae(a,1,1,()=>{a=null}),ie())},i(e){r||(re(a),r=!0)},o(e){ae(a),r=!1},d(e){e&&pe(i),a&&a.d(),n[14](null)}}}function dc(e,t,n){let i,r,a,{show:o=!1}=t,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:p=""}=t,{sessioncheck:m="true"}=t,h=window.navigator.userAgent,g=!1;const f=()=>{n(0,o=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,o=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(f(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))};return it(()=>(window.addEventListener("message",y,!1),st(h)&&n(3,g=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,o=e.show),"duration"in e&&n(1,s=e.duration),"session"in e&&n(7,l=e.session),"userid"in e&&n(8,c=e.userid),"clientstyling"in e&&n(9,d=e.clientstyling),"clientstylingurl"in e&&n(10,u=e.clientstylingurl),"endpoint"in e&&n(11,p=e.endpoint),"sessioncheck"in e&&n(12,m=e.sessioncheck)},e.$$.update=()=>{if(2432&e.$$.dirty&&l&&c&&p&&"true"==m&&Xi(p,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),516&e.$$.dirty&&d&&i){let e=document.createElement("style");e.innerHTML=d,i.appendChild(e)}if(1028&e.$$.dirty&&u&&i){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[o,s,i,g,void 0,void 0,f,l,c,d,u,p,m,function(){r=this.clientWidth,a=this.clientHeight,n(4,r),n(5,a)},function(e){rt[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function uc(e,t){Ii(e,t)}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.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}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},sc,oc,t,{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,clockformat:47,haspanicbutton:1,playforfun:48,checksession:49,integratedgameframedesktop:50,integratedgameframemobile:51,gameid:52},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[34]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[35]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[36]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[37]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[38]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[39]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[40]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[41]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[42]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[43]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[44]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[45]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[46]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[47]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[48]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[49]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[50]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[51]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[52]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},dc,cc,t,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11,sessioncheck:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[12]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const pc={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},"zh-hk":{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement",filterModalTitle:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtro",filterModalSubtitle:"Selecciona multiples opciones",filterClear:"Resetear Filtro",filterApply:"Aplicar"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function mc(e,t,n){const i=e.slice();return i[36]=t[n],i}function hc(e,t,n){const i=e.slice();return i[39]=t[n],i}function gc(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C,k=n[7]("filters.filterModalTitle")+"",F=n[7]("filters.filterModalSubtitle")+"",S=n[7]("filters.filterApply")+"",M=n[2]&&yc(n),T=n[5]&&kc(n);return{c(){i=me("div"),r=me("section"),a=me("div"),o=me("h4"),s=he(k),l=ge(),c=me("h5"),d=he(F),u=ge(),p=me("section"),M&&M.c(),m=ge(),h=me("section"),T&&T.c(),g=ge(),f=me("div"),y=he(S),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(r,"class","FilterHeaderSection"),fe(r,"part","FilterHeaderSection"),fe(p,"class","FilterContentSection"),fe(p,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[4]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[4]?"":"ApplyFilterButtonDisabled")),fe(h,"class","FilterFooterSection"),fe(h,"part","FilterFooterSection"),fe(i,"class",w="FilterModalContent "+(n[3]?"FilterModalMobileContent":"")),fe(i,"part",$="FilterModalContent "+(n[3]?"FilterModalMobileContent":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(i,u),de(i,p),M&&M.m(p,null),de(i,m),de(i,h),T&&T.m(h,null),de(h,g),de(h,f),de(f,y),x||(C=Z(f,"click",n[22]),x=!0)},p(e,t){128&t[0]&&k!==(k=e[7]("filters.filterModalTitle")+"")&&ye(s,k),128&t[0]&&F!==(F=e[7]("filters.filterModalSubtitle")+"")&&ye(d,F),e[2]?M?M.p(e,t):((M=yc(e)).c(),M.m(p,null)):M&&(M.d(1),M=null),e[5]?T?T.p(e,t):((T=kc(e)).c(),T.m(h,g)):T&&(T.d(1),T=null),128&t[0]&&S!==(S=e[7]("filters.filterApply")+"")&&ye(y,S),16&t[0]&&b!==(b="ApplyFiltersButton "+(e[4]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),16&t[0]&&v!==(v="ApplyFiltersButton "+(e[4]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),8&t[0]&&w!==(w="FilterModalContent "+(e[3]?"FilterModalMobileContent":""))&&fe(i,"class",w),8&t[0]&&$!==($="FilterModalContent "+(e[3]?"FilterModalMobileContent":""))&&fe(i,"part",$)},d(e){e&&pe(i),M&&M.d(),T&&T.d(),x=!1,C()}}}function fc(e){let n;return{c(){fe(n=me("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function yc(t){let r,a=t[2],o=[];for(let e=0;e<a.length;e+=1)o[e]=Cc(mc(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(261&n[0]){let e;for(a=t[2],e=0;e<a.length;e+=1){var i=mc(t,a,e);o[e]?o[e].p(i,n):(o[e]=Cc(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function bc(n){let i,r,a,o,s,l,c,d,u,p,m=n[36].isFilterSelected&&wc();function h(){return n[20](n[36])}return{c(){i=me("div"),r=me("img"),s=ge(),m&&m.c(),l=ge(),fe(r,"class","VendorImage"),fe(r,"part","VendorImage"),ce(r.src,a=n[36].logo)||fe(r,"src",a),fe(r,"alt",o=n[36].name),fe(i,"class",c="VendorBox "+(n[36].isFilterSelected?"VendorBoxSelected":"")+" "+(n[36].logo?"":"VendorBoxMissing")),fe(i,"part",d="VendorBox "+(n[36].isFilterSelected?"VendorBoxSelected":""))},m(e,t){ue(e,i,t),de(i,r),de(i,s),m&&m.m(i,null),de(i,l),u||(p=Z(i,"click",h),u=!0)},p(e,t){n=e,4&t[0]&&!ce(r.src,a=n[36].logo)&&fe(r,"src",a),4&t[0]&&o!==(o=n[36].name)&&fe(r,"alt",o),n[36].isFilterSelected?m||((m=wc()).c(),m.m(i,l)):m&&(m.d(1),m=null),4&t[0]&&c!==(c="VendorBox "+(n[36].isFilterSelected?"VendorBoxSelected":"")+" "+(n[36].logo?"":"VendorBoxMissing"))&&fe(i,"class",c),4&t[0]&&d!==(d="VendorBox "+(n[36].isFilterSelected?"VendorBoxSelected":""))&&fe(i,"part",d)},d(e){e&&pe(i),m&&m.d(),u=!1,p()}}}function vc(t){let r,a=t[36].subVendors,o=[];for(let e=0;e<a.length;e+=1)o[e]=xc(hc(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(260&n[0]){let e;for(a=t[36].subVendors,e=0;e<a.length;e+=1){var i=hc(t,a,e);o[e]?o[e].p(i,n):(o[e]=xc(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){H(o,e),e&&pe(r)}}}function wc(){let n;return{c(){(n=me("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function $c(){let n;return{c(){(n=me("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function xc(n){let i,r,a,o,s,l,c,d,u,p,m=n[39].isFilterSelected&&$c();function h(){return n[19](n[39])}return{c(){i=me("div"),r=me("img"),s=ge(),m&&m.c(),l=ge(),fe(r,"class","VendorImage"),fe(r,"part","VendorImage"),ce(r.src,a=n[39].logo)||fe(r,"src",a),fe(r,"alt",o=n[39].name),fe(i,"class",c="VendorBox "+(n[39].isFilterSelected?"VendorBoxSelected":"")+" "+(n[39].logo?"":"VendorBoxMissing")),fe(i,"part",d="VendorBox "+(n[39].isFilterSelected?"VendorBoxSelected":""))},m(e,t){ue(e,i,t),de(i,r),de(i,s),m&&m.m(i,null),de(i,l),u||(p=Z(i,"click",h),u=!0)},p(e,t){n=e,4&t[0]&&!ce(r.src,a=n[39].logo)&&fe(r,"src",a),4&t[0]&&o!==(o=n[39].name)&&fe(r,"alt",o),n[39].isFilterSelected?m||((m=$c()).c(),m.m(i,l)):m&&(m.d(1),m=null),4&t[0]&&c!==(c="VendorBox "+(n[39].isFilterSelected?"VendorBoxSelected":"")+" "+(n[39].logo?"":"VendorBoxMissing"))&&fe(i,"class",c),4&t[0]&&d!==(d="VendorBox "+(n[39].isFilterSelected?"VendorBoxSelected":""))&&fe(i,"part",d)},d(e){e&&pe(i),m&&m.d(),u=!1,p()}}}function Cc(e){let n;function i(e){return"true"==e[0]?vc:bc}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&pe(n)}}}function kc(e){let n,i=e[5].length&&Fc(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[5].length?i?i.p(e,t):((i=Fc(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&pe(n)}}}function Fc(n){let i,r,a,o,s=n[7]("filters.filterClear")+"";return{c(){i=me("div"),r=he(s),fe(i,"class","ClearFiltersButton"),fe(i,"part","ClearFiltersButton")},m(e,t){ue(e,i,t),de(i,r),a||(o=Z(i,"click",n[21]),a=!0)},p(e,t){128&t[0]&&s!==(s=e[7]("filters.filterClear")+"")&&ye(r,s)},d(e){e&&pe(i),a=!1,o()}}}function Sc(n){let i;function r(e){return e[6]?fc:gc}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=V,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[23](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o.d(),n[23](null)}}}function Mc(t,e,r){let n;ct(t,Ki,e=>r(7,n=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{translationurl:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:p=""}=e,{showsubvendors:m="false"}=e,h=[],g=!1,f=window.navigator.userAgent,y=!1,b="",v=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),w=[],$={},x=!1,C=[];var k,F;$[b]&&($={[b]:[]}),{withLocale:k,translations:F}={withLocale:"en",translations:{}},ot.subscribe(e=>{null==e&&(at.set(F),ot.set(k))}),Object.keys(pc).forEach(e=>{uc(e,pc[e])});const S=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(b&&((v=JSON.parse(localStorage.getItem("vendorFiltersByCategory")))&&r(5,w=v[b])),!w){let e=localStorage.getItem("vendorFiltersByCategory");null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify($={[b]:w})):((e=JSON.parse(e))[b]=w,localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}const n=new URL(a+"/casino/vendors");n.searchParams.append("fields","id,name,subVendors,logo"),n.searchParams.append("language",s),n.searchParams.append("datasource",o),n.searchParams.append("platform",lt(f)),1<(b.match(/\$/g)||[]).length?(n.searchParams.append("filter",`games(subGroups=${b})`),n.searchParams.append("subVendors",`games(subGroups=${b})`)):n.searchParams.append("filter",`games(groups=${b})`),i=n,new Promise((t,n)=>{fetch(i).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},b&&t[b]&&(e.isFilterSelected=0<=t[b].indexOf(e.id))}),r(2,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=w;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),C=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),r(5,w=C),r(4,y=!1);break;case"AvailableVendors":r(2,h=t.data.venArray),r(5,w=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":r(2,h=t.data.venArray);break;case"ClearVendorFilters":E(),window.postMessage({type:"ApplyFilters"},window.location.href),r(4,y=!1);break;case"FiltersModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":b=t.data.categoryid,v&&b&&r(5,w=v[b]);break;case"ModalLoader":r(6,x=!1)}var i},M=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(w.push(t.id),r(4,y=!!T(w,C))):(w.includes(t.id)&&r(5,w=w.filter(e=>e!==t.id)),r(4,y=!(!w.length&&T(w,C)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},T=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},E=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=localStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),r(4,y=T(w,C)),r(5,w=[]),null!==e&&((e=JSON.parse(e))[b]=w,localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},L=()=>{r(6,x=!0);let e=localStorage.getItem("vendorFiltersByCategory");null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify($={[b]:w})):((e=JSON.parse(e))[b]=w,localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)},I=()=>{let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)},G=()=>{let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})};return it(()=>(window.addEventListener("message",S,!1),st(f)&&r(3,g=!0),()=>{window.removeEventListener("message",S)})),t.$$set=e=>{"endpoint"in e&&r(11,a=e.endpoint),"datasource"in e&&r(12,o=e.datasource),"lang"in e&&r(13,s=e.lang),"session"in e&&r(14,l=e.session),"userid"in e&&r(15,c=e.userid),"translationurl"in e&&r(16,d=e.translationurl),"clientstyling"in e&&r(17,u=e.clientstyling),"clientstylingurl"in e&&r(18,p=e.clientstylingurl),"showsubvendors"in e&&r(0,m=e.showsubvendors)},t.$$.update=()=>{var e;131072&t.$$.dirty[0]&&u&&I(),262144&t.$$.dirty[0]&&p&&G(),65536&t.$$.dirty[0]&&d&&(e=new URL(d),fetch(e.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{uc(e,t[e])})}).catch(e=>{console.log(e)})),131074&t.$$.dirty[0]&&u&&i&&I(),262146&t.$$.dirty[0]&&p&&i&&G()},[m,i,h,g,y,w,x,n,M,E,L,a,o,s,l,c,d,u,p,e=>M(e),e=>M(e),()=>E(),()=>L(),function(e){rt[e?"unshift":"push"](()=>{i=e,r(1,i)})}]}function Tc(e,t){Ii(e,t)}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;height:127px;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:120px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxMissing{background:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-size:cover;background-position:center}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Mc,Sc,t,{endpoint:11,datasource:12,lang:13,session:14,userid:15,translationurl:16,clientstyling:17,clientstylingurl:18,showsubvendors:0},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","translationurl","clientstyling","clientstylingurl","showsubvendors"]}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[14]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[15]}set userid(e){this.$$set({userid:e}),f()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get showsubvendors(){return this.$$.ctx[0]}set showsubvendors(e){this.$$set({showsubvendors:e}),f()}});const Ec={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},"zh-hk":{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{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:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"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:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function Lc(e){let n;function i(e){return e[6]?Pc:e[11]?_c:void 0}let r=i(e),a=r&&r(e);return{c(){n=me("div"),a&&a.c(),fe(n,"class","CasinoIntegratedGamePage"),fe(n,"part","CasinoIntegratedGamePage")},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n,null)))},d(e){e&&pe(n),a&&a.d()}}}function Ic(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function Gc(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&pe(n)}}}function _c(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C,k,F,S,M,T=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function L(e){return e[17]?Rc:Bc}let I=L(n),G=I(n),_="true"==n[1]&&!n[17]&&Dc();return{c(){i=me("div"),(r=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=me("p"),s=me("span"),l=he(n[4]),c=ge(),d=me("div"),u=ge(),p=me("div"),m=me("div"),h=me("iframe"),f=ge(),y=me("div"),b=me("div"),v=me("button"),w=he(T),$=ge(),x=me("button"),C=he(E),k=ge(),G.c(),F=ge(),_&&_.c(),fe(r,"class","backButton"),fe(r,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(i,"class","GamePageIntegratedTopSection"),fe(i,"part","GamePageIntegratedTopSection"),fe(h,"title","Games"),fe(h,"class","GamesContainer"),fe(h,"part","GamesContainer"),fe(h,"aria-hidden","false"),ce(h.src,g=n[10].launchUrl)||fe(h,"src",g),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe(x,"class","RegisterButton"),fe(x,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(m,"id","IframeGame"),fe(m,"part","IframeGame"),P(m,"width",n[17]?"100%":n[18]),P(m,"height",n[17]?"100%":n[19]),P(m,"max-width",n[17]||!n[12]?"none":n[10].width?Math.floor(n[10].width)+"px":"1280px"),P(m,"max-height",n[17]||!n[12]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(p,"id","IframeContainer"),fe(p,"part","IframeContainer"),B(p,"FullsScreenLayout",n[17])},m(e,t){ue(e,i,t),de(i,r),de(i,a),de(i,o),de(o,s),de(s,l),n[57](o),de(i,c),de(i,d),ue(e,u,t),ue(e,p,t),de(p,m),de(m,h),n[58](h),de(m,f),de(m,y),de(y,b),de(b,v),de(v,w),de(b,$),de(b,x),de(x,C),de(y,k),G.m(y,null),n[63](y),n[64](m),de(p,F),_&&_.m(p,null),n[65](p),S||(M=[Z(r,"click",n[56]),Z(v,"click",n[59]),Z(x,"click",n[60])],S=!0)},p(e,t){16&t[0]&&ye(l,e[4]),1024&t[0]&&!ce(h.src,g=e[10].launchUrl)&&fe(h,"src",g),4194304&t[0]&&T!==(T=e[22]("gamePage.signIn")+"")&&ye(w,T),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ye(C,E),I===(I=L(e))&&G?G.p(e,t):(G.d(1),(G=I(e))&&(G.c(),G.m(y,null))),393216&t[0]&&P(m,"width",e[17]?"100%":e[18]),655360&t[0]&&P(m,"height",e[17]?"100%":e[19]),136192&t[0]&&P(m,"max-width",e[17]||!e[12]?"none":e[10].width?Math.floor(e[10].width)+"px":"1280px"),136192&t[0]&&P(m,"max-height",e[17]||!e[12]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?_&&(_.d(1),_=null):_||((_=Dc()).c(),_.m(p,null)),131072&t[0]&&B(p,"FullsScreenLayout",e[17])},d(e){e&&pe(i),n[57](null),e&&pe(u),e&&pe(p),n[58](null),G.d(),n[63](null),n[64](null),_&&_.d(),n[65](null),S=!1,q(M)}}}function Pc(n){let i,r,a,o,s,l,c,d,u,p,m,h,g,f,y,b,v,w,$,x,C,k,F=n[22]("gamePage.deposit")+"",S="true"===n[0]&&Ac(n);function M(e){return e[17]?Oc:Nc}let T=M(n),E=T(n),L="true"==n[1]&&!n[17]&&Hc();return{c(){i=me("div"),(r=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=me("p"),s=me("span"),l=he(n[4]),c=ge(),d=me("button"),u=he(F),p=ge(),m=me("div"),h=me("div"),g=me("iframe"),v=ge(),w=me("div"),S&&S.c(),$=ge(),E.c(),x=ge(),L&&L.c(),fe(r,"class","backButton"),fe(r,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(d,"class","DepositButton"),fe(d,"part","DepositButton"),fe(i,"class","GamePageIntegratedTopSection"),fe(i,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"id","IframeGame"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,f=n[10].launchUrl)||fe(g,"src",f),fe(g,"width",y=n[14]+"px"),fe(g,"height",b=n[15]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(h,"id","IframeGame"),fe(h,"part","IframeGame"),P(h,"width",n[17]?"100%":n[18]),P(h,"height",n[17]?"100%":n[19]),P(h,"max-width",n[17]?"none":n[10].width?n[10].width+"px":"1280px"),P(h,"max-height",n[17]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(m,"id","IframeContainer"),fe(m,"part","IframeContainer"),B(m,"FullsScreenLayout",n[17])},m(e,t){ue(e,i,t),de(i,r),de(i,a),de(i,o),de(o,s),de(s,l),n[47](o),de(i,c),de(i,d),de(d,u),ue(e,p,t),ue(e,m,t),de(m,h),de(h,g),n[49](g),de(h,v),de(h,w),S&&S.m(w,null),de(w,$),E.m(w,null),n[53](w),n[54](h),de(m,x),L&&L.m(m,null),n[55](m),C||(k=[Z(r,"click",n[46]),Z(d,"click",n[48])],C=!0)},p(e,t){16&t[0]&&ye(l,e[4]),4194304&t[0]&&F!==(F=e[22]("gamePage.deposit")+"")&&ye(u,F),1024&t[0]&&!ce(g.src,f=e[10].launchUrl)&&fe(g,"src",f),16384&t[0]&&y!==(y=e[14]+"px")&&fe(g,"width",y),32768&t[0]&&b!==(b=e[15]+"px")&&fe(g,"height",b),"true"===e[0]?S?S.p(e,t):((S=Ac(e)).c(),S.m(w,$)):S&&(S.d(1),S=null),T===(T=M(e))&&E?E.p(e,t):(E.d(1),(E=T(e))&&(E.c(),E.m(w,null))),393216&t[0]&&P(h,"width",e[17]?"100%":e[18]),655360&t[0]&&P(h,"height",e[17]?"100%":e[19]),132096&t[0]&&P(h,"max-width",e[17]?"none":e[10].width?e[10].width+"px":"1280px"),132096&t[0]&&P(h,"max-height",e[17]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?L&&(L.d(1),L=null):L||((L=Hc()).c(),L.m(m,null)),131072&t[0]&&B(m,"FullsScreenLayout",e[17])},d(e){e&&pe(i),n[47](null),e&&pe(p),e&&pe(m),n[49](null),S&&S.d(),E.d(),n[53](null),n[54](null),L&&L.d(),n[55](null),C=!1,q(k)}}}function Bc(n){let i,r,a;return{c(){(i=me("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(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[62]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Rc(n){let i,r,a;return{c(){(i=me("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[61]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Dc(){let n;return{c(){(n=me("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function Ac(n){let i,r,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){i=me("div"),r=me("button"),a=he(o),fe(r,"class",e="PanicButton "+("PC"!==lt(n[23])?"PanicButtonMobile":"")),fe(r,"part",t="PanicButton "+("PC"!==lt(n[23])?"PanicButtonMobile":"")),B(r,"PanicButtonAnimation",n[9]),fe(i,"class","PanicSection"),fe(i,"part","PanicSection")},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[50](r)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),512&t[0]&&B(r,"PanicButtonAnimation",e[9])},d(e){e&&pe(i),n[50](null)}}}function Nc(n){let i,r,a;return{c(){(i=me("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(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[52]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Oc(n){let i,r,a;return{c(){(i=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=Z(i,"click",n[51]),r=!0)},p:V,d(e){e&&pe(i),r=!1,a()}}}function Hc(){let n;return{c(){(n=me("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&pe(n)}}}function jc(n){let i;function r(e){return e[8]?Gc:e[7]?Ic:Lc}let a=r(n),o=a(n);return{c(){i=me("div"),o.c(),this.c=V},m(e,t){ue(e,i,t),o.m(i,null),n[66](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:V,o:V,d(e){e&&pe(i),o.d(),n[66](null)}}}function Uc(t,e,i){let R;ct(t,Ki,e=>i(22,R=e));let D,n,r,a,A,o,s,l,c,d,u,p,N,O,m,h,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:H=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{translationurl:$=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:k=""}=e,{loginevent:F=""}=e,{registerevent:S=""}=e,{depositevent:M=""}=e,{clockformat:T=""}=e,{haspanicbutton:j="false"}=e,{playforfun:E="true"}=e,{checksession:U="true"}=e,{gamebanneractive:z="false"}=e,{gameid:L=""}=e,I=!1,W=!1,Y=!0,G=!1,_=0,V=!1,q=!1,Z=!0,P=!1,J=window.navigator.userAgent;var K,X;({withLocale:K,translations:X}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(X),ot.set(K))}),Object.keys(Ec).forEach(e=>{Tc(e,Ec[e])});const Q=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),i(12,Z=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(10,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),r&&0<r.length&&(i(6,I=!0),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,m.scrollIntoView(),e})(e[0])),o.launchUrl&&(V=!0,i(11,q="true"==E&&o.hasFunMode),"true"==E&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),i(7,W=!0)}).then(()=>{s&&(ee(),Z||(i(18,N=o.width),i(19,O=o.height),u=o.width,p=o.height))})},ee=()=>{let e=getComputedStyle(s),t=getComputedStyle(d);i(14,l=parseInt(e.width.slice(0,-2))),i(15,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);u=parseInt(t.width),p=parseInt(t.height),l/n>c-h.clientHeight-g.clientHeight?(p=c-h.clientHeight-g.clientHeight,u=c*n):(u=l,p=l/n),i(18,N=u?Math.floor(u)+"px":"1280px"),i(19,O=p?Math.floor(p)+"px":"720px")},te=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:V},window.location.href),V&&s&&"PC"==lt(J)&&ee()},ne=()=>{F&&(window.postMessage({type:F,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x),"function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},ie=()=>{S&&(window.postMessage({type:S,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},re=()=>{M&&(window.postMessage({type:M},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&&gtag("event","GoToDeposit",{context:"IntegratedGamePage"})),k&&(window.location=k)};function ae(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!P||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ae,!1),document.addEventListener("mozfullscreenchange",ae,!1),document.addEventListener("fullscreenchange",ae,!1),document.addEventListener("MSFullscreenChange",ae,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(P?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(17,P=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(17,P=!0)))},oe=setInterval(()=>{i(4,D=T?Tr().format(T):Tr().format("LTS"))},100),se=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},le=e=>{_=0,A=setInterval(()=>{_+=1,i(9,G=!0),3<=_&&clearInterval(A)},1e3)},ce=e=>{_<3&&i(9,G=!1),clearInterval(A)};return it(()=>(window.addEventListener("resize",te,!1),Bl(J),()=>{i(9,G=!1),null!=a&&a.removeEventListener("mousedown",le),null!=a&&a.removeEventListener("touchstart",le),null!=a&&a.removeEventListener("mouseup",ce),null!=a&&a.removeEventListener("touchend",ce),window.removeEventListener("resize",te),clearInterval(oe)})),t.$$set=e=>{"endpoint"in e&&i(29,f=e.endpoint),"lang"in e&&i(30,y=e.lang),"session"in e&&i(31,b=e.session),"userid"in e&&i(32,H=e.userid),"clientstyling"in e&&i(33,v=e.clientstyling),"clientstylingurl"in e&&i(34,w=e.clientstylingurl),"translationurl"in e&&i(35,$=e.translationurl),"loginurl"in e&&i(36,x=e.loginurl),"registerurl"in e&&i(37,C=e.registerurl),"depositurl"in e&&i(38,k=e.depositurl),"loginevent"in e&&i(39,F=e.loginevent),"registerevent"in e&&i(40,S=e.registerevent),"depositevent"in e&&i(41,M=e.depositevent),"clockformat"in e&&i(42,T=e.clockformat),"haspanicbutton"in e&&i(0,j=e.haspanicbutton),"playforfun"in e&&i(43,E=e.playforfun),"checksession"in e&&i(44,U=e.checksession),"gamebanneractive"in e&&i(1,z=e.gamebanneractive),"gameid"in e&&i(45,L=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,ot.set(e),st(J),i(8,Y=!1)),1610612736&t.$$.dirty[0]|16384&t.$$.dirty[1]&&f&&L&&y&&Q(L),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&b&&H&&f&&("true"==U?Xi(f,b).then(e=>{r=e.Guid,e.UserID,i(6,I=!0)},e=>{i(6,I=!1),console.error("err on session",e)}):r=b),8&t.$$.dirty[0]|4&t.$$.dirty[1]&&v&&m){let e=document.createElement("style");e.innerHTML=v,m.appendChild(e)}if(8&t.$$.dirty[0]|8&t.$$.dirty[1]&&w&&m){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{m.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&a&&(null!=a&&a.addEventListener("mousedown",le,!1),null!=a&&a.addEventListener("touchstart",le,!1),null!=a&&a.addEventListener("mouseup",ce,!1),null!=a&&a.addEventListener("touchend",ce,!1)),16&t.$$.dirty[1]&&$&&fetch($).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Tc(e,t[e])})}).catch(e=>{console.log(e)})},[j,z,a,m,D,n,I,W,Y,G,o,q,Z,s,l,c,d,P,N,O,h,g,R,J,ne,ie,re,B,se,f,y,b,H,v,w,$,x,C,k,F,S,M,T,E,U,L,()=>se(),function(e){rt[e?"unshift":"push"](()=>{g=e,i(21,g)})},()=>re(),function(e){rt[e?"unshift":"push"](()=>{n=e,i(5,n)})},function(e){rt[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>B(),()=>B(),function(e){rt[e?"unshift":"push"](()=>{h=e,i(20,h)})},function(e){rt[e?"unshift":"push"](()=>{d=e,i(16,d)})},function(e){rt[e?"unshift":"push"](()=>{s=e,i(13,s)})},()=>se(),function(e){rt[e?"unshift":"push"](()=>{g=e,i(21,g)})},function(e){rt[e?"unshift":"push"](()=>{n=e,i(5,n)})},()=>ne(),()=>ie(),()=>B(),()=>B(),function(e){rt[e?"unshift":"push"](()=>{h=e,i(20,h)})},function(e){rt[e?"unshift":"push"](()=>{d=e,i(16,d)})},function(e){rt[e?"unshift":"push"](()=>{s=e,i(13,s)})},function(e){rt[e?"unshift":"push"](()=>{m=e,i(3,m)})}]}function zc(e){let n,i,r,a,o,s,l,c,d,u,p="true"==e[19]&&1==e[73]&&Yc(e);return{c(){n=me("div"),i=me("div"),r=me("div"),a=ge(),o=me("div"),s=ge(),l=me("casino-categories-slider"),c=ge(),d=me("casino-page"),u=ge(),p&&p.c(),fe(r,"class","HeaderPlaceholder"),fe(r,"part","HeaderPlaceholder"),P(r,"height",e[74]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),k(l,"endpoint",e[66]),k(l,"datasource",e[67]),k(l,"lang",e[68]),k(l,"session",e[72]),k(l,"userid",e[3]),k(l,"sessioncheck","false"),k(l,"actionevent",e[16]),k(l,"filteredcategories",e[8]),k(l,"mostplayed",e[56]),k(l,"lastplayed",e[58]),k(l,"favorites",e[12]),k(l,"activecategory",e[1]),k(l,"clientstyling",e[4]),k(l,"clientstylingurl",e[5]),k(l,"containermaxwidth",e[14]),k(l,"location","secondaryMenu"),k(l,"showsubgroups",e[45]),k(d,"session",e[72]),k(d,"userid",e[3]),k(d,"endpoint",e[66]),k(d,"datasource",e[67]),k(d,"lang",e[68]),k(d,"cmsendpoint",e[2]),k(d,"visiblegames",e[21]),k(d,"playrandomgame",e[20]),k(d,"activecategory",e[1]),k(d,"alternativesearch",e[13]),k(d,"favorites",e[12]),k(d,"clientstyling",e[4]),k(d,"clientstylingurl",e[5]),k(d,"lobbyid",e[7]),k(d,"containermaxwidth",e[14]),k(d,"haspanicbutton",e[15]),k(d,"livecasino",e[17]),k(d,"currency",e[0]),k(d,"filteredcategories",e[8]),k(d,"gamepagemodalurl",e[24]),k(d,"randombuttonicon",e[59]),k(d,"positioncasinocalendar",e[50]),k(d,"filteredrandomgamecategories",e[60]),k(d,"positionwinnerswidget",e[25]),k(d,"periodrecent",e[30]),k(d,"periodtop",e[31]),k(d,"numberusersrecent",e[32]),k(d,"numberuserstop",e[33]),k(d,"amountlimit",e[34]),k(d,"isrecentavailable",e[29]),k(d,"istopavailable",e[28]),k(d,"integratedgameframedesktop",e[22]),k(d,"integratedgameframemobile",e[23]),k(d,"defaultcurrency",e[35]),k(d,"enableautoscroll",e[27]),k(d,"collectionprovidersgamenames",e[49]),k(d,"tabsorder",e[26]),k(d,"positionjackpotbanners",e[36]),k(d,"backgroundsrc",e[41]),k(d,"backgroundsrcmobile",e[42]),k(d,"titlelogopath",e[43]),k(d,"caticon0",e[37]),k(d,"caticon1",e[38]),k(d,"caticon2",e[39]),k(d,"caticon3",e[40]),k(d,"iconlabels",e[44]),k(d,"positioncollections",e[46]),k(d,"type",e[47]),k(d,"titletype",e[48]),k(d,"casinomygames",qc),k(d,"filterbylogo",e[63]),k(d,"addfilterselector",e[61]),k(d,"addsortingselector",e[62]),k(d,"lastplayedunique",e[55]),k(d,"lastplayedlimit",e[54]),k(d,"lastplayedorder",e[53]),k(d,"mostplayedrounds",e[57]),k(d,"mostplayed",e[56]),k(d,"lastplayed",e[58]),k(d,"lastplayedperiod",e[51]),k(d,"mostplayedperiod",e[52]),k(d,"showsubgroups",e[45]),k(d,"winnersdatasources",e[64]),fe(i,"class","WidgetsSection"),fe(i,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(i,o),de(i,s),de(i,l),de(i,c),de(i,d),de(i,u),p&&p.m(i,null)},p(e,t){4096&t[2]&&P(r,"height",e[74]+"px"),16&t[2]&&k(l,"endpoint",e[66]),32&t[2]&&k(l,"datasource",e[67]),64&t[2]&&k(l,"lang",e[68]),1024&t[2]&&k(l,"session",e[72]),8&t[0]&&k(l,"userid",e[3]),65536&t[0]&&k(l,"actionevent",e[16]),256&t[0]&&k(l,"filteredcategories",e[8]),33554432&t[1]&&k(l,"mostplayed",e[56]),134217728&t[1]&&k(l,"lastplayed",e[58]),4096&t[0]&&k(l,"favorites",e[12]),2&t[0]&&k(l,"activecategory",e[1]),16&t[0]&&k(l,"clientstyling",e[4]),32&t[0]&&k(l,"clientstylingurl",e[5]),16384&t[0]&&k(l,"containermaxwidth",e[14]),16384&t[1]&&k(l,"showsubgroups",e[45]),1024&t[2]&&k(d,"session",e[72]),8&t[0]&&k(d,"userid",e[3]),16&t[2]&&k(d,"endpoint",e[66]),32&t[2]&&k(d,"datasource",e[67]),64&t[2]&&k(d,"lang",e[68]),4&t[0]&&k(d,"cmsendpoint",e[2]),2097152&t[0]&&k(d,"visiblegames",e[21]),1048576&t[0]&&k(d,"playrandomgame",e[20]),2&t[0]&&k(d,"activecategory",e[1]),8192&t[0]&&k(d,"alternativesearch",e[13]),4096&t[0]&&k(d,"favorites",e[12]),16&t[0]&&k(d,"clientstyling",e[4]),32&t[0]&&k(d,"clientstylingurl",e[5]),128&t[0]&&k(d,"lobbyid",e[7]),16384&t[0]&&k(d,"containermaxwidth",e[14]),32768&t[0]&&k(d,"haspanicbutton",e[15]),131072&t[0]&&k(d,"livecasino",e[17]),1&t[0]&&k(d,"currency",e[0]),256&t[0]&&k(d,"filteredcategories",e[8]),16777216&t[0]&&k(d,"gamepagemodalurl",e[24]),268435456&t[1]&&k(d,"randombuttonicon",e[59]),524288&t[1]&&k(d,"positioncasinocalendar",e[50]),536870912&t[1]&&k(d,"filteredrandomgamecategories",e[60]),33554432&t[0]&&k(d,"positionwinnerswidget",e[25]),1073741824&t[0]&&k(d,"periodrecent",e[30]),1&t[1]&&k(d,"periodtop",e[31]),2&t[1]&&k(d,"numberusersrecent",e[32]),4&t[1]&&k(d,"numberuserstop",e[33]),8&t[1]&&k(d,"amountlimit",e[34]),536870912&t[0]&&k(d,"isrecentavailable",e[29]),268435456&t[0]&&k(d,"istopavailable",e[28]),4194304&t[0]&&k(d,"integratedgameframedesktop",e[22]),8388608&t[0]&&k(d,"integratedgameframemobile",e[23]),16&t[1]&&k(d,"defaultcurrency",e[35]),134217728&t[0]&&k(d,"enableautoscroll",e[27]),262144&t[1]&&k(d,"collectionprovidersgamenames",e[49]),67108864&t[0]&&k(d,"tabsorder",e[26]),32&t[1]&&k(d,"positionjackpotbanners",e[36]),1024&t[1]&&k(d,"backgroundsrc",e[41]),2048&t[1]&&k(d,"backgroundsrcmobile",e[42]),4096&t[1]&&k(d,"titlelogopath",e[43]),64&t[1]&&k(d,"caticon0",e[37]),128&t[1]&&k(d,"caticon1",e[38]),256&t[1]&&k(d,"caticon2",e[39]),512&t[1]&&k(d,"caticon3",e[40]),8192&t[1]&&k(d,"iconlabels",e[44]),32768&t[1]&&k(d,"positioncollections",e[46]),65536&t[1]&&k(d,"type",e[47]),131072&t[1]&&k(d,"titletype",e[48]),2&t[2]&&k(d,"filterbylogo",e[63]),1073741824&t[1]&&k(d,"addfilterselector",e[61]),1&t[2]&&k(d,"addsortingselector",e[62]),16777216&t[1]&&k(d,"lastplayedunique",e[55]),8388608&t[1]&&k(d,"lastplayedlimit",e[54]),4194304&t[1]&&k(d,"lastplayedorder",e[53]),67108864&t[1]&&k(d,"mostplayedrounds",e[57]),33554432&t[1]&&k(d,"mostplayed",e[56]),134217728&t[1]&&k(d,"lastplayed",e[58]),1048576&t[1]&&k(d,"lastplayedperiod",e[51]),2097152&t[1]&&k(d,"mostplayedperiod",e[52]),16384&t[1]&&k(d,"showsubgroups",e[45]),4&t[2]&&k(d,"winnersdatasources",e[64]),"true"==e[19]&&1==e[73]?p?p.p(e,t):((p=Yc(e)).c(),p.m(i,null)):p&&(p.d(1),p=null)},d(e){e&&pe(n),p&&p.d()}}}function Wc(e){let n,i;return{c(){n=me("p"),i=he(e[71]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[2]&&ye(i,e[71])},d(e){e&&pe(n)}}}function Yc(e){let n,i;return{c(){n=me("casino-modal"),k(i=me("casino-game-page"),"session",e[72]),k(i,"userid",e[3]),k(i,"endpoint",e[66]),k(i,"datasource",e[67]),k(i,"lang",e[68]),k(i,"loginevent",e[9]),k(i,"registerevent",e[10]),k(i,"depositevent",e[11]),k(i,"checksession","false"),k(i,"playforfun",e[18]),k(i,"favorites",e[12]),k(i,"clientstyling",e[4]),k(i,"clientstylingurl",e[5]),k(i,"clockformat",e[6]),k(i,"haspanicbutton",e[15]),k(i,"currency",e[0]),k(i,"integratedgameframedesktop",e[22]),k(i,"integratedgameframemobile",e[23]),k(n,"session",e[72]),k(n,"userid",e[3]),k(n,"endpoint",e[66]),k(n,"datasource",e[67]),k(n,"lang",e[68]),k(n,"sessioncheck","false"),k(n,"clientstyling",e[4]),k(n,"clientstylingurl",e[5]),k(n,"gamepagemodalurl",e[24]),k(n,"haspanicbutton",e[15]),k(n,"integratedgameframedesktop",e[22])},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1024&t[2]&&k(i,"session",e[72]),8&t[0]&&k(i,"userid",e[3]),16&t[2]&&k(i,"endpoint",e[66]),32&t[2]&&k(i,"datasource",e[67]),64&t[2]&&k(i,"lang",e[68]),512&t[0]&&k(i,"loginevent",e[9]),1024&t[0]&&k(i,"registerevent",e[10]),2048&t[0]&&k(i,"depositevent",e[11]),262144&t[0]&&k(i,"playforfun",e[18]),4096&t[0]&&k(i,"favorites",e[12]),16&t[0]&&k(i,"clientstyling",e[4]),32&t[0]&&k(i,"clientstylingurl",e[5]),64&t[0]&&k(i,"clockformat",e[6]),32768&t[0]&&k(i,"haspanicbutton",e[15]),1&t[0]&&k(i,"currency",e[0]),4194304&t[0]&&k(i,"integratedgameframedesktop",e[22]),8388608&t[0]&&k(i,"integratedgameframemobile",e[23]),1024&t[2]&&k(n,"session",e[72]),8&t[0]&&k(n,"userid",e[3]),16&t[2]&&k(n,"endpoint",e[66]),32&t[2]&&k(n,"datasource",e[67]),64&t[2]&&k(n,"lang",e[68]),16&t[0]&&k(n,"clientstyling",e[4]),32&t[0]&&k(n,"clientstylingurl",e[5]),16777216&t[0]&&k(n,"gamepagemodalurl",e[24]),32768&t[0]&&k(n,"haspanicbutton",e[15]),4194304&t[0]&&k(n,"integratedgameframedesktop",e[22])},d(e){e&&pe(n)}}}function Vc(n){let i,r,a;function o(e){return e[70]?Wc:zc}let s=o(n),l=s(n);return{c(){i=me("div"),l.c(),this.c=V,fe(i,"class",r=n[69]?"DisplayNone":""),fe(i,"part",a=n[69]?"DisplayNone":"")},m(e,t){ue(e,i,t),l.m(i,null),n[86](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))),128&t[2]&&r!==(r=e[69]?"DisplayNone":"")&&fe(i,"class",r),128&t[2]&&a!==(a=e[69]?"DisplayNone":"")&&fe(i,"part",a)},i:V,o:V,d(e){e&&pe(i),l.d(),n[86](null)}}}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Uc,jc,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,translationurl:35,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:0,playforfun:43,checksession:44,gamebanneractive:1,gameid:45},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[35]}set translationurl(e){this.$$set({translationurl:e}),f()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[43]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[44]}set checksession(e){this.$$set({checksession:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[45]}set gameid(e){this.$$set({gameid:e}),f()}});let qc="false";function Zc(e,t,n){let i,r,a,o,{endpoint:s=""}=t,{cmsendpoint:l="https://wt1-stage.everymatrix.com/apijson"}=t,{datasource:c=""}=t,{lang:d=""}=t,{session:u=""}=t,{userid:p=""}=t,{opsession:m=""}=t,{clientstyling:h=""}=t,{clientstylingurl:g=""}=t,{clockformat:f=""}=t,{lobbyid:y=""}=t,{currency:b=""}=t,{filteredcategories:v=""}=t,{loginurl:w=""}=t,{registerurl:$=""}=t,{depositurl:x=""}=t,{loginevent:R=""}=t,{registerevent:D=""}=t,{depositevent:A=""}=t,{favorites:C=""}=t,{desktopoffset:k="0"}=t,{mobileoffset:F="0"}=t,{alternativesearch:N="false"}=t,{containermaxwidth:O=""}=t,{haspanicbutton:H="false"}=t,{activecategory:S="LOBBY"}=t,{actionevent:j="CategoryChange"}=t,{livecasino:U="false"}=t,{playforfun:z="true"}=t,{gamemodal:W="true"}=t,{playrandomgame:Y="false"}=t,{visiblegames:V="10"}=t,{integratedgameframedesktop:q="false"}=t,{integratedgameframemobile:Z="false"}=t,{gamepagemodalurl:J="false"}=t,{positionwinnerswidget:K=""}=t,{tabsorder:X=""}=t,{enableautoscroll:Q=""}=t,{istopavailable:ee=""}=t,{isrecentavailable:te=""}=t,{periodrecent:ne=""}=t,{periodtop:ie=""}=t,{numberusersrecent:re=""}=t,{numberuserstop:ae=""}=t,{amountlimit:oe=""}=t,{defaultcurrency:se=""}=t,{positionjackpotbanners:le=""}=t,{caticon0:ce=""}=t,{caticon1:de=""}=t,{caticon2:ue=""}=t,{caticon3:pe=""}=t,{backgroundsrc:me=""}=t,{backgroundsrcmobile:he=""}=t,{titlelogopath:ge=""}=t,{iconlabels:fe=""}=t,{visualstructure:ye=""}=t,{showsubgroups:be="false"}=t,{positioncollections:ve=""}=t,{type:we=""}=t,{titletype:$e=""}=t,{collectionprovidersgamenames:xe=""}=t,{positioncasinocalendar:Ce=""}=t,{lastplayedperiod:ke="Last30Days"}=t,{mostplayedperiod:Fe="Last30Days"}=t,{lastplayedorder:Se=""}=t,{lastplayedlimit:Me=""}=t,{lastplayedunique:Te="true"}=t,{mostplayed:M=""}=t,{mostplayedrounds:Ee=""}=t,{lastplayed:T="false"}=t,{randombuttonicon:Le=""}=t,{filteredrandomgamecategories:Ie=""}=t,{addfilterselector:Ge="false"}=t,{addsortingselector:_e="false"}=t,{filterbylogo:Pe="false"}=t,{winnersdatasources:Be=""}=t,E=!1,L=!1,I="Loading, please wait ...",G="",Re=window.navigator.userAgent,_=!1,P=!1,B=0,De=!1;var Ae,Ne;({withLocale:Ae,translations:Ne}={withLocale:"en",translations:{}}),ot.subscribe(e=>{null==e&&(at.set(Ne),ot.set(Ae))});const Oe=e=>{if(e.data)switch(e.data.type){case"searchCancelled":_=!0;break;case"WidgetTopReference":(De=e.data.scrollTop)&&(B||n(74,B="PC"===lt(Re)?parseInt(k):parseInt(F)),_||window.scrollTo({top:B}),_=!1);break;case"OpenGameFrame":n(73,P=!0),window.postMessage({type:"OpenGameFrameModal",gameId:e.data.gameId,gamefunmode:e.data.gamefunmode,gamepagemodalurl:e.data.gamepagemodalurl},window.location.href);break;case"ModalClosed":n(73,P=!1);break;case"UserSessionID":n(72,G=e.data.session),e.data.userID;break;case"CategoryChange":n(1,S=e.data.itemId)}};return it(()=>(window.addEventListener("message",Oe,!1),n(74,B="PC"===lt(Re)?parseInt(k):parseInt(F)),()=>{window.removeEventListener("message",Oe)})),e.$$set=e=>{"endpoint"in e&&n(75,s=e.endpoint),"cmsendpoint"in e&&n(2,l=e.cmsendpoint),"datasource"in e&&n(76,c=e.datasource),"lang"in e&&n(77,d=e.lang),"session"in e&&n(78,u=e.session),"userid"in e&&n(3,p=e.userid),"opsession"in e&&n(79,m=e.opsession),"clientstyling"in e&&n(4,h=e.clientstyling),"clientstylingurl"in e&&n(5,g=e.clientstylingurl),"clockformat"in e&&n(6,f=e.clockformat),"lobbyid"in e&&n(7,y=e.lobbyid),"currency"in e&&n(0,b=e.currency),"filteredcategories"in e&&n(8,v=e.filteredcategories),"loginurl"in e&&n(80,w=e.loginurl),"registerurl"in e&&n(81,$=e.registerurl),"depositurl"in e&&n(82,x=e.depositurl),"loginevent"in e&&n(9,R=e.loginevent),"registerevent"in e&&n(10,D=e.registerevent),"depositevent"in e&&n(11,A=e.depositevent),"favorites"in e&&n(12,C=e.favorites),"desktopoffset"in e&&n(83,k=e.desktopoffset),"mobileoffset"in e&&n(84,F=e.mobileoffset),"alternativesearch"in e&&n(13,N=e.alternativesearch),"containermaxwidth"in e&&n(14,O=e.containermaxwidth),"haspanicbutton"in e&&n(15,H=e.haspanicbutton),"activecategory"in e&&n(1,S=e.activecategory),"actionevent"in e&&n(16,j=e.actionevent),"livecasino"in e&&n(17,U=e.livecasino),"playforfun"in e&&n(18,z=e.playforfun),"gamemodal"in e&&n(19,W=e.gamemodal),"playrandomgame"in e&&n(20,Y=e.playrandomgame),"visiblegames"in e&&n(21,V=e.visiblegames),"integratedgameframedesktop"in e&&n(22,q=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(23,Z=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(24,J=e.gamepagemodalurl),"positionwinnerswidget"in e&&n(25,K=e.positionwinnerswidget),"tabsorder"in e&&n(26,X=e.tabsorder),"enableautoscroll"in e&&n(27,Q=e.enableautoscroll),"istopavailable"in e&&n(28,ee=e.istopavailable),"isrecentavailable"in e&&n(29,te=e.isrecentavailable),"periodrecent"in e&&n(30,ne=e.periodrecent),"periodtop"in e&&n(31,ie=e.periodtop),"numberusersrecent"in e&&n(32,re=e.numberusersrecent),"numberuserstop"in e&&n(33,ae=e.numberuserstop),"amountlimit"in e&&n(34,oe=e.amountlimit),"defaultcurrency"in e&&n(35,se=e.defaultcurrency),"positionjackpotbanners"in e&&n(36,le=e.positionjackpotbanners),"caticon0"in e&&n(37,ce=e.caticon0),"caticon1"in e&&n(38,de=e.caticon1),"caticon2"in e&&n(39,ue=e.caticon2),"caticon3"in e&&n(40,pe=e.caticon3),"backgroundsrc"in e&&n(41,me=e.backgroundsrc),"backgroundsrcmobile"in e&&n(42,he=e.backgroundsrcmobile),"titlelogopath"in e&&n(43,ge=e.titlelogopath),"iconlabels"in e&&n(44,fe=e.iconlabels),"visualstructure"in e&&n(85,ye=e.visualstructure),"showsubgroups"in e&&n(45,be=e.showsubgroups),"positioncollections"in e&&n(46,ve=e.positioncollections),"type"in e&&n(47,we=e.type),"titletype"in e&&n(48,$e=e.titletype),"collectionprovidersgamenames"in e&&n(49,xe=e.collectionprovidersgamenames),"positioncasinocalendar"in e&&n(50,Ce=e.positioncasinocalendar),"lastplayedperiod"in e&&n(51,ke=e.lastplayedperiod),"mostplayedperiod"in e&&n(52,Fe=e.mostplayedperiod),"lastplayedorder"in e&&n(53,Se=e.lastplayedorder),"lastplayedlimit"in e&&n(54,Me=e.lastplayedlimit),"lastplayedunique"in e&&n(55,Te=e.lastplayedunique),"mostplayed"in e&&n(56,M=e.mostplayed),"mostplayedrounds"in e&&n(57,Ee=e.mostplayedrounds),"lastplayed"in e&&n(58,T=e.lastplayed),"randombuttonicon"in e&&n(59,Le=e.randombuttonicon),"filteredrandomgamecategories"in e&&n(60,Ie=e.filteredrandomgamecategories),"addfilterselector"in e&&n(61,Ge=e.addfilterselector),"addsortingselector"in e&&n(62,_e=e.addsortingselector),"filterbylogo"in e&&n(63,Pe=e.filterbylogo),"winnersdatasources"in e&&n(64,Be=e.winnersdatasources)},e.$$.update=()=>{if(32768&e.$$.dirty[2]&&d&&Qi(d),8&e.$$.dirty[0]|73728&e.$$.dirty[2]&&u&&p&&s&&Xi(s,u).then(e=>{n(72,G=e.Guid),e.UserID,n(0,b=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),4096&e.$$.dirty[0]|167772160&e.$$.dirty[1]|57344&e.$$.dirty[2]&&s&&c&&d&&M&&T&&C&&(s||(n(71,I="Endpoint is missing! Please provide a valid endpointURL."),n(70,L=!0),console.error(I)),c||(n(71,I="Datasource is missing! Please provide a valid datasource."),n(70,L=!0),console.error(I)),(!d||d.length<2)&&(n(71,I="Language is missing! Please provide a valid language (alpha2code)"),n(70,L=!0),console.error(I)),Qi(d),n(66,i=s),n(67,r=c),n(68,a=d),n(70,L=!1)),131072&e.$$.dirty[2]&&m&&n(72,G=m),16&e.$$.dirty[0]|8&e.$$.dirty[2]&&h&&o){let e=document.createElement("style");e.innerHTML=h,o.appendChild(e)}if(32&e.$$.dirty[0]|8&e.$$.dirty[2]&&g&&o){n(69,E=!0);let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(69,E=!1)},500))})}},[b,S,l,p,h,g,f,y,v,R,D,A,C,N,O,H,j,U,z,W,Y,V,q,Z,J,K,X,Q,ee,te,ne,ie,re,ae,oe,se,le,ce,de,ue,pe,me,he,ge,fe,be,ve,we,$e,xe,Ce,ke,Fe,Se,Me,Te,M,Ee,T,Le,Ie,Ge,_e,Pe,Be,o,i,r,a,E,L,I,G,P,B,s,c,d,u,m,w,$,x,k,F,ye,function(e){rt[e?"unshift":"push"](()=>{o=e,n(65,o)})}]}class Jc extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Zc,Vc,t,{endpoint:75,cmsendpoint:2,datasource:76,lang:77,session:78,userid:3,opsession:79,clientstyling:4,clientstylingurl:5,clockformat:6,lobbyid:7,currency:0,filteredcategories:8,loginurl:80,registerurl:81,depositurl:82,loginevent:9,registerevent:10,depositevent:11,favorites:12,desktopoffset:83,mobileoffset:84,alternativesearch:13,containermaxwidth:14,haspanicbutton:15,activecategory:1,actionevent:16,livecasino:17,playforfun:18,gamemodal:19,playrandomgame:20,visiblegames:21,integratedgameframedesktop:22,integratedgameframemobile:23,gamepagemodalurl:24,positionwinnerswidget:25,tabsorder:26,enableautoscroll:27,istopavailable:28,isrecentavailable:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:34,defaultcurrency:35,positionjackpotbanners:36,caticon0:37,caticon1:38,caticon2:39,caticon3:40,backgroundsrc:41,backgroundsrcmobile:42,titlelogopath:43,iconlabels:44,visualstructure:85,showsubgroups:45,positioncollections:46,type:47,titletype:48,collectionprovidersgamenames:49,positioncasinocalendar:50,lastplayedperiod:51,mostplayedperiod:52,lastplayedorder:53,lastplayedlimit:54,lastplayedunique:55,mostplayed:56,mostplayedrounds:57,lastplayed:58,randombuttonicon:59,filteredrandomgamecategories:60,addfilterselector:61,addsortingselector:62,filterbylogo:63,winnersdatasources:64},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","cmsendpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","showsubgroups","positioncollections","type","titletype","collectionprovidersgamenames","positioncasinocalendar","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayed","mostplayedrounds","lastplayed","randombuttonicon","filteredrandomgamecategories","addfilterselector","addsortingselector","filterbylogo","winnersdatasources"]}get endpoint(){return this.$$.ctx[75]}set endpoint(e){this.$$set({endpoint:e}),f()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get datasource(){return this.$$.ctx[76]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[77]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[78]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[79]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[6]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[7]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get filteredcategories(){return this.$$.ctx[8]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get loginurl(){return this.$$.ctx[80]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[81]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[82]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[9]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[10]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[11]}set depositevent(e){this.$$set({depositevent:e}),f()}get favorites(){return this.$$.ctx[12]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[83]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[84]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[14]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[15]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[16]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[17]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[18]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[19]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[20]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[21]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[22]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[23]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[25]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[26]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[27]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[28]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[29]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[31]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[34]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[36]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[37]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[38]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[39]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[40]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[41]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[42]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[43]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[44]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[85]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get showsubgroups(){return this.$$.ctx[45]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get positioncollections(){return this.$$.ctx[46]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[47]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[48]}set titletype(e){this.$$set({titletype:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[49]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}get positioncasinocalendar(){return this.$$.ctx[50]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),f()}get lastplayedperiod(){return this.$$.ctx[51]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get mostplayedperiod(){return this.$$.ctx[52]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),f()}get lastplayedorder(){return this.$$.ctx[53]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),f()}get lastplayedlimit(){return this.$$.ctx[54]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),f()}get lastplayedunique(){return this.$$.ctx[55]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),f()}get mostplayed(){return this.$$.ctx[56]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[57]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[58]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get randombuttonicon(){return this.$$.ctx[59]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[60]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get addfilterselector(){return this.$$.ctx[61]}set addfilterselector(e){this.$$set({addfilterselector:e}),f()}get addsortingselector(){return this.$$.ctx[62]}set addsortingselector(e){this.$$set({addsortingselector:e}),f()}get filterbylogo(){return this.$$.ctx[63]}set filterbylogo(e){this.$$set({filterbylogo:e}),f()}get winnersdatasources(){return this.$$.ctx[64]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",Jc),Jc});
33
33
  //# sourceMappingURL=casino-lobby.js.map