@everymatrix/casino-lobby 0.0.281 → 0.0.282
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-lobby.js +1 -1
- package/dist/casino-lobby.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-lobby.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(e){"use strict";var t;(t=e)&&"object"==typeof t&&0 in t;function Z(){}const g=e=>e;function u(e){return e()}function d(){return Object.create(null)}function J(e){e.forEach(u)}function f(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function h(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ae(e,t,n){e.$$.on_destroy.push(h(t,n))}function l(e){return e&&f(e.destroy)?e.destroy:Z}var r="undefined"!=typeof window;let y=r?()=>window.performance.now():()=>Date.now(),v=r?e=>requestAnimationFrame(e):Z;const w=new Set;function b(t){w.forEach(e=>{e.c(t)||(w.delete(e),e.f())}),0!==w.size&&v(b)}function X(e,t){e.appendChild(t)}function q(e,t,n){e.insertBefore(t,n||null)}function K(e){e.parentNode.removeChild(e)}function p(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Q(e){return document.createElement(e)}function x(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ee(e){return document.createTextNode(e)}function te(){return ee(" ")}function c(){return ee("")}function ne(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function re(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function C(e,t,n){t in e?e[t]=n:re(e,t,n)}function ie(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function k(e,t){e.value=null==t?"":t}function P(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}let a;function m(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=Q("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const r=function(){if(void 0===a){a=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){a=!0}}return a}();let i;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=ne(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=ne(n.contentWindow,"resize",t)}),X(e,n),()=>{(r||i&&n.contentWindow)&&i(),K(n)}}function R(e,t,n){e.classList[n?"add":"remove"](t)}class S{constructor(e=null){this.a=e,this.e=this.n=null}m(e,t,n=null){this.e||(this.e=Q(t.nodeName),this.t=t,this.h(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)q(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(K)}}function i(e){const t={};for(const n of e)t[n.name]=n.value;return t}const F=new Set;let M,_=0;function $(e,t,n,r,i,a,o,s=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*a(e);c+=100*e+`%{${o(r,1-r)}}\n`}const u=c+`100% {${o(n,1-n)}}\n}`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_${s}`,h=e.ownerDocument;F.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(Q("style")).sheet),m=h.__svelte_rules||(h.__svelte_rules={});m[d]||(m[d]=!0,p.insertRule(`@keyframes ${d} ${u}`,p.cssRules.length));s=e.style.animation||"";return e.style.animation=`${s?`${s}, `:""}${d} ${r}ms linear ${i}ms 1 both`,_+=1,d}function E(e){M=e}function De(e){!function(){if(!M)throw new Error("Function called outside component initialization");return M}().$$.on_mount.push(e)}const T=[],Oe=[],o=[],s=[],I=Promise.resolve();let L=!1;function G(){L||(L=!0,I.then(N))}function ve(){return G(),I}function A(e){o.push(e)}let D=!1;const O=new Set;function N(){if(!D){D=!0;do{for(let e=0;e<T.length;e+=1){var t=T[e];E(t),function(e){{var t;null!==e.fragment&&(e.update(),J(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A))}}(t.$$)}for(E(null),T.length=0;Oe.length;)Oe.pop()();for(let e=0;e<o.length;e+=1){const n=o[e];O.has(n)||(O.add(n),n())}}while(o.length=0,T.length);for(;s.length;)s.pop()();L=!1,D=!1,O.clear()}}let B;function U(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}(`${t?"intro":"outro"}${n}`))}const H=new Set;let z;function j(){z={r:0,c:[],p:z}}function Y(){z.r||J(z.c),z=z.p}function W(e,t){e&&e.i&&(H.delete(e),e.i(t))}function V(e,t,n,r){e&&e.o&&(H.has(e)||(H.add(e),z.c.push(()=>{H.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const ae={duration:0};function oe(s,e,t,n){let l=e(s,t),c=n?0:1,u=null,d=null,h=null;function p(){h&&function(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),i=n.length-r.length;i&&(e.style.animation=r.join(", "),_-=i,_||v(()=>{_||(F.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),F.clear())}))}(s,h)}function m(e,t){var n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:r=g,tick:i=Z,css:a}=l||ae,o={start:y()+t,b:e};e||(o.group=z,z.r+=1),u||d?d=o:(a&&(p(),h=$(s,c,e,n,t,r,a)),e&&i(0,1),u=m(o,n),A(()=>U(s,e,"start")),function(t){let n;0===w.size&&v(b),new Promise(e=>{w.add(n={c:t,f:e})})}(e=>{if(d&&e>d.start&&(u=m(d,n),d=null,U(s,u.b,"start"),a&&(p(),h=$(s,c,u.b,u.duration,0,r,l.css))),u)if(e>=u.end)i(c=u.b,1-c),U(s,u.b,"end"),d||(u.b?p():--u.group.r||J(u.group.c)),u=null;else if(e>=u.start){const s=e-u.start;c=u.a+u.d*r(s/u.duration),i(c,1-c)}return!(!u&&!d)}))}return{run(e){f(l)?(B||(B=Promise.resolve(),B.then(()=>{B=null})),B.then(()=>{l=l(),r(e)})):r(e)},end(){p(),u=d=null}}}function se(e,t){e.d(1),t.delete(e.key)}function le(r,e,t,n,i,a,o=[-1]){var s=M;E(r);const l=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s?s.$$.context:e.context||[]),callbacks:d(),dirty:o,skip_bound:!1};let c=!1;if(l.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return l.ctx&&i(l.ctx[e],l.ctx[e]=n)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&(T.push(e),G(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],l.update(),c=!0,J(l.before_update),l.fragment=!!n&&n(l.ctx),e.target){if(e.hydrate){const r=(n=e.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(r),r.forEach(K)}else l.fragment&&l.fragment.c();e.intro&&W(r.$$.fragment),function(t,e,n,r){const{fragment:i,on_mount:a,on_destroy:o,after_update:s}=t.$$;i&&i.m(e,n),r||A(()=>{var e=a.map(u).filter(f);o?o.push(...e):J(e),t.$$.on_mount=[]}),s.forEach(A)}(r,e.target,e.anchor,e.customElement),N()}E(s)}let ce;"function"==typeof HTMLElement&&(ce=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(u).filter(f);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){J(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(J(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var ue,de,he="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==he&&he,pe="URLSearchParams"in he,me="Symbol"in he&&"iterator"in Symbol,ge="FileReader"in he&&"Blob"in he&&function(){try{return new Blob,!0}catch(e){return!1}}(),fe="FormData"in he,ye="ArrayBuffer"in he;function we(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 be(e){return e="string"!=typeof e?String(e):e}function xe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return me&&(e[Symbol.iterator]=function(){return e}),e}function Ce(t){this.map={},t instanceof Ce?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 Se(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Fe(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function ke(e){var t=new FileReader,n=Fe(t);return t.readAsArrayBuffer(e),n}function Me(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function _e(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ge&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:fe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:pe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ye&&ge&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=Me(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ye&&(ArrayBuffer.prototype.isPrototypeOf(e)||de(e))?this._bodyArrayBuffer=Me(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):pe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ge&&(this.blob=function(){var e=Se(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?Se(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(ke)}),this.text=function(){var e,t,n=Se(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=Fe(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},fe&&(this.formData=function(){return this.text().then(Te)}),this.json=function(){return this.text().then(JSON.parse)},this}ye&&(ue=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],de=ArrayBuffer.isView||function(e){return e&&-1<ue.indexOf(Object.prototype.toString.call(e))}),Ce.prototype.append=function(e,t){e=we(e),t=be(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},Ce.prototype.delete=function(e){delete this.map[we(e)]},Ce.prototype.get=function(e){return e=we(e),this.has(e)?this.map[e]:null},Ce.prototype.has=function(e){return this.map.hasOwnProperty(we(e))},Ce.prototype.set=function(e,t){this.map[we(e)]=be(t)},Ce.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},Ce.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),xe(n)},Ce.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),xe(t)},Ce.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),xe(n)},me&&(Ce.prototype[Symbol.iterator]=Ce.prototype.entries);var $e=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ee(e,t){if(!(this instanceof Ee))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof Ee){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Ce(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Ce(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<$e.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Te(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function Ie(e,t){if(!(this instanceof Ie))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 Ce(t.headers),this.url=t.url||"",this._initBody(e)}Ee.prototype.clone=function(){return new Ee(this,{body:this._bodyInit})},_e.call(Ee.prototype),_e.call(Ie.prototype),Ie.prototype.clone=function(){return new Ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ce(this.headers),url:this.url})},Ie.error=function(){var e=new Ie(null,{status:0,statusText:""});return e.type="error",e};var Le=[301,302,303,307,308];Ie.redirect=function(e,t){if(-1===Le.indexOf(t))throw new RangeError("Invalid status code");return new Ie(null,{status:t,headers:{location:e}})};var Ge=he.DOMException;try{new Ge}catch(e){(Ge=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Ge.prototype.constructor=Ge}function Pe(r,o){return new Promise(function(i,e){var t=new Ee(r,o);if(t.signal&&t.signal.aborted)return e(new Ge("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 Ce,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;setTimeout(function(){i(new Ie(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new Ge("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&he.location.href?he.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&&(ge?a.responseType="blob":ye&&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 Ce?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,be(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")}Pe.polyfill=!0,he.fetch||(he.fetch=Pe,he.Headers=Ce,he.Request=Ee,he.Response=Ie);var Re=self.fetch.bind(self),Ne=function(e,t){return(Ne=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 Be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ne(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ue(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function He(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function ze(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function je(e){return"function"==typeof e}function Ye(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 We=Ye(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 Ve(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var Ze=(Xe.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Ue(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){i=e instanceof We?e.errors:[e]}a=this._teardowns;if(a){this._teardowns=null;try{for(var l=Ue(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{Ke(u)}catch(e){i=null!=i?i:[],e instanceof We?i=ze(ze([],He(i)),He(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new We(i)}},Xe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ke(e);else{if(e instanceof Xe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Xe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Xe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Xe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ve(t,e)},Xe.prototype.remove=function(e){var t=this._teardowns;t&&Ve(t,e),e instanceof Xe&&e._removeParent(this)},Xe.EMPTY=((bn=new Xe).closed=!0,bn),Xe),Je=Ze.EMPTY;function Xe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function qe(e){return e instanceof Ze||e&&"closed"in e&&je(e.remove)&&je(e.add)&&je(e.unsubscribe)}function Ke(e){je(e)?e():e.unsubscribe()}var Qe=void 0,et=!1,tt=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,ze([],He(e)))};function nt(){}function rt(e){e()}var it,at,ot=(Be(ct,at=Ze),ct.create=function(e,t,n){return new st(e,t,n)},ct.prototype.next=function(e){this.isStopped||this._next(e)},ct.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},ct.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},ct.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,at.prototype.unsubscribe.call(this),this.destination=null)},ct.prototype._next=function(e){this.destination.next(e)},ct.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},ct.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},ct),st=(Be(lt,it=ot),lt);function lt(e,t,n){var r,i,a=it.call(this)||this;return je(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,a&&et?(r=Object.create(e)).unsubscribe=function(){return a.unsubscribe()}:r=e,i=null==i?void 0:i.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),a.destination={next:i?ut(i):nt,error:ut(null!=t?t:dt),complete:n?ut(n):nt},a}function ct(e){var t=at.call(this)||this;return t.isStopped=!1,e?qe(t.destination=e)&&e.add(t):t.destination=ht,t}function ut(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,ze([],He(e)))}catch(e){t=e,tt(function(){throw t})}}}function dt(e){throw e}var ht={closed:!0,next:nt,error:dt,complete:nt},pt="function"==typeof Symbol&&Symbol.observable||"@@observable";function mt(e){return e}var gt=(ft.prototype.lift=function(e){var t=new ft;return t.source=this,t.operator=e,t},ft.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof ot||r&&je(r.next)&&je(r.error)&&je(r.complete)&&qe(r)?e:new st(e,t,n);return rt(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},ft.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},ft.prototype.forEach=function(r,e){var i=this;return new(e=yt(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},ft.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},ft.prototype[pt]=function(){return this},ft.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?mt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},ft.prototype.toPromise=function(e){var r=this;return new(e=yt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},ft.create=function(e){return new ft(e)},ft);function ft(e){e&&(this._subscribe=e)}function yt(e){return null!==(e=null!=e?e:Qe)&&void 0!==e?e:Promise}var vt,wt,bt,xt=Ye(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ct=(Be($t,bt=gt),$t.prototype.lift=function(e){var t=new St(this,this);return t.operator=e,t},$t.prototype._throwIfClosed=function(){if(this.closed)throw new xt},$t.prototype.next=function(a){var o=this;rt(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){var n=o.observers.slice();try{for(var r=Ue(n),i=r.next();!i.done;i=r.next())i.value.next(a)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},$t.prototype.error=function(t){var n=this;rt(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)}})},$t.prototype.complete=function(){var t=this;rt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},$t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty($t.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),$t.prototype._trySubscribe=function(e){return this._throwIfClosed(),bt.prototype._trySubscribe.call(this,e)},$t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},$t.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?Je:(r.push(e),new Ze(function(){return Ve(r,e)}))},$t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},$t.prototype.asObservable=function(){var e=new gt;return e.source=this,e},$t.create=function(e,t){return new St(e,t)},$t),St=(Be(_t,wt=Ct),_t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},_t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},_t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},_t.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Je},_t),Ft={now:function(){return(Ft.delegate||Date).now()},delegate:void 0},kt=(Be(Mt,vt=Ct),Mt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(a.now()+t)),this._trimBuffer(),vt.prototype.next.call(this,e)},Mt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},Mt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},Mt);function Mt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Ft);var r=vt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function _t(e,t){var n=wt.call(this)||this;return n.destination=e,n.source=t,n}function $t(){var e=bt.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Et=[],Tt={};const It=[];function Lt(r,i=Z){let a;const o=[];function s(e){if(n(r,e)&&(r=e,a)){const e=!It.length;for(let e=0;e<o.length;e+=1){const a=o[e];a[1](),It.push(a,r)}if(e){for(let e=0;e<It.length;e+=2)It[e][0](It[e+1]);It.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.push(n),1===o.length&&(a=i(s)||Z),e(r),()=>{var e=o.indexOf(n);-1!==e&&o.splice(e,1),0===o.length&&(a(),a=null)}}}}function Gt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Lt(t,t=>{let n=!1;const r=[];let i=0,a=Z;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),u?t(e):a=f(e)?e:Z)},e=c.map((e,t)=>h(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){J(e),a()}}).subscribe}}var Pt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Rt));var t},Rt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function At(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ut(Array.isArray(e)?[]:{},e,t):e}function Dt(e,t,n){return e.concat(t).map(function(e){return At(e,n)})}function Ot(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Nt(e,t){try{return t in e}catch(e){return!1}}function Bt(r,i,a){var o={};return a.isMergeableObject(r)&&Ot(r).forEach(function(e){o[e]=At(r[e],a)}),Ot(i).forEach(function(t){var e,n;(!Nt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Nt(r,t)&&a.isMergeableObject(i[t])?o[t]=function(){if(!a.customMerge)return Ut;var e=a.customMerge(t);return"function"==typeof e?e:Ut}()(r[t],i[t],a):o[t]=At(i[t],a))}),o}function Ut(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Dt,n.isMergeableObject=n.isMergeableObject||Pt,n.cloneUnlessOtherwiseSpecified=At;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Bt(e,t,n):At(t,n)}Ut.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Ut(e,t,n)},{})};var Ht=Ut,zt=function(e,t){return(zt=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 jt(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}zt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Yt,Wt,Vt,Zt=function(){return(Zt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Jt(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function Xt(e){return e.type===Wt.literal}function qt(e){return e.type===Wt.number}function Kt(e){return e.type===Wt.date}function Qt(e){return e.type===Wt.time}function en(e){return e.type===Wt.select}function tn(e){return e.type===Wt.plural}function nn(e){return e.type===Wt.tag}function rn(e){return e&&"object"==typeof e&&e.type===Vt.number}function an(e){return e&&"object"==typeof e&&e.type===Vt.dateTime}(xn=Yt=Yt||{})[xn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",xn[xn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",xn[xn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",xn[xn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",xn[xn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",xn[xn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",xn[xn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",xn[xn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",xn[xn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",xn[xn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",xn[xn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",xn[xn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",xn[xn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",xn[xn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",xn[xn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",xn[xn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",xn[xn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",xn[xn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",xn[xn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",xn[xn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",xn[xn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",xn[xn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",xn[xn.INVALID_TAG=23]="INVALID_TAG",xn[xn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",xn[xn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",xn[xn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Cn=Wt=Wt||{})[Cn.literal=0]="literal",Cn[Cn.argument=1]="argument",Cn[Cn.number=2]="number",Cn[Cn.date=3]="date",Cn[Cn.time=4]="time",Cn[Cn.select=5]="select",Cn[Cn.plural=6]="plural",Cn[Cn.pound=7]="pound",Cn[Cn.tag=8]="tag",(Sn=Vt=Vt||{})[Sn.number=0]="number",Sn[Sn.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,on=/(?:[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 sn,ln=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,cn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,un=/^(@+)?(\+|#+)?$/g,dn=/(\*)(0+)|(#+)(0+)|(0+)/g,hn=/^(0+)$/;function pn(e){var r={};return e.replace(un,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function mn(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 gn(e){return mn(e)||{}}function fn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=Zt(Zt(Zt({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return Zt(Zt({},e),gn(t))},{}));continue;case"engineering":o=Zt(Zt(Zt({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return Zt(Zt({},e),gn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(dn,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(hn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(cn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(cn,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""}),i.options.length&&(o=Zt(Zt({},o),pn(i.options[0])))}else un.test(i.stem)?o=Zt(Zt({},o),pn(i.stem)):((r=mn(i.stem))&&(o=Zt(Zt({},o),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!hn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=Zt(Zt({},o),r)))}return o}var yn=new RegExp("^"+r.source+"*"),vn=new RegExp(r.source+"*$");function wn(e,t){return{start:e,end:t}}var bn=!!String.prototype.startsWith,pt=!!String.fromCodePoint,Ct=!!Object.fromEntries,xn=!!String.prototype.codePointAt,Cn=!!String.prototype.trimStart,Sn=!!String.prototype.trimEnd,Fn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},r=!0;try{r="a"===(null===(sn=Pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===sn?void 0:sn[0])}catch(e){r=!1}var kn,Mn,_n=bn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},$n=pt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},En=Ct?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},Tn=xn?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},Ln=Cn?function(e){return e.trimStart()}:function(e){return e.replace(yn,"")},Gn=Sn?function(e){return e.trimEnd()}:function(e){return e.replace(vn,"")};function Pn(e,t){return new RegExp(e,t)}Mn=r?(kn=Pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return kn.lastIndex=t,null!==(e=kn.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=Tn(e,t);if(void 0===i||On(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return $n.apply(void 0,r)};var Rn=(An.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},An.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Yt.UNMATCHED_CLOSING_TAG,wn(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Dn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:Wt.pound,location:wn(a,this.clonePosition())})}}}return{val:r,err:null}},An.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Wt.literal,value:"<"+r+"/>",location:wn(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Dn(this.char()))return this.error(Yt.INVALID_TAG,wn(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(Yt.UNMATCHED_CLOSING_TAG,wn(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Wt.tag,value:r,children:e,location:wn(n,this.clonePosition())},err:null}:this.error(Yt.INVALID_TAG,wn(t,this.clonePosition())))}return this.error(Yt.UNCLOSED_TAG,wn(n,this.clonePosition()))}return this.error(Yt.INVALID_TAG,wn(n,this.clonePosition()))},An.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())},An.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=wn(n,this.clonePosition());return{val:{type:Wt.literal,value:r,location:n},err:null}},An.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Dn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},An.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 $n.apply(void 0,t)},An.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(),$n(n))},An.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Yt.EXPECT_ARGUMENT_CLOSING_BRACE,wn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Yt.EMPTY_ARGUMENT,wn(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Yt.MALFORMED_ARGUMENT,wn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Yt.EXPECT_ARGUMENT_CLOSING_BRACE,wn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Wt.argument,value:r,location:wn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Yt.EXPECT_ARGUMENT_CLOSING_BRACE,wn(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Yt.MALFORMED_ARGUMENT,wn(n,this.clonePosition()))}},An.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Mn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:wn(e,this.clonePosition())}},An.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(Yt.EXPECT_ARGUMENT_TYPE,wn(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===(d=Gn(h.val)).length)return this.error(Yt.EXPECT_ARGUMENT_STYLE,wn(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:wn(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(r)).err)return p;var u=wn(r,this.clonePosition());if(l&&_n(null==l?void 0:l.style,"::",0)){c=Ln(l.style.slice(2));if("number"===o)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:Wt.number,value:n,location:u,style:h.val},err:null};if(0===c.length)return this.error(Yt.EXPECT_DATE_TIME_SKELETON,u);var d={type:Vt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(on,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===o?Wt.date:Wt.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===o?Wt.number:"date"===o?Wt.date:Wt.time,value:n,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Yt.EXPECT_SELECT_ARGUMENT_OPTIONS,wn(l,Zt({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==o&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(Yt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,wn(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Yt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Yt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=h.val}u=this.tryParsePluralOrSelectOptions(e,o,t,u);if(u.err)return u;if((p=this.tryParseArgumentClose(r)).err)return p;var p=wn(r,this.clonePosition());return"select"===o?{val:{type:Wt.select,value:n,options:En(u.val),location:p},err:null}:{val:{type:Wt.plural,value:n,options:En(u.val),offset:l,pluralType:"plural"===o?"cardinal":"ordinal",location:p},err:null};default:return this.error(Yt.INVALID_ARGUMENT_TYPE,wn(a,s))}},An.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Yt.EXPECT_ARGUMENT_CLOSING_BRACE,wn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},An.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(Yt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,wn(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}},An.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(ln).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(Yt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Vt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?fn(n):{}},err:null}},An.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Yt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Yt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=wn(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?Yt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Yt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Yt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Yt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,wn(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;c=this.tryParseArgumentClose(d);if(c.err)return c;a.push([s,{value:u.val,location:wn(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?Yt.EXPECT_SELECT_ARGUMENT_SELECTOR:Yt.EXPECT_PLURAL_ARGUMENT_SELECTOR,wn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Yt.MISSING_OTHER_CLAUSE,wn(this.clonePosition(),this.clonePosition())):{val:a,err:null}},An.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=wn(r,this.clonePosition());return i?Fn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},An.prototype.offset=function(){return this.position.offset},An.prototype.isEOF=function(){return this.offset()===this.message.length},An.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},An.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Tn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},An.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},An.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))},An.prototype.bumpIf=function(e){if(_n(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},An.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},An.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},An.prototype.bumpSpace=function(){for(;!this.isEOF()&&On(this.char());)this.bump()},An.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},An);function An(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Dn(e){return 97<=e&&e<=122||65<=e&&e<=90}function On(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Nn(e,t){t=Zt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Rn(e,t).parse();if(n.err){e=SyntaxError(Yt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,en(e)||tn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else qt(e)&&rn(e.style)||(Kt(e)||Qt(e))&&an(e.style)?delete e.style.location:nn(e)&&n(e.children)})}(n.val),n.val}function Bn(e,t){var n=t&&t.cache?t.cache:Vn,r=t&&t.serializer?t.serializer:jn;return(t&&t.strategy?t.strategy:function(e,t){return zn(e,this,1===e.length?Un:Hn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Un(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function Hn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function zn(e,t,n,r,i){return n.bind(t,e,r,i)}var jn=function(){return JSON.stringify(arguments)};function Yn(){this.cache=Object.create(null)}Yn.prototype.has=function(e){return e in this.cache},Yn.prototype.get=function(e){return this.cache[e]},Yn.prototype.set=function(e,t){this.cache[e]=t};var Wn,Vn={create:function(){return new Yn}},Zn={variadic:function(e,t){return zn(e,this,Hn,t.cache.create(),t.serializer)},monadic:function(e,t){return zn(e,this,Un,t.cache.create(),t.serializer)}};(r=Wn=Wn||{}).MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API";var Jn,Xn,qn,Kn,Qn,er=(jt(sr,Qn=Error),sr.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},sr),tr=(jt(or,Kn=er),or),nr=(jt(ar,qn=er),ar),rr=(jt(ir,Xn=er),ir);function ir(e,t){return Xn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Wn.MISSING_VALUE,t)||this}function ar(e,t,n){return qn.call(this,'Value for "'+e+'" must be of type '+t,Wn.INVALID_VALUE,n)||this}function or(e,t,n,r){return Kn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',Wn.INVALID_VALUE,r)||this}function sr(e,t,n){e=Qn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function lr(e,t,n,r,i,a,o){if(1===e.length&&Xt(e[0]))return[{type:Jn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Xt(u))s.push({type:Jn.literal,value:u.value});else if(u.type===Wt.pound)"number"==typeof a&&s.push({type:Jn.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new rr(d,o);var h=i[d];if(u.type===Wt.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Jn.literal:Jn.object,value:h});else if(Kt(u)){var p="string"==typeof u.style?r.date[u.style]:an(u.style)?u.style.parsedOptions:void 0;s.push({type:Jn.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(Qt(u))p="string"==typeof u.style?r.time[u.style]:an(u.style)?u.style.parsedOptions:void 0,s.push({type:Jn.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(qt(u))(p="string"==typeof u.style?r.number[u.style]:rn(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:Jn.literal,value:n.getNumberFormat(t,p).format(h)});else{if(nn(u)){var m=u.children,g=u.value,d=i[g];if("function"!=typeof d)throw new nr(g,"function",o);m=d(lr(m,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?Jn.literal:Jn.object,value:e}}))}if(en(u)){if(!(f=u.options[h]||u.options.other))throw new tr(u.value,h,Object.keys(u.options),o);s.push.apply(s,lr(f.value,t,n,r,i))}else if(tn(u)){if(!(f=u.options["="+h])){if(!Intl.PluralRules)throw new er('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Wn.MISSING_INTL_API,o);var m=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),f=u.options[m]||u.options.other}if(!f)throw new tr(u.value,h,Object.keys(u.options),o);s.push.apply(s,lr(f.value,t,n,r,i,h-(u.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Jn.literal&&t.type===Jn.literal?n.value+=t.value:e.push(t),e},[])}function cr(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(r=Jn=Jn||{})[r.literal=0]="literal",r[r.object=1]="object";var ur=(Object.defineProperty(dr,"defaultLocale",{get:function(){return dr.memoizedDefaultLocale||(dr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),dr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),dr.memoizedDefaultLocale=null,dr.__parse=Nn,dr.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"}}},dr);function dr(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=dr.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===Jn.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 lr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof e){if(this.message=e,!dr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=dr.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=dr.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?Zt(Zt(Zt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=Zt(Zt({},n[t]),r[t]||{}),e},{})):n),e},Zt({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:Bn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Jt([void 0],t)))},{cache:cr((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:Zn.variadic}),getDateTimeFormat:Bn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Jt([void 0],t)))},{cache:cr(r.dateTime),strategy:Zn.variadic}),getPluralRules:Bn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Jt([void 0],t)))},{cache:cr(r.pluralRules),strategy:Zn.variadic})}}const hr={},pr=(t,n)=>{if(null!=n){if(n in hr&&t in hr[n])return hr[n][t];var r,i,a=Er(n);for(let e=0;e<a.length;e++){var o=(r=a[e],i=t,fr(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return mr[e]||null}(r),i):null);if(o)return r=t,i=n,(o=o)&&(i in hr||(hr[i]={}),r in hr[i]||(hr[i][r]=o),o)}}};let mr;const gr=Lt({});function fr(e){return e in mr}function yr(t,...n){delete hr[t],gr.update(e=>(e[t]=Ht.all([e[t]||{},...n]),e))}Gt([gr],([e])=>Object.keys(e)),gr.subscribe(e=>mr=e);const vr={};function wr(e){return vr[e]}function br(e){return Er(e).some(e=>{return null===(e=wr(e))||void 0===e?void 0:e.size})}const xr={};function Cr(e){if(!br(e))return e in xr?xr[e]:void 0;const t=Er(e).map(e=>{var t=wr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return xr[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){vr[e].delete(t),0===vr[e].size&&delete vr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>yr(t,...e))}(e))).then(()=>br(e)?Cr(e):void delete xr[e]),xr[e]}function Sr(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Fr={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const kr=Lt(!1);let Mr;const _r=Lt(null);function $r(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Er(e,t=Fr.fallbackLocale){e=$r(e);return t?[...new Set([...e,...$r(t)])]:e}_r.subscribe(e=>{Mr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Tr=_r.set;_r.set=t=>{if(function(e){if(null!=e){var t=Er(e);for(let e=0;e<t.length;e++){var n=t[e];if(fr(n))return n}}}(t)&&br(t)){var{loadingDelay:n}=Fr;let e;return"undefined"!=typeof window&&null!=Mr&&n?e=window.setTimeout(()=>kr.set(!0),n):kr.set(!0),Cr(t).then(()=>{Tr(t)}).finally(()=>{clearTimeout(e),kr.set(!1)})}return Tr(t)},_r.update=e=>Tr(e(Mr));const Ir=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Lr=(e,t)=>{var{formats:n}=Fr;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Gr=Ir(e=>{var{locale:t,format:n}=e,e=Sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Lr("number",n)),new Intl.NumberFormat(t,e)}),Pr=Ir(e=>{var{locale:t,format:n}=e,e=Sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Lr("date",n):0===Object.keys(e).length&&(e=Lr("date","short")),new Intl.DateTimeFormat(t,e)}),Rr=Ir(e=>{var{locale:t,format:n}=e,e=Sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Lr("time",n):0===Object.keys(e).length&&(e=Lr("time","short")),new Intl.DateTimeFormat(t,e)}),Ar=Ir((e,t=Mr)=>new ur(e,t,Fr.formats,{ignoreTag:Fr.ignoreTag})),Dr=Gt([_r,gr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=Mr,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let a=pr(e,r);if(a){if("string"!=typeof a)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof a}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),a}else Fr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Er(r).join('", "')}".${br(Mr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),a=i||e;if(!n)return a;let o=a;try{o=Ar(a,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return o});Gt([_r],()=>(e,t)=>((e={})=>{var{locale:t=Mr}=e,e=Sr(e,["locale"]);return Rr(Object.assign({locale:t},e))})(t).format(e)),Gt([_r],()=>(e,t)=>((e={})=>{var{locale:t=Mr}=e,e=Sr(e,["locale"]);return Pr(Object.assign({locale:t},e))})(t).format(e)),Gt([_r],()=>(e,t)=>((e={})=>{var{locale:t=Mr}=e,e=Sr(e,["locale"]);return Gr(Object.assign({locale:t},e))})(t).format(e)),Gt([_r,gr],()=>(e,t=Mr)=>pr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Et.indexOf(e)&&(t=new kt(t),Tt[e]=t,Et.push(e)),Tt[e]}};const Or=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Nr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Br(e){var t=window.navigator.userAgent;return Or(t)?e.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):e.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})}function Ur(r,i){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),Re(`${r}/player/session/player`,{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Hr(e){_r.set(e)}const zr={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"},fallbackMainMenu:{sports:"Sports",casino:"Casino",liveCasino:"Live Casino",virtualSports:"Virtual Sports",tournaments:"Tournaments"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},fallbackMainMenu:{sports:"Spor Dalları",casino:"Kumarhane",liveCasino:"Canlı kumarhane",virtualSports:"Sanal Sporlar",tournaments:"Turnuvalar"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},fallbackMainMenu:{sports:"Sport",casino:"Cazino",liveCasino:"Cazinou live",virtualSports:"Sport virtual",tournaments:"Turnee"}}};function jr(e,t,n){const r=e.slice();return r[33]=t[n],r[35]=n,r}function Yr(t){let r,i=[],n=new Map,a=t[0];const o=e=>e[33].id;for(let e=0;e<a.length;e+=1){var s=jr(t,a,e),l=o(s);n.set(l,i[e]=Zr(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);q(t,r,n)},p(e,t){295&t[0]&&(a=e[0],i=function(t,n,r,i,a,o,s,l,e,c,u,d){let h=t.length,p=o.length,m=h;const g={};for(;m--;)g[t[m].key]=m;const f=[],y=new Map,v=new Map;for(m=p;m--;){const t=d(a,o,m),l=r(t);let e=s.get(l);e?i&&e.p(t,n):(e=c(l,t),e.c()),y.set(l,f[m]=e),l in g&&v.set(l,Math.abs(m-g[l]))}const w=new Set,b=new Set;function x(e){W(e,1),e.m(l,u),s.set(e.key,e),u=e.first,p--}for(;h&&p;){const n=f[p-1],r=t[h-1],i=n.key,a=r.key;n===r?(u=n.first,h--,p--):y.has(a)?!s.has(i)||w.has(i)?x(n):b.has(a)?h--:v.get(i)>v.get(a)?(b.add(i),x(n)):(w.add(a),h--):(e(r,s),h--)}for(;h--;){const n=t[h];y.has(n.key)||e(n,s)}for(;p;)x(f[p-1]);return f}(i,t,o,1,e,a,n,r.parentNode,se,Zr,r,jr))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&K(r)}}}function Wr(e){let n,r,i,a=e[33].name+"",o="FAVORITES"===e[33].id?"("+e[1]+")":"";return{c(){n=ee(a),r=te(),i=ee(o)},m(e,t){q(e,n,t),q(e,r,t),q(e,i,t)},p(e,t){1&t[0]&&a!==(a=e[33].name+"")&&ie(n,a),3&t[0]&&o!==(o="FAVORITES"===e[33].id?"("+e[1]+")":"")&&ie(i,o)},d(e){e&&K(n),e&&K(r),e&&K(i)}}}function Vr(e){let n,r,i=e[33].label+"";return{c(){n=Q("a"),r=ee(i)},m(e,t){q(e,n,t),X(n,r)},p(e,t){1&t[0]&&i!==(i=e[33].label+"")&&ie(r,i)},d(e){e&&K(n)}}}function Zr(e,n){let r,i,a,o;function s(e){return"headerMain"===e[2]?Vr:Wr}let l=s(n),c=l(n);function u(...e){return n[21](n[33],n[35],...e)}return{key:e,first:null,c(){r=Q("li"),c.c(),i=te(),re(r,"class","CarouselItem"),re(r,"part","CarouselItem"),R(r,"active",n[5]==n[35]),this.first=r},m(e,t){q(e,r,t),c.m(r,null),X(r,i),a||(o=ne(r,"click",u),a=!0)},p(e,t){l===(l=s(n=e))&&c?c.p(n,t):(c.d(1),c=l(n),c&&(c.c(),c.m(r,i))),33&t[0]&&R(r,"active",n[5]==n[35])},d(e){e&&K(r),c.d(),a=!1,o()}}}function Jr(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=0<n[0].length&&Yr(n);return{c(){r=Q("div"),i=Q("div"),a=Q("div"),a.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=te(),s=Q("ul"),y&&y.c(),l=te(),c=Q("div"),c.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',this.c=Z,re(a,"class","CarouselLeftArrow"),re(a,"part","CarouselLeftArrow"),re(s,"class","CarouselItems"),re(s,"part","CarouselItems"),re(c,"class","CarouselRightArrow"),re(c,"part","CarouselRightArrow"),re(i,"class",u="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),re(i,"part",d="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),re(i,"style",h="headerMain"===n[2]?"max-width: auto":`max-width: ${n[3]}px`),re(r,"class",p="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":"")),re(r,"part",m="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),y&&y.m(s,null),n[22](s),X(i,l),X(i,c),n[24](r),g||(f=[ne(a,"click",n[20]),ne(c,"click",n[23])],g=!0)},p(e,t){0<e[0].length?y?y.p(e,t):(y=Yr(e),y.c(),y.m(s,null)):y&&(y.d(1),y=null),4&t[0]&&u!==(u="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&re(i,"class",u),4&t[0]&&d!==(d="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&re(i,"part",d),12&t[0]&&h!==(h="headerMain"===e[2]?"max-width: auto":`max-width: ${e[3]}px`)&&re(i,"style",h),4&t[0]&&p!==(p="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&re(r,"class",p),4&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&re(r,"part",m)},i:Z,o:Z,d(e){e&&K(r),y&&y.d(),n[22](null),n[24](null),g=!1,J(f)}}}function Xr(t,e,n){let r;Ae(t,Dr,e=>n(25,r=e));let{sliderdata:i=[]}=e,{onclickeventname:a="defaultEvent"}=e,{actionevent:o="defaultEvent"}=e,{favoritesnumber:s="0"}=e,{location:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{identity:d=""}=e,{containermaxwidth:h=""}=e,{isprimarymenu:p=!1}=e,{issecondarymenu:m=!1}=e,{lang:g=""}=e,{activeindex:f=""}=e;var y,v;[{withLocale:y,translations:v}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(v),_r.set(y))}),Object.keys(zr).forEach(e=>{yr(e,zr[e])});let w,b,x,C=window.navigator.userAgent,S="PC"!==Nr(C),F=[{id:0,label:r("fallbackMainMenu.sports"),path:"/sports"},{id:1,label:r("fallbackMainMenu.casino"),path:"/casino"},{id:2,label:r("fallbackMainMenu.liveCasino"),path:"/live-casino"},{id:3,label:r("fallbackMainMenu.virtualSports"),path:"/virtual-sports"},{id:4,label:r("fallbackMainMenu.tournaments"),path:"/tournaments"}],k=(e,t)=>{n(5,b=t),window.postMessage({type:o,itemId:e.id,index:t,item:e},window.location.href)},M=()=>{w.scrollBy({left:-250,behavior:"smooth"})},_=()=>{w.scrollBy({left:250,behavior:"smooth"})};const $=e=>{"SliderData"==e.data.type&&e.data.identity==d&&n(0,i=e.data.data)};return De(()=>(p&&!i.length&&n(0,i=F),window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)})),t.$$set=e=>{"sliderdata"in e&&n(0,i=e.sliderdata),"onclickeventname"in e&&n(11,a=e.onclickeventname),"actionevent"in e&&n(12,o=e.actionevent),"favoritesnumber"in e&&n(1,s=e.favoritesnumber),"location"in e&&n(2,l=e.location),"clientstyling"in e&&n(13,c=e.clientstyling),"clientstylingurl"in e&&n(14,u=e.clientstylingurl),"identity"in e&&n(15,d=e.identity),"containermaxwidth"in e&&n(3,h=e.containermaxwidth),"isprimarymenu"in e&&n(16,p=e.isprimarymenu),"issecondarymenu"in e&&n(17,m=e.issecondarymenu),"lang"in e&&n(18,g=e.lang),"activeindex"in e&&n(19,f=e.activeindex)},t.$$.update=()=>{var e;524288&t.$$.dirty[0]&&(f||0==f)&&n(5,b=parseInt(f,10)),8192&t.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{x.appendChild(e)})})(),16384&t.$$.dirty[0]&&u&&(()=>{let t=document.createElement("style"),e=new URL(u);u&&fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{x.appendChild(t)},1)})})(),262144&t.$$.dirty[0]&&g&&(e=g,_r.set(e))},[i,s,l,h,w,b,x,S,k,M,_,a,o,c,u,d,p,m,g,f,()=>M(),(e,t,n)=>k(e,t),function(e){Oe[e?"unshift":"push"](()=>{w=e,n(4,w)})},()=>_(),function(e){Oe[e?"unshift":"push"](()=>{x=e,n(6,x)})}]}function qr(n){let r,i,a,o;return{c(){r=Q("div"),i=Q("casino-slider"),C(i,"identity",ti),C(i,"favoritesnumber",n[8]),C(i,"clientstyling",n[0]),C(i,"clientstylingurl",n[1]),C(i,"containermaxwidth",n[2]),C(i,"activeindex",n[5]),C(i,"actionevent",n[3]),re(r,"class","CasinoCategoriesContainer"),re(r,"part","CasinoCategoriesContainer")},m(e,t){q(e,r,t),X(r,i),a||(o=l(n[10].call(null,i)),a=!0)},p(e,t){256&t[0]&&C(i,"favoritesnumber",e[8]),1&t[0]&&C(i,"clientstyling",e[0]),2&t[0]&&C(i,"clientstylingurl",e[1]),4&t[0]&&C(i,"containermaxwidth",e[2]),32&t[0]&&C(i,"activeindex",e[5]),8&t[0]&&C(i,"actionevent",e[3])},d(e){e&&K(r),a=!1,o()}}}function Kr(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function Qr(e){let n;return{c(){n=Q("div"),re(n,"class","CasinoCategoriesLoading"),re(n,"part","CasinoCategoriesLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function ei(n){let r;function i(e){return e[4]||e[9]?Qr:e[6]?Kr:qr}let a=i(n),o=a(n);return{c(){r=Q("div"),o.c(),this.c=Z,re(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),o.m(r,null),n[20](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&K(r),o.d(),n[20](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:13px 19px;font-size:16px;text-align:center;line-height:26px;transition:all 150ms ease-in-out;white-space:nowrap}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-top:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Xr,Jr,n,{sliderdata:0,onclickeventname:11,actionevent:12,favoritesnumber:1,location:2,clientstyling:13,clientstylingurl:14,identity:15,containermaxwidth:3,isprimarymenu:16,issecondarymenu:17,lang:18,activeindex:19},[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sliderdata","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex"]}get sliderdata(){return this.$$.ctx[0]}set sliderdata(e){this.$set({sliderdata:e}),N()}get onclickeventname(){return this.$$.ctx[11]}set onclickeventname(e){this.$set({onclickeventname:e}),N()}get actionevent(){return this.$$.ctx[12]}set actionevent(e){this.$set({actionevent:e}),N()}get favoritesnumber(){return this.$$.ctx[1]}set favoritesnumber(e){this.$set({favoritesnumber:e}),N()}get location(){return this.$$.ctx[2]}set location(e){this.$set({location:e}),N()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get identity(){return this.$$.ctx[15]}set identity(e){this.$set({identity:e}),N()}get containermaxwidth(){return this.$$.ctx[3]}set containermaxwidth(e){this.$set({containermaxwidth:e}),N()}get isprimarymenu(){return this.$$.ctx[16]}set isprimarymenu(e){this.$set({isprimarymenu:e}),N()}get issecondarymenu(){return this.$$.ctx[17]}set issecondarymenu(e){this.$set({issecondarymenu:e}),N()}get lang(){return this.$$.ctx[18]}set lang(e){this.$set({lang:e}),N()}get activeindex(){return this.$$.ctx[19]}set activeindex(e){this.$set({activeindex:e}),N()}});let ti="CasinoSliderData";function ni(e,t,n){let r,i,a,{endpoint:o=""}=t,{datasource:s=""}=t,{lang:l=""}=t,{userid:c=""}=t,{session:u=""}=t,{mostplayed:d=""}=t,{mostplayedrounds:h=""}=t,{favorites:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{containermaxwidth:f=""}=t,{activecategory:y=""}=t,{actionevent:v=""}=t,w=0,b=!0,x=[],C=!1,S=window.navigator.userAgent,F=!1,k=!1,M=!1;const _=e=>{if(e.data)switch(e.data.type){case"UpdateCategoryFavoriteGames":case"ShowFavoriteSection":var t=Br(e.data.receivedFavoriteResults.items);n(8,a=t.length)}};return De(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)})),e.$$set=e=>{"endpoint"in e&&n(11,o=e.endpoint),"datasource"in e&&n(12,s=e.datasource),"lang"in e&&n(13,l=e.lang),"userid"in e&&n(14,c=e.userid),"session"in e&&n(15,u=e.session),"mostplayed"in e&&n(16,d=e.mostplayed),"mostplayedrounds"in e&&n(17,h=e.mostplayedrounds),"favorites"in e&&n(18,p=e.favorites),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(1,g=e.clientstylingurl),"containermaxwidth"in e&&n(2,f=e.containermaxwidth),"activecategory"in e&&n(19,y=e.activecategory),"actionevent"in e&&n(3,v=e.actionevent)},e.$$.update=()=>{14336&e.$$.dirty[0]&&o&&s&&l&&(()=>{if(o||(r="Endpoint is missing! Please provide a valid endpointURL.",n(6,C=!0),n(4,b=!1),console.error(r)),s||(r="Datasource is missing! Please provide a valid datasource.",n(6,C=!0),n(4,b=!1),console.error(r)),l&&2==l.length||(r="Language is missing! Please provide a valid language (alpha2code)",n(6,C=!0),n(4,b=!1),console.error(r)),!C){let e=new URL(`${o}/casino/groups/${s}`);e.searchParams.append("datasource",s),e.searchParams.append("platform",Nr(S)),e.searchParams.append("language",l),fetch(e).then(e=>e.json()).then(e=>{e=e.items.filter(e=>0<e.games.total);x=x.concat(e),x.unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(4,b=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(6,C=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(6,C=!0),console.error("There was an error while fetching the categories",e)})}})(),524304&e.$$.dirty[0]&&!b&&y&&n(5,w=x.map(e=>e.id).indexOf(y)),34816&e.$$.dirty[0]&&u&&o&&Ur(o,u).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),294912&e.$$.dirty[0]&&u&&p&&(0==F&&"true"==p&&x.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),F=!0),116736&e.$$.dirty[0]&&u&&o&&c&&d&&d&&(n(9,M=!0),(()=>{if(d){let e=new URL(`${o}/player/${c}/games/most-played`),t=Nr(S);return t?"PC"===t?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),e.searchParams.append("rounds",h),new Promise((t,n)=>{fetch(e.href).then(e=>e.json()).then(e=>{0==e.count&&t(!1),t(!0)}).catch(e=>{console.error("err",e),n(!1)})})}})().then(e=>{0==k&&"true"==d&&e&&x.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(9,M=!1),ve(),k=!0})),1&e.$$.dirty[0]&&m&&(()=>{let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)})(),2&e.$$.dirty[0]&&g&&(()=>{let t=document.createElement("style"),e=new URL(g);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},n(8,a=0),[m,g,f,v,b,w,C,i,a,M,e=>{window.postMessage({type:"SliderData",identity:ti,data:x},window.location.href)},o,s,l,c,u,d,h,p,y,function(e){Oe[e?"unshift":"push"](()=>{i=e,n(7,i)})}]}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:black}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ni,ei,n,{endpoint:11,datasource:12,lang:13,userid:14,session:15,mostplayed:16,mostplayedrounds:17,favorites:18,clientstyling:0,clientstylingurl:1,containermaxwidth:2,activecategory:19,actionevent:3},[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","mostplayedrounds","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent"]}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$set({endpoint:e}),N()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$set({datasource:e}),N()}get lang(){return this.$$.ctx[13]}set lang(e){this.$set({lang:e}),N()}get userid(){return this.$$.ctx[14]}set userid(e){this.$set({userid:e}),N()}get session(){return this.$$.ctx[15]}set session(e){this.$set({session:e}),N()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(e){this.$set({mostplayed:e}),N()}get mostplayedrounds(){return this.$$.ctx[17]}set mostplayedrounds(e){this.$set({mostplayedrounds:e}),N()}get favorites(){return this.$$.ctx[18]}set favorites(e){this.$set({favorites:e}),N()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$set({containermaxwidth:e}),N()}get activecategory(){return this.$$.ctx[19]}set activecategory(e){this.$set({activecategory:e}),N()}get actionevent(){return this.$$.ctx[3]}set actionevent(e){this.$set({actionevent:e}),N()}});const ri={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Klar",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Chiaro",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur 500 - Erreur interne du serveur",search:"Rechercher des jeux ...",loading:"Chargement ...",searchMobile:"Rechercher",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Rechercher des jeux de casino",filters:"Filtres",clear:"Dégager",noGamesPlayed:"Vous n'avez joué à aucun jeu !"}},es:{casinoPage:{500:"500 Error - Error interno del servidor",search:"Buscar juegos ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Claro",noGamesPlayed:"¡No tienes partidas jugadas!"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Čisto",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Egyértelmű",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Jasny",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"500 Error - Internal Server Error",search:"Procurar",loading:"A carregar",searchMobile:"Procurar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Claro",noGamesPlayed:"Você não tem jogos jogados!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}}},ii={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Montre plus",viewAll:"Voir tout",searchedItems:"Articles recherchés",recentSearchedItems:"Articles recherchés récemment",noRecentSearch:"Aucune recherche n'a encore commencé. Recherchez simplement un jeu.",noResults:"Désolé, aucun résultat trouvé. Veuillez réessayer"}},es:{gamesCategorySection:{showMore:"Mostrar más",viewAll:"Ver todo",searchedItems:"Artículos buscados",recentSearchedItems:"Elementos buscados recientemente",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",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:"Mostrar tudo",searchedItems:"Procurar resultado",recentSearchedItems:"Pesquisado recentemente",noRecentSearch:"Nenhuma pesquisa iniciada. Pesquisar simplesmente um jogo.",noResults:"Desculpe, sem qualquer correspondência. Por favor, tente novamente."}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};var ai,oi,si=(oi=ai={path:void 0,exports:{},require:function(e,t){return In(null==t&&ai.path)}},ai.exports,oi.exports=function(){var e;function m(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function a(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=0;r<e.length;++r)n.push(t(e[r],r));return n}function u(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return Et(e,t,n,r,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var t=g(e),n=y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function f(e){var t=d(NaN);return null!=e?u(g(t),e):g(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},v=m.momentProperties=[],t=!1;function w(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),0<v.length)for(n=0;n<v.length;n++)a(i=t[r=v[n]])||(e[r]=i);return e}function b(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function x(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function C(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,a){var o=!0;return u(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,i),o){for(var e,t,n=[],r=0;r<arguments.length;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}C(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var S={};function F(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),S[e]||(C(t),S[e]=!0)}function k(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,r=u({},e);for(n in t)p(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)p(e,n)&&!p(t,n)&&s(e[n])&&(r[n]=u({},r[n]));return r}function _(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var $=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function E(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var T=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},G={};function P(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(G[e]=i),t&&(G[t[0]]=function(){return E(i.apply(this,arguments),t[1],t[2])}),n&&(G[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=A(t,e.localeData()),L[t]=L[t]||function(r){for(var e,i=r.match(T),t=0,a=i.length;t<a;t++)G[i[t]]?i[t]=G[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=k(i[n])?i[n].call(e,r):i[n];return t}}(t),L[t](e)):e.localeData().invalidDate()}function A(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(I.lastIndex=0;0<=n&&I.test(e);)e=e.replace(I,r),I.lastIndex=0,--n;return e}var D={};function O(e,t){var n=e.toLowerCase();D[n]=D[n+"s"]=D[t]=e}function N(e){return"string"==typeof e?D[e]||D[e.toLowerCase()]:void 0}function B(e){var t,n,r={};for(n in e)p(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}var U={};function H(e,t){U[e]=t}function z(e){return e%4==0&&e%100!=0||e%400==0}function j(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Y(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?j(t):e}function W(t,n){return function(e){return null!=e?(Z(this,t,e),m.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&z(e.year())&&1===e.month()&&29===e.date()?(n=Y(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),$e(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var J=/\d/,X=/\d\d/,q=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ie=/\d{1,4}/,ae=/[+-]?\d{1,6}/,oe=/\d+/,se=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[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 de(e,n,r){me[e]=k(n)?n:function(e,t){return e&&r?r:n}}function he(e,t){return p(me,e)?me[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},ge={};function fe(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),c(n)&&(r=function(e,t){t[n]=Y(e)}),t=0;t<e.length;t++)ge[e[t]]=r}function ye(e,i){fe(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var ve,we=0,be=1,xe=2,Ce=3,Se=4,Fe=5,ke=6,Me=7,_e=8;function $e(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?z(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),P("MMMM",0,0,function(e){return this.localeData().months(this,e)}),O("month","M"),H("month",8),de("M",ee),de("MM",ee,X),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),fe(["M","MM"],function(e,t){t[be]=Y(e)-1}),fe(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[be]=r:g(n).invalidMonth=e});var Ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Te="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Le=ue,Ge=ue;function Pe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Y(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),$e(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Re(e){return null!=e?(Pe(this,e),m.updateOffset(this,!0),this):V(this,"Month")}function Ae(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=d([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=pe(n[a]),r[a]=pe(r[a]);for(a=0;a<24;a++)i[a]=pe(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function De(e){return z(e)?366:365}P("Y",0,0,function(){var e=this.year();return e<=9999?E(e,4):"+"+e}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),O("year","y"),H("year",1),de("Y",se),de("YY",ee,X),de("YYYY",ie,K),de("YYYYY",ae,Q),de("YYYYYY",ae,Q),fe(["YYYYY","YYYYYY"],we),fe("YYYY",function(e,t){t[we]=2===e.length?m.parseTwoDigitYear(e):Y(e)}),fe("YY",function(e,t){t[we]=m.parseTwoDigitYear(e)}),fe("Y",function(e,t){t[we]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return Y(e)+(68<Y(e)?1900:2e3)};var Oe=W("FullYear",!0);function Ne(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Be(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ue(e,t,n){n=7+t-n;return-(7+Be(e,0,n).getUTCDay()-t)%7+n-1}function He(e,t,n,r,i){var a,i=1+7*(t-1)+(7+n-r)%7+Ue(e,r,i),i=i<=0?De(a=e-1)+i:i>De(e)?(a=e+1,i-De(e)):(a=e,i);return{year:a,dayOfYear:i}}function ze(e,t,n){var r,i,a=Ue(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+je(i=e.year()-1,t,n):a>je(e.year(),t,n)?(r=a-je(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function je(e,t,n){var r=Ue(e,t,n),n=Ue(e+1,t,n);return(De(e)-r+n)/7}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),H("week",5),H("isoWeek",5),de("w",ee),de("ww",ee,X),de("W",ee),de("WW",ee,X),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=Y(e)});function Ye(e,t){return e.slice(t,7).concat(e.slice(0,t))}P("d",0,"do","day"),P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),de("d",ee),de("e",ee),de("E",ee),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,r){t[r]=Y(e)});var We="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Je=ue,Xe=ue,qe=ue;function Ke(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=d([2e3,1]).day(l),t=pe(this.weekdaysMin(r,"")),n=pe(this.weekdaysShort(r,"")),r=pe(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,Qe),P("k",["kk",2],0,function(){return this.hours()||24}),P("hmm",0,0,function(){return""+Qe.apply(this)+E(this.minutes(),2)}),P("hmmss",0,0,function(){return""+Qe.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+E(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)}),et("a",!0),et("A",!1),O("hour","h"),H("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,X),de("hh",ee,X),de("kk",ee,X),de("hmm",te),de("hmmss",ne),de("Hmm",te),de("Hmmss",ne),fe(["H","HH"],Ce),fe(["k","kk"],function(e,t,n){e=Y(e);t[Ce]=24===e?0:e}),fe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),fe(["h","hh"],function(e,t,n){t[Ce]=Y(e),g(n).bigHour=!0}),fe("hmm",function(e,t,n){var r=e.length-2;t[Ce]=Y(e.substr(0,r)),t[Se]=Y(e.substr(r)),g(n).bigHour=!0}),fe("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ce]=Y(e.substr(0,r)),t[Se]=Y(e.substr(r,2)),t[Fe]=Y(e.substr(i)),g(n).bigHour=!0}),fe("Hmm",function(e,t,n){var r=e.length-2;t[Ce]=Y(e.substr(0,r)),t[Se]=Y(e.substr(r))}),fe("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ce]=Y(e.substr(0,r)),t[Se]=Y(e.substr(r,2)),t[Fe]=Y(e.substr(i))});var nt=W("Hours",!0);var rt,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ee,monthsShort:Te,week:{dow:0,doy:6},weekdays:We,weekdaysMin:Ze,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},at={},ot={};function st(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=st(e[a]).split("-")).length,n=(n=st(e[a+1]))?n.split("-"):null;0<t;){if(r=ct(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return rt}function ct(t){var e;if(void 0===at[t]&&oi&&oi.exports)try{e=rt._abbr,In(),ut(e)}catch(e){at[t]=null}return at[t]}function ut(e,t){return e&&((t=a(t)?ht(e):dt(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function dt(e,t){if(null===t)return delete at[e],null;var n,r=it;if(t.abbr=e,null!=at[e])F("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])r=at[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;r=n._config}return at[e]=new _(M(r,t)),ot[e]&&ot[e].forEach(function(e){dt(e.name,e.config)}),ut(e),at[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!o(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function pt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[be]<0||11<t[be]?be:t[xe]<1||t[xe]>$e(t[we],t[be])?xe:t[Ce]<0||24<t[Ce]||24===t[Ce]&&(0!==t[Se]||0!==t[Fe]||0!==t[ke])?Ce:t[Se]<0||59<t[Se]?Se:t[Fe]<0||59<t[Fe]?Fe:t[ke]<0||999<t[ke]?ke:-1,g(e)._overflowDayOfYear&&(t<we||xe<t)&&(t=xe),g(e)._overflowWeeks&&-1===t&&(t=Me),g(e)._overflowWeekday&&-1===t&&(t=_e),g(e).overflow=t),e}var mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ct(e){var t,n,r,i,a,o,s=e._i,l=mt.exec(s)||gt.exec(s);if(l){for(g(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){i=yt[t][0],r=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=vt.length;t<n;t++)if(vt[t][1].exec(l[3])){a=(l[2]||" ")+vt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!ft.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),_t(e)}else e._isValid=!1}function St(e,t,n,r,i,a){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Te.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&i.push(parseInt(a,10)),i}function Ft(e){var t,n,r,i,a=bt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=St(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&Ve.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=a[8],t=a[9],a=a[10],i?xt[i]:t?0:((t=parseInt(a,10))-(a=t%100))/100*60+a),e._d=Be.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,r,i,a,o,s,l,c,u,d,h,p=[];if(!e._d){for(d=e,h=new Date(m.now()),n=d._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[xe]&&null==e._a[be]&&(null!=(d=(i=e)._w).GG||null!=d.W||null!=d.E?(l=1,c=4,a=kt(d.GG,i._a[we],ze(Tt(),1,4).year),o=kt(d.W,1),((s=kt(d.E,1))<1||7<s)&&(u=!0)):(l=i._locale._week.dow,c=i._locale._week.doy,h=ze(Tt(),l,c),a=kt(d.gg,i._a[we],h.year),o=kt(d.w,h.week),null!=d.d?((s=d.d)<0||6<s)&&(u=!0):null!=d.e?(s=d.e+l,(d.e<0||6<d.e)&&(u=!0)):s=l),o<1||o>je(a,l,c)?g(i)._overflowWeeks=!0:null!=u?g(i)._overflowWeekday=!0:(c=He(a,o,s,l,c),i._a[we]=c.year,i._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(r=kt(e._a[we],n[we]),(e._dayOfYear>De(r)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),r=Be(r,0,e._dayOfYear),e._a[be]=r.getUTCMonth(),e._a[xe]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ce]&&0===e._a[Se]&&0===e._a[Fe]&&0===e._a[ke]&&(e._nextDay=!0,e._a[Ce]=0),e._d=(e._useUTC?Be:Ne).apply(null,p),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ce]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function _t(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,a=0,o=A(e._f,e._locale).match(T)||[],s=0;s<o.length;s++)n=o[s],(t=(r.match(he(n,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&g(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),a+=t.length),G[n]?(t?g(e).empty=!1:g(e).unusedTokens.push(n),u=n,h=e,null!=(d=t)&&p(ge,u)&&ge[u](d,h._a,h,u)):e._strict&&!t&&g(e).unusedTokens.push(n);g(e).charsLeftOver=i-a,0<r.length&&g(e).unusedInput.push(r),e._a[Ce]<=12&&!0===g(e).bigHour&&0<e._a[Ce]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[Ce]=(l=e._locale,c=e._a[Ce],null==(i=e._meridiem)?c:null!=l.meridiemHour?l.meridiemHour(c,i):null!=l.isPM?((i=l.isPM(i))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(c=g(e).era)&&(e._a[we]=e._locale.erasConvertYear(c,e._a[we])),Mt(e),pt(e)}else Ft(e);else Ct(e);var l,c,u,d,h}function $t(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new b(pt(t)):(i(t)?e._d=t:o(n)?function(e){var t,n,r,i,a,o,s=!1;if(0===e._f.length)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)a=0,o=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],_t(t),h(t)&&(o=!0),a+=g(t).charsLeftOver,a+=10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));u(e,n||t)}(e):n?_t(e):a(n=(t=e)._i)?t._d=new Date(m.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=wt.exec(e._i);null===t?(Ct(e),!1===e._isValid&&(delete e._isValid,Ft(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),Mt(t)):s(n)?function(e){var t,n;e._d||(n=void 0===(t=B(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Mt(e))}(t):c(n)?t._d=new Date(n):m.createFromInputFallback(t),h(e)||(e._d=null),e))}function Et(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(a=new b(pt($t(a=a))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Tt(e,t,n,r){return Et(e,t,n,r,!1)}m.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};var It=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()}),Lt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:f()});function Gt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return Tt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rt(e){var t=B(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(p(e,t)&&(-1===ve.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Pt.length;++n)if(e[Pt[n]]){if(r)return!1;parseFloat(e[Pt[n]])!==Y(e[Pt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=ht(),this._bubble()}function At(e){return e instanceof Rt}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ot(e,n){P(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+E(~~(e/60),2)+n+E(~~e%60,2)})}Ot("Z",":"),Ot("ZZ",""),de("Z",ce),de("ZZ",ce),fe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Bt(ce,e)});var Nt=/([\+\-]|\d\d)/gi;function Bt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Nt)||["-",0,0])[1]+Y(e[2]))?0:"+"===e[0]?t:-t}function Ut(e,t){var n;return t._isUTC?(n=t.clone(),t=(x(e)||i(e)?e:Tt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),m.updateOffset(n,!1),n):Tt(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Yt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Wt(e,t){var n,r,i=e,a=null;return At(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=jt.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:Y(a[xe])*n,h:Y(a[Ce])*n,m:Y(a[Se])*n,s:Y(a[Fe])*n,ms:Y(Dt(1e3*a[ke]))*n}):(a=Yt.exec(e))?(n="-"===a[1]?-1:1,i={y:Vt(a[2],n),M:Vt(a[3],n),w:Vt(a[4],n),d:Vt(a[5],n),h:Vt(a[6],n),m:Vt(a[7],n),s:Vt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=Tt(i.from),n=Tt(i.to),r=a.isValid()&&n.isValid()?(n=Ut(n,a),a.isBefore(n)?r=Zt(a,n):((r=Zt(n,a)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Rt(i),At(e)&&p(e,"_locale")&&(i._locale=e._locale),At(e)&&p(e,"_isValid")&&(i._isValid=e._isValid),i}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Jt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(F(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Xt(this,Wt(e,t),r),this}}function Xt(e,t,n,r){var i=t._milliseconds,a=Dt(t._days),t=Dt(t._months);e.isValid()&&(r=null==r||r,t&&Pe(e,V(e,"Month")+t*n),a&&Z(e,"Date",V(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&m.updateOffset(e,a||t))}Wt.fn=Rt.prototype,Wt.invalid=function(){return Wt(NaN)};var qt=Jt(1,"add"),ue=Jt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return x(e)||i(e)||Kt(e)||c(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!c(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=s(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<a.length;t+=1)n=a[t],i=i||p(e,n);return r&&i}(e)||null==e;var t,n,r}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var rn=126227808e5;function an(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(pe(i[a].name)),e.push(pe(i[a].abbr)),n.push(pe(i[a].narrow)),r.push(pe(i[a].name)),r.push(pe(i[a].abbr)),r.push(pe(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function un(e,t){P(0,[e,e.length],0,t)}function dn(e,t,n,r,i){var a;return null==e?ze(this,r,i).year:(t>(a=je(e,r,i))&&(t=a),function(e,t,n,r,i){i=He(e,t,n,r,i),i=Be(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,i))}P("N",0,0,"eraAbbr"),P("NN",0,0,"eraAbbr"),P("NNN",0,0,"eraAbbr"),P("NNNN",0,0,"eraName"),P("NNNNN",0,0,"eraNarrow"),P("y",["y",1],"yo","eraYear"),P("y",["yy",2],0,"eraYear"),P("y",["yyy",3],0,"eraYear"),P("y",["yyyy",4],0,"eraYear"),de("N",ln),de("NN",ln),de("NNN",ln),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),fe(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),de("y",oe),de("yy",oe),de("yyy",oe),de("yyyy",oe),de("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),fe(["y","yy","yyy","yyyy"],we),fe(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[we]=n._locale.eraYearOrdinalParse(e,i):t[we]=parseInt(e,10)}),P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100}),un("gggg","weekYear"),un("ggggg","weekYear"),un("GGGG","isoWeekYear"),un("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),de("G",se),de("g",se),de("GG",ee,X),de("gg",ee,X),de("GGGG",ie,K),de("gggg",ie,K),de("GGGGG",ae,Q),de("ggggg",ae,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=Y(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),P("Q",0,"Qo","quarter"),O("quarter","Q"),H("quarter",7),de("Q",J),fe("Q",function(e,t){t[be]=3*(Y(e)-1)}),P("D",["DD",2],"Do","date"),O("date","D"),H("date",9),de("D",ee),de("DD",ee,X),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),fe(["D","DD"],xe),fe("Do",function(e,t){t[xe]=Y(e.match(ee)[0])});ne=W("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),H("dayOfYear",4),de("DDD",re),de("DDDD",q),fe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Y(e)}),P("m",["mm",2],0,"minute"),O("minute","m"),H("minute",14),de("m",ee),de("mm",ee,X),fe(["m","mm"],Se);Ee=W("Minutes",!1);P("s",["ss",2],0,"second"),O("second","s"),H("second",15),de("s",ee),de("ss",ee,X),fe(["s","ss"],Fe);var hn,We=W("Seconds",!1);for(P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,function(){return 10*this.millisecond()}),P(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),P(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),P(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),P(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),P(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),H("millisecond",16),de("S",re,J),de("SS",re,X),de("SSS",re,q),hn="SSSS";hn.length<=9;hn+="S")de(hn,oe);function pn(e,t){t[ke]=Y(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")fe(hn,pn);Ze=W("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");ie=b.prototype;function mn(e){return e}ie.add=qt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=s(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||p(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Tt(),e=Ut(n,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(k(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Tt(n)))},ie.clone=function(){return new b(this)},ie.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Ut(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=N(t)){case"year":a=en(this,r)/12;break;case"month":a=en(this,r);break;case"quarter":a=en(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:j(a)},ie.endOf=function(e){var t,n;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-an(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-an(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=R(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Tt(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Tt(),e)},ie.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Tt(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Tt(),e)},ie.get=function(e){return k(this[e=N(e)])?this[e]():this},ie.invalidAt=function(){return g(this).overflow},ie.isAfter=function(e,t){return e=x(e)?e:Tt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=x(e)?e:Tt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,r){return e=x(e)?e:Tt(e),t=x(t)?t:Tt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},ie.isSame=function(e,t){var e=x(e)?e:Tt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return h(this)},ie.lang=te,ie.locale=tn,ie.localeData=nn,ie.max=Lt,ie.min=It,ie.parsingFlags=function(){return u({},g(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:U[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=B(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(k(this[e=N(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=an(t,6e4);break;case"second":t=this._d.valueOf(),t-=an(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.subtract=ue,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?R(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):k(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(e,"Z")):R(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},ie.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},ie.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},ie.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-m(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Oe,ie.isLeapYear=function(){return z(this.year())},ie.weekYear=function(e){return dn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return dn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Re,ie.daysInMonth=function(){return $e(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return je(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return je(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return je(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return je(this.isoWeekYear(),1,4)},ie.date=ne,ie.day=ie.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},ie.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ie.hour=ie.hours=nt,ie.minute=ie.minutes=Ee,ie.second=ie.seconds=We,ie.millisecond=ie.milliseconds=Ze,ie.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Ht(this);if("string"==typeof e){if(null===(e=Bt(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ht(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Xt(this,Wt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Bt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=zt,ie.isUTC=zt,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=n("dates accessor is deprecated. Use date instead.",ne),ie.months=n("months accessor is deprecated. Use month instead",Re),ie.years=n("years accessor is deprecated. Use year instead",Oe),ie.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),ie.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=$t(t))._a?(e=(t._isUTC?d:Tt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&Y(e[o])!==Y(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=_.prototype;function gn(e,t,n,r){var i=ht(),t=d().set(r,t);return i[n](t,e)}function fn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return gn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=gn(e,i,n,"month");return r}function yn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),c(t)&&(n=t,t=void 0),t||"");var i,a=ht(),o=e?a._week.dow:0,s=[];if(null!=n)return gn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=gn(t,(i+o)%7,r,"day");return s}K.calendar=function(e,t,n){return k(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(T).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=mn,K.postformat=mn,K.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return k(i)?i(e,t,n,r):i.replace(/%d/i,e)},K.pastFuture=function(e,t){return k(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,n;for(n in e)p(e,n)&&(k(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)},K.eras=function(e,t){for(var n,r=this._eras||ht("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=m(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},K.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},K.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},K.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return p(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Ie.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))||-1!==(i=ve.call(this._longMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))||-1!==(i=ve.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},K.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Ge),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return ze(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.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?Ye(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?Ye(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?Ye(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ut("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===Y(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=n("moment.lang is deprecated. Use moment.locale instead.",ut),m.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var vn=Math.abs;function wn(e,t,n,r){n=Wt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function bn(e){return e<0?Math.floor(e):Math.ceil(e)}function xn(e){return 4800*e/146097}function Cn(e){return 146097*e/4800}function Sn(e){return function(){return this.as(e)}}ae=Sn("ms"),Q=Sn("s"),J=Sn("m"),X=Sn("h"),re=Sn("d"),q=Sn("w"),qt=Sn("M"),Lt=Sn("Q"),It=Sn("y");function Fn(e){return function(){return this.isValid()?this._data[e]:NaN}}ue=Fn("milliseconds"),nt=Fn("seconds"),Ee=Fn("minutes"),We=Fn("hours"),Ze=Fn("days"),ne=Fn("months"),Oe=Fn("years");var kn=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function _n(e,t,n,r){var i=Wt(e).abs(),a=kn(i.as("s")),o=kn(i.as("m")),s=kn(i.as("h")),l=kn(i.as("d")),c=kn(i.as("M")),u=kn(i.as("w")),i=kn(i.as("y")),l=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||u<=1&&["w"]||u<n.w&&["ww",u]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}var $n=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Tn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=$n(this._milliseconds)/1e3,l=$n(this._days),c=$n(this._months),u=this.asSeconds();return u?(e=j(s/60),t=j(e/60),s%=60,e%=60,n=j(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=En(this._months)!==En(u)?"-":"",a=En(this._days)!==En(u)?"-":"",o=En(this._milliseconds)!==En(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}K=Rt.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},K.add=function(e,t){return wn(this,e,t,1)},K.subtract=function(e,t){return wn(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=N(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+xn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Cn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},K.asMilliseconds=ae,K.asSeconds=Q,K.asMinutes=J,K.asHours=X,K.asDays=re,K.asWeeks=q,K.asMonths=qt,K.asQuarters=Lt,K.asYears=It,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Y(this._months/12):NaN},K._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*bn(Cn(n)+t),n=t=0),r.milliseconds=e%1e3,e=j(e/1e3),r.seconds=e%60,e=j(e/60),r.minutes=e%60,e=j(e/60),r.hours=e%24,t+=j(e/24),n+=e=j(xn(t)),t-=bn(Cn(e)),e=j(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},K.clone=function(){return Wt(this)},K.get=function(e){return e=N(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=ue,K.seconds=nt,K.minutes=Ee,K.hours=We,K.days=Ze,K.weeks=function(){return j(this.days()/7)},K.months=ne,K.years=Oe,K.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Mn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Mn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),r=_n(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},K.toISOString=Tn,K.toString=Tn,K.toJSON=Tn,K.locale=tn,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Tn),K.lang=te,P("X",0,0,"unix"),P("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),fe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),fe("x",function(e,t,n){n._d=new Date(Y(e))}),m.version="2.29.1",e=Tt,m.fn=ie,m.min=function(){return Gt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Gt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=d,m.unix=function(e){return Tt(1e3*e)},m.months=function(e,t){return fn(e,t,"months")},m.isDate=i,m.locale=ut,m.invalid=f,m.duration=Wt,m.isMoment=x,m.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},m.parseZone=function(){return Tt.apply(null,arguments).parseZone()},m.localeData=ht,m.isDuration=At,m.monthsShort=function(e,t){return fn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},m.defineLocale=dt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=at[e]&&null!=at[e].parentLocale?at[e].set(M(at[e]._config,t)):(t=M(r=null!=(n=ct(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new _(t)).parentLocale=at[e],at[e]=t),ut(e)):null!=at[e]&&(null!=at[e].parentLocale?(at[e]=at[e].parentLocale,e===ut()&&ut(e)):null!=at[e]&&delete at[e]),at[e]},m.locales=function(){return $(at)},m.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},m.normalizeUnits=N,m.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Mn[e]&&(void 0===t?Mn[e]:(Mn[e]=t,"s"===e&&(Mn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=ie,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},m}(),ai.exports);const li={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},ci={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 ui(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function di(e,t,n){const r=e.slice();return r[101]=t[n],r}function hi(e){let n,r=!Or(e[35])&&!e[0]&&e[12],i=r&&pi(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){4097&t[0]&&(r=!Or(e[35])&&!e[0]&&e[12]),r?i?i.p(e,t):(i=pi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&K(n)}}}function pi(n){let r,i,a;return{c(){r=Q("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[62]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function mi(e){let n;return{c(){n=Q("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(n,"class","FavIconContainer"),re(n,"part","FavIconContainer")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function gi(n){let r,i,a;return{c(){r=Q("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[64]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function fi(e){let n,r,i=e[34]("gameThumbnail.new")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","GameExtraInfoLabel NewGameTag"),re(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){q(e,n,t),X(n,r)},p(e,t){8&t[1]&&i!==(i=e[34]("gameThumbnail.new")+"")&&ie(r,i)},d(e){e&&K(n)}}}function yi(e){let n,r,i=e[34]("gameThumbnail.hot")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","GameExtraInfoLabel PopularGameTag"),re(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){q(e,n,t),X(n,r)},p(e,t){8&t[1]&&i!==(i=e[34]("gameThumbnail.hot")+"")&&ie(r,i)},d(e){e&&K(n)}}}function vi(e){let n,r,i=!e[21]&&e[19]&&e[20]&&wi(e);function a(e){return e[21]&&e[18]&&e[18]===Ii?xi:e[21]&&e[18]&&e[18]===Li?bi:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=te(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),q(e,n,t),s&&s.m(e,t),q(e,r,t)},p(e,t){!e[21]&&e[19]&&e[20]?i?i.p(e,t):(i=wi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&K(n),s&&s.d(e),e&&K(r)}}}function wi(e){let n,r,i,a,o,s,l,c,u,d,h=e[34]("gameThumbnail.opens")+"",p=si.utc(e[19]).local().format(e[20])+"",m=e[44](e[33])+"",g=e[43](e[25],e[26],e[24])+"";return{c(){n=Q("div"),r=Q("div"),i=ee(h),a=te(),o=Q("span"),s=ee(p),l=te(),u=te(),re(r,"class","ClosedGame"),re(r,"part","ClosedGame"),c=new S(u),d=new S(null),re(n,"class","GameProp LiveProps"),re(n,"part","GameProp LiveProps")},m(e,t){q(e,n,t),X(n,r),X(r,i),X(r,a),X(r,o),X(o,s),X(n,l),c.m(m,n),X(n,u),d.m(g,n)},p(e,t){8&t[1]&&h!==(h=e[34]("gameThumbnail.opens")+"")&&ie(i,h),1572864&t[0]&&p!==(p=si.utc(e[19]).local().format(e[20])+"")&&ie(s,p),4&t[1]&&m!==(m=e[44](e[33])+"")&&c.p(m),117440512&t[0]&&g!==(g=e[43](e[25],e[26],e[24])+"")&&d.p(g)},d(e){e&&K(n)}}}function bi(n){let r,i,a,o,s,l,c=n[44](n[33])+"",u=n[43](n[25],n[26],n[24])+"",d=new Array(Pi),h=[];for(let e=0;e<d.length;e+=1)h[e]=ki(ui(n,d,e));return{c(){r=Q("div"),i=Q("div");for(let e=0;e<h.length;e+=1)h[e].c();a=te(),s=te(),re(i,"class","LiveIcons"),re(i,"part","LiveIcons"),o=new S(s),l=new S(null),re(r,"class",n[29]),re(r,"part",n[29])},m(e,t){q(e,r,t),X(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[65](i),X(r,a),o.m(c,r),X(r,s),l.m(u,r)},p(t,n){if(1342178304&n[0]|16384&n[1]){let e;for(d=new Array(Pi),e=0;e<d.length;e+=1){const o=ui(t,d,e);h[e]?h[e].p(o,n):(h[e]=ki(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}4&n[1]&&c!==(c=t[44](t[33])+"")&&o.p(c),117440512&n[0]&&u!==(u=t[43](t[25],t[26],t[24])+"")&&l.p(u),536870912&n[0]&&re(r,"class",t[29]),536870912&n[0]&&re(r,"part",t[29])},d(e){e&&K(r),p(h,e),n[65](null)}}}function xi(e){let n,r,i,a,o,s,l=e[44](e[33])+"",c=e[43](e[25],e[26],e[24])+"";function u(e){return e[31]?_i:Mi}let d=u(e),h=d(e);return{c(){n=Q("div"),r=Q("div"),h.c(),i=te(),o=te(),re(r,"class","LiveIcons"),re(r,"part","LiveIcons"),a=new S(o),s=new S(null),re(n,"class","GameProp LiveProps BlackjackDisplay"),re(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){q(e,n,t),X(n,r),h.m(r,null),X(n,i),a.m(l,n),X(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),h=d(e),h&&(h.c(),h.m(r,null))),4&t[1]&&l!==(l=e[44](e[33])+"")&&a.p(l),117440512&t[0]&&c!==(c=e[43](e[25],e[26],e[24])+"")&&s.p(c)},d(e){e&&K(n),h.d()}}}function Ci(e){let n;function r(e){return e[28]?Fi:Si}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&K(n)}}}function Si(e){let n,r,i=e[45]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[30][e[10][e[106]]])+"";return{c(){r=c(),n=new S(r)},m(e,t){n.m(i,e,t),q(e,r,t)},p(e,t){1073742848&t[0]&&i!==(i=e[45]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[30][e[10][e[106]]])+"")&&n.p(i)},d(e){e&&K(r),e&&n.d()}}}function Fi(e){let n,r,i,a,o,s=e[45]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[30][e[10][e[106]][0]])+"",l=e[45]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[30][e[10][e[106]][1]])+"";return{c(){n=Q("div"),i=te(),o=te(),r=new S(i),a=new S(o),re(n,"class","Double"),re(n,"part","Double")},m(e,t){q(e,n,t),r.m(s,n),X(n,i),a.m(l,n),X(n,o)},p(e,t){1073742848&t[0]&&s!==(s=e[45]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[30][e[10][e[106]][0]])+"")&&r.p(s),1073742848&t[0]&&l!==(l=e[45]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[30][e[10][e[106]][1]])+"")&&a.p(l)},d(e){e&&K(n)}}}function ki(e){let n,r=e[10]&&e[10][e[106]]&&Ci(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[10]&&e[10][e[106]]?r?r.p(e,t):(r=Ci(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&K(n)}}}function Mi(t){let i,a=t[23],o=[];for(let e=0;e<a.length;e+=1)o[e]=$i(di(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(142606336&n[0]|2048&n[1]){let e;for(a=t[23],e=0;e<a.length;e+=1){var r=di(t,a,e);o[e]?o[e].p(r,n):(o[e]=$i(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){p(o,e),e&&K(i)}}}function _i(e){let n,r,i=e[34]("gameThumbnail.full")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","FullTable"),re(n,"part","FullTable")},m(e,t){q(e,n,t),X(n,r)},p(e,t){8&t[1]&&i!==(i=e[34]("gameThumbnail.full")+"")&&ie(r,i)},d(e){e&&K(n)}}}function $i(e){let n,r,i,a,o,s,l;return{c(){n=Q("span"),r=x("svg"),i=x("path"),a=x("path"),o=te(),re(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),re(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"),re(r,"xmlns","http://www.w3.org/2000/svg"),re(r,"width","13"),re(r,"height","14"),re(r,"viewBox","0 0 13 14"),re(n,"class",s=e[42](e[27],e[101].toString())?"ClosedSeat":"OpenSeat"),re(n,"part",l=e[42](e[27],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){q(e,n,t),X(n,r),X(r,i),X(r,a),X(n,o)},p(e,t){142606336&t[0]&&s!==(s=e[42](e[27],e[101].toString())?"ClosedSeat":"OpenSeat")&&re(n,"class",s),142606336&t[0]&&l!==(l=e[42](e[27],e[101].toString())?"ClosedSeat":"OpenSeat")&&re(n,"part",l)},d(e){e&&K(n)}}}function Ei(e){let n,r;return{c(){n=Q("p"),r=ee(e[3]),re(n,"class","GameNameBelow"),re(n,"part","GameNameBelow"),re(n,"title",e[3])},m(e,t){q(e,n,t),X(n,r)},p(e,t){8&t[0]&&ie(r,e[3]),8&t[0]&&re(n,"title",e[3])},d(e){e&&K(n)}}}function Ti(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F,k,M,_,$,E,T,I,L,G,P,R,A,D=n[34]("gameThumbnail.playNow")+"",O=(n[4]||"-")+"",N=0<parseInt(n[7]),B=n[13]&&hi(n);function U(e,t){return(null==F||4099&t[0])&&(F=!(Or(e[35])||!e[0]||!e[12]||!e[1])),F?gi:((null==k||4099&t[0])&&(k=!!(Or(e[35])&&e[0]&&e[12]&&e[1])),k?mi:void 0)}let H=U(n,[-1]),z=H&&H(n),j=n[6]&&fi(n),Y=N&&yi(n),W=n[9]&&vi(n),V=n[8]&&Ei(n);return{c(){r=Q("div"),i=Q("div"),a=Q("img"),c=te(),u=Q("div"),d=Q("div"),B&&B.c(),h=te(),p=Q("p"),m=ee(n[3]),g=te(),f=Q("button"),y=ee(D),b=te(),x=Q("span"),C=ee(O),S=te(),z&&z.c(),M=te(),_=Q("div"),j&&j.c(),$=te(),Y&&Y.c(),E=te(),W&&W.c(),L=te(),V&&V.c(),this.c=Z,a.src!==(o=n[2])&&re(a,"src",o),re(a,"class",s="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),re(a,"part",l="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),re(a,"alt",""),re(a,"loading","lazy"),re(p,"class","GameInfoName"),re(p,"part","GameInfoName"),re(p,"title",n[3]),re(f,"class","GameInfoBtn"),re(f,"part","GameInfoBtn"),re(d,"class",v="GameInfo "+(n[14]?"GameHovered":"")),re(d,"part",w="GameInfo "+(n[14]?"GameHovered":"")),re(x,"class","GameInfoVendor"),re(x,"part","GameInfoVendor"),re(u,"class","GameInfoWrapper"),re(u,"part","GameInfoWrapper"),re(_,"class","GameExtraInfo"),re(_,"part","GameExtraInfo"),re(i,"class",T="GameInnerContainer "+(n[9]&&!n[21]&&n[22].value||n[9]&&n[31]?"GameInnerContainerUnavailable":"")),re(i,"part",I="GameInnerContainer "+(n[9]&&!n[21]||n[9]&&n[31]?"GameInnerContainerUnavailable":"")),re(r,"class",G=`GameContainer ${n[32]}`),re(r,"part",P=`GameContainer ${n[32]}`)},m(e,t){q(e,r,t),X(r,i),X(i,a),n[61](a),X(i,c),X(i,u),X(u,d),B&&B.m(d,null),X(d,h),X(d,p),X(p,m),X(d,g),X(d,f),X(f,y),X(u,b),X(u,x),X(x,C),X(i,S),z&&z.m(i,null),X(i,M),X(i,_),j&&j.m(_,null),X(_,$),Y&&Y.m(_,null),X(_,E),W&&W.m(_,null),X(r,L),V&&V.m(r,null),n[66](r),R||(A=[ne(f,"click",n[63]),ne(i,"mouseenter",n[40]),ne(i,"mouseleave",n[41]),ne(i,"touchstart",n[38],{passive:!0}),ne(i,"touchleave",n[39])],R=!0)},p(e,t){4&t[0]&&a.src!==(o=e[2])&&re(a,"src",o),49152&t[0]&&s!==(s="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&re(a,"class",s),49152&t[0]&&l!==(l="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&re(a,"part",l),e[13]?B?B.p(e,t):(B=hi(e),B.c(),B.m(d,h)):B&&(B.d(1),B=null),8&t[0]&&ie(m,e[3]),8&t[0]&&re(p,"title",e[3]),8&t[1]&&D!==(D=e[34]("gameThumbnail.playNow")+"")&&ie(y,D),16384&t[0]&&v!==(v="GameInfo "+(e[14]?"GameHovered":""))&&re(d,"class",v),16384&t[0]&&w!==(w="GameInfo "+(e[14]?"GameHovered":""))&&re(d,"part",w),16&t[0]&&O!==(O=(e[4]||"-")+"")&&ie(C,O),H===(H=U(e,t))&&z?z.p(e,t):(z&&z.d(1),z=H&&H(e),z&&(z.c(),z.m(i,M))),e[6]?j?j.p(e,t):(j=fi(e),j.c(),j.m(_,$)):j&&(j.d(1),j=null),128&t[0]&&(N=0<parseInt(e[7])),N?Y?Y.p(e,t):(Y=yi(e),Y.c(),Y.m(_,E)):Y&&(Y.d(1),Y=null),e[9]?W?W.p(e,t):(W=vi(e),W.c(),W.m(_,null)):W&&(W.d(1),W=null),6291968&t[0]|1&t[1]&&T!==(T="GameInnerContainer "+(e[9]&&!e[21]&&e[22].value||e[9]&&e[31]?"GameInnerContainerUnavailable":""))&&re(i,"class",T),2097664&t[0]|1&t[1]&&I!==(I="GameInnerContainer "+(e[9]&&!e[21]||e[9]&&e[31]?"GameInnerContainerUnavailable":""))&&re(i,"part",I),e[8]?V?V.p(e,t):(V=Ei(e),V.c(),V.m(r,null)):V&&(V.d(1),V=null),2&t[1]&&G!==(G=`GameContainer ${e[32]}`)&&re(r,"class",G),2&t[1]&&P!==(P=`GameContainer ${e[32]}`)&&re(r,"part",P)},i:Z,o:Z,d(e){e&&K(r),n[61](null),B&&B.d(),z&&z.d(),j&&j.d(),Y&&Y.d(),W&&W.d(),V&&V.d(),n[66](null),R=!1,J(A)}}}const Ii="blackjack",Li="roulette",Gi="doubleballroulette",Pi=5;function Ri(n,e,o){let t;Ae(n,Dr,e=>o(34,t=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}a((l=l.apply(e,o||[])).next())})};let i,a,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F,k,M,_,$,{session:E=""}=e,{userid:T=""}=e,{lang:I=""}=e,{clientstyling:L=""}=e,{clientstylingurl:G=""}=e,{favorites:P=""}=e,{gamethumbnail:R=""}=e,{gamename:A=""}=e,{gamevendor:D=""}=e,{gameid:O=""}=e,{gameisnew:N=""}=e,{gamepopularity:B=""}=e,{gamefunmode:U=!1}=e,{searchitem:H=!1}=e,{gamefavorite:z=!1}=e,{showfavoredcategory:j=!1}=e,{showgamename:Y=!1}=e,{currency:W=""}=e,{endpoint:V=""}=e,{livelobbyendpoint:Z=""}=e,{connectlive:J=""}=e,{visibilityconnect:X=""}=e,q=!1,K=!1,Q=!1,ee=window.navigator.userAgent,te="HH:mm",ne,re=[],ie="EUR",ae="";const oe=[Ii],se=[Li,Gi],le={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ce={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(li).forEach(e=>{yr(e,li[e])});const ue=e=>{e.data.type!==`AddFavoriteThumbnail_${O}`||j||o(0,z=!0),e.data.type!==`RemoveFavoriteThumbnail_${O}`||j||o(0,z=!1),"UserSessionID"===e.data.type&&(o(12,q=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(9,s=null)},de=e=>{H&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),Or(ee)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:U},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href)},he=e=>{var t="thumbnail";z?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},pe=()=>{Z&&EventSource&&!l&&D&&O&&(l=new EventSource(`${V}/encoder/lobby/updates/${D}/${O}`),l.addEventListener("message",ge))},me=()=>{l&&(l.close(),l=void 0)},ge=a=>r(void 0,void 0,void 0,function*(){const{type:e,data:t}=a;let n;if("message"===e){if(t)try{n=JSON.parse(t)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(n){const{InternalTableId:a,MessageType:e,Results:t,Seats:r,Open:i}=n;if(a)switch(e){case"SeatsUpdated":r&&Array.isArray(r)&&(o(27,f=r),o(9,s.currentOccupiedSeats=r,s),yield ve());break;case"RouletteResultsUpdated":t&&Array.isArray(t)&&(y=t,o(9,s.currentRouletteNumbers=t,s),yield ve());break;case"DoubleBallRouletteResultsUpdated":t&&Array.isArray(t)&&(v=t,o(9,s.currentDoubleBallRouletteNumbers=t,s),yield ve());break;case"TableOpened":case"TableClosed":o(21,d=i),o(9,s.isOpen=i,s),yield ve()}}}}),fe=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",ye=(e,t)=>e.some(e=>e===t);return De(()=>(window.addEventListener("message",ue,!1),()=>{window.removeEventListener("message",ue),l&&l.removeEventListener("message",ge)})),n.$$set=e=>{"session"in e&&o(46,E=e.session),"userid"in e&&o(47,T=e.userid),"lang"in e&&o(48,I=e.lang),"clientstyling"in e&&o(49,L=e.clientstyling),"clientstylingurl"in e&&o(50,G=e.clientstylingurl),"favorites"in e&&o(1,P=e.favorites),"gamethumbnail"in e&&o(2,R=e.gamethumbnail),"gamename"in e&&o(3,A=e.gamename),"gamevendor"in e&&o(4,D=e.gamevendor),"gameid"in e&&o(5,O=e.gameid),"gameisnew"in e&&o(6,N=e.gameisnew),"gamepopularity"in e&&o(7,B=e.gamepopularity),"gamefunmode"in e&&o(51,U=e.gamefunmode),"searchitem"in e&&o(52,H=e.searchitem),"gamefavorite"in e&&o(0,z=e.gamefavorite),"showfavoredcategory"in e&&o(53,j=e.showfavoredcategory),"showgamename"in e&&o(8,Y=e.showgamename),"currency"in e&&o(54,W=e.currency),"endpoint"in e&&o(55,V=e.endpoint),"livelobbyendpoint"in e&&o(56,Z=e.livelobbyendpoint),"connectlive"in e&&o(57,J=e.connectlive),"visibilityconnect"in e&&o(58,X=e.visibilityconnect)},n.$$.update=()=>{var e,t;67108864&n.$$.dirty[1]&&J&&("disconnect"===J?me():"connect"===J&&pe()),134217728&n.$$.dirty[1]&&X&&("disconnect"===X?me():"connect"===X&&"connect"===J&&pe()),n.$$.dirty[1],16875520&n.$$.dirty[1]&&E&&T&&V&&o(12,q=!0),4&n.$$.dirty[0]&&R&&i&&o(16,i.onload=()=>{o(15,Q=!0)},i),262144&n.$$.dirty[1]&&L&&(()=>{let e=document.createElement("style");e.innerHTML=L,setTimeout(()=>{a.appendChild(e)})})(),2&n.$$.dirty[0]&&P&&"true"==P&&o(13,K=!0),524288&n.$$.dirty[1]&&G&&(()=>{let e=new URL(G),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)})})})(),50331648&n.$$.dirty[1]&&V&&Z&&(()=>{let e=new URL(`${Z.split("?")[0]}`);e.searchParams.append("platform",Nr(ee)),e.searchParams.append("language",I),fetch(e).then(e=>e.json()).then(e=>{var{details:e}=e[0];o(9,s=e)})})(),512&n.$$.dirty[0]&&s&&s&&(o(21,d=s.isOpen),ne=s.betLimit||{},o(22,h=s.openHours),o(23,re=(e=>{g=e.totalSeats||7,o(27,f=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=g;e++)t.push(e);return{seats:t}})(s).seats),h&&h.value&&({value:{startTime:e,originalTimeFormat:t}}=h,o(19,u=e),o(20,te=t||te)),d&&o(18,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();ye(oe,e)?t=Ii:ye(se,e)&&(t=Li)}}return t})(s)),o(24,ie=ci[W]),o(25,p=(ne.min||{})[W]),o(26,m=(ne.max||{})[W]),y=s.currentRouletteNumbers,v=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,o(28,b=w.toLowerCase()===Gi),o(10,x=(b?v:y)||[]),o(29,C="GameProp LiveProps RoulleteProps"),o(29,C+=b?" Double":""),o(30,S=ye(se,w.toLowerCase())?ce:le),k=F,o(31,F=Array.isArray(f)&&f.length===g),s.dealer&&o(33,_=s.dealer.DealerName),$=s.numberOfPlayers,o(32,ae="ListGame"),s.isOpen&&s.currentRouletteNumbers&&o(32,ae+=" GameBackdrop"),d&&F&&p&&m&&s.currentOccupiedSeats?o(32,ae+=" GameContainerDimmed"):!1===d&&u&&o(32,ae+=" GameContainerFullyDimmed"),a&&(!k&&F?(o(32,ae+=" PulsatingRedShadow"),o(32,ae=ae.replace(" PulsatingGreenShadow",""))):k&&!F&&(o(32,ae+=" PulsatingGreenShadow"),o(32,ae=ae.replace(" PulsatingRedShadow",""))))),3072&n.$$.dirty[0]&&M&&x&&(()=>{const e="FirstElementAnimated",t=M.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))})()},[z,P,R,A,D,O,N,B,Y,s,x,M,q,K,!1,Q,i,a,c,u,te,d,h,re,ie,p,m,f,b,C,S,F,ae,_,t,ee,de,he,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},ye,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${fe(e)}-${fe(t)}`),$&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${$}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${t("gameThumbnail.dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{e=`${e} ${r}`,r=t.toString().match(/first0|second0|0/g);return 0===t||r&&0!==r.length?`\n <span\n id=${t}\n class="${e}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${e}">\n ${n}\n </span>\n `},E,T,I,L,G,U,H,j,W,V,Z,J,X,le,ce,function(e){Oe[e?"unshift":"push"](()=>{i=e,o(16,i)})},()=>he(O),()=>de(O),()=>he(O),function(e){Oe[e?"unshift":"push"](()=>{M=e,o(11,M)})},function(e){Oe[e?"unshift":"push"](()=>{a=e,o(17,a)})}]}function Ai(e,t,n){const r=e.slice();return r[73]=t[n],r[75]=n,r}function Di(e,t,n){const r=e.slice();return r[73]=t[n],r[76]=t,r[75]=n,r}function Oi(e,t,n){const r=e.slice();return r[73]=t[n],r[75]=n,r}function Ni(e){let n;function r(e){return e[11]?zi:e[21]?Hi:void 0}let i=r(e),a=i&&i(e);return{c(){n=Q("div"),a&&a.c()},m(e,t){q(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),a=i&&i(e),a&&(a.c(),a.m(n,null)))},d(e){e&&K(n),a&&a.d()}}}function Bi(e){let n,r,i;function a(e){return e[15]?sa:e[12].length?aa:oa}let o=a(e),s=o(e);function l(e){return e[12]?ca:la}let c=l(e),u=c(e);return{c(){n=Q("div"),r=Q("div"),s.c(),i=te(),u.c(),re(r,"class","CasinoGamesHeader Searched "+(Or(e[27])?"CasinoGamesHeaderMobile":"")),re(r,"part","CasinoGamesHeader Searched "+(Or(e[27])?"CasinoGamesHeaderMobile":"")),re(n,"class","CasinoGamesContainer"),re(n,"part","CasinoGamesContainer")},m(e,t){q(e,n,t),X(n,r),s.m(r,null),X(n,i),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),u=c(e),u&&(u.c(),u.m(n,null)))},d(e){e&&K(n),s.d(),u.d()}}}function Ui(e){let n;function r(e){return e[17]?pa:ha}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&K(n)}}}function Hi(n){let r,i,a,o,s,l,c,u,d=n[26]("gamesCategorySection.favorites")+"";function h(e){return e[25]?Yi:ji}let p=h(n),m=p(n);return{c(){r=Q("div"),i=Q("div"),a=Q("h3"),o=ee(d),s=te(),l=Q("ul"),m.c(),re(a,"class","CategoryName"),re(a,"part","CategoryName"),re(i,"class","CasinoGamesHeader"),re(i,"part","CasinoGamesHeader"),re(l,"class",c=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),re(l,"part",u=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),re(r,"class","CasinoGamesContainer"),re(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),n[44](a),X(r,s),X(r,l),m.m(l,null),n[45](l)},p(e,t){67108864&t[0]&&d!==(d=e[26]("gamesCategorySection.favorites")+"")&&ie(o,d),p===(p=h(e))&&m?m.p(e,t):(m.d(1),m=p(e),m&&(m.c(),m.m(l,null))),33554432&t[0]&&c!==(c=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&re(l,"class",c),33554432&t[0]&&u!==(u=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&re(l,"part",u)},d(e){e&&K(r),n[44](null),m.d(),n[45](null)}}}function zi(n){let r,i,a,o,s,l,c=n[11].name+"",u=n[13]&&ta(n);function d(e){return 0!==e[12].length?ra:na}let h=d(n),p=h(n);return{c(){r=Q("div"),i=Q("div"),a=Q("h3"),o=ee(c),s=te(),u&&u.c(),l=te(),p.c(),re(a,"class","CategoryName"),re(a,"part","CategoryName"),re(i,"class","CasinoGamesHeader"),re(i,"part","CasinoGamesHeader"),re(r,"class","CasinoGamesContainer"),re(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),n[40](a),X(i,s),u&&u.m(i,null),X(r,l),p.m(r,null)},p(e,t){2048&t[0]&&c!==(c=e[11].name+"")&&ie(o,c),e[13]?u?u.p(e,t):(u=ta(e),u.c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(r,null)))},d(e){e&&K(r),n[40](null),u&&u.d(),p.d()}}}function ji(e){let n,r,i=e[26]("gamesCategorySection.waiting")+"";return{c(){n=Q("p"),r=ee(i)},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.waiting")+"")&&ie(r,i)},d(e){e&&K(n)}}}function Yi(t){let r,i=t[25].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=ea(Ai(t,i,e));let o=null;return i.length||(o=Wi(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);q(t,r,n),o&&o.m(t,n)},p(t,n){if(262144511&n[0]){let e;for(i=t[25].items,e=0;e<i.length;e+=1){const o=Ai(t,i,e);a[e]?a[e].p(o,n):(a[e]=ea(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):(o=Wi(t),o.c(),o.m(r.parentNode,r))}},d(e){p(a,e),e&&K(r),o&&o.d(e)}}}function Wi(e){let n,r,i,a,o,s,l,c,u=e[26]("gamesCategorySection.noFavoritesTitle")+"",d=(t=e,(Or(t[27])?Zi:Vi)(e));var t;return{c(){n=Q("p"),r=x("svg"),i=x("path"),a=te(),o=Q("span"),s=ee(u),l=te(),d.c(),c=te(),P(i,"fill","white"),re(i,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),re(r,"version","1.1"),re(r,"class","UnfavoredIcon"),re(r,"part","UnfavoredIcon"),re(r,"xmlns","http://www.w3.org/2000/svg"),re(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),re(r,"x","50px"),re(r,"y","50px"),re(r,"viewBox","0 0 512.001 512.001"),P(r,"enable-background","new 0 0 512.001 512.001"),re(r,"xml:space","preserve"),re(o,"class","NoFavoriteText NoFavoriteTextHighlight"),re(o,"part","NoFavoriteText NoFavoriteTextHighlight"),re(n,"class","NoFavoriteGames "+(Or(e[27])?"NoFavoriteGamesMobile":"")),re(n,"part","NoFavoriteGames "+(Or(e[27])?"NoFavoriteGamesMobile":""))},m(e,t){q(e,n,t),X(n,r),X(r,i),X(n,a),X(n,o),X(o,s),X(n,l),d.m(n,null),X(n,c)},p(e,t){67108864&t[0]&&u!==(u=e[26]("gamesCategorySection.noFavoritesTitle")+"")&&ie(s,u),d.p(e,t)},d(e){e&&K(n),d.d()}}}function Vi(e){let n,r,i=e[26]("gamesCategorySection.noFavorites")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","NoFavoriteText"),re(n,"part","NoFavoriteText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noFavorites")+"")&&ie(r,i)},d(e){e&&K(n)}}}function Zi(e){let n,r,i=e[26]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","NoFavoriteText"),re(n,"part","NoFavoriteText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noFavoritesMobile")+"")&&ie(r,i)},d(e){e&&K(n)}}}function Ji(e){let n,r=e[73].gameModel.isFavorite&&Xi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[73].gameModel.isFavorite?r?r.p(e,t):(r=Xi(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&K(n)}}}function Xi(e){let n,r=function(e){let n,r,i;function a(e,t){return null==n&&(n=!!Or(e[27])),n?Ki:((null==r||33554432&t[0])&&(r=!!e[73].gameModel.platform.includes("PC")),r?qi:void 0)}let o=a(e,[-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),q(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&K(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&K(n)}}}function qi(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){n=Q("casino-game-thumbnail"),C(n,"class",r=""+(ga+(e[73].cellSize||"1x1"))),C(n,"part",i=""+(ga+(e[73].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"favorites",e[4]),C(n,"gamethumbnail",a=e[73].gameModel.thumbnail),C(n,"gamename",o=e[73].gameModel.name),C(n,"gamevendor",s=e[73].gameModel.vendor.name),C(n,"gameisnew",l=e[73].gameModel.isNew),C(n,"gamepopularity",c=e[73].gameModel.popularity),C(n,"gamecellsize",u=e[73].gameModel.cellSize),C(n,"gameid",d=e[73].gameModel.id),C(n,"gamefunmode",h=e[73].gameModel.hasFunMode),C(n,"gamefavorite",p=e[73].gameModel.isFavorite),C(n,"showfavoredcategory",e[21]),C(n,"connectlive",m=1==e[23][e[73].id]?"connect":"disconnect"),C(n,"visibilityconnect",e[24]),C(n,"currency",e[7]),C(n,"livelobbyendpoint",g=e[73].gameModel.details?e[73].gameModel.launchUrl:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(ga+(e[73].cellSize||"1x1")))&&C(n,"class",r),33554432&t[0]&&i!==(i=""+(ga+(e[73].cellSize||"1x1")))&&C(n,"part",i),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),16&t[0]&&C(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[73].gameModel.thumbnail)&&C(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[73].gameModel.name)&&C(n,"gamename",o),33554432&t[0]&&s!==(s=e[73].gameModel.vendor.name)&&C(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[73].gameModel.isNew)&&C(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[73].gameModel.popularity)&&C(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[73].gameModel.cellSize)&&C(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[73].gameModel.id)&&C(n,"gameid",d),33554432&t[0]&&h!==(h=e[73].gameModel.hasFunMode)&&C(n,"gamefunmode",h),33554432&t[0]&&p!==(p=e[73].gameModel.isFavorite)&&C(n,"gamefavorite",p),2097152&t[0]&&C(n,"showfavoredcategory",e[21]),41943040&t[0]&&m!==(m=1==e[23][e[73].id]?"connect":"disconnect")&&C(n,"connectlive",m),16777216&t[0]&&C(n,"visibilityconnect",e[24]),128&t[0]&&C(n,"currency",e[7]),33554432&t[0]&&g!==(g=e[73].gameModel.details?e[73].gameModel.launchUrl:"")&&C(n,"livelobbyendpoint",g),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8])},d(e){e&&K(n)}}}function Ki(e){let n,r=e[73].gameModel.platform.includes("iPad")||e[73].gameModel.platform.includes("iPhone")||e[73].gameModel.platform.includes("Android"),i=r&&Qi(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){33554432&t[0]&&(r=e[73].gameModel.platform.includes("iPad")||e[73].gameModel.platform.includes("iPhone")||e[73].gameModel.platform.includes("Android")),r?i?i.p(e,t):(i=Qi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&K(n)}}}function Qi(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){n=Q("casino-game-thumbnail"),C(n,"class",r=""+(ga+(e[73].cellSize||"1x1"))),C(n,"part",i=""+(ga+(e[73].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"favorites",e[4]),C(n,"gamethumbnail",a=e[73].gameModel.thumbnail),C(n,"gamename",o=e[73].gameModel.name),C(n,"gamevendor",s=e[73].gameModel.vendor.name),C(n,"gameisnew",l=e[73].gameModel.isNew),C(n,"gamepopularity",c=e[73].gameModel.popularity),C(n,"gamecellsize",u=e[73].gameModel.cellSize),C(n,"gameid",d=e[73].gameModel.id),C(n,"gamefunmode",h=e[73].gameModel.hasFunMode),C(n,"gamefavorite",p=e[73].gameModel.isFavorite),C(n,"showfavoredcategory",e[21]),C(n,"connectlive",m=1==e[23][e[73].id]?"connect":"disconnect"),C(n,"visibilityconnect",e[24]),C(n,"currency",e[7]),C(n,"livelobbyendpoint",g=e[73].gameModel.details?e[73].gameModel.launchUrl:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(ga+(e[73].cellSize||"1x1")))&&C(n,"class",r),33554432&t[0]&&i!==(i=""+(ga+(e[73].cellSize||"1x1")))&&C(n,"part",i),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),16&t[0]&&C(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[73].gameModel.thumbnail)&&C(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[73].gameModel.name)&&C(n,"gamename",o),33554432&t[0]&&s!==(s=e[73].gameModel.vendor.name)&&C(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[73].gameModel.isNew)&&C(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[73].gameModel.popularity)&&C(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[73].gameModel.cellSize)&&C(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[73].gameModel.id)&&C(n,"gameid",d),33554432&t[0]&&h!==(h=e[73].gameModel.hasFunMode)&&C(n,"gamefunmode",h),33554432&t[0]&&p!==(p=e[73].gameModel.isFavorite)&&C(n,"gamefavorite",p),2097152&t[0]&&C(n,"showfavoredcategory",e[21]),41943040&t[0]&&m!==(m=1==e[23][e[73].id]?"connect":"disconnect")&&C(n,"connectlive",m),16777216&t[0]&&C(n,"visibilityconnect",e[24]),128&t[0]&&C(n,"currency",e[7]),33554432&t[0]&&g!==(g=e[73].gameModel.details?e[73].gameModel.launchUrl:"")&&C(n,"livelobbyendpoint",g),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8])},d(e){e&&K(n)}}}function ea(e){let n,r=e[73].gameModel&&Ji(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[73].gameModel?r?r.p(e,t):(r=Ji(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&K(n)}}}function ta(n){let r,i,a,o,s,l,c,u,d=n[26]("gamesCategorySection.viewAll")+"",h=n[11].games.total+"";return{c(){r=Q("a"),i=Q("span"),a=ee(d),o=ee(" ("),s=ee(h),l=ee(")"),re(i,"class","CategoryLoadMore"),re(i,"part","CategoryLoadMore"),re(r,"class","CategoryNameLink"),re(r,"part","CategoryNameLink")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),X(i,l),c||(u=ne(r,"click",n[41]),c=!0)},p(e,t){67108864&t[0]&&d!==(d=e[26]("gamesCategorySection.viewAll")+"")&&ie(a,d),2048&t[0]&&h!==(h=e[11].games.total+"")&&ie(s,h)},d(e){e&&K(r),c=!1,u()}}}function na(e){let n;return{c(){n=Q("p"),n.textContent="You don't have any games in this category.",re(n,"class","NoSearchResults"),re(n,"part","NoSearchResults")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function ra(n){let r,e,i,a=n[12],o=[];for(let e=0;e<a.length;e+=1)o[e]=ia(Di(n,a,e));return{c(){r=Q("ul");for(let e=0;e<o.length;e+=1)o[e].c();re(r,"class",e=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),re(r,"part",i=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){q(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[43](r)},p(t,n){if(25170943&n[0]){let e;for(a=t[12],e=0;e<a.length;e+=1){const i=Di(t,a,e);o[e]?o[e].p(i,n):(o[e]=ia(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}35651584&n[0]&&e!==(e=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&re(r,"class",e),35651584&n[0]&&i!==(i=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&re(r,"part",i)},d(e){e&&K(r),p(o,e),n[43](null)}}}function ia(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=n[75];const v=()=>n[42](r,y),w=()=>n[42](null,y);return{c(){r=Q("casino-game-thumbnail"),C(r,"session",n[2]),C(r,"userid",n[3]),C(r,"lang",n[1]),C(r,"class",i=""+(ga+(n[73].cellSize||"1x1"))),C(r,"part",a=""+(ga+(n[73].cellSize||"1x1"))),C(r,"favorites",n[4]),C(r,"gamethumbnail",o=n[73].thumbnail),C(r,"gamename",s=n[73].name),C(r,"gamevendor",l=n[73].vendor.name),C(r,"gameisnew",c=n[73].isNew),C(r,"gamepopularity",u=n[73].popularity),C(r,"gamecellsize",d=n[73].cellSize),C(r,"gameid",h=n[73].id),C(r,"gamefunmode",p=n[73].hasFunMode),C(r,"gamefavorite",m=n[73].isFavorite),C(r,"connectlive",g=1==n[23][n[73].id]?"connect":"disconnect"),C(r,"visibilityconnect",n[24]),C(r,"currency",n[7]),C(r,"livelobbyendpoint",f=n[73].details?n[73].href:""),C(r,"clientstyling",n[5]),C(r,"clientstylingurl",n[6]),C(r,"endpoint",n[0]),C(r,"livecasino",n[8])},m(e,t){q(e,r,t),v()},p(e,t){n=e,4&t[0]&&C(r,"session",n[2]),8&t[0]&&C(r,"userid",n[3]),2&t[0]&&C(r,"lang",n[1]),4096&t[0]&&i!==(i=""+(ga+(n[73].cellSize||"1x1")))&&C(r,"class",i),4096&t[0]&&a!==(a=""+(ga+(n[73].cellSize||"1x1")))&&C(r,"part",a),16&t[0]&&C(r,"favorites",n[4]),4096&t[0]&&o!==(o=n[73].thumbnail)&&C(r,"gamethumbnail",o),4096&t[0]&&s!==(s=n[73].name)&&C(r,"gamename",s),4096&t[0]&&l!==(l=n[73].vendor.name)&&C(r,"gamevendor",l),4096&t[0]&&c!==(c=n[73].isNew)&&C(r,"gameisnew",c),4096&t[0]&&u!==(u=n[73].popularity)&&C(r,"gamepopularity",u),4096&t[0]&&d!==(d=n[73].cellSize)&&C(r,"gamecellsize",d),4096&t[0]&&h!==(h=n[73].id)&&C(r,"gameid",h),4096&t[0]&&p!==(p=n[73].hasFunMode)&&C(r,"gamefunmode",p),4096&t[0]&&m!==(m=n[73].isFavorite)&&C(r,"gamefavorite",m),8392704&t[0]&&g!==(g=1==n[23][n[73].id]?"connect":"disconnect")&&C(r,"connectlive",g),16777216&t[0]&&C(r,"visibilityconnect",n[24]),128&t[0]&&C(r,"currency",n[7]),4096&t[0]&&f!==(f=n[73].details?n[73].href:"")&&C(r,"livelobbyendpoint",f),32&t[0]&&C(r,"clientstyling",n[5]),64&t[0]&&C(r,"clientstylingurl",n[6]),1&t[0]&&C(r,"endpoint",n[0]),256&t[0]&&C(r,"livecasino",n[8]),y!==n[75]&&(w(),y=n[75],v())},d(e){e&&K(r),w()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&K(n)}}}function aa(e){let n,r,i=e[26]("gamesCategorySection.searchedItems")+"";return{c(){n=Q("h3"),r=ee(i),re(n,"class","StatusText"),re(n,"part","StatusText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.searchedItems")+"")&&ie(r,i)},d(e){e&&K(n)}}}function oa(e){let n,r,i=e[26]("gamesCategorySection.noResults")+"";return{c(){n=Q("h3"),r=ee(i),re(n,"class","StatusText"),re(n,"part","StatusText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noResults")+"")&&ie(r,i)},d(e){e&&K(n)}}}function sa(e){let n,r,i=e[26]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=Q("h3"),r=ee(i),re(n,"class","StatusText"),re(n,"part","StatusText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.recentSearchedItems")+"")&&ie(r,i)},d(e){e&&K(n)}}}function la(e){let n;return{c(){n=Q("p"),n.textContent="Waiting",re(n,"class","SearchWaiting"),re(n,"part","SearchWaiting")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function ca(t){let r,i,a=!t[18]&&ua(t),o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=da(Oi(t,o,e));return{c(){a&&a.c(),r=te(),i=Q("ul");for(let e=0;e<s.length;e+=1)s[e].c();re(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),re(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),q(e,r,t),q(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[18]?a&&(a.d(1),a=null):a?a.p(t,n):(a=ua(t),a.c(),a.m(r.parentNode,r)),70143&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){const a=Oi(t,o,e);s[e]?s[e].p(a,n):(s[e]=da(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&K(r),e&&K(i),p(s,e)}}}function ua(e){let n,r,i=e[26]("gamesCategorySection.noRecentSearch")+"";return{c(){n=Q("p"),r=ee(i),re(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Or(e[27])?"NoRecentSearchesMobile":"")),re(n,"part","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Or(e[27])?"NoRecentSearchesMobile":""))},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noRecentSearch")+"")&&ie(r,i)},d(e){e&&K(n)}}}function da(e){let n,r,i,a,o,s,l,c,u,d,h,p,m;return{c(){n=Q("casino-game-thumbnail"),C(n,"class",r=""+(ga+(e[73].cellSize||"1x1"))),C(n,"part",i=""+(ga+(e[73].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"searchitem",e[16]),C(n,"favorites",e[4]),C(n,"gamethumbnail",a=e[73].thumbnail),C(n,"gamename",o=e[73].name),C(n,"gamevendor",s=e[73].vendor.name),C(n,"gameisnew",l=e[73].isNew),C(n,"gamepopularity",c=e[73].popularity),C(n,"gamecellsize",u=e[73].cellSize),C(n,"gameid",d=e[73].id),C(n,"gamefunmode",h=e[73].hasFunMode),C(n,"gamefavorite",p=e[73].isFavorite),C(n,"currency",e[7]),C(n,"livelobbyendpoint",m=e[73].details?e[73].href:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){4096&t[0]&&r!==(r=""+(ga+(e[73].cellSize||"1x1")))&&C(n,"class",r),4096&t[0]&&i!==(i=""+(ga+(e[73].cellSize||"1x1")))&&C(n,"part",i),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),65536&t[0]&&C(n,"searchitem",e[16]),16&t[0]&&C(n,"favorites",e[4]),4096&t[0]&&a!==(a=e[73].thumbnail)&&C(n,"gamethumbnail",a),4096&t[0]&&o!==(o=e[73].name)&&C(n,"gamename",o),4096&t[0]&&s!==(s=e[73].vendor.name)&&C(n,"gamevendor",s),4096&t[0]&&l!==(l=e[73].isNew)&&C(n,"gameisnew",l),4096&t[0]&&c!==(c=e[73].popularity)&&C(n,"gamepopularity",c),4096&t[0]&&u!==(u=e[73].cellSize)&&C(n,"gamecellsize",u),4096&t[0]&&d!==(d=e[73].id)&&C(n,"gameid",d),4096&t[0]&&h!==(h=e[73].hasFunMode)&&C(n,"gamefunmode",h),4096&t[0]&&p!==(p=e[73].isFavorite)&&C(n,"gamefavorite",p),128&t[0]&&C(n,"currency",e[7]),4096&t[0]&&m!==(m=e[73].details?e[73].href:"")&&C(n,"livelobbyendpoint",m),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8])},d(e){e&&K(n)}}}function ha(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function pa(e){let n;return{c(){n=Q("p"),n.textContent="404 Error - No result found.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function ma(n){let r;function i(e){return e[10]?Ui:e[14]?Bi:Ni}let a=i(n),o=a(n);return{c(){r=Q("div"),o.c(),this.c=Z,re(r,"class","CasinoGamesCategorySectionContainer"),re(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){q(e,r,t),o.m(r,null),n[46](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&K(r),o.d(),n[46](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:18px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Ri,Ti,n,{session:46,userid:47,lang:48,clientstyling:49,clientstylingurl:50,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:51,searchitem:52,gamefavorite:0,showfavoredcategory:53,showgamename:8,currency:54,endpoint:55,livelobbyendpoint:56,connectlive:57,visibilityconnect:58,MONEY_WHEEL_COLOR_MAP:59,ROULETTE_COLOR_MAP:60},[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","currency","endpoint","livelobbyendpoint","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[46]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[47]}set userid(e){this.$set({userid:e}),N()}get lang(){return this.$$.ctx[48]}set lang(e){this.$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[49]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[50]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),N()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),N()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),N()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),N()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),N()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),N()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),N()}get gamefunmode(){return this.$$.ctx[51]}set gamefunmode(e){this.$set({gamefunmode:e}),N()}get searchitem(){return this.$$.ctx[52]}set searchitem(e){this.$set({searchitem:e}),N()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),N()}get showfavoredcategory(){return this.$$.ctx[53]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),N()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),N()}get currency(){return this.$$.ctx[54]}set currency(e){this.$set({currency:e}),N()}get endpoint(){return this.$$.ctx[55]}set endpoint(e){this.$set({endpoint:e}),N()}get livelobbyendpoint(){return this.$$.ctx[56]}set livelobbyendpoint(e){this.$set({livelobbyendpoint:e}),N()}get connectlive(){return this.$$.ctx[57]}set connectlive(e){this.$set({connectlive:e}),N()}get visibilityconnect(){return this.$$.ctx[58]}set visibilityconnect(e){this.$set({visibilityconnect:e}),N()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[59]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[60]}});const ga="game-tile-";function fa(e,t,s){let n;Ae(e,Dr,e=>s(26,n=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}a((l=l.apply(e,o||[])).next())})};let i,a,o,l,c,u,d,h,p,m,{endpoint:g=""}=t,{datasource:f=""}=t,{lang:y=""}=t,{session:v=""}=t,{userid:w=""}=t,{favorites:b=""}=t,{clientstyling:x=""}=t,{clientstylingurl:C=""}=t,{currency:S=""}=t,{categoryid:F=""}=t,{categoryindex:k=0}=t,{categorygames:M=0}=t,{livecasino:_="false"}=t,{visiblegames:$=""}=t,{once:E=!0}=t,{top:T=0}=t,{bottom:I=0}=t,{left:L=0}=t,{right:G=0}=t,P=!1,R=!0,A=window.navigator.userAgent,D=[],O=!0,N=40,B=!1,U=!1,H,z=!1,j=!1,Y=!0,W=!1,V=!1,Z=!1,J=new Array(1e4),X={},q="",K={items:[],count:0,name:""};Object.keys(ii).forEach(e=>{yr(e,ii[e])}),void 0!==document.hidden?p="hidden":void 0!==document.msHidden?p="msHidden":void 0!==document.webkitHidden&&(p="webkitHidden");let Q=new IntersectionObserver(e=>{e.forEach(n=>r(void 0,void 0,void 0,function*(){var e=n.target.gameid,t=n.target.elems_index;n.isIntersecting?(1.2*t>N&&ne(F),s(23,X[e]=1,X)):s(23,X[e]=0,X)}))});const ee=(e,r,i,t=0)=>{let a=new URL(`${g}/casino/groups/${f}/${F}`),o=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",Nr(A)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",y),window.postMessage({type:"CategoryVendors",categoryid:F},window.location.href),o&&o[F])if(o[F].length&&!1===R&&!1===W){let t="";s(17,j=!0),o[F].forEach(e=>{t+=t?`, id=${e}`:`id=${e}`}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(17,j=!1);fetch(a).then(e=>e.json()).then(e=>{s(39,m=!0),s(10,P=!1),c=e.games.total,t(e)},e=>{s(10,P=!0),console.error(e),n(e)})})},te=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(14,B=!1),R=!1,s(13,O=!1),V=!0,s(12,D=t.data.mostPlayedGames),s(11,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(14,B=!0),V=!1,s(15,U=!0),0<t.data.searchData.length?(s(12,D=t.data.searchData),s(18,Y=!0),D&&D.forEach(e=>{e.isFavorite=re(e.id)})):(s(12,D=[]),s(18,Y=!1));break;case"OutOfRecentSearches":s(14,B=!1),s(15,U=!1);break;case"SearchData":s(14,B=!0),V=!1,s(15,U=!1),s(12,D=t.data.searchData.items||[]),s(16,z=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),D&&D.forEach(e=>{e.isFavorite=re(e.id)});break;case`CategoryData_${F}`:s(14,B=!1),R=!0,s(13,O=!0),s(16,z=!1),V=!1,Z=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),ee(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(11,o=e),s(12,D=o.games.items),D&&D.forEach(e=>{e.isFavorite=re(e.id)})});break;case"CategoryChange":N=20;break;case"CategoryUpdate":s(14,B=!1),R=!1,s(16,z=!1),V=!1,s(13,O=!1),Z=!0,s(29,F=t.data.itemId),ee(0,0,N).then(e=>{s(11,o=e),o.games.items.forEach(e=>{e.isFavorite=re(e.id)}),s(12,D=o.games.items),s(13,O=!1),D.length<10&&(H=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)},500))});break;case"FavoriteUpdate":V=!1,R=!0,s(12,D=o.games.items),D.forEach(e=>{e.isFavorite=re(e.id)}),s(13,O=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items,W?R||V||window.postMessage({type:"CategoryUpdate",itemId:F},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(25,K.items=Br(e,K.items),K),s(25,K.name="Favorites",K),s(21,W=!0));break;case"UserSessionID":i=t.data.session,a=t.data.userID,"true"==b&&a&&a.length&&i&&0<i.length&&(e=>{let r={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(e,r).then(e=>e.json()).then(e=>{d=e?e.items:[],D.forEach(e=>{e.isFavorite=re(e.id)});e=D;s(12,D=void 0),s(12,D=e),t(d)}).catch(e=>{console.error(e),n(e)})})})(`${g}/player/${a}/favorites/`)}},ne=e=>{N+=1,N<=c&&ee(0,0,N).then(e=>{s(11,o=e),o.games.items.length>D.length&&(s(12,D=o.games.items),D.forEach(e=>{e.isFavorite=re(e.id)}))})},re=t=>!!d&&-1!==d.findIndex(e=>e.id==t),ie=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return De(()=>(window.addEventListener("visibilitychange",e=>{document[p]?s(24,q="disconnect"):s(24,q="connect")}),window.addEventListener("message",te,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",te),window.removeEventListener("visibilitychange",te)})),e.$$set=e=>{"endpoint"in e&&s(0,g=e.endpoint),"datasource"in e&&s(30,f=e.datasource),"lang"in e&&s(1,y=e.lang),"session"in e&&s(2,v=e.session),"userid"in e&&s(3,w=e.userid),"favorites"in e&&s(4,b=e.favorites),"clientstyling"in e&&s(5,x=e.clientstyling),"clientstylingurl"in e&&s(6,C=e.clientstylingurl),"currency"in e&&s(7,S=e.currency),"categoryid"in e&&s(29,F=e.categoryid),"categoryindex"in e&&s(31,k=e.categoryindex),"categorygames"in e&&s(32,M=e.categorygames),"livecasino"in e&&s(8,_=e.livecasino),"visiblegames"in e&&s(33,$=e.visiblegames),"once"in e&&s(34,E=e.once),"top"in e&&s(35,T=e.top),"bottom"in e&&s(36,I=e.bottom),"left"in e&&s(37,L=e.left),"right"in e&&s(38,G=e.right)},e.$$.update=()=>{512&e.$$.dirty[0]|256&e.$$.dirty[1]&&m&&J&&Z&&J.forEach((e,t)=>{e&&(e.elems_index=t,Q.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&x&&(()=>{let e=document.createElement("style");e.innerHTML=x,setTimeout(()=>{h.appendChild(e)})})(),64&e.$$.dirty[0]&&C&&(()=>{let t=document.createElement("style");fetch(new URL(C)).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)})})()},[g,y,v,w,b,x,C,S,_,J,P,o,D,O,B,U,z,j,Y,l,u,W,h,X,q,K,n,A,ie,F,f,k,M,$,E,T,I,L,G,m,function(e){Oe[e?"unshift":"push"](()=>{u=e,s(20,u)})},e=>ie(o.id,o),function(e,t){Oe[e?"unshift":"push"](()=>{J[t]=e,s(9,J)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){Oe[e?"unshift":"push"](()=>{u=e,s(20,u)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){Oe[e?"unshift":"push"](()=>{h=e,s(22,h)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},fa,ma,n,{endpoint:0,datasource:30,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:29,categoryindex:31,categorygames:32,livecasino:8,visiblegames:33,once:34,top:35,bottom:36,left:37,right:38},[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categoryindex","categorygames","livecasino","visiblegames","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),N()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$set({datasource:e}),N()}get lang(){return this.$$.ctx[1]}set lang(e){this.$set({lang:e}),N()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[3]}set userid(e){this.$set({userid:e}),N()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$set({favorites:e}),N()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get currency(){return this.$$.ctx[7]}set currency(e){this.$set({currency:e}),N()}get categoryid(){return this.$$.ctx[29]}set categoryid(e){this.$set({categoryid:e}),N()}get categoryindex(){return this.$$.ctx[31]}set categoryindex(e){this.$set({categoryindex:e}),N()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$set({categorygames:e}),N()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$set({livecasino:e}),N()}get visiblegames(){return this.$$.ctx[33]}set visiblegames(e){this.$set({visiblegames:e}),N()}get once(){return this.$$.ctx[34]}set once(e){this.$set({once:e}),N()}get top(){return this.$$.ctx[35]}set top(e){this.$set({top:e}),N()}get bottom(){return this.$$.ctx[36]}set bottom(e){this.$set({bottom:e}),N()}get left(){return this.$$.ctx[37]}set left(e){this.$set({left:e}),N()}get right(){return this.$$.ctx[38]}set right(e){this.$set({right:e}),N()}});const ya={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}}};function va(e,t,n){const r=e.slice();return r[22]=t[n],r[24]=n,r}function wa(n){let r,i,a,o,s,l,c,u=!n[4]&&ba(n),d=n[4]&&Ca(n);return{c(){r=Q("div"),i=Q("div"),a=Q("span"),a.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=te(),u&&u.c(),s=te(),d&&d.c(),re(a,"class","ModalCloseBtn"),re(a,"part","ModalCloseBtn"),re(a,"role","button"),re(i,"class","ModalContainer"),re(i,"part","ModalContainer"),re(r,"class","ModalWindow"),re(r,"part","ModalWindow")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),u&&u.m(i,null),X(i,s),d&&d.m(i,null),l||(c=ne(a,"click",n[8]),l=!0)},p(e,t){e[4]?u&&(u.d(1),u=null):u?u.p(e,t):(u=ba(e),u.c(),u.m(i,s)),e[4]?d?d.p(e,t):(d=Ca(e),d.c(),d.m(i,null)):d&&(d.d(1),d=null)},d(e){e&&K(r),u&&u.d(),d&&d.d(),l=!1,c()}}}function ba(t){let n,r,i,a,o,s,e=t[5]("randomGame.randomGameLoading")+"",l=t[1],c=[];for(let e=0;e<l.length;e+=1)c[e]=xa(va(t,l,e));return{c(){n=Q("div"),r=Q("main"),i=Q("div");for(let e=0;e<c.length;e+=1)c[e].c();a=te(),o=Q("p"),s=ee(e),re(i,"class","items"),re(i,"part","items"),P(i,"transform","translateY("+t[3]+"px)"),re(r,"class","RandomGamesSliderWrapper"),re(r,"part","RandomGamesSliderWrapper"),re(o,"class","RandomGameLoading"),re(o,"part","RandomGameLoading"),re(n,"class","RandomGameWrapper"),re(n,"part","RandomGameWrapper")},m(e,t){q(e,n,t),X(n,r),X(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);X(n,a),X(n,o),X(o,s)},p(t,n){if(2&n){let e;for(l=t[1],e=0;e<l.length;e+=1){var r=va(t,l,e);c[e]?c[e].p(r,n):(c[e]=xa(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}8&n&&P(i,"transform","translateY("+t[3]+"px)"),32&n&&e!==(e=t[5]("randomGame.randomGameLoading")+"")&&ie(s,e)},d(e){e&&K(n),p(c,e)}}}function xa(e){let n,r,i,a,o,s;return{c(){n=Q("div"),r=Q("img"),s=te(),re(r,"class","RandomGameImage"),re(r,"part","RandomGameImage"),r.src!==(i=e[22].thumbnail)&&re(r,"src",i),re(r,"alt",a=e[22].name),re(r,"title",o=e[22].name),re(n,"class","item"),re(n,"part","item")},m(e,t){q(e,n,t),X(n,r),X(n,s)},p(e,t){2&t&&r.src!==(i=e[22].thumbnail)&&re(r,"src",i),2&t&&a!==(a=e[22].name)&&re(r,"alt",a),2&t&&o!==(o=e[22].name)&&re(r,"title",o)},d(e){e&&K(n)}}}function Ca(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S=n[0].name+"",F=n[0].vendor.name+"",k=n[5]("randomGame.playNowRandomGame")+"";return{c(){r=Q("div"),i=Q("div"),a=Q("img"),c=te(),u=Q("button"),u.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',d=te(),h=Q("div"),p=Q("p"),m=ee(S),g=te(),f=Q("p"),y=ee(F),v=te(),w=Q("button"),b=ee(k),re(a,"class","RandomGameImage"),re(a,"part","RandomGameImage"),a.src!==(o=n[0].thumbnail)&&re(a,"src",o),re(a,"alt",s=n[0].name),re(a,"title",l=n[0].name),re(u,"class","RandomTryAgain"),re(u,"part","RandomTryAgain"),re(i,"class","item"),re(i,"part","item"),re(p,"class","RandomGameTitle"),re(p,"part","RandomGameTitle"),re(f,"class","RandomGameVendor"),re(f,"part","RandomGameVendor"),re(w,"class","RandomGamePlay"),re(w,"part","RandomGamePlay"),re(h,"class","RandomGameDetails"),re(h,"part","RandomGameDetails"),re(r,"class","RandomGameWrapper"),re(r,"part","RandomGameWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,c),X(i,u),X(r,d),X(r,h),X(h,p),X(p,m),X(h,g),X(h,f),X(f,y),X(h,v),X(h,w),X(w,b),x||(C=[ne(u,"click",n[13]),ne(w,"click",n[14])],x=!0)},p(e,t){1&t&&a.src!==(o=e[0].thumbnail)&&re(a,"src",o),1&t&&s!==(s=e[0].name)&&re(a,"alt",s),1&t&&l!==(l=e[0].name)&&re(a,"title",l),1&t&&S!==(S=e[0].name+"")&&ie(m,S),1&t&&F!==(F=e[0].vendor.name+"")&&ie(y,F),32&t&&k!==(k=e[5]("randomGame.playNowRandomGame")+"")&&ie(b,k)},d(e){e&&K(r),x=!1,J(C)}}}function Sa(n){let r,i,a,o,s,l,c,u,d,h,p,m=n[5]("randomGame.playRandomGame")+"",g=n[2]&&wa(n);return{c(){r=Q("div"),i=Q("div"),g&&g.c(),a=te(),o=Q("div"),s=Q("button"),l=Q("span"),c=ee(m),u=te(),d=Q("span"),d.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill-rule:evenodd;clip-rule:evenodd;fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M161,16.7c-2.7,0-5.5,0.5-8.1,1.6l-44.2,18.3C98.1,41,93,53.2,97.4,63.8l18.3,44.2 c4.4,10.6,16.6,15.7,27.2,11.3l44.2-18.3c10.6-4.4,15.7-16.6,11.3-27.2l-18.3-44.2C176.8,21.6,169.1,16.7,161,16.7L161,16.7z M161,25c4.9,0,9.4,2.9,11.4,7.8l18.3,44.2c2.7,6.5-0.3,13.7-6.8,16.3l-44.2,18.3c-6.5,2.7-13.7-0.3-16.3-6.8l-18.3-44.2 c-2.7-6.5,0.3-13.7,6.8-16.3L156.1,26C157.7,25.3,159.4,25,161,25L161,25z M127.1,54.2c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C130.3,54.8,128.7,54.2,127.1,54.2z M147.9,62.5c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C151.2,63.2,149.6,62.5,147.9,62.5z M168.8,70.8 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C172,71.5,170.4,70.8,168.8,70.8L168.8,70.8z M39,79.2c-8.1,0.1-15.8,4.9-19.1,12.9 L1.6,136.2c-4.4,10.6,0.7,22.8,11.3,27.2l44.2,18.3c10.6,4.4,22.8-0.7,27.2-11.3l18.3-44.2c4.4-10.6-0.7-22.8-11.3-27.2L47.1,80.8 C44.5,79.7,41.7,79.1,39,79.2L39,79.2z M39,87.5c1.6,0,3.3,0.3,4.9,1l44.2,18.3c6.5,2.7,9.4,9.9,6.8,16.3l-18.3,44.2 c-2.7,6.5-9.9,9.4-16.3,6.8l-44.2-18.3c-6.5-2.7-9.4-9.9-6.8-16.3l18.3-44.2C29.6,90.4,34.1,87.5,39,87.5L39,87.5z M44.7,99.4 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C47.9,100,46.3,99.4,44.7,99.4z M75.5,112.1c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4 c0-1.7-0.7-3.2-1.8-4.4C78.7,112.8,77.1,112.1,75.5,112.1z M36.7,118.6c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4 s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C39.9,119.3,38.3,118.6,36.7,118.6z M67.5,131.4c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C70.7,132,69.1,131.4,67.5,131.4z M28.7,137.9c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8 c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C32,138.5,30.4,137.9,28.7,137.9z M59.5,150.6 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C62.8,151.3,61.2,150.6,59.5,150.6z"></path></svg>',this.c=Z,re(s,"class","RandomButton"),re(s,"part","RandomButton"),re(o,"class","RandomButtonWrapper"),re(o,"part","RandomButtonWrapper"),re(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),X(r,i),g&&g.m(i,null),X(i,a),X(i,o),X(o,s),X(s,l),X(l,c),X(s,u),X(s,d),h||(p=ne(s,"click",n[15]),h=!0)},p(e,[t]){e[2]?g?g.p(e,t):(g=wa(e),g.c(),g.m(i,a)):g&&(g.d(1),g=null),32&t&&m!==(m=e[5]("randomGame.playRandomGame")+"")&&ie(c,m)},i:Z,o:Z,d(e){e&&K(r),g&&g.d(),h=!1,p()}}}function Fa(t,e,n){let r;Ae(t,Dr,e=>n(5,r=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,c=[],u="",d=!1,h=0,p=0,m=!1,g=window.navigator.userAgent;var f,y;[{withLocale:f,translations:y}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(y),_r.set(f))}),Object.keys(ya).forEach(e=>{yr(e,ya[e])});const v=()=>{n(1,i=w(i)),n(3,h=0),p=0,n(4,m=!1),n(0,u=c[Math.floor(Math.random()*c.length)]),n(2,d=!0);let e=setInterval(()=>{n(3,h-=100),p++,20==p&&(n(4,m=!0),clearInterval(e))},100)},w=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},b=()=>{window.postMessage({type:s,gameId:u.gId||u.id},window.location.href),n(2,d=!1)};return t.$$set=e=>{"endpoint"in e&&n(9,a=e.endpoint),"datasource"in e&&n(10,o=e.datasource),"gameevent"in e&&n(11,s=e.gameevent),"lang"in e&&n(12,l=e.lang)},t.$$.update=()=>{var e;4096&t.$$.dirty&&l&&(e=l,_r.set(e)),1536&t.$$.dirty&&a&&o&&(()=>{let e=new URL(`${a}/casino/games`);e.searchParams.append("platform",Nr(g)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{c=e.items,n(1,i=c.slice(0,19))})})()},[u,i,d,h,m,r,v,b,()=>{n(2,d=!1)},a,o,s,l,()=>v(),()=>b(),()=>v()]}function ka(e,t,n){const r=e.slice();return r[121]=t[n],r[123]=n,r}function Ma(n){let r,i,a,o,s,l="PC"!==Nr(n[42])&&"false"===n[10]&&n[38],c=l&&$a();function u(e){return"false"===e[10]?Ta:Ea}let d=u(n),h=d(n),p="true"==n[15]&&ja(n);function m(e){return e[18]?Xa:e[26]?Ja:e[29]?Za:e[24]?Va:e[30]?Wa:e[25]?void 0:Ya}let g=m(n),f=g&&g(n),y=n[20]&&"true"===n[13]&&eo(n);return{c(){r=Q("section"),c&&c.c(),i=te(),h.c(),a=te(),p&&p.c(),o=te(),f&&f.c(),s=te(),y&&y.c(),re(r,"class","CategoriesLobby"),re(r,"part","CategoriesLobby"),P(r,"max-width",n[12]+"px")},m(e,t){q(e,r,t),c&&c.m(r,null),X(r,i),h.m(r,null),X(r,a),p&&p.m(r,null),X(r,o),f&&f.m(r,null),X(r,s),y&&y.m(r,null),n[72](r)},p(e,t){1024&t[0]|128&t[1]&&(l="PC"!==Nr(e[42])&&"false"===e[10]&&e[38]),l?c||(c=$a(),c.c(),c.m(r,i)):c&&(c.d(1),c=null),d===(d=u(e))&&h?h.p(e,t):(h.d(1),h=d(e),h&&(h.c(),h.m(r,a))),"true"==e[15]?p?p.p(e,t):(p=ja(e),p.c(),p.m(r,o)):p&&(p.d(1),p=null),g===(g=m(e))&&f?f.p(e,t):(f&&f.d(1),f=g&&g(e),f&&(f.c(),f.m(r,s))),e[20]&&"true"===e[13]?y?y.p(e,t):(y=eo(e),y.c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&P(r,"max-width",e[12]+"px")},d(e){e&&K(r),c&&c.d(),h.d(),p&&p.d(),f&&f.d(),y&&y.d(),n[72](null)}}}function _a(e){let n,r,i=e[41]("casinoPage.500")+"";return{c(){n=Q("p"),r=ee(i),re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t),X(n,r)},p(e,t){1024&t[1]&&i!==(i=e[41]("casinoPage.500")+"")&&ie(r,i)},d(e){e&&K(n)}}}function $a(){let n;return{c(){n=Q("div"),re(n,"class","SearchBarPlaceholder"),re(n,"part","SearchBarPlaceholder")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function Ea(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b=n[41]("casinoPage.searchGames")+"",x="PC"===Nr(n[42])&&n[16].length||"PC"!==Nr(n[42]),C=!n[38]&&Ia(),S=x&&La(n),F=!n[24]&&!n[29]&&!n[38]&&!n[30]&&!n[25]&&!n[28]&&!n[26]&&!n[27]&&Ga(n);return{c(){r=Q("div"),i=Q("div"),a=Q("label"),o=ee(b),s=te(),l=Q("div"),C&&C.c(),c=te(),u=Q("input"),h=te(),S&&S.c(),g=te(),F&&F.c(),re(a,"for","search"),re(a,"class","SrOnly"),re(a,"part","SrOnly"),re(u,"id","SearchField"),re(u,"class","SearchInput"),re(u,"part","SearchInput"),re(u,"placeholder",d="PC"===Nr(n[42])?n[41]("casinoPage.search"):n[41]("casinoPage.searchMobile")),re(u,"type","search"),re(l,"class","SearchWrapper"),re(l,"part","SearchWrapper"),re(i,"class",p="SearchContainer "+(n[29]||n[24]||n[30]||n[27]?"":"SearchTruncated")),re(i,"part",m="SearchContainer "+(n[29]||n[24]||n[30]||n[27]?"":"SearchTruncated")),re(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Nr(n[42])?"CategoriesHeaderMobileSection":"")+" "+(n[38]?"SearchMobileActive":"")+" "+(n[38]||n[26]&&"PC"!==Nr(n[42])&&!no?"CategoriesHeaderSearchActive":"")+(n[32]&&n[38]?"SearchStickTop":"")),re(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Nr(n[42])?"CategoriesHeaderMobileSection":"")+" "+(n[38]?"SearchMobileActive":"")+" "+(n[38]||n[26]&&"PC"!==Nr(n[42])&&!no?"CategoriesHeaderSearchActive":"")+(n[32]&&n[38]?"SearchStickTop":"")),P(r,"top",n[32]&&n[38]?ro+"px":"")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(i,s),X(i,l),C&&C.m(l,null),X(l,c),X(l,u),n[65](u),k(u,n[16]),X(l,h),S&&S.m(l,null),X(r,g),F&&F.m(r,null),n[70](r),v||(w=[ne(u,"focus",n[44]),ne(u,"blur",n[45]),ne(u,"input",n[66]),ne(u,"focus",n[46])],v=!0)},p(e,t){1024&t[1]&&b!==(b=e[41]("casinoPage.searchGames")+"")&&ie(o,b),e[38]?C&&(C.d(1),C=null):C||(C=Ia(),C.c(),C.m(l,c)),1024&t[1]&&d!==(d="PC"===Nr(e[42])?e[41]("casinoPage.search"):e[41]("casinoPage.searchMobile"))&&re(u,"placeholder",d),65536&t[0]&&k(u,e[16]),65536&t[0]&&(x="PC"===Nr(e[42])&&e[16].length||"PC"!==Nr(e[42])),x?S?S.p(e,t):(S=La(e),S.c(),S.m(l,null)):S&&(S.d(1),S=null),1761607680&t[0]&&p!==(p="SearchContainer "+(e[29]||e[24]||e[30]||e[27]?"":"SearchTruncated"))&&re(i,"class",p),1761607680&t[0]&&m!==(m="SearchContainer "+(e[29]||e[24]||e[30]||e[27]?"":"SearchTruncated"))&&re(i,"part",m),e[24]||e[29]||e[38]||e[30]||e[25]||e[28]||e[26]||e[27]?F&&(F.d(1),F=null):F?F.p(e,t):(F=Ga(e),F.c(),F.m(r,null)),67108864&t[0]|130&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Nr(e[42])?"CategoriesHeaderMobileSection":"")+" "+(e[38]?"SearchMobileActive":"")+" "+(e[38]||e[26]&&"PC"!==Nr(e[42])&&!no?"CategoriesHeaderSearchActive":"")+(e[32]&&e[38]?"SearchStickTop":""))&&re(r,"class",f),67108864&t[0]|130&t[1]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Nr(e[42])?"CategoriesHeaderMobileSection":"")+" "+(e[38]?"SearchMobileActive":"")+" "+(e[38]||e[26]&&"PC"!==Nr(e[42])&&!no?"CategoriesHeaderSearchActive":"")+(e[32]&&e[38]?"SearchStickTop":""))&&re(r,"part",y),130&t[1]&&P(r,"top",e[32]&&e[38]?ro+"px":"")},d(e){e&&K(r),C&&C.d(),n[65](null),S&&S.d(),F&&F.d(),n[70](null),v=!1,J(w)}}}function Ta(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b=n[41]("casinoPage.searchGames")+"",x="PC"===Nr(n[42])&&n[16].length||"PC"!==Nr(n[42]),C=!n[38]&&Oa(),S=x&&Na(n),F=!n[24]&&!n[29]&&!n[38]&&!n[30]&&!n[25]&&!n[26]&&!n[28]&&!n[27]&&Ba(n);return{c(){r=Q("div"),i=Q("div"),a=Q("label"),o=ee(b),s=te(),l=Q("div"),C&&C.c(),c=te(),u=Q("input"),h=te(),S&&S.c(),g=te(),F&&F.c(),re(a,"for","search"),re(a,"class","SrOnly"),re(a,"part","SrOnly"),re(u,"id","SearchField"),re(u,"class","SearchInput"),re(u,"part","SearchInput"),re(u,"placeholder",d="PC"===Nr(n[42])?n[41]("casinoPage.search"):n[41]("casinoPage.searchMobile")),re(u,"type","search"),re(l,"class","SearchWrapper"),re(l,"part","SearchWrapper"),re(i,"class",p="SearchContainer "+(n[29]||n[24]||n[30]||n[27]?"":"SearchTruncated")),re(i,"part",m="SearchContainer "+(n[29]||n[24]||n[30]||n[27]?"":"SearchTruncated")),re(r,"class",f="CategoriesHeaderSection "+("PC"!==Nr(n[42])?"CategoriesHeaderMobileSection":"")+" "+(n[38]?"SearchMobileActive":"")+" "+(n[38]||n[26]&&"PC"!==Nr(n[42])&&!no?"CategoriesHeaderSearchActive":"")+" "+(n[32]&&n[38]?"SearchStickTop":"")),P(r,"top",n[32]&&n[38]?ro+"px":""),re(r,"part",y="CategoriesHeaderSection "+("PC"!==Nr(n[42])?"CategoriesHeaderMobileSection":"")+" "+(n[38]?"SearchMobileActive":"")+" "+(n[38]||n[26]&&"PC"!==Nr(n[42])&&!no?"CategoriesHeaderSearchActive":"")+" "+(n[32]&&n[38]?"SearchStickTop":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(i,s),X(i,l),C&&C.m(l,null),X(l,c),X(l,u),n[59](u),k(u,n[16]),X(l,h),S&&S.m(l,null),X(r,g),F&&F.m(r,null),n[64](r),v||(w=[ne(u,"focus",n[44]),ne(u,"blur",n[45]),ne(u,"input",n[60]),ne(u,"focus",n[46])],v=!0)},p(e,t){1024&t[1]&&b!==(b=e[41]("casinoPage.searchGames")+"")&&ie(o,b),e[38]?C&&(C.d(1),C=null):C||(C=Oa(),C.c(),C.m(l,c)),1024&t[1]&&d!==(d="PC"===Nr(e[42])?e[41]("casinoPage.search"):e[41]("casinoPage.searchMobile"))&&re(u,"placeholder",d),65536&t[0]&&k(u,e[16]),65536&t[0]&&(x="PC"===Nr(e[42])&&e[16].length||"PC"!==Nr(e[42])),x?S?S.p(e,t):(S=Na(e),S.c(),S.m(l,null)):S&&(S.d(1),S=null),1761607680&t[0]&&p!==(p="SearchContainer "+(e[29]||e[24]||e[30]||e[27]?"":"SearchTruncated"))&&re(i,"class",p),1761607680&t[0]&&m!==(m="SearchContainer "+(e[29]||e[24]||e[30]||e[27]?"":"SearchTruncated"))&&re(i,"part",m),e[24]||e[29]||e[38]||e[30]||e[25]||e[26]||e[28]||e[27]?F&&(F.d(1),F=null):F?F.p(e,t):(F=Ba(e),F.c(),F.m(r,null)),67108864&t[0]|130&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==Nr(e[42])?"CategoriesHeaderMobileSection":"")+" "+(e[38]?"SearchMobileActive":"")+" "+(e[38]||e[26]&&"PC"!==Nr(e[42])&&!no?"CategoriesHeaderSearchActive":"")+" "+(e[32]&&e[38]?"SearchStickTop":""))&&re(r,"class",f),130&t[1]&&P(r,"top",e[32]&&e[38]?ro+"px":""),67108864&t[0]|130&t[1]&&y!==(y="CategoriesHeaderSection "+("PC"!==Nr(e[42])?"CategoriesHeaderMobileSection":"")+" "+(e[38]?"SearchMobileActive":"")+" "+(e[38]||e[26]&&"PC"!==Nr(e[42])&&!no?"CategoriesHeaderSearchActive":"")+" "+(e[32]&&e[38]?"SearchStickTop":""))&&re(r,"part",y)},d(e){e&&K(r),C&&C.d(),n[59](null),S&&S.d(),F&&F.d(),n[64](null),v=!1,J(w)}}}function Ia(){let n;return{c(){n=Q("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',re(n,"class","SearchIcon"),re(n,"part","SearchWrapper")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function La(n){let r,i,a,o;return{c(){r=Q("span"),i=Q("div"),i.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',re(i,"class","CloseIconContainer"),re(i,"part","CloseIconContainer"),re(r,"class","PC"===Nr(n[42])?"ClearSearchButton":"ClearSearchButtonMobile"),re(r,"part","PC"===Nr(n[42])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),X(r,i),a||(o=ne(r,"click",n[67]),a=!0)},p:Z,d(e){e&&K(r),a=!1,o()}}}function Ga(e){let n,r,i=e[39]&&Pa(e),a=(!e[26]||!e[25])&&Ra(e);return{c(){n=Q("div"),i&&i.c(),r=te(),a&&a.c(),re(n,"class","FiltersButtonsContainer"),re(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),X(n,r),a&&a.m(n,null)},p(e,t){e[39]?i?i.p(e,t):(i=Pa(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[26]&&e[25]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Ra(e),a.c(),a.m(n,null))},d(e){e&&K(n),i&&i.d(),a&&a.d()}}}function Pa(n){let r,i,a,o,s,l,c,u,d,h=n[41]("casinoPage.clear")+"";return{c(){r=Q("div"),i=Q("div"),a=ee(h),o=te(),s=Q("span"),s.innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',re(s,"class","ClearIcon"),re(s,"part","ClearIcon"),re(i,"class","ClearButton"),re(i,"part","ClearButton"),re(r,"class",l="ClearFilterButtonWrapper "+(n[39]?"FiltersActive":"")),re(r,"part",c="ClearFilterButtonWrapper "+(n[39]?"FiltersActive":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),u||(d=ne(r,"click",n[68]),u=!0)},p(e,t){1024&t[1]&&h!==(h=e[41]("casinoPage.clear")+"")&&ie(a,h),256&t[1]&&l!==(l="ClearFilterButtonWrapper "+(e[39]?"FiltersActive":""))&&re(r,"class",l),256&t[1]&&c!==(c="ClearFilterButtonWrapper "+(e[39]?"FiltersActive":""))&&re(r,"part",c)},d(e){e&&K(r),u=!1,d()}}}function Ra(e){let n,r=!e[30]&&Aa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[30]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Aa(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&K(n)}}}function Aa(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f=n[41]("casinoPage.filters")+"",y=0<n[39]&&Da(n);return{c(){r=Q("div"),i=Q("div"),a=ee(f),o=te(),s=Q("div"),l=x("svg"),c=x("defs"),u=x("style"),d=ee(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=x("path"),p=te(),y&&y.c(),re(i,"class","FilterButton"),re(i,"part","FilterButton"),re(h,"class","a"),re(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"),re(h,"transform","translate(-5 -6.2)"),re(l,"xmlns","http://www.w3.org/2000/svg"),re(l,"width","20"),re(l,"height","20"),re(l,"viewBox","0 0 26 26"),re(s,"class","FilterIconContainer"),re(s,"part","FilterIconContainer"),re(r,"class","FilterButtonWrapper"),re(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(s,l),X(l,c),X(c,u),X(u,d),X(l,h),X(s,p),y&&y.m(s,null),m||(g=ne(r,"click",n[69]),m=!0)},p(e,t){1024&t[1]&&f!==(f=e[41]("casinoPage.filters")+"")&&ie(a,f),0<e[39]?y?y.p(e,t):(y=Da(e),y.c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&K(r),y&&y.d(),m=!1,g()}}}function Da(e){let n,r,i;return{c(){n=Q("div"),r=Q("span"),i=ee(e[39]),re(r,"class","NumberOfFilters"),re(r,"part","NumberOfFilters"),re(n,"class","NumberOfFiltersContainer"),re(n,"part","NumberOfFiltersContainer")},m(e,t){q(e,n,t),X(n,r),X(r,i)},p(e,t){256&t[1]&&ie(i,e[39])},d(e){e&&K(n)}}}function Oa(){let n;return{c(){n=Q("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',re(n,"class","SearchIcon"),re(n,"part","SearchIcon")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function Na(n){let r,i,a,o;return{c(){r=Q("span"),i=Q("div"),i.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',re(i,"class","CloseIconContainer"),re(i,"part","CloseIconContainer"),re(r,"class","PC"===Nr(n[42])?"ClearSearchButton":"ClearSearchButtonMobile"),re(r,"part","PC"===Nr(n[42])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),X(r,i),a||(o=ne(r,"click",n[61]),a=!0)},p:Z,d(e){e&&K(r),a=!1,o()}}}function Ba(e){let n,r,i=e[39]&&Ua(e),a=(!e[26]||!e[25])&&Ha(e);return{c(){n=Q("div"),i&&i.c(),r=te(),a&&a.c(),re(n,"class","FiltersButtonsContainer"),re(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),X(n,r),a&&a.m(n,null)},p(e,t){e[39]?i?i.p(e,t):(i=Ua(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[26]&&e[25]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Ha(e),a.c(),a.m(n,null))},d(e){e&&K(n),i&&i.d(),a&&a.d()}}}function Ua(n){let r,i,a,o,s,l,c,u=n[41]("casinoPage.clear")+"";return{c(){r=Q("div"),i=Q("div"),a=ee(u),o=te(),s=Q("span"),s.innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',re(s,"class","ClearIcon"),re(s,"part","ClearIcon"),re(i,"class","ClearButton"),re(i,"part","ClearButton"),re(r,"class","ClearFilterButtonWrapper"),re(r,"part","ClearFilterButtonWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),l||(c=ne(r,"click",n[62]),l=!0)},p(e,t){1024&t[1]&&u!==(u=e[41]("casinoPage.clear")+"")&&ie(a,u)},d(e){e&&K(r),l=!1,c()}}}function Ha(e){let n,r=!e[30]&&za(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[30]?r&&(r.d(1),r=null):r?r.p(e,t):(r=za(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&K(n)}}}function za(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w=n[41]("casinoPage.filters")+"";return{c(){r=Q("div"),i=Q("div"),a=ee(w),o=te(),s=Q("div"),l=x("svg"),c=x("defs"),u=x("style"),d=ee(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=x("path"),p=te(),m=Q("div"),g=Q("span"),f=ee(n[39]),re(i,"class","FilterButton"),re(i,"part","FilterButton"),re(h,"class","a"),re(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"),re(h,"transform","translate(-5 -6.2)"),re(l,"xmlns","http://www.w3.org/2000/svg"),re(l,"width","20"),re(l,"height","20"),re(l,"viewBox","0 0 26 26"),re(g,"class","NumberOfFilters"),re(g,"part","NumberOfFilters"),re(m,"class","NumberOfFiltersContainer"),re(m,"part","NumberOfFiltersContainer"),re(s,"class","FilterIconContainer"),re(s,"part","FilterIconContainer"),re(r,"class","FilterButtonWrapper"),re(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(s,l),X(l,c),X(c,u),X(u,d),X(l,h),X(s,p),X(s,m),X(m,g),X(g,f),y||(v=ne(r,"click",n[63]),y=!0)},p(e,t){1024&t[1]&&w!==(w=e[41]("casinoPage.filters")+"")&&ie(a,w),256&t[1]&&ie(f,e[39])},d(e){e&&K(r),y=!1,v()}}}function ja(e){let n;return{c(){n=Q("casino-random-game"),C(n,"datasource",e[1]),C(n,"endpoint",e[0]),C(n,"lang",e[3]),C(n,"gameevent",e[17])},m(e,t){q(e,n,t)},p(e,t){2&t[0]&&C(n,"datasource",e[1]),1&t[0]&&C(n,"endpoint",e[0]),8&t[0]&&C(n,"lang",e[3]),131072&t[0]&&C(n,"gameevent",e[17])},d(e){e&&K(n)}}}function Ya(e){let n;return{c(){n=Q("casino-games-category-section"),C(n,"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"favorites",e[11]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"session",e[4]),C(n,"categoryid",e[35]),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[14]),C(n,"visiblegames",e[9])},m(e,t){q(e,n,t)},p(e,t){32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),2048&t[0]&&C(n,"favorites",e[11]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),16&t[0]&&C(n,"session",e[4]),16&t[1]&&C(n,"categoryid",e[35]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),16384&t[0]&&C(n,"livecasino",e[14]),512&t[0]&&C(n,"visiblegames",e[9])},d(e){e&&K(n)}}}function Wa(e){let n;function r(e){return e[31]?Ka:qa}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&K(n)}}}function Va(n){let r,i,a,o;return{c(){r=Q("casino-games-category-section"),C(r,"session",n[4]),C(r,"userid",n[5]),C(r,"endpoint",n[0]),C(r,"datasource",n[1]),C(r,"lang",n[3]),C(r,"currency",n[2]),C(r,"favorites",n[11]),C(r,"categoryid","FAVORITES"),C(r,"class","CategoryContainer"),C(r,"clientstyling",n[6]),C(r,"clientstylingurl",n[7]),C(r,"livecasino",n[14]),C(r,"visiblegames",n[9])},m(e,t){q(e,r,t),a||(o=l(i=n[43].call(null,r,(n[0],n[21],n[22],n[21]))),a=!0)},p(e,t){16&t[0]&&C(r,"session",e[4]),32&t[0]&&C(r,"userid",e[5]),1&t[0]&&C(r,"endpoint",e[0]),2&t[0]&&C(r,"datasource",e[1]),8&t[0]&&C(r,"lang",e[3]),4&t[0]&&C(r,"currency",e[2]),2048&t[0]&&C(r,"favorites",e[11]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),16384&t[0]&&C(r,"livecasino",e[14]),512&t[0]&&C(r,"visiblegames",e[9]),i&&f(i.update)&&6291457&t[0]&&i.update.call(null,(e[0],e[21],e[22],e[21]))},d(e){e&&K(r),a=!1,o()}}}function Za(t){let i,a=t[34],o=[];for(let e=0;e<a.length;e+=1)o[e]=Qa(ka(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(19455&n[0]|8&n[1]){let e;for(a=t[34],e=0;e<a.length;e+=1){var r=ka(t,a,e);o[e]?o[e].p(r,n):(o[e]=Qa(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){p(o,e),e&&K(i)}}}function Ja(n){let r,i,a,o;return{c(){r=Q("casino-games-category-section"),C(r,"endpoint",n[0]),C(r,"datasource",n[1]),C(r,"lang",n[3]),C(r,"currency",n[2]),C(r,"session",n[4]),C(r,"userid",n[5]),C(r,"categoryid","Search"),C(r,"favorites",n[11]),C(r,"categoryindex","0"),C(r,"class","CategoryContainer"),C(r,"clientstyling",n[6]),C(r,"clientstylingurl",n[7]),C(r,"livecasino",n[14]),C(r,"visiblegames",n[9])},m(e,t){q(e,r,t),a||(o=l(i=n[51].call(null,r,n[33])),a=!0)},p(e,t){1&t[0]&&C(r,"endpoint",e[0]),2&t[0]&&C(r,"datasource",e[1]),8&t[0]&&C(r,"lang",e[3]),4&t[0]&&C(r,"currency",e[2]),16&t[0]&&C(r,"session",e[4]),32&t[0]&&C(r,"userid",e[5]),2048&t[0]&&C(r,"favorites",e[11]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),16384&t[0]&&C(r,"livecasino",e[14]),512&t[0]&&C(r,"visiblegames",e[9]),i&&f(i.update)&&4&t[1]&&i.update.call(null,e[33])},d(e){e&&K(r),a=!1,o()}}}function Xa(e){let n,r,i=e[41]("casinoPage.loading")+"";return{c(){n=Q("p"),r=ee(i),re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t),X(n,r)},p(e,t){1024&t[1]&&i!==(i=e[41]("casinoPage.loading")+"")&&ie(r,i)},d(e){e&&K(n)}}}function qa(e){let n;return{c(){n=Q("casino-games-category-section"),C(n,"session",e[4]),C(n,"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"favorites",e[11]),C(n,"categoryid","MOSTPLAYED"),C(n,"categoryindex","1"),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[14]),C(n,"visiblegames",e[9])},m(e,t){q(e,n,t)},p(e,t){16&t[0]&&C(n,"session",e[4]),32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),2048&t[0]&&C(n,"favorites",e[11]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),16384&t[0]&&C(n,"livecasino",e[14]),512&t[0]&&C(n,"visiblegames",e[9])},d(e){e&&K(n)}}}function Ka(e){let n,r,i=e[41]("casinoPage.noGamesPlayed")+"";return{c(){n=Q("p"),r=ee(i),re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t),X(n,r)},p(e,t){1024&t[1]&&i!==(i=e[41]("casinoPage.noGamesPlayed")+"")&&ie(r,i)},d(e){e&&K(n)}}}function Qa(n){let r,i,a,o,s;return{c(){r=Q("casino-games-category-section"),C(r,"session",n[4]),C(r,"userid",n[5]),C(r,"endpoint",n[0]),C(r,"datasource",n[1]),C(r,"lang",n[3]),C(r,"currency",n[2]),C(r,"categoryid",i=n[121]),C(r,"categoryindex",n[123]),C(r,"categorygames","9"),C(r,"favorites",n[11]),C(r,"class","CategoryContainer"),P(r,"background-color",n[123]%2!=0?n[8]:"transparent"),C(r,"clientstyling",n[6]),C(r,"clientstylingurl",n[7]),C(r,"livecasino",n[14]),C(r,"visiblegames",n[9])},m(e,t){q(e,r,t),o||(s=l(a=n[50].call(null,r,n[121])),o=!0)},p(e,t){n=e,16&t[0]&&C(r,"session",n[4]),32&t[0]&&C(r,"userid",n[5]),1&t[0]&&C(r,"endpoint",n[0]),2&t[0]&&C(r,"datasource",n[1]),8&t[0]&&C(r,"lang",n[3]),4&t[0]&&C(r,"currency",n[2]),8&t[1]&&i!==(i=n[121])&&C(r,"categoryid",i),2048&t[0]&&C(r,"favorites",n[11]),256&t[0]&&P(r,"background-color",n[123]%2!=0?n[8]:"transparent"),64&t[0]&&C(r,"clientstyling",n[6]),128&t[0]&&C(r,"clientstylingurl",n[7]),16384&t[0]&&C(r,"livecasino",n[14]),512&t[0]&&C(r,"visiblegames",n[9]),a&&f(a.update)&&8&t[1]&&a.update.call(null,n[121])},d(e){e&&K(r),o=!1,s()}}}function eo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g=n[41]("casinoPage.break")+"",f=n[41]("casinoPage.breakButton")+"";return{c(){r=Q("div"),i=Q("div"),a=x("svg"),o=x("path"),s=te(),l=Q("p"),c=ee(g),u=te(),d=Q("button"),h=ee(f),re(o,"stroke-linecap","round"),re(o,"stroke-linejoin","round"),re(o,"stroke-width","2"),re(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),re(a,"class","w-1 h-1"),re(a,"part","w-1 h-1"),re(a,"fill","none"),re(a,"stroke","white"),re(a,"width","34px"),re(a,"height","34px"),re(a,"viewBox","0 0 24 24"),re(a,"xmlns","http://www.w3.org/2000/svg"),re(i,"class","PanicText"),re(i,"part","PanicText"),re(d,"class","PanicButton"),re(d,"part","PanicButton"),R(d,"PanicButtonAnimation",n[23]),re(r,"class","PanicSection "+("PC"!==Nr(n[42])?"PanicSectionMobile":"")),re(r,"part","PanicSection "+("PC"!==Nr(n[42])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(i,s),X(i,l),X(l,c),X(r,u),X(r,d),X(d,h),p||(m=ne(d,"click",n[71]),p=!0)},p(e,t){1024&t[1]&&g!==(g=e[41]("casinoPage.break")+"")&&ie(c,g),1024&t[1]&&f!==(f=e[41]("casinoPage.breakButton")+"")&&ie(h,f),8388608&t[0]&&R(d,"PanicButtonAnimation",e[23])},d(e){e&&K(r),p=!1,m()}}}function to(e){let n;function r(e){return e[19]?_a:Ma}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&K(n)}}}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}.RandomButtonWrapper .RandomButton svg{width:35px;height:35px}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Fa,Sa,n,{endpoint:9,datasource:10,gameevent:11,lang:12}),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang"]}get endpoint(){return this.$$.ctx[9]}set endpoint(e){this.$set({endpoint:e}),N()}get datasource(){return this.$$.ctx[10]}set datasource(e){this.$set({datasource:e}),N()}get gameevent(){return this.$$.ctx[11]}set gameevent(e){this.$set({gameevent:e}),N()}get lang(){return this.$$.ctx[12]}set lang(e){this.$set({lang:e}),N()}});let no=!1;const ro=0;function io(e,t,a){let n;Ae(e,Dr,e=>a(41,n=e));let r,{endpoint:o=""}=t,{datasource:s=""}=t,{currency:i=""}=t,{lang:l=""}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{categorybackground:p=""}=t,{visiblegames:m}=t,{alternativesearch:g="false"}=t,{favorites:f=""}=t,{mostplayed:y=""}=t,{containermaxwidth:v="1300"}=t,{lobbyid:w="casinodefault"}=t,{haspanicbutton:b="false"}=t,{mostplayedrounds:x=""}=t,{activecategory:C=""}=t,{livecasino:S="false"}=t,{playrandomgame:F="false"}=t,k=window.navigator.userAgent;r=Or(k)?"OpenGameFrame":"ShowGameModal";let M,_,$,E,T,I,L,G,P,R,A,D,O,N=!1,B=!1,U=!1,H="",z=!1,j=!1,Y=!1,W=!0,V=!1,Z=!1,J=!1,X=!1,q=!0,K=!1,Q=!1,ee=!1,te=!0,ne=[],re="",ie,ae,oe=[],se=!1,le=[],ce=0,ue="",de=!1;var he,pe;[{withLocale:he,translations:pe}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(pe),_r.set(he))}),Object.keys(ri).forEach(e=>{yr(e,ri[e])});const me=e=>{if(e.data)switch(e.data.type){case"UserSessionID":a(22,_=e.data.session),a(21,M=e.data.userID),M&&M.length&&_&&0<_.length&&ge(o,_,M);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":we(`${o}/player/${M}/favorites`,_,M,e.data.id,e.data.triggerFactor);break;case"SetFavoredGame":ve(`${o}/player/${M}/favorites`,_,M,e.data.id,e.data.triggerFactor);break;case"GetFavoredGame":M&&M.length&&_&&0<_.length&&ge(o,_,M);break;case"SearchedItemClicked":Fe(e.data.gameId);break;case"UpdateFilters":$e(e.data.vendorsArray),ke();break;case"ClearFilters":_e(e.data.vendorsArray),ke();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:ue},window.location.href),ke();break;case"CategoryVendors":ue=e.data.categoryid,ke();break;case"GameHovered":Z=!0;break;case"GameBlur":Z=!1}};let ge=(e,t,n)=>{"true"==f&&c&&n&&fetch(`${e}/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(R=e,R&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:R},window.location.href),ye(R.items)),R)).then(e=>(j&&be(),e)).catch(e=>{console.error(e)})},fe=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(R=e,j&&be(),R&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:R},window.location.href),R)).catch(e=>{console.error(e)})};const ye=(e=[])=>(oe=[],0<e.length&&e.forEach(e=>{oe.push(e.id)}),oe);let ve=(t,n,e,r,i)=>{oe.includes(r)||oe.push(r);var a={items:oe},a={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(t,a).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),fe(t,n)}).catch(e=>{console.error("Err",e)})};const we=(t,n,e,r,i)=>{oe.includes(r)&&(oe=oe.filter(e=>e!=r)),fetch(`${t}/${r}`,{method:"DELETE",headers:{"X-SessionID":n}}).then(e=>e.json()).then(e=>{window.postMessage({type:`RemoveFavoriteThumbnail_${r}`},window.location.href),fe(t,n)})},be=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:R},window.location.href)},xe=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},Ce=()=>{if(o&&s&&l&&(a(28,X=!0),re.length<2)){let e=xe(`searchedGamesWds_${w}`),t=[];e&&(t=e.split(",")),1!=q||W||(a(27,J=q),a(29,q=!1));let n=[],r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(`${o}/casino/games/${t[r]}`);e.searchParams.append("language",l),e.searchParams.append("datasource",s),e.searchParams.append("platform",Nr(k)),n.push((e=>new Promise((t,n)=>{a(18,N=!0),fetch(e).then(e=>e.json()).then(e=>{a(18,N=!1),t(e[0])}).catch(e=>{a(19,B=!0),a(18,N=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{a(33,E=e),Ee({},E)})}else Ee({},{})}},Se=()=>{a(28,X=!1),re.length<2&&!Z&&(a(26,V=!1),a(33,E=[]),a(25,Y=!1),a(29,q=J),a(27,J=!1),!1===q&&window.postMessage({type:"CategoryUpdate",itemId:T},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},Fe=e=>{le=xe(`searchedGamesWds_${w}`),le=le?le.split(","):[],-1===le.indexOf(e)&&(le.push(e),e=le.join(","),document.cookie=`searchedGamesWds_${w}=`+e)},ke=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&ue&&(e[ue]?a(39,ce=e[ue].length):a(39,ce=0))},Me=()=>{a(58,te=!0),a(16,re=""),a(33,E=[]),a(25,Y=!1),Se()},_e=e=>{window.postMessage({type:"AvailableVendors",venArray:e},window.location.href)},$e=e=>{window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href)},Ee=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Te=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},Ie=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Le=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:R},window.location.href)},Ge=()=>{a(23,z=!0),$=setTimeout(()=>{a(23,z=!1),window.postMessage({type:"PanicButtonClicked"},window.location.href)},3e3),clearTimeout($)},Pe=()=>{L&&(G=L.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>G||130<G?a(32,ee=!0):a(32,ee=!1)},Re=()=>{a(35,T=C),(e=>{switch(a(26,V=!1),a(16,re=""),ie=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":a(29,q=!0),a(24,j=!1),a(35,T=""),a(30,K=!1);break;case"FAVORITES":a(29,q=!1),a(24,j=!0),a(30,K=!1),a(35,T="");break;case"MOSTPLAYED":"true"==y&&(a(18,N=!0),(e=>{let t=new URL(`${o}/player/${M}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order);var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),O=S?t:t.href,new Promise((t,n)=>{fetch(O).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Most Played",id:"MOSTPLAYED"}},window.location.href),window.postMessage({type:"MostPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})})})({limit:100,device:Nr(k),rounds:10}).then(e=>{if(a(18,N=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(`${o}/casino/games/${e.gameId}`);t.searchParams.append("datasource",s),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{ae=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:ae},window.location.href)})}else a(31,Q=!0)}),a(35,T=""),a(29,q=!1),a(24,j=!1),a(30,K=!0));break;default:a(29,q=!1),a(24,j=!1),a(30,K=!1),a(35,T=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:T},window.location.href)},500)}})({data:{itemId:T}})};return De(()=>(window.addEventListener("scroll",Pe,!1),window.addEventListener("message",me,!1),()=>{window.removeEventListener("scroll",Pe),window.removeEventListener("message",me)})),e.$$set=e=>{"endpoint"in e&&a(0,o=e.endpoint),"datasource"in e&&a(1,s=e.datasource),"currency"in e&&a(2,i=e.currency),"lang"in e&&a(3,l=e.lang),"session"in e&&a(4,c=e.session),"userid"in e&&a(5,u=e.userid),"clientstyling"in e&&a(6,d=e.clientstyling),"clientstylingurl"in e&&a(7,h=e.clientstylingurl),"categorybackground"in e&&a(8,p=e.categorybackground),"visiblegames"in e&&a(9,m=e.visiblegames),"alternativesearch"in e&&a(10,g=e.alternativesearch),"favorites"in e&&a(11,f=e.favorites),"mostplayed"in e&&a(53,y=e.mostplayed),"containermaxwidth"in e&&a(12,v=e.containermaxwidth),"lobbyid"in e&&a(54,w=e.lobbyid),"haspanicbutton"in e&&a(13,b=e.haspanicbutton),"mostplayedrounds"in e&&a(55,x=e.mostplayedrounds),"activecategory"in e&&a(56,C=e.activecategory),"livecasino"in e&&a(14,S=e.livecasino),"playrandomgame"in e&&a(15,F=e.playrandomgame)},e.$$.update=()=>{if(65536&e.$$.dirty[0]&&re&&(2<=re.length?a(58,te=!0):a(58,te=!1)),65547&e.$$.dirty[0]|201326592&e.$$.dirty[1])if(2<=re.length){a(26,V=!0);let e=new URL(`${o}/casino/games`);e.searchParams.append("datasource",s),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Nr(k)),e.searchParams.append("language",l),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${re}`),r=e,new Promise((t,n)=>{a(18,N=!0),fetch(r).then(e=>e.json()).then(e=>{a(18,N=!1),t(e)}).catch(e=>{a(19,B=!0),a(18,N=!1),console.error(e),n(e)})}).then(e=>{a(33,E=e),Le(0,e)})}else te||Ce(),W&&a(57,W=!1);var r;8&e.$$.dirty[0]|33554432&e.$$.dirty[1]&&l&&C&&Re(),49&e.$$.dirty[0]&&c&&u&&o&&(a(20,U=!0),a(22,_=c),a(21,M=u),M&&M.length&&_&&0<_.length&&ge(o,_,M)),1035&e.$$.dirty[0]&&o&&s&&l&&g&&(()=>{if(o||(H="Endpoint is missing! Please provide a valid endpointURL.",a(19,B=!0),a(18,N=!1),console.error(H)),s||(H="Datasource is missing! Please provide a valid datasource.",a(19,B=!0),a(18,N=!1),console.error(H)),l&&2==l.length||(H="Language is missing! Please provide a valid language (alpha2code)",a(19,B=!0),a(18,N=!1),console.error(H)),!B){a(18,N=!0),"true"==f&&ge(o,_,M),t=l,_r.set(t);let e=new URL(`${o}/casino/groups/${s}`);e.searchParams.append("language",l),e.searchParams.append("platform",Nr(k)),r=e,new Promise((t,n)=>{a(18,N=!0),fetch(r).then(e=>e.json()).then(e=>{a(18,N=!1),t(e)}).catch(e=>{a(19,B=!0),a(18,N=!1),console.error(e),n(e)})}).then(e=>{e&&(P=e.items.filter(e=>0<e.games.total),a(34,ne=P.map(e=>e.id)),a(18,N=!1))}),"PC"!==Nr(k)&&(A.addEventListener("focusin",e=>{a(38,se=!0)}),A.addEventListener("focusout",e=>{a(38,se=!1)})),ke(),L=I,L&&(G=L.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var r,t})(),8&e.$$.dirty[0]&&l&&(de&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:T},window.location.href)},500),de=!1),64&e.$$.dirty[0]&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,D.appendChild(e)})(),128&e.$$.dirty[0]&&h&&(()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,D&&setTimeout(()=>{D.appendChild(t)},1)})})()},[o,s,i,l,c,u,d,h,p,m,g,f,v,b,S,F,re,r,N,B,U,M,_,z,j,Y,V,J,X,q,K,Q,ee,E,ne,T,I,A,se,ce,D,n,k,ge,Ce,Se,()=>{window.postMessage({type:"scroll"},window.location.href)},Me,Te,Ie,(e,t)=>{ue=t,window.postMessage({type:`CategoryData_${t}`,categoryId:t,visiblegames:m,receivedFavoriteResults:R},window.location.href)},Le,Ge,y,w,x,C,W,te,function(e){Oe[e?"unshift":"push"](()=>{A=e,a(37,A)})},function(){re=this.value,a(16,re)},()=>Me(),()=>Ie(),()=>{Te()},function(e){Oe[e?"unshift":"push"](()=>{I=e,a(36,I)})},function(e){Oe[e?"unshift":"push"](()=>{A=e,a(37,A)})},function(){re=this.value,a(16,re)},()=>Me(),()=>Ie(),()=>{Te()},function(e){Oe[e?"unshift":"push"](()=>{I=e,a(36,I)})},()=>Ge(),function(e){Oe[e?"unshift":"push"](()=>{D=e,a(40,D)})}]}function ao(e,{delay:t=0,duration:n=400,easing:r=g}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function oo(n){let r,i,a,o,s,t,l,c,u;return{c(){r=Q("div"),i=Q("div"),i.innerHTML="<slot></slot>",a=te(),o=Q("span"),o.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',re(i,"class","ModalContainer"),re(i,"part","ModalContainer"),re(o,"class","ModalCloseBtn"),re(o,"part","ModalCloseBtn"),re(o,"role","button"),re(r,"class","ModalWindow"),re(r,"part","ModalWindow"),re(r,"id","Modal"),A(()=>n[13].call(r))},m(e,t){q(e,r,t),X(r,i),X(r,a),X(r,o),n[12](r),s=m(r,n[13].bind(r)),l=!0,c||(u=ne(o,"click",n[6]),c=!0)},p(e,t){n=e},i(e){l||(A(()=>{t=t||oe(r,ao,{transitionDuration:n[1]},!0),t.run(1)}),l=!0)},o(e){t=t||oe(r,ao,{transitionDuration:n[1]},!1),t.run(0),l=!1},d(e){e&&K(r),n[12](null),s(),e&&t&&t.end(),c=!1,u()}}}function so(n){let r,i,a=n[0]&&oo(n);return{c(){r=Q("div"),a&&a.c(),this.c=Z,re(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),a&&a.m(r,null),n[14](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&W(a,1)):(a=oo(e),a.c(),W(a,1),a.m(r,null)):a&&(j(),V(a,1,1,()=>{a=null}),Y())},i(e){i||(W(a),i=!0)},o(e){V(a),i=!1},d(e){e&&K(r),a&&a.d(),n[14](null)}}}function lo(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,m=!1;const g=e=>{var t;"ModalClosed"==e.data.type&&n(0,s=!1),"ShowGameModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(0,s=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(m=e.data.detailsObtained)},f=e=>{var t;m&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return De(()=>(window.addEventListener("message",g,!1),window.addEventListener("resize",f,!1),()=>{window.removeEventListener("message",g),window.removeEventListener("resize",g)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(7,c=e.session),"userid"in e&&n(8,u=e.userid),"clientstyling"in e&&n(9,d=e.clientstyling),"clientstylingurl"in e&&n(10,h=e.clientstylingurl),"endpoint"in e&&n(11,p=e.endpoint)},e.$$.update=()=>{2432&e.$$.dirty&&c&&u&&p&&Ur(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),512&e.$$.dirty&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{r.appendChild(e)})})(),1024&e.$$.dirty&&h&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},[s,l,r,i,void 0,void 0,()=>{n(0,s=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},c,u,d,h,p,function(e){Oe[e?"unshift":"push"](()=>{r=e,n(2,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(4,a),n(5,o)},function(e){Oe[e?"unshift":"push"](()=>{i=e,n(3,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicButton{border-radius:2px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:48px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{transition:all 3000ms ease-in;background-color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-white, #FFFFFF)}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:22px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},io,to,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:53,containermaxwidth:12,lobbyid:54,haspanicbutton:13,mostplayedrounds:55,activecategory:56,livecasino:14,playrandomgame:15},[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino","playrandomgame"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),N()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$set({datasource:e}),N()}get currency(){return this.$$.ctx[2]}set currency(e){this.$set({currency:e}),N()}get lang(){return this.$$.ctx[3]}set lang(e){this.$set({lang:e}),N()}get session(){return this.$$.ctx[4]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[5]}set userid(e){this.$set({userid:e}),N()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$set({categorybackground:e}),N()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$set({visiblegames:e}),N()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$set({alternativesearch:e}),N()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$set({favorites:e}),N()}get mostplayed(){return this.$$.ctx[53]}set mostplayed(e){this.$set({mostplayed:e}),N()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$set({containermaxwidth:e}),N()}get lobbyid(){return this.$$.ctx[54]}set lobbyid(e){this.$set({lobbyid:e}),N()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$set({haspanicbutton:e}),N()}get mostplayedrounds(){return this.$$.ctx[55]}set mostplayedrounds(e){this.$set({mostplayedrounds:e}),N()}get activecategory(){return this.$$.ctx[56]}set activecategory(e){this.$set({activecategory:e}),N()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$set({livecasino:e}),N()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$set({playrandomgame:e}),N()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},lo,so,n,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11}),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$set({show:e}),N()}get duration(){return this.$$.ctx[1]}set duration(e){this.$set({duration:e}),N()}get session(){return this.$$.ctx[7]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[8]}set userid(e){this.$set({userid:e}),N()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$set({endpoint:e}),N()}});const co={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{gamePage:{signIn:"SE CONNECTER",register:"S'INSCRIRE",deposit:"DÉPOSER",playForFun:"JOUER POUR LE PLAISIR",playNow:"JOUE MAINTENANT",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{gamePage:{signIn:"INICIAR SESIÓN",register:"REGISTRARSE",deposit:"INGRESAR",playForFun:"JUEGA POR DIVERSION",playNow:"REPRODUCIR AHORA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{gamePage:{signIn:"Login",register:"REGISTAR",deposit:"Depósito",playForFun:"Play for fun",playNow:"Comece agora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}};function uo(){"undefined"==typeof window||window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n=window.cstmNativeBridge.EVENTS[e];if(n){if("function"==typeof t){var r=window.cstmNativeBridge.eventListeners[n];return window.cstmNativeBridge.eventListeners[n]=function(){delete window.cstmNativeBridge.eventListeners[n],r&&r.apply(this,arguments),t.apply(this,arguments)},!0}console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];if("function"!=typeof t)return console.error("Native Bridge `"+e+"` method is not defined"),!1;e=Array.prototype.slice.call(arguments,1);return t.apply(this,e),!0};var ho=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},po=function(e,...t){try{return uo(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function mo(n){let r,i=n[9]&&yo(n);return{c(){r=Q("div"),i&&i.c(),re(r,"class","CasinoGamePageContainer"),re(r,"part","CasinoGamePageContainer")},m(e,t){q(e,r,t),i&&i.m(r,null),n[79](r)},p(e,t){e[9]?i?i.p(e,t):(i=yo(e),i.c(),i.m(r,null)):i&&(i.d(1),i=null)},d(e){e&&K(r),i&&i.d(),n[79](null)}}}function go(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function fo(e){let n;return{c(){n=Q("p"),n.textContent="Loading, please wait ...",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function yo(e){let n;function r(e){return e[20]?xo:e[4]?bo:e[10]?wo:vo}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&K(n)}}}function vo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x=n[8].name+"",C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";return{c(){r=Q("div"),i=Q("h3"),a=ee(x),o=te(),s=Q("img"),c=te(),u=Q("div"),d=Q("button"),h=ee(C),p=te(),m=Q("button"),g=ee(S),f=te(),y=Q("p"),v=ee(n[2]),s.src!==(l=n[8].thumbnail)&&re(s,"src",l),re(s,"class","GameThumbnail"),re(s,"part","GameThumbnail"),re(s,"alt","game thumbnail"),re(s,"loading","lazy"),re(d,"class","LoginButton"),re(d,"part","LoginButton"),re(m,"class","RegisterButton"),re(m,"part","RegisterButton"),re(u,"class","ButtonsContainer"),re(u,"part","ButtonsContainer"),re(r,"class","GameDetails"),re(r,"part","GameDetails")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(r,c),X(r,u),X(u,d),X(d,h),X(u,p),X(u,m),X(m,g),X(r,f),X(r,y),X(y,v),w||(b=[ne(d,"click",n[77]),ne(m,"click",n[78])],w=!0)},p(e,t){256&t[0]&&x!==(x=e[8].name+"")&&ie(a,x),256&t[0]&&s.src!==(l=e[8].thumbnail)&&re(s,"src",l),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ie(h,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ie(g,S),4&t[0]&&ie(v,e[2])},d(e){e&&K(r),w=!1,J(b)}}}function wo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";function F(e){return e[15]?So:Co}let k=F(n),M=k(n);return{c(){r=Q("div"),i=Q("div"),a=Q("iframe"),s=te(),l=Q("div"),c=Q("div"),u=Q("button"),d=ee(C),h=te(),p=Q("button"),m=ee(S),g=te(),f=Q("p"),y=Q("span"),v=ee(n[2]),w=te(),M.c(),re(a,"title","Games"),re(a,"class","GamesContainer"),re(a,"part","GamesContainer"),re(a,"aria-hidden","false"),a.src!==(o=n[8].launchUrl)&&re(a,"src",o),re(u,"class","LoginButton"),re(u,"part","LoginButton"),re(p,"class","RegisterButton"),re(p,"part","RegisterButton"),re(c,"class","ButtonsContainer"),re(c,"part","ButtonsContainer"),re(f,"class","Time"),re(f,"part","Time"),re(l,"class","BottomGame"),re(l,"part","BottomGame"),re(i,"id","IframeGame"),re(i,"part","IframeGame"),P(i,"width",n[15]?"100%":n[18]),P(i,"height",n[15]?"100%":n[19]),P(i,"max-width",n[15]||!n[12]?"none":n[8].width?Math.floor(n[8].width)+"px":"1280px"),P(i,"max-height",n[15]||!n[12]?"none":n[8].height?Math.floor(n[8].height)+100+"px":"720px"),re(r,"id","IframeContainer"),re(r,"part","IframeContainer"),P(r,"width",n[16]),P(r,"height",n[17]),R(r,"FullsScreenLayout",n[15])},m(e,t){q(e,r,t),X(r,i),X(i,a),n[68](a),X(i,s),X(i,l),X(l,c),X(c,u),X(u,d),X(c,h),X(c,p),X(p,m),X(l,g),X(l,f),X(f,y),X(y,v),n[71](f),X(l,w),M.m(l,null),n[74](l),n[75](i),n[76](r),b||(x=[ne(u,"click",n[69]),ne(p,"click",n[70])],b=!0)},p(e,t){256&t[0]&&a.src!==(o=e[8].launchUrl)&&re(a,"src",o),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ie(d,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ie(m,S),4&t[0]&&ie(v,e[2]),k===(k=F(e))&&M?M.p(e,t):(M.d(1),M=k(e),M&&(M.c(),M.m(l,null))),294912&t[0]&&P(i,"width",e[15]?"100%":e[18]),557056&t[0]&&P(i,"height",e[15]?"100%":e[19]),37120&t[0]&&P(i,"max-width",e[15]||!e[12]?"none":e[8].width?Math.floor(e[8].width)+"px":"1280px"),37120&t[0]&&P(i,"max-height",e[15]||!e[12]?"none":e[8].height?Math.floor(e[8].height)+100+"px":"720px"),65536&t[0]&&P(r,"width",e[16]),131072&t[0]&&P(r,"height",e[17]),32768&t[0]&&R(r,"FullsScreenLayout",e[15])},d(e){e&&K(r),n[68](null),n[71](null),M.d(),n[74](null),n[75](null),n[76](null),b=!1,J(x)}}}function bo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x=n[24]("gamePage.deposit")+"",C="true"===n[1]&&Fo(n);function S(e){return e[15]?Mo:ko}let F=S(n),k=F(n);return{c(){r=Q("div"),i=Q("div"),a=Q("iframe"),s=te(),l=Q("div"),c=Q("button"),u=ee(x),d=te(),h=Q("p"),p=Q("span"),m=ee(n[2]),g=te(),C&&C.c(),f=te(),k.c(),re(a,"title","Games"),re(a,"id","IframeGame"),re(a,"class","GamesContainer"),re(a,"part","GamesContainer"),re(a,"aria-hidden","false"),a.src!==(o=n[8].launchUrl)&&re(a,"src",o),re(c,"class","DepositButton"),re(c,"part","DepositButton"),re(h,"class","Time"),re(h,"part","Time"),re(l,"class",y="BottomGame "+(n[1]?"BottomGamePanicSection":"")),re(l,"part",v="BottomGame "+(n[1]?"BottomGamePanicSection":"")),re(i,"id","IframeGame"),re(i,"part","IframeGame"),P(i,"width",n[15]?"100%":n[18]),P(i,"height",n[15]?"100%":n[19]),P(i,"max-width",n[15]?"none":n[8].width?n[8].width+"px":"1280px"),P(i,"max-height",n[15]?"none":n[8].height?Math.floor(n[8].height)+100+"px":"720px"),re(r,"id","IframeContainer"),re(r,"part","IframeContainer"),P(r,"width",n[16]),P(r,"height",n[17]),R(r,"FullsScreenLayout",n[15])},m(e,t){q(e,r,t),X(r,i),X(i,a),n[59](a),X(i,s),X(i,l),X(l,c),X(c,u),X(l,d),X(l,h),X(h,p),X(p,m),n[61](h),X(l,g),C&&C.m(l,null),X(l,f),k.m(l,null),n[65](l),n[66](i),n[67](r),w||(b=ne(c,"click",n[60]),w=!0)},p(e,t){256&t[0]&&a.src!==(o=e[8].launchUrl)&&re(a,"src",o),16777216&t[0]&&x!==(x=e[24]("gamePage.deposit")+"")&&ie(u,x),4&t[0]&&ie(m,e[2]),"true"===e[1]?C?C.p(e,t):(C=Fo(e),C.c(),C.m(l,f)):C&&(C.d(1),C=null),F===(F=S(e))&&k?k.p(e,t):(k.d(1),k=F(e),k&&(k.c(),k.m(l,null))),2&t[0]&&y!==(y="BottomGame "+(e[1]?"BottomGamePanicSection":""))&&re(l,"class",y),2&t[0]&&v!==(v="BottomGame "+(e[1]?"BottomGamePanicSection":""))&&re(l,"part",v),294912&t[0]&&P(i,"width",e[15]?"100%":e[18]),557056&t[0]&&P(i,"height",e[15]?"100%":e[19]),33024&t[0]&&P(i,"max-width",e[15]?"none":e[8].width?e[8].width+"px":"1280px"),33024&t[0]&&P(i,"max-height",e[15]?"none":e[8].height?Math.floor(e[8].height)+100+"px":"720px"),65536&t[0]&&P(r,"width",e[16]),131072&t[0]&&P(r,"height",e[17]),32768&t[0]&&R(r,"FullsScreenLayout",e[15])},d(e){e&&K(r),n[59](null),n[61](null),C&&C.d(),k.d(),n[65](null),n[66](null),n[67](null),w=!1,b()}}}function xo(e){let n;function r(e){return e[4]?Eo:e[11]?$o:_o}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&K(n)}}}function Co(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[73]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function So(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[72]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function Fo(n){let r,i,a,o,s,l,c,u,d,h,p,m=n[24]("gamePage.break")+"",g=n[24]("gamePage.breakButton")+"";return{c(){r=Q("div"),i=x("svg"),a=x("path"),o=te(),s=Q("p"),l=ee(m),c=te(),u=Q("button"),d=ee(g),re(a,"stroke-linecap","round"),re(a,"stroke-linejoin","round"),re(a,"stroke-width","2"),re(a,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),re(i,"class","w-1 h-1"),re(i,"part","w-1 h-1"),re(i,"fill","none"),re(i,"stroke","white"),re(i,"width","34px"),re(i,"height","34px"),re(i,"viewBox","0 0 24 24"),re(i,"xmlns","http://www.w3.org/2000/svg"),re(u,"class","Button"),re(u,"part","Button"),re(r,"class","PanicSection"),re(r,"part","PanicSection")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(s,l),X(r,c),X(r,u),X(u,d),h||(p=ne(u,"click",n[62]),h=!0)},p(e,t){16777216&t[0]&&m!==(m=e[24]("gamePage.break")+"")&&ie(l,m),16777216&t[0]&&g!==(g=e[24]("gamePage.breakButton")+"")&&ie(d,g)},d(e){e&&K(r),h=!1,p()}}}function ko(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[64]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function Mo(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[63]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function _o(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x=n[8].name+"",C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";return{c(){r=Q("div"),i=Q("h3"),a=ee(x),o=te(),s=Q("img"),c=te(),u=Q("div"),d=Q("button"),h=ee(C),p=te(),m=Q("button"),g=ee(S),f=te(),y=Q("p"),v=ee(n[2]),s.src!==(l=n[8].thumbnail)&&re(s,"src",l),re(s,"class","GameThumbnail"),re(s,"part","GameThumbnail"),re(s,"alt","game thumbnail"),re(s,"loading","lazy"),re(d,"class","LoginButton"),re(d,"part","LoginButton"),re(m,"class","RegisterButton"),re(m,"part","RegisterButton"),re(u,"class","ButtonsContainer"),re(u,"part","ButtonsContainer"),re(r,"class","GameDetails"),re(r,"part","GameDetails")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(r,c),X(r,u),X(u,d),X(d,h),X(u,p),X(u,m),X(m,g),X(r,f),X(r,y),X(y,v),w||(b=[ne(d,"click",n[57]),ne(m,"click",n[58])],w=!0)},p(e,t){256&t[0]&&x!==(x=e[8].name+"")&&ie(a,x),256&t[0]&&s.src!==(l=e[8].thumbnail)&&re(s,"src",l),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ie(h,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ie(g,S),4&t[0]&&ie(v,e[2])},d(e){e&&K(r),w=!1,J(b)}}}function $o(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F=n[8].name+"",k=n[24]("gamePage.signIn")+"",M=n[24]("gamePage.register")+"",_=n[24]("gamePage.playForFun")+"";return{c(){r=Q("div"),i=Q("h3"),a=ee(F),o=te(),s=Q("img"),c=te(),u=Q("div"),d=Q("button"),h=ee(k),p=te(),m=Q("button"),g=ee(M),f=te(),y=Q("button"),v=ee(_),w=te(),b=Q("p"),x=ee(n[2]),s.src!==(l=n[8].thumbnail)&&re(s,"src",l),re(s,"class","GameThumbnail"),re(s,"part","GameThumbnail"),re(s,"alt","game thumbnail"),re(s,"loading","lazy"),re(d,"class","LoginButton"),re(d,"part","LoginButton"),re(m,"class","RegisterButton"),re(m,"part","RegisterButton"),re(u,"class","ButtonsContainer"),re(u,"part","ButtonsContainer"),re(y,"class","FullWidthButton"),re(y,"part","FullWidthButton"),re(r,"class","GameDetails"),re(r,"part","GameDetails")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(r,c),X(r,u),X(u,d),X(d,h),X(u,p),X(u,m),X(m,g),X(r,f),X(r,y),X(y,v),X(r,w),X(r,b),X(b,x),C||(S=[ne(d,"click",n[54]),ne(m,"click",n[55]),ne(y,"click",n[56])],C=!0)},p(e,t){256&t[0]&&F!==(F=e[8].name+"")&&ie(a,F),256&t[0]&&s.src!==(l=e[8].thumbnail)&&re(s,"src",l),16777216&t[0]&&k!==(k=e[24]("gamePage.signIn")+"")&&ie(h,k),16777216&t[0]&&M!==(M=e[24]("gamePage.register")+"")&&ie(g,M),16777216&t[0]&&_!==(_=e[24]("gamePage.playForFun")+"")&&ie(v,_),4&t[0]&&ie(x,e[2])},d(e){e&&K(r),C=!1,J(S)}}}function Eo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S=n[8].name+"",F=n[24]("gamePage.deposit")+"",k=n[24]("gamePage.playNow")+"",M="true"==n[0]&&To(n),_="true"===n[1]&&Go(n);return{c(){M&&M.c(),r=te(),i=Q("div"),a=Q("h3"),o=ee(S),s=te(),l=Q("img"),u=te(),d=Q("div"),h=Q("button"),p=ee(F),m=te(),g=Q("button"),f=ee(k),y=te(),_&&_.c(),v=te(),w=Q("p"),b=ee(n[2]),l.src!==(c=n[8].thumbnail)&&re(l,"src",c),re(l,"class","GameThumbnail"),re(l,"part","GameThumbnail"),re(l,"alt","game thumbnail"),re(l,"loading","lazy"),re(h,"class","DepositButton"),re(h,"part","DepositButton"),re(g,"class","PlayNowButton"),re(g,"part","PlayNowButton"),re(d,"class","ButtonsContainer"),re(d,"part","ButtonsContainer"),re(i,"class","GameDetails"),re(i,"part","GameDetails")},m(e,t){M&&M.m(e,t),q(e,r,t),q(e,i,t),X(i,a),X(a,o),X(i,s),X(i,l),X(i,u),X(i,d),X(d,h),X(h,p),X(d,m),X(d,g),X(g,f),X(i,y),_&&_.m(i,null),X(i,v),X(i,w),X(w,b),x||(C=[ne(h,"click",n[51]),ne(g,"click",n[52])],x=!0)},p(e,t){"true"==e[0]?M?M.p(e,t):(M=To(e),M.c(),M.m(r.parentNode,r)):M&&(M.d(1),M=null),256&t[0]&&S!==(S=e[8].name+"")&&ie(o,S),256&t[0]&&l.src!==(c=e[8].thumbnail)&&re(l,"src",c),16777216&t[0]&&F!==(F=e[24]("gamePage.deposit")+"")&&ie(p,F),16777216&t[0]&&k!==(k=e[24]("gamePage.playNow")+"")&&ie(f,k),"true"===e[1]?_?_.p(e,t):(_=Go(e),_.c(),_.m(i,v)):_&&(_.d(1),_=null),4&t[0]&&ie(b,e[2])},d(e){M&&M.d(e),e&&K(r),e&&K(i),_&&_.d(),x=!1,J(C)}}}function To(e){let n;function r(e){return e[8].isFavored?Lo:Io}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&K(n)}}}function Io(n){let r,i,a;return{c(){r=Q("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[50]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function Lo(n){let r,i,a;return{c(){r=Q("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[49]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function Go(n){let r,i,a,o,s,l,c,u,d,h,p,m,g=n[24]("gamePage.break")+"",f=n[24]("gamePage.breakButton")+"";return{c(){r=Q("div"),i=Q("div"),a=x("svg"),o=x("path"),s=te(),l=Q("p"),c=ee(g),u=te(),d=Q("button"),h=ee(f),re(o,"stroke-linecap","round"),re(o,"stroke-linejoin","round"),re(o,"stroke-width","2"),re(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),re(a,"class","w-1 h-1"),re(a,"part","w-1 h-1"),re(a,"fill","none"),re(a,"stroke","white"),re(a,"width","34px"),re(a,"height","34px"),re(a,"viewBox","0 0 24 24"),re(a,"xmlns","http://www.w3.org/2000/svg"),re(i,"class","PanicText"),re(i,"part","PanicText"),re(d,"class","Button"),re(d,"part","Button"),R(d,"PanicButtonAnimation",n[7]),re(r,"class","PanicSection "+("PC"!==Nr(n[25])?"PanicSectionMobile":"")),re(r,"part","PanicSection "+("PC"!==Nr(n[25])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(i,s),X(i,l),X(l,c),X(r,u),X(r,d),X(d,h),p||(m=ne(d,"click",n[53]),p=!0)},p(e,t){16777216&t[0]&&g!==(g=e[24]("gamePage.break")+"")&&ie(c,g),16777216&t[0]&&f!==(f=e[24]("gamePage.breakButton")+"")&&ie(h,f),128&t[0]&&R(d,"PanicButtonAnimation",e[7])},d(e){e&&K(r),p=!1,m()}}}function Po(e){let n;function r(e){return e[6]?fo:e[5]?go:mo}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&K(n)}}}function Ro(t,e,a){let n;Ae(t,Dr,e=>a(24,n=e));let r,i,o,s,l,c,u,d,h,p,m,g,f,y,v,{endpoint:w=""}=e,{lang:b=""}=e,{session:x=""}=e,{userid:C=""}=e,{clientstyling:S=""}=e,{clientstylingurl:F=""}=e,{favorites:k=""}=e,{loginurl:M=""}=e,{registerurl:_=""}=e,{depositurl:$=""}=e,{loginevent:E=""}=e,{registerevent:T=""}=e,{depositevent:I=""}=e,{clockformat:L=""}=e,{haspanicbutton:G="false"}=e,{playforfun:P="true"}=e,{checksession:R="true"}=e,{integratedgameframe:A="false"}=e,{gameid:D=""}=e,O=!1,N=!1,B=!0,U=!1,H=!1,z=!1,j=!0,Y=!1,W=window.navigator.userAgent,V=!1,Z=[],J=!1;var X,q;[{withLocale:X,translations:q}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(q),_r.set(X))}),Object.keys(co).forEach(e=>{yr(e,co[e])});const K=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",b),o&&0<o.length&&(a(4,O=!0),t.searchParams.append("_sid",o),t.searchParams.append("funMode","false")),e.launchUrl=t,e},Q=(e,t)=>{let n=new URL(`${w}/casino/games/${e}`);n.searchParams.append("language",b),n.searchParams.append("expand","vendor"),a(12,j=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{a(8,s=K(e[0])),s.launchUrl&&(a(9,U=!0),a(10,H="true"==P&&s.hasFunMode),a(11,z="true"==P&&s.hasAnonymousFunMode))},e=>{console.error("There was an error",e),a(5,N=!0)}).then(()=>{l&&(j?ie:re)()}),window.postMessage({type:"RequestModalSize"},window.location.href)},ee=e=>{switch(e.data.type){case"GameLaunchID":Q(e.data.gameId,!0);break;case"LaunchGameFrame":ne(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":setTimeout(()=>{a(9,U="true"===A)},500);break;case"UserSessionID":if(0<e.data.session.length){o=e.data.session,e.data.userID,a(4,O=!0);let t=setInterval(()=>{if(s){let e=new URL(s.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",o),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",b),a(8,s.launchUrl=e,s),clearInterval(t)}},250)}break;case"ModalSize":a(16,u=e.data.modalContainerSize.modalWidth),a(17,d=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(Z=e.data.receivedFavoriteResults.items)}},te=e=>{s.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(8,s.isFavored=!1,s)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(8,s.isFavored=!0,s))},ne=(e,r)=>{let t=new URL(`${w}/casino/games/${e}`);t.searchParams.append("language",b),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;a(8,s=K(e[0])),s.launchUrl&&a(8,s.isFavored=(t=s,e=r,a(11,z="true"==P&&t.hasAnonymousFunMode),a(10,H="true"==P&&e),a(9,U=!0),n=t.id,-1!==Z.findIndex(e=>e.id==n)),s)})},re=()=>{a(16,u=s.width),a(17,d=s.height),a(18,m=s.width),a(19,g=s.height),h=s.width,p=s.height},ie=()=>{let e=getComputedStyle(l),t=getComputedStyle(c),n=parseInt(e.width.slice(0,-2)),r=parseInt(e.height.slice(0,-2));var i=s.width/(s.height+100);h=parseInt(t.width),p=parseInt(t.height),n/i>r-y.clientHeight-v.clientHeight?(p=r-y.clientHeight-v.clientHeight,h=r*i):(h=n,p=n/i),a(18,m=h?Math.floor(h)+"px":"1280px"),a(19,g=p?Math.floor(p)+"px":"720px")},ae=e=>{var t;J?(t={url:e.launchUrl,id:e.id,vendor:e.vendor.name},po("OPEN_GAME",t)):"false"==A?window.open(e.launchUrl,"_blank"):"true"==A&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:e.id},window.location.href)},oe=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:U},window.location.href),U&&(l&&ie(),window.addEventListener("ModalSize",ee,!1))},se=()=>{E&&(window.postMessage({type:E,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),M&&(window.location=M)},le=()=>{T&&(window.postMessage({type:T,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),_&&(window.location=_)},ce=()=>{I&&(window.postMessage({type:I},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)};function ue(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!Y||de()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ue,!1),document.addEventListener("mozfullscreenchange",ue,!1),document.addEventListener("fullscreenchange",ue,!1),document.addEventListener("MSFullscreenChange",ue,!1));const de=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(Y?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),a(15,Y=!1)):(l.requestFullscreen?l.requestFullscreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.msRequestFullscreen&&l.msRequestFullscreen(),a(15,Y=!0)))},he=setInterval(()=>{a(2,r=L?si().format(L):si().format("LTS"))},100);return De(()=>(window.addEventListener("resize",oe,!1),window.addEventListener("message",ee,!1),J=!!ho(W),()=>{window.removeEventListener("resize",oe),window.removeEventListener("message",ee),clearInterval(he)})),t.$$set=e=>{"endpoint"in e&&a(32,w=e.endpoint),"lang"in e&&a(33,b=e.lang),"session"in e&&a(34,x=e.session),"userid"in e&&a(35,C=e.userid),"clientstyling"in e&&a(36,S=e.clientstyling),"clientstylingurl"in e&&a(37,F=e.clientstylingurl),"favorites"in e&&a(0,k=e.favorites),"loginurl"in e&&a(38,M=e.loginurl),"registerurl"in e&&a(39,_=e.registerurl),"depositurl"in e&&a(40,$=e.depositurl),"loginevent"in e&&a(41,E=e.loginevent),"registerevent"in e&&a(42,T=e.registerevent),"depositevent"in e&&a(43,I=e.depositevent),"clockformat"in e&&a(44,L=e.clockformat),"haspanicbutton"in e&&a(1,G=e.haspanicbutton),"playforfun"in e&&a(45,P=e.playforfun),"checksession"in e&&a(46,R=e.checksession),"integratedgameframe"in e&&a(47,A=e.integratedgameframe),"gameid"in e&&a(48,D=e.gameid)},t.$$.update=()=>{var e;4&t.$$.dirty[1]&&b&&(e=b,_r.set(e),a(6,B=!1),a(20,V=Or(W))),131078&t.$$.dirty[1]&&w&&D&&b&&Q(D),26&t.$$.dirty[1]&&x&&C&&w&&("true"==R?Ur(w,x).then(e=>{o=e.Guid,e.UserID,a(4,O=!0)},e=>{a(4,O=!1),console.error("err on session",e)}):o=x),32&t.$$.dirty[1]&&S&&(()=>{let e=document.createElement("style");e.innerHTML=S,f.appendChild(e)})(),64&t.$$.dirty[1]&&F&&(()=>{let t=document.createElement("style");var e;F&&(e=new URL(F),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,f&&setTimeout(()=>{f.appendChild(t)},1)}))})()},[k,G,r,i,O,N,B,!1,s,U,H,z,j,l,c,Y,u,d,m,g,V,f,y,v,n,W,te,ae,se,le,ce,de,w,b,x,C,S,F,M,_,$,E,T,I,L,P,R,A,D,()=>te(s.id),()=>te(s.id),()=>ce(),()=>{ae(s)},()=>panicAction(),()=>se(),()=>le(),()=>{ae(s)},()=>se(),()=>le(),function(e){Oe[e?"unshift":"push"](()=>{i=e,a(3,i)})},()=>ce(),function(e){Oe[e?"unshift":"push"](()=>{v=e,a(23,v)})},()=>panicAction(),()=>de(),()=>de(),function(e){Oe[e?"unshift":"push"](()=>{y=e,a(22,y)})},function(e){Oe[e?"unshift":"push"](()=>{c=e,a(14,c)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,a(13,l)})},function(e){Oe[e?"unshift":"push"](()=>{i=e,a(3,i)})},()=>se(),()=>le(),function(e){Oe[e?"unshift":"push"](()=>{v=e,a(23,v)})},()=>de(),()=>de(),function(e){Oe[e?"unshift":"push"](()=>{y=e,a(22,y)})},function(e){Oe[e?"unshift":"push"](()=>{c=e,a(14,c)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,a(13,l)})},()=>se(),()=>le(),function(e){Oe[e?"unshift":"push"](()=>{f=e,a(21,f)})}]}function Ao(n){let r,i,a,o,s,l,c,u,t,d,h,p;return{c(){r=Q("div"),i=Q("div"),a=Q("span"),a.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=te(),s=Q("slot"),re(a,"class","FilterModalCloseBtn"),re(a,"part","FilterModalCloseBtn"),re(a,"role","button"),re(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),re(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),re(r,"class","FilterModalWindow"),re(r,"id","FilterModal"),re(r,"part","FilterModalWindow"),A(()=>n[14].call(r))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),n[13](r),u=m(r,n[14].bind(r)),d=!0,h||(p=ne(a,"click",n[7]),h=!0)},p(e,t){n=e,(!d||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&re(i,"class",l),(!d||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&re(i,"part",c)},i(e){d||(A(()=>{t=t||oe(r,ao,{transitionDuration:n[1]},!0),t.run(1)}),d=!0)},o(e){t=t||oe(r,ao,{transitionDuration:n[1]},!1),t.run(0),d=!1},d(e){e&&K(r),n[13](null),u(),e&&t&&t.end(),h=!1,p()}}}function Do(n){let r,i,a=n[0]&&Ao(n);return{c(){r=Q("div"),a&&a.c(),this.c=Z,re(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),a&&a.m(r,null),n[15](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&W(a,1)):(a=Ao(e),a.c(),W(a,1),a.m(r,null)):a&&(j(),V(a,1,1,()=>{a=null}),Y())},i(e){i||(W(a),i=!0)},o(e){V(a),i=!1},d(e){e&&K(r),a&&a.d(),n[15](null)}}}function Oo(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,m=window.navigator.userAgent,g=!1;const f=()=>{n(0,s=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(f(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))},v=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return De(()=>(window.addEventListener("message",y,!1),Or(m)&&n(2,g=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(8,c=e.session),"userid"in e&&n(9,u=e.userid),"clientstyling"in e&&n(10,d=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint)},e.$$.update=()=>{4864&e.$$.dirty&&c&&u&&p&&Ur(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{r.appendChild(e)})})(),2048&e.$$.dirty&&h&&v(),2049&e.$$.dirty&&s&&h&&v()},[s,l,g,r,i,void 0,void 0,f,c,u,d,h,p,function(e){Oe[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){Oe[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoGamePageContainer{height:100%}.BottomGame{padding-left:60px;padding-right:60px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);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}.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-green, #48952a);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px;cursor:pointer}.PlayNowButton{background-color:var(--emfe-w-color-primary, #D0046C)}.GameThumbnail{border-radius:2px;width:270px;height:180px;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}.BottomGame .ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px;margin-top:20px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:center}#IframeGame{width:100%;height:100%}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicText{display:flex;align-items:center}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{transition:all 3000ms ease-in;background-color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-white, #FFFFFF)}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Ro,Po,n,{endpoint:32,lang:33,session:34,userid:35,clientstyling:36,clientstylingurl:37,favorites:0,loginurl:38,registerurl:39,depositurl:40,loginevent:41,registerevent:42,depositevent:43,clockformat:44,haspanicbutton:1,playforfun:45,checksession:46,integratedgameframe:47,gameid:48},[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframe","gameid"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$set({endpoint:e}),N()}get lang(){return this.$$.ctx[33]}set lang(e){this.$set({lang:e}),N()}get session(){return this.$$.ctx[34]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[35]}set userid(e){this.$set({userid:e}),N()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$set({favorites:e}),N()}get loginurl(){return this.$$.ctx[38]}set loginurl(e){this.$set({loginurl:e}),N()}get registerurl(){return this.$$.ctx[39]}set registerurl(e){this.$set({registerurl:e}),N()}get depositurl(){return this.$$.ctx[40]}set depositurl(e){this.$set({depositurl:e}),N()}get loginevent(){return this.$$.ctx[41]}set loginevent(e){this.$set({loginevent:e}),N()}get registerevent(){return this.$$.ctx[42]}set registerevent(e){this.$set({registerevent:e}),N()}get depositevent(){return this.$$.ctx[43]}set depositevent(e){this.$set({depositevent:e}),N()}get clockformat(){return this.$$.ctx[44]}set clockformat(e){this.$set({clockformat:e}),N()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$set({haspanicbutton:e}),N()}get playforfun(){return this.$$.ctx[45]}set playforfun(e){this.$set({playforfun:e}),N()}get checksession(){return this.$$.ctx[46]}set checksession(e){this.$set({checksession:e}),N()}get integratedgameframe(){return this.$$.ctx[47]}set integratedgameframe(e){this.$set({integratedgameframe:e}),N()}get gameid(){return this.$$.ctx[48]}set gameid(e){this.$set({gameid:e}),N()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends ce{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>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Oo,Do,n,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12}),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$set({show:e}),N()}get duration(){return this.$$.ctx[1]}set duration(e){this.$set({duration:e}),N()}get session(){return this.$$.ctx[8]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[9]}set userid(e){this.$set({userid:e}),N()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$set({endpoint:e}),N()}});const No={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement ...",filterModalTitle:"Filtrer par",filterModalSubtitle:"Vous pouvez sélectionner plusieurs fournisseurs",filterClear:"Eclaircir",filterApply:"Appliquer"}},es:{filters:{loading:"Cargando ...",filterModalTitle:"Filtrado por",filterModalSubtitle:"Puede seleccionar varios proveedores",filterClear:"Despejar",filterApply:"Solicitar"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"A carregar",filterModalTitle:"Filtrar",filterModalSubtitle:"Escolha múltipla possível",filterClear:"Limpar filtro",filterApply:"Feito"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function Bo(e,t,n){const r=e.slice();return r[32]=t[n],r}function Uo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F=n[6]("filters.filterModalTitle")+"",k=n[6]("filters.filterModalSubtitle")+"",M=n[6]("filters.filterApply")+"",_=n[0]&&zo(n),$=n[3]&&Wo(n);return{c(){r=Q("div"),i=Q("section"),a=Q("div"),o=Q("h4"),s=ee(F),l=te(),c=Q("h5"),u=ee(k),d=te(),h=Q("section"),_&&_.c(),p=te(),m=Q("section"),$&&$.c(),g=te(),f=Q("div"),y=ee(M),re(o,"class","FilterHeaderTitle"),re(o,"part","FilterHeaderTitle"),re(c,"class","FilterHeaderSubtitle"),re(c,"part","FilterHeaderSubtitle"),re(a,"class","FilterHeaderDetails"),re(a,"part","FilterHeaderDetails"),re(i,"class","FilterHeaderSection"),re(i,"part","FilterHeaderSection"),re(h,"class","FilterContentSection"),re(h,"part","FilterContentSection"),re(f,"class",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),re(f,"part",w="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),re(m,"class","FilterFooterSection"),re(m,"part","FilterFooterSection"),re(r,"class",b="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),re(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(o,s),X(a,l),X(a,c),X(c,u),X(r,d),X(r,h),_&&_.m(h,null),X(r,p),X(r,m),$&&$.m(m,null),X(m,g),X(m,f),X(f,y),C||(S=ne(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&F!==(F=e[6]("filters.filterModalTitle")+"")&&ie(s,F),64&t[0]&&k!==(k=e[6]("filters.filterModalSubtitle")+"")&&ie(u,k),e[0]?_?_.p(e,t):(_=zo(e),_.c(),_.m(h,null)):_&&(_.d(1),_=null),e[3]?$?$.p(e,t):($=Wo(e),$.c(),$.m(m,g)):$&&($.d(1),$=null),64&t[0]&&M!==(M=e[6]("filters.filterApply")+"")&&ie(y,M),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&re(f,"class",v),4&t[0]&&w!==(w="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&re(f,"part",w),2&t[0]&&b!==(b="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&re(r,"class",b),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&re(r,"part",x)},d(e){e&&K(r),_&&_.d(),$&&$.d(),C=!1,S()}}}function Ho(e){let n;return{c(){n=Q("div"),re(n,"class","lds-dual-ring"),re(n,"part","lds-dual-ring")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function zo(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Yo(Bo(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(129&n[0]){let e;for(a=t[0],e=0;e<a.length;e+=1){var r=Bo(t,a,e);o[e]?o[e].p(r,n):(o[e]=Yo(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){p(o,e),e&&K(i)}}}function jo(){let n;return{c(){n=Q("div"),n.innerHTML='<div class="CheckMark" part="CheckMark"></div>',re(n,"class","FilterIconContainer"),re(n,"part","FilterIconContainer")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function Yo(n){let r,i,a,o,s,l,c,u,d,h,p=n[32].isFilterSelected&&jo();function m(){return n[17](n[32])}return{c(){r=Q("div"),i=Q("img"),s=te(),p&&p.c(),l=te(),re(i,"class","VendorImage"),re(i,"part","VendorImage"),i.src!==(a=n[32].image)&&re(i,"src",a),re(i,"alt",o=n[32].name),re(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),re(r,"part",u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){q(e,r,t),X(r,i),X(r,s),p&&p.m(r,null),X(r,l),d||(h=ne(r,"click",m),d=!0)},p(e,t){n=e,1&t[0]&&i.src!==(a=n[32].image)&&re(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&re(i,"alt",o),n[32].isFilterSelected?p||(p=jo(),p.c(),p.m(r,l)):p&&(p.d(1),p=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&re(r,"class",c),1&t[0]&&u!==(u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&re(r,"part",u)},d(e){e&&K(r),p&&p.d(),d=!1,h()}}}function Wo(e){let n,r=e[3].length&&Vo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):(r=Vo(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&K(n)}}}function Vo(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=Q("div"),i=ee(s),re(r,"class","ClearFiltersButton"),re(r,"part","ClearFiltersButton")},m(e,t){q(e,r,t),X(r,i),a||(o=ne(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ie(i,s)},d(e){e&&K(r),a=!1,o()}}}function Zo(n){let r;function i(e){return e[4]?Ho:Uo}let a=i(n),o=a(n);return{c(){r=Q("div"),o.c(),this.c=Z,re(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),o.m(r,null),n[20](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&K(r),o.d(),n[20](null)}}}function Jo(e,t,r){let n;Ae(e,Dr,e=>r(6,n=e));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],w={},b=!1;w[f]&&(w={[f]:[]});let x=[];var C,S;[{withLocale:C,translations:S}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(S),_r.set(C))}),Object.keys(No).forEach(e=>{yr(e,No[e])});const F=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(f&&(y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),y&&r(3,v=y[f])),!v){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[f]:v})):(e=JSON.parse(e),e[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}k(`${a}/casino/vendors?filter=games(groups=${f})&datasource=${o}&platform=${Nr(m)}`);let e=v;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),r(3,v=x),r(2,g=!1);break;case"AvailableVendors":r(0,h=t.data.venArray),r(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":r(0,h=t.data.venArray),h&&r(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":$(),window.postMessage({type:"ApplyFilters"},window.location.href),r(2,g=!1);break;case"ModalClosed":h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":f=t.data.categoryid,y&&f&&r(3,v=y[f]);break;case"ModalLoader":r(4,b=!1)}},k=e=>new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},f&&t[f]&&(e.isFilterSelected=0<=t[f].indexOf(e.id))}),r(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})}),M=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),r(2,g=!_(v,x))):(v.includes(t.id)&&r(3,v=v.filter(e=>e!==t.id)),r(2,g=!(!v.length&&_(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},_=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},$=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),r(2,g=_(v,x)),r(3,v=[]),null!==e&&(e=JSON.parse(e),e[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},E=()=>{r(4,b=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[f]:v})):(e=JSON.parse(e),e[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return De(()=>(window.addEventListener("message",F,!1),Or(m)&&r(1,p=!0),()=>{window.removeEventListener("message",F)})),e.$$set=e=>{"endpoint"in e&&r(10,a=e.endpoint),"datasource"in e&&r(11,o=e.datasource),"lang"in e&&r(12,s=e.lang),"session"in e&&r(13,l=e.session),"userid"in e&&r(14,c=e.userid),"clientstyling"in e&&r(15,u=e.clientstyling),"clientstylingurl"in e&&r(16,d=e.clientstylingurl)},e.$$.update=()=>{32768&e.$$.dirty[0]&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)})(),65536&e.$$.dirty[0]&&d&&(()=>{let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&setTimeout(()=>{i.appendChild(t)},1)})})()},[h,p,g,v,b,i,n,M,$,E,a,o,s,l,c,u,d,e=>M(e),()=>$(),()=>E(),function(e){Oe[e?"unshift":"push"](()=>{i=e,r(5,i)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:125px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Jo,Zo,n,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$set({endpoint:e}),N()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$set({datasource:e}),N()}get lang(){return this.$$.ctx[12]}set lang(e){this.$set({lang:e}),N()}get session(){return this.$$.ctx[13]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[14]}set userid(e){this.$set({userid:e}),N()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}});const Xo={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{gamePage:{signIn:"SE CONNECTER",register:"S'INSCRIRE",deposit:"DÉPOSER",playForFun:"JOUER POUR LE PLAISIR",playNow:"JOUE MAINTENANT",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{gamePage:{signIn:"INICIAR SESIÓN",register:"REGISTRARSE",deposit:"INGRESAR",playForFun:"JUEGA POR DIVERSION",playNow:"REPRODUCIR AHORA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{gamePage:{signIn:"Login",register:"REGISTAR",deposit:"Depósito",playForFun:"Play for fun",playNow:"Comece agora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}};function qo(n){let r;function i(e){return e[4]?ts:e[9]?es:void 0}let a=i(n),o=a&&a(n);return{c(){r=Q("div"),o&&o.c(),re(r,"class","CasinoIntegratedGamePage"),re(r,"part","CasinoIntegratedGamePage")},m(e,t){q(e,r,t),o&&o.m(r,null),n[64](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(r,null)))},d(e){e&&K(r),o&&o.d(),n[64](null)}}}function Ko(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function Qo(e){let n;return{c(){n=Q("p"),n.textContent="Loading, please wait ...",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function es(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F,k,M,_,$=n[21]("gamePage.signIn")+"",E=n[21]("gamePage.register")+"";function T(e){return e[15]?rs:ns}let I=T(n),L=I(n),G="true"==n[1]&&!n[15]&&is();return{c(){r=Q("div"),i=Q("button"),i.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=te(),o=Q("p"),s=Q("span"),l=ee(n[2]),c=te(),u=Q("div"),d=te(),h=Q("div"),p=Q("div"),m=Q("iframe"),f=te(),y=Q("div"),v=Q("div"),w=Q("button"),b=ee($),x=te(),C=Q("button"),S=ee(E),F=te(),L.c(),k=te(),G&&G.c(),re(i,"class","backButton"),re(i,"part","backButton"),re(o,"class","Time"),re(o,"part","Time"),re(r,"class","GamePageIntegratedTopSection"),re(r,"part","GamePageIntegratedTopSection"),re(m,"title","Games"),re(m,"class","GamesContainer"),re(m,"part","GamesContainer"),re(m,"aria-hidden","false"),m.src!==(g=n[8].launchUrl)&&re(m,"src",g),re(w,"class","LoginButton"),re(w,"part","LoginButton"),re(C,"class","RegisterButton"),re(C,"part","RegisterButton"),re(v,"class","ButtonsContainer ButtonsContainerFunMode"),re(v,"part","ButtonsContainer ButtonsContainerFunMode"),re(y,"class","BottomGame"),re(y,"part","BottomGame"),re(p,"id","IframeGame"),re(p,"part","IframeGame"),P(p,"width",n[15]?"100%":n[16]),P(p,"height",n[15]?"100%":n[17]),P(p,"max-width",n[15]||!n[10]?"none":n[8].width?Math.floor(n[8].width)+"px":"1280px"),P(p,"max-height",n[15]||!n[10]?"none":n[8].height?Math.floor(n[8].height)+100+"px":"720px"),re(h,"id","IframeContainer"),re(h,"part","IframeContainer"),R(h,"FullsScreenLayout",n[15])},m(e,t){q(e,r,t),X(r,i),X(r,a),X(r,o),X(o,s),X(s,l),n[55](o),X(r,c),X(r,u),q(e,d,t),q(e,h,t),X(h,p),X(p,m),n[56](m),X(p,f),X(p,y),X(y,v),X(v,w),X(w,b),X(v,x),X(v,C),X(C,S),X(y,F),L.m(y,null),n[61](y),n[62](p),X(h,k),G&&G.m(h,null),n[63](h),M||(_=[ne(i,"click",n[54]),ne(w,"click",n[57]),ne(C,"click",n[58])],M=!0)},p(e,t){4&t[0]&&ie(l,e[2]),256&t[0]&&m.src!==(g=e[8].launchUrl)&&re(m,"src",g),2097152&t[0]&&$!==($=e[21]("gamePage.signIn")+"")&&ie(b,$),2097152&t[0]&&E!==(E=e[21]("gamePage.register")+"")&&ie(S,E),I===(I=T(e))&&L?L.p(e,t):(L.d(1),L=I(e),L&&(L.c(),L.m(y,null))),98304&t[0]&&P(p,"width",e[15]?"100%":e[16]),163840&t[0]&&P(p,"height",e[15]?"100%":e[17]),34048&t[0]&&P(p,"max-width",e[15]||!e[10]?"none":e[8].width?Math.floor(e[8].width)+"px":"1280px"),34048&t[0]&&P(p,"max-height",e[15]||!e[10]?"none":e[8].height?Math.floor(e[8].height)+100+"px":"720px"),"true"!=e[1]||e[15]?G&&(G.d(1),G=null):G||(G=is(),G.c(),G.m(h,null)),32768&t[0]&&R(h,"FullsScreenLayout",e[15])},d(e){e&&K(r),n[55](null),e&&K(d),e&&K(h),n[56](null),L.d(),n[61](null),n[62](null),G&&G.d(),n[63](null),M=!1,J(_)}}}function ts(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F,k=n[21]("gamePage.deposit")+"",M="true"===n[0]&&as(n);function _(e){return e[15]?ss:os}let $=_(n),E=$(n),T="true"==n[1]&&!n[15]&&ls();return{c(){r=Q("div"),i=Q("button"),i.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=te(),o=Q("p"),s=Q("span"),l=ee(n[2]),c=te(),u=Q("button"),d=ee(k),h=te(),p=Q("div"),m=Q("div"),g=Q("iframe"),w=te(),b=Q("div"),M&&M.c(),x=te(),E.c(),C=te(),T&&T.c(),re(i,"class","backButton"),re(i,"part","backButton"),re(o,"class","Time"),re(o,"part","Time"),re(u,"class","DepositButton"),re(u,"part","DepositButton"),re(r,"class","GamePageIntegratedTopSection"),re(r,"part","GamePageIntegratedTopSection"),re(g,"title","Games"),re(g,"id","IframeGame"),re(g,"class","GamesContainer"),re(g,"part","GamesContainer"),re(g,"aria-hidden","false"),g.src!==(f=n[8].launchUrl)&&re(g,"src",f),re(g,"width",y=n[12]+"px"),re(g,"height",v=n[13]+"px"),re(b,"class","BottomGame BottomGameLoggedin"),re(b,"part","BottomGame BottomGameLoggedin"),re(m,"id","IframeGame"),re(m,"part","IframeGame"),P(m,"width",n[15]?"100%":n[16]),P(m,"height",n[15]?"100%":n[17]),P(m,"max-width",n[15]?"none":n[8].width?n[8].width+"px":"1280px"),P(m,"max-height",n[15]?"none":n[8].height?Math.floor(n[8].height)+100+"px":"720px"),re(p,"id","IframeContainer"),re(p,"part","IframeContainer"),R(p,"FullsScreenLayout",n[15])},m(e,t){q(e,r,t),X(r,i),X(r,a),X(r,o),X(o,s),X(s,l),n[45](o),X(r,c),X(r,u),X(u,d),q(e,h,t),q(e,p,t),X(p,m),X(m,g),n[47](g),X(m,w),X(m,b),M&&M.m(b,null),X(b,x),E.m(b,null),n[51](b),n[52](m),X(p,C),T&&T.m(p,null),n[53](p),S||(F=[ne(i,"click",n[44]),ne(u,"click",n[46])],S=!0)},p(e,t){4&t[0]&&ie(l,e[2]),2097152&t[0]&&k!==(k=e[21]("gamePage.deposit")+"")&&ie(d,k),256&t[0]&&g.src!==(f=e[8].launchUrl)&&re(g,"src",f),4096&t[0]&&y!==(y=e[12]+"px")&&re(g,"width",y),8192&t[0]&&v!==(v=e[13]+"px")&&re(g,"height",v),"true"===e[0]?M?M.p(e,t):(M=as(e),M.c(),M.m(b,x)):M&&(M.d(1),M=null),$===($=_(e))&&E?E.p(e,t):(E.d(1),E=$(e),E&&(E.c(),E.m(b,null))),98304&t[0]&&P(m,"width",e[15]?"100%":e[16]),163840&t[0]&&P(m,"height",e[15]?"100%":e[17]),33024&t[0]&&P(m,"max-width",e[15]?"none":e[8].width?e[8].width+"px":"1280px"),33024&t[0]&&P(m,"max-height",e[15]?"none":e[8].height?Math.floor(e[8].height)+100+"px":"720px"),"true"!=e[1]||e[15]?T&&(T.d(1),T=null):T||(T=ls(),T.c(),T.m(p,null)),32768&t[0]&&R(p,"FullsScreenLayout",e[15])},d(e){e&&K(r),n[45](null),e&&K(h),e&&K(p),n[47](null),M&&M.d(),E.d(),n[51](null),n[52](null),T&&T.d(),n[53](null),S=!1,J(F)}}}function ns(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[60]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function rs(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[59]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function is(){let n;return{c(){n=Q("div"),n.innerHTML="<h3>Your banner here</h3>",re(n,"class","BannerSection"),re(n,"part","BannerSection")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function as(n){let r,i,a,o,s,l,c,u,d,h,p,m=n[21]("gamePage.break")+"",g=n[21]("gamePage.breakButton")+"";return{c(){r=Q("div"),i=x("svg"),a=x("path"),o=te(),s=Q("p"),l=ee(m),c=te(),u=Q("button"),d=ee(g),re(a,"stroke-linecap","round"),re(a,"stroke-linejoin","round"),re(a,"stroke-width","2"),re(a,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),re(i,"class","w-1 h-1"),re(i,"part","w-1 h-1"),re(i,"fill","none"),re(i,"stroke","white"),re(i,"width","34px"),re(i,"height","34px"),re(i,"viewBox","0 0 24 24"),re(i,"xmlns","http://www.w3.org/2000/svg"),re(u,"class","Button"),re(u,"part","Button"),R(u,"PanicButtonAnimation",n[7]),re(r,"class","PanicSection"),re(r,"part","PanicSection")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(s,l),X(r,c),X(r,u),X(u,d),h||(p=ne(u,"click",n[48]),h=!0)},p(e,t){2097152&t[0]&&m!==(m=e[21]("gamePage.break")+"")&&ie(l,m),2097152&t[0]&&g!==(g=e[21]("gamePage.breakButton")+"")&&ie(d,g),128&t[0]&&R(u,"PanicButtonAnimation",e[7])},d(e){e&&K(r),h=!1,p()}}}function os(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[50]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function ss(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[49]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function ls(){let n;return{c(){n=Q("div"),n.innerHTML="<h3>Your banner here</h3>",re(n,"class","BannerSection"),re(n,"part","BannerSection")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function cs(e){let n;function r(e){return e[6]?Qo:e[5]?Ko:qo}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&K(n)}}}function us(t,e,r){let n;Ae(t,Dr,e=>r(21,n=e));let i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,{endpoint:w=""}=e,{lang:b=""}=e,{session:x=""}=e,{userid:C=""}=e,{clientstyling:S=""}=e,{clientstylingurl:F=""}=e,{loginurl:k=""}=e,{registerurl:M=""}=e,{depositurl:_=""}=e,{loginevent:$=""}=e,{registerevent:E=""}=e,{depositevent:T=""}=e,{clockformat:I=""}=e,{haspanicbutton:L="false"}=e,{playforfun:G="true"}=e,{checksession:P="true"}=e,{integratedgameframe:R="false"}=e,{gamebanneractive:A="false"}=e,{gameid:D=""}=e,O=!1,N=!1,B=!0,U=!1,H=!1,z=!0,j=!1,Y=window.navigator.userAgent;var W,V;[{withLocale:W,translations:V}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(V),_r.set(W))}),Object.keys(Xo).forEach(e=>{yr(e,Xo[e])});const Z=()=>{r(16,m=s.width),r(17,g=s.height),h=s.width,p=s.height},J=()=>{let e=getComputedStyle(l),t=getComputedStyle(d);r(12,c=parseInt(e.width.slice(0,-2))),r(13,u=parseInt(e.height.slice(0,-2)));var n=s.width/(s.height+100);h=parseInt(t.width),p=parseInt(t.height),c/n>u-y.clientHeight-v.clientHeight?(p=u-y.clientHeight-v.clientHeight,h=u*n):(h=c,p=c/n),r(16,m=h?Math.floor(h)+"px":"1280px"),r(17,g=p?Math.floor(p)+"px":"720px")},X=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:U},window.location.href),U&&l&&J()},q=()=>{$&&(window.postMessage({type:$,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),k&&(window.location=k)},K=()=>{E&&(window.postMessage({type:E,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),M&&(window.location=M)},Q=()=>{T&&(window.postMessage({type:T},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),_&&(window.location=_)};function ee(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!j||te()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ee,!1),document.addEventListener("mozfullscreenchange",ee,!1),document.addEventListener("fullscreenchange",ee,!1),document.addEventListener("MSFullscreenChange",ee,!1));const te=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(j?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(15,j=!1)):(l.requestFullscreen?l.requestFullscreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.msRequestFullscreen&&l.msRequestFullscreen(),r(15,j=!0)))},ne=setInterval(()=>{r(2,i=I?si().format(I):si().format("LTS"))},100),re=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)};return De(()=>(window.addEventListener("resize",X,!1),ho(Y),()=>{window.removeEventListener("resize",X),clearInterval(ne)})),t.$$set=e=>{"endpoint"in e&&r(27,w=e.endpoint),"lang"in e&&r(28,b=e.lang),"session"in e&&r(29,x=e.session),"userid"in e&&r(30,C=e.userid),"clientstyling"in e&&r(31,S=e.clientstyling),"clientstylingurl"in e&&r(32,F=e.clientstylingurl),"loginurl"in e&&r(33,k=e.loginurl),"registerurl"in e&&r(34,M=e.registerurl),"depositurl"in e&&r(35,_=e.depositurl),"loginevent"in e&&r(36,$=e.loginevent),"registerevent"in e&&r(37,E=e.registerevent),"depositevent"in e&&r(38,T=e.depositevent),"clockformat"in e&&r(39,I=e.clockformat),"haspanicbutton"in e&&r(0,L=e.haspanicbutton),"playforfun"in e&&r(40,G=e.playforfun),"checksession"in e&&r(41,P=e.checksession),"integratedgameframe"in e&&r(42,R=e.integratedgameframe),"gamebanneractive"in e&&r(1,A=e.gamebanneractive),"gameid"in e&&r(43,D=e.gameid)},t.$$.update=()=>{var e;268435456&t.$$.dirty[0]&&b&&(e=b,_r.set(e),r(6,B=!1)),402653184&t.$$.dirty[0]|4096&t.$$.dirty[1]&&w&&D&&b&&((e,t)=>{let n=new URL(`${w}/casino/games/${e}`);n.searchParams.append("language",b),n.searchParams.append("expand","vendor"),r(10,z=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{r(8,s=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",b),o&&0<o.length&&(r(4,O=!0),t.searchParams.append("_sid",o),t.searchParams.append("funMode","false")),e.launchUrl=t,f.scrollIntoView(),e})(e[0])),s.launchUrl&&(U=!0,r(9,H="true"==G&&s.hasFunMode),"true"==G&&s.hasAnonymousFunMode)},e=>{console.error("There was an error",e),r(5,N=!0)}).then(()=>{l&&(J(),z||Z())})})(D),1744830464&t.$$.dirty[0]&&x&&C&&w&&("true"==P?Ur(w,x).then(e=>{o=e.Guid,e.UserID,r(4,O=!0)},e=>{r(4,O=!1),console.error("err on session",e)}):o=x),1&t.$$.dirty[1]&&S&&(()=>{let e=document.createElement("style");e.innerHTML=S,f.appendChild(e)})(),2&t.$$.dirty[1]&&F&&(()=>{let t=document.createElement("style");var e;F&&(e=new URL(F),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,f&&setTimeout(()=>{f.appendChild(t)},1)}))})()},[L,A,i,a,O,N,B,!1,s,H,z,l,c,u,d,j,m,g,f,y,v,n,q,K,Q,te,re,w,b,x,C,S,F,k,M,_,$,E,T,I,G,P,R,D,()=>re(),function(e){Oe[e?"unshift":"push"](()=>{v=e,r(20,v)})},()=>Q(),function(e){Oe[e?"unshift":"push"](()=>{a=e,r(3,a)})},()=>panicAction(),()=>te(),()=>te(),function(e){Oe[e?"unshift":"push"](()=>{y=e,r(19,y)})},function(e){Oe[e?"unshift":"push"](()=>{d=e,r(14,d)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,r(11,l)})},()=>re(),function(e){Oe[e?"unshift":"push"](()=>{v=e,r(20,v)})},function(e){Oe[e?"unshift":"push"](()=>{a=e,r(3,a)})},()=>q(),()=>K(),()=>te(),()=>te(),function(e){Oe[e?"unshift":"push"](()=>{y=e,r(19,y)})},function(e){Oe[e?"unshift":"push"](()=>{d=e,r(14,d)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,r(11,l)})},function(e){Oe[e?"unshift":"push"](()=>{f=e,r(18,f)})}]}function ds(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g="true"==e[20]&&ps(e);return{c(){n=Q("div"),r=Q("div"),i=Q("div"),a=te(),o=Q("div"),s=te(),l=Q("casino-categories-slider"),c=te(),u=Q("casino-page"),d=te(),g&&g.c(),h=te(),p=Q("casino-filter-modal"),m=Q("casino-filter-page"),re(i,"class","HeaderPlaceholder"),re(i,"part","HeaderPlaceholder"),P(i,"height",e[30]+"px"),re(o,"class","ScrollTop"),re(o,"part","ScrollTop"),C(l,"endpoint",e[24]),C(l,"datasource",e[25]),C(l,"lang",e[26]),C(l,"session",e[1]),C(l,"userid",e[2]),C(l,"actionevent",e[17]),C(l,"mostplayed",e[11]),C(l,"mostplayedrounds",e[12]),C(l,"favorites",e[13]),C(l,"activecategory",e[0]),C(l,"clientstyling",e[3]),C(l,"clientstylingurl",e[4]),C(l,"containermaxwidth",e[15]),C(u,"session",e[1]),C(u,"userid",e[2]),C(u,"endpoint",e[24]),C(u,"datasource",e[25]),C(u,"lang",e[26]),C(u,"visiblegames",e[22]),C(u,"playrandomgame",e[21]),C(u,"activecategory",e[0]),C(u,"alternativesearch",e[14]),C(u,"favorites",e[13]),C(u,"mostplayedrounds",e[12]),C(u,"mostplayed",e[11]),C(u,"clientstyling",e[3]),C(u,"clientstylingurl",e[4]),C(u,"lobbyid",e[6]),C(u,"containermaxwidth",e[15]),C(u,"haspanicbutton",e[16]),C(u,"livecasino",e[18]),C(u,"currency",e[7]),C(m,"session",e[1]),C(m,"userid",e[2]),C(m,"endpoint",e[24]),C(m,"datasource",e[25]),C(m,"lang",e[26]),C(m,"clientstylingurl",e[4]),C(m,"clientstyling",e[3]),C(p,"clientstylingurl",e[4]),C(p,"session",e[1]),C(p,"userid",e[2]),C(p,"endpoint",e[24]),C(p,"datasource",e[25]),C(p,"lang",e[26]),C(p,"clientstyling",e[3]),re(r,"class","WidgetsSection"),re(r,"part","WidgetsSection"),re(n,"class","CasinoLobby"),re(n,"part","CasinoLobby")},m(e,t){q(e,n,t),X(n,r),X(r,i),X(r,a),X(r,o),X(r,s),X(r,l),X(r,c),X(r,u),X(r,d),g&&g.m(r,null),X(r,h),X(r,p),X(p,m)},p(e,t){1073741824&t[0]&&P(i,"height",e[30]+"px"),16777216&t[0]&&C(l,"endpoint",e[24]),33554432&t[0]&&C(l,"datasource",e[25]),67108864&t[0]&&C(l,"lang",e[26]),2&t[0]&&C(l,"session",e[1]),4&t[0]&&C(l,"userid",e[2]),131072&t[0]&&C(l,"actionevent",e[17]),2048&t[0]&&C(l,"mostplayed",e[11]),4096&t[0]&&C(l,"mostplayedrounds",e[12]),8192&t[0]&&C(l,"favorites",e[13]),1&t[0]&&C(l,"activecategory",e[0]),8&t[0]&&C(l,"clientstyling",e[3]),16&t[0]&&C(l,"clientstylingurl",e[4]),32768&t[0]&&C(l,"containermaxwidth",e[15]),2&t[0]&&C(u,"session",e[1]),4&t[0]&&C(u,"userid",e[2]),16777216&t[0]&&C(u,"endpoint",e[24]),33554432&t[0]&&C(u,"datasource",e[25]),67108864&t[0]&&C(u,"lang",e[26]),4194304&t[0]&&C(u,"visiblegames",e[22]),2097152&t[0]&&C(u,"playrandomgame",e[21]),1&t[0]&&C(u,"activecategory",e[0]),16384&t[0]&&C(u,"alternativesearch",e[14]),8192&t[0]&&C(u,"favorites",e[13]),4096&t[0]&&C(u,"mostplayedrounds",e[12]),2048&t[0]&&C(u,"mostplayed",e[11]),8&t[0]&&C(u,"clientstyling",e[3]),16&t[0]&&C(u,"clientstylingurl",e[4]),64&t[0]&&C(u,"lobbyid",e[6]),32768&t[0]&&C(u,"containermaxwidth",e[15]),65536&t[0]&&C(u,"haspanicbutton",e[16]),262144&t[0]&&C(u,"livecasino",e[18]),128&t[0]&&C(u,"currency",e[7]),"true"==e[20]?g?g.p(e,t):(g=ps(e),g.c(),g.m(r,h)):g&&(g.d(1),g=null),2&t[0]&&C(m,"session",e[1]),4&t[0]&&C(m,"userid",e[2]),16777216&t[0]&&C(m,"endpoint",e[24]),33554432&t[0]&&C(m,"datasource",e[25]),67108864&t[0]&&C(m,"lang",e[26]),16&t[0]&&C(m,"clientstylingurl",e[4]),8&t[0]&&C(m,"clientstyling",e[3]),16&t[0]&&C(p,"clientstylingurl",e[4]),2&t[0]&&C(p,"session",e[1]),4&t[0]&&C(p,"userid",e[2]),16777216&t[0]&&C(p,"endpoint",e[24]),33554432&t[0]&&C(p,"datasource",e[25]),67108864&t[0]&&C(p,"lang",e[26]),8&t[0]&&C(p,"clientstyling",e[3])},d(e){e&&K(n),g&&g.d()}}}function hs(e){let n,r;return{c(){n=Q("p"),r=ee(e[29]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){q(e,n,t),X(n,r)},p(e,t){536870912&t[0]&&ie(r,e[29])},d(e){e&&K(n)}}}function ps(e){let n,r;return{c(){n=Q("casino-modal"),r=Q("casino-game-page"),C(r,"session",e[1]),C(r,"userid",e[2]),C(r,"endpoint",e[24]),C(r,"datasource",e[25]),C(r,"lang",e[26]),C(r,"loginevent",e[8]),C(r,"registerevent",e[9]),C(r,"depositevent",e[10]),C(r,"playforfun",e[19]),C(r,"favorites",e[13]),C(r,"clientstyling",e[3]),C(r,"clientstylingurl",e[4]),C(r,"clockformat",e[5]),C(r,"haspanicbutton",e[16]),C(r,"currency",e[7]),C(r,"integratedgameframe",e[23]),C(n,"session",e[1]),C(n,"userid",e[2]),C(n,"endpoint",e[24]),C(n,"datasource",e[25]),C(n,"lang",e[26]),C(n,"clientstyling",e[3]),C(n,"clientstylingurl",e[4])},m(e,t){q(e,n,t),X(n,r)},p(e,t){2&t[0]&&C(r,"session",e[1]),4&t[0]&&C(r,"userid",e[2]),16777216&t[0]&&C(r,"endpoint",e[24]),33554432&t[0]&&C(r,"datasource",e[25]),67108864&t[0]&&C(r,"lang",e[26]),256&t[0]&&C(r,"loginevent",e[8]),512&t[0]&&C(r,"registerevent",e[9]),1024&t[0]&&C(r,"depositevent",e[10]),524288&t[0]&&C(r,"playforfun",e[19]),8192&t[0]&&C(r,"favorites",e[13]),8&t[0]&&C(r,"clientstyling",e[3]),16&t[0]&&C(r,"clientstylingurl",e[4]),32&t[0]&&C(r,"clockformat",e[5]),65536&t[0]&&C(r,"haspanicbutton",e[16]),128&t[0]&&C(r,"currency",e[7]),8388608&t[0]&&C(r,"integratedgameframe",e[23]),2&t[0]&&C(n,"session",e[1]),4&t[0]&&C(n,"userid",e[2]),16777216&t[0]&&C(n,"endpoint",e[24]),33554432&t[0]&&C(n,"datasource",e[25]),67108864&t[0]&&C(n,"lang",e[26]),8&t[0]&&C(n,"clientstyling",e[3]),16&t[0]&&C(n,"clientstylingurl",e[4])},d(e){e&&K(n)}}}function ms(n){let r,i,a;function o(e){return e[28]?hs:ds}let s=o(n),l=s(n);return{c(){r=Q("div"),l.c(),this.c=Z,re(r,"class",i=n[27]?"DisplayNone":""),re(r,"part",a=n[27]?"DisplayNone":"")},m(e,t){q(e,r,t),l.m(r,null),n[41](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),l=s(e),l&&(l.c(),l.m(r,null))),134217728&t[0]&&i!==(i=e[27]?"DisplayNone":"")&&re(r,"class",i),134217728&t[0]&&a!==(a=e[27]?"DisplayNone":"")&&re(r,"part",a)},i:Z,o:Z,d(e){e&&K(r),l.d(),n[41](null)}}}function gs(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:u=""}=t,{userid:d=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y="EUR"}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:b=""}=t,{loginevent:x=""}=t,{registerevent:C=""}=t,{depositevent:S=""}=t,{mostplayed:F=""}=t,{mostplayedrounds:k=""}=t,{favorites:M=""}=t,{desktopoffset:_="0"}=t,{mobileoffset:$="0"}=t,{alternativesearch:E="false"}=t,{containermaxwidth:T=""}=t,{haspanicbutton:I="false"}=t,{activecategory:L="LOBBY"}=t,{actionevent:G="CategoryChange"}=t,{livecasino:P="false"}=t,{playforfun:R="true"}=t,{gamemodal:A="true"}=t,{playrandomgame:D="false"}=t,{visiblegames:O="10"}=t,{integratedgameframe:N="false"}=t,B=!1,U=!1,H="Loading, please wait ...",z=window.navigator.userAgent,j=0,Y;var W,V;[{withLocale:W,translations:V}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(V),_r.set(W))});const Z=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":Y=e.data.scrollTop,Y&&(j||n(30,j="PC"===Nr(z)?parseInt(_):parseInt($)),window.scrollTo({top:j}));break;case"UserSessionID":e.data.session,e.data.userID;break;case"CategoryChange":n(0,L=e.data.itemId)}};return De(()=>(window.addEventListener("message",Z,!1),n(30,j="PC"===Nr(z)?parseInt(_):parseInt($)),()=>{window.removeEventListener("message",Z)})),e.$$set=e=>{"endpoint"in e&&n(32,s=e.endpoint),"datasource"in e&&n(33,l=e.datasource),"lang"in e&&n(34,c=e.lang),"session"in e&&n(1,u=e.session),"userid"in e&&n(2,d=e.userid),"opsession"in e&&n(35,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,g=e.clockformat),"lobbyid"in e&&n(6,f=e.lobbyid),"currency"in e&&n(7,y=e.currency),"loginurl"in e&&n(36,v=e.loginurl),"registerurl"in e&&n(37,w=e.registerurl),"depositurl"in e&&n(38,b=e.depositurl),"loginevent"in e&&n(8,x=e.loginevent),"registerevent"in e&&n(9,C=e.registerevent),"depositevent"in e&&n(10,S=e.depositevent),"mostplayed"in e&&n(11,F=e.mostplayed),"mostplayedrounds"in e&&n(12,k=e.mostplayedrounds),"favorites"in e&&n(13,M=e.favorites),"desktopoffset"in e&&n(39,_=e.desktopoffset),"mobileoffset"in e&&n(40,$=e.mobileoffset),"alternativesearch"in e&&n(14,E=e.alternativesearch),"containermaxwidth"in e&&n(15,T=e.containermaxwidth),"haspanicbutton"in e&&n(16,I=e.haspanicbutton),"activecategory"in e&&n(0,L=e.activecategory),"actionevent"in e&&n(17,G=e.actionevent),"livecasino"in e&&n(18,P=e.livecasino),"playforfun"in e&&n(19,R=e.playforfun),"gamemodal"in e&&n(20,A=e.gamemodal),"playrandomgame"in e&&n(21,D=e.playrandomgame),"visiblegames"in e&&n(22,O=e.visiblegames),"integratedgameframe"in e&&n(23,N=e.integratedgameframe)},e.$$.update=()=>{8&e.$$.dirty[1]&&c&&Hr(c),6&e.$$.dirty[0]|2&e.$$.dirty[1]&&u&&d&&s&&Ur(s,u).then(e=>{e.Guid,e.UserID},e=>{console.error("Error while checking the session - ",e)}),10240&e.$$.dirty[0]|14&e.$$.dirty[1]&&s&&l&&c&&F&&M&&(s||(n(29,H="Endpoint is missing! Please provide a valid endpointURL."),n(28,U=!0),console.error(H)),l||(n(29,H="Datasource is missing! Please provide a valid datasource."),n(28,U=!0),console.error(H)),c&&2==c.length||(n(29,H="Language is missing! Please provide a valid language (alpha2code)"),n(28,U=!0),console.error(H)),Hr(c),n(24,r=s),n(25,i=l),n(26,a=c),n(28,U=!1)),e.$$.dirty[1],8&e.$$.dirty[0]&&p&&(()=>{let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)})(),16&e.$$.dirty[0]&&m&&(()=>{n(27,B=!0);let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(27,B=!1)},500))})})()},[L,u,d,p,m,g,f,y,x,C,S,F,k,M,E,T,I,G,P,R,A,D,O,N,r,i,a,B,U,H,j,o,s,l,c,h,v,w,b,_,$,function(e){Oe[e?"unshift":"push"](()=>{o=e,n(31,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends ce{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}}.BottomGame.BottomGameLoggedin{justify-content:right}.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}.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}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{transition:all 3000ms ease-in;background-color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.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>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},us,cs,n,{endpoint:27,lang:28,session:29,userid:30,clientstyling:31,clientstylingurl:32,loginurl:33,registerurl:34,depositurl:35,loginevent:36,registerevent:37,depositevent:38,clockformat:39,haspanicbutton:0,playforfun:40,checksession:41,integratedgameframe:42,gamebanneractive:1,gameid:43},[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframe","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[27]}set endpoint(e){this.$set({endpoint:e}),N()}get lang(){return this.$$.ctx[28]}set lang(e){this.$set({lang:e}),N()}get session(){return this.$$.ctx[29]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[30]}set userid(e){this.$set({userid:e}),N()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get loginurl(){return this.$$.ctx[33]}set loginurl(e){this.$set({loginurl:e}),N()}get registerurl(){return this.$$.ctx[34]}set registerurl(e){this.$set({registerurl:e}),N()}get depositurl(){return this.$$.ctx[35]}set depositurl(e){this.$set({depositurl:e}),N()}get loginevent(){return this.$$.ctx[36]}set loginevent(e){this.$set({loginevent:e}),N()}get registerevent(){return this.$$.ctx[37]}set registerevent(e){this.$set({registerevent:e}),N()}get depositevent(){return this.$$.ctx[38]}set depositevent(e){this.$set({depositevent:e}),N()}get clockformat(){return this.$$.ctx[39]}set clockformat(e){this.$set({clockformat:e}),N()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$set({haspanicbutton:e}),N()}get playforfun(){return this.$$.ctx[40]}set playforfun(e){this.$set({playforfun:e}),N()}get checksession(){return this.$$.ctx[41]}set checksession(e){this.$set({checksession:e}),N()}get integratedgameframe(){return this.$$.ctx[42]}set integratedgameframe(e){this.$set({integratedgameframe:e}),N()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$set({gamebanneractive:e}),N()}get gameid(){return this.$$.ctx[43]}set gameid(e){this.$set({gameid:e}),N()}});class fs extends ce{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>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},gs,ms,n,{endpoint:32,datasource:33,lang:34,session:1,userid:2,opsession:35,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:7,loginurl:36,registerurl:37,depositurl:38,loginevent:8,registerevent:9,depositevent:10,mostplayed:11,mostplayedrounds:12,favorites:13,desktopoffset:39,mobileoffset:40,alternativesearch:14,containermaxwidth:15,haspanicbutton:16,activecategory:0,actionevent:17,livecasino:18,playforfun:19,gamemodal:20,playrandomgame:21,visiblegames:22,integratedgameframe:23},[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframe"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$set({endpoint:e}),N()}get datasource(){return this.$$.ctx[33]}set datasource(e){this.$set({datasource:e}),N()}get lang(){return this.$$.ctx[34]}set lang(e){this.$set({lang:e}),N()}get session(){return this.$$.ctx[1]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[2]}set userid(e){this.$set({userid:e}),N()}get opsession(){return this.$$.ctx[35]}set opsession(e){this.$set({opsession:e}),N()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$set({clockformat:e}),N()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$set({lobbyid:e}),N()}get currency(){return this.$$.ctx[7]}set currency(e){this.$set({currency:e}),N()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$set({loginurl:e}),N()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$set({registerurl:e}),N()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$set({depositurl:e}),N()}get loginevent(){return this.$$.ctx[8]}set loginevent(e){this.$set({loginevent:e}),N()}get registerevent(){return this.$$.ctx[9]}set registerevent(e){this.$set({registerevent:e}),N()}get depositevent(){return this.$$.ctx[10]}set depositevent(e){this.$set({depositevent:e}),N()}get mostplayed(){return this.$$.ctx[11]}set mostplayed(e){this.$set({mostplayed:e}),N()}get mostplayedrounds(){return this.$$.ctx[12]}set mostplayedrounds(e){this.$set({mostplayedrounds:e}),N()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$set({favorites:e}),N()}get desktopoffset(){return this.$$.ctx[39]}set desktopoffset(e){this.$set({desktopoffset:e}),N()}get mobileoffset(){return this.$$.ctx[40]}set mobileoffset(e){this.$set({mobileoffset:e}),N()}get alternativesearch(){return this.$$.ctx[14]}set alternativesearch(e){this.$set({alternativesearch:e}),N()}get containermaxwidth(){return this.$$.ctx[15]}set containermaxwidth(e){this.$set({containermaxwidth:e}),N()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$set({haspanicbutton:e}),N()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$set({activecategory:e}),N()}get actionevent(){return this.$$.ctx[17]}set actionevent(e){this.$set({actionevent:e}),N()}get livecasino(){return this.$$.ctx[18]}set livecasino(e){this.$set({livecasino:e}),N()}get playforfun(){return this.$$.ctx[19]}set playforfun(e){this.$set({playforfun:e}),N()}get gamemodal(){return this.$$.ctx[20]}set gamemodal(e){this.$set({gamemodal:e}),N()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(e){this.$set({playrandomgame:e}),N()}get visiblegames(){return this.$$.ctx[22]}set visiblegames(e){this.$set({visiblegames:e}),N()}get integratedgameframe(){return this.$$.ctx[23]}set integratedgameframe(e){this.$set({integratedgameframe:e}),N()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",fs),fs});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(e){"use strict";var t;(t=e)&&"object"==typeof t&&0 in t;function Z(){}const g=e=>e;function u(e){return e()}function d(){return Object.create(null)}function J(e){e.forEach(u)}function f(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function h(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ae(e,t,n){e.$$.on_destroy.push(h(t,n))}function l(e){return e&&f(e.destroy)?e.destroy:Z}var r="undefined"!=typeof window;let y=r?()=>window.performance.now():()=>Date.now(),v=r?e=>requestAnimationFrame(e):Z;const w=new Set;function b(t){w.forEach(e=>{e.c(t)||(w.delete(e),e.f())}),0!==w.size&&v(b)}function X(e,t){e.appendChild(t)}function q(e,t,n){e.insertBefore(t,n||null)}function K(e){e.parentNode.removeChild(e)}function p(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Q(e){return document.createElement(e)}function x(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ee(e){return document.createTextNode(e)}function te(){return ee(" ")}function c(){return ee("")}function ne(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function re(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function C(e,t,n){t in e?e[t]=n:re(e,t,n)}function ie(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function k(e,t){e.value=null==t?"":t}function P(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}let a;function m(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=Q("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const r=function(){if(void 0===a){a=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){a=!0}}return a}();let i;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=ne(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=ne(n.contentWindow,"resize",t)}),X(e,n),()=>{(r||i&&n.contentWindow)&&i(),K(n)}}function R(e,t,n){e.classList[n?"add":"remove"](t)}class S{constructor(e=null){this.a=e,this.e=this.n=null}m(e,t,n=null){this.e||(this.e=Q(t.nodeName),this.t=t,this.h(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)q(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(K)}}function i(e){const t={};for(const n of e)t[n.name]=n.value;return t}const F=new Set;let M,_=0;function $(e,t,n,r,i,a,o,s=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*a(e);c+=100*e+`%{${o(r,1-r)}}\n`}const u=c+`100% {${o(n,1-n)}}\n}`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_${s}`,h=e.ownerDocument;F.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(Q("style")).sheet),m=h.__svelte_rules||(h.__svelte_rules={});m[d]||(m[d]=!0,p.insertRule(`@keyframes ${d} ${u}`,p.cssRules.length));s=e.style.animation||"";return e.style.animation=`${s?`${s}, `:""}${d} ${r}ms linear ${i}ms 1 both`,_+=1,d}function E(e){M=e}function De(e){!function(){if(!M)throw new Error("Function called outside component initialization");return M}().$$.on_mount.push(e)}const T=[],Oe=[],o=[],s=[],I=Promise.resolve();let L=!1;function G(){L||(L=!0,I.then(N))}function ve(){return G(),I}function A(e){o.push(e)}let D=!1;const O=new Set;function N(){if(!D){D=!0;do{for(let e=0;e<T.length;e+=1){var t=T[e];E(t),function(e){{var t;null!==e.fragment&&(e.update(),J(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A))}}(t.$$)}for(E(null),T.length=0;Oe.length;)Oe.pop()();for(let e=0;e<o.length;e+=1){const n=o[e];O.has(n)||(O.add(n),n())}}while(o.length=0,T.length);for(;s.length;)s.pop()();L=!1,D=!1,O.clear()}}let B;function U(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}(`${t?"intro":"outro"}${n}`))}const H=new Set;let z;function j(){z={r:0,c:[],p:z}}function Y(){z.r||J(z.c),z=z.p}function W(e,t){e&&e.i&&(H.delete(e),e.i(t))}function V(e,t,n,r){e&&e.o&&(H.has(e)||(H.add(e),z.c.push(()=>{H.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const ae={duration:0};function oe(s,e,t,n){let l=e(s,t),c=n?0:1,u=null,d=null,h=null;function p(){h&&function(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),i=n.length-r.length;i&&(e.style.animation=r.join(", "),_-=i,_||v(()=>{_||(F.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),F.clear())}))}(s,h)}function m(e,t){var n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:r=g,tick:i=Z,css:a}=l||ae,o={start:y()+t,b:e};e||(o.group=z,z.r+=1),u||d?d=o:(a&&(p(),h=$(s,c,e,n,t,r,a)),e&&i(0,1),u=m(o,n),A(()=>U(s,e,"start")),function(t){let n;0===w.size&&v(b),new Promise(e=>{w.add(n={c:t,f:e})})}(e=>{if(d&&e>d.start&&(u=m(d,n),d=null,U(s,u.b,"start"),a&&(p(),h=$(s,c,u.b,u.duration,0,r,l.css))),u)if(e>=u.end)i(c=u.b,1-c),U(s,u.b,"end"),d||(u.b?p():--u.group.r||J(u.group.c)),u=null;else if(e>=u.start){const s=e-u.start;c=u.a+u.d*r(s/u.duration),i(c,1-c)}return!(!u&&!d)}))}return{run(e){f(l)?(B||(B=Promise.resolve(),B.then(()=>{B=null})),B.then(()=>{l=l(),r(e)})):r(e)},end(){p(),u=d=null}}}function se(e,t){e.d(1),t.delete(e.key)}function le(r,e,t,n,i,a,o=[-1]){var s=M;E(r);const l=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s?s.$$.context:e.context||[]),callbacks:d(),dirty:o,skip_bound:!1};let c=!1;if(l.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return l.ctx&&i(l.ctx[e],l.ctx[e]=n)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&(T.push(e),G(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],l.update(),c=!0,J(l.before_update),l.fragment=!!n&&n(l.ctx),e.target){if(e.hydrate){const r=(n=e.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(r),r.forEach(K)}else l.fragment&&l.fragment.c();e.intro&&W(r.$$.fragment),function(t,e,n,r){const{fragment:i,on_mount:a,on_destroy:o,after_update:s}=t.$$;i&&i.m(e,n),r||A(()=>{var e=a.map(u).filter(f);o?o.push(...e):J(e),t.$$.on_mount=[]}),s.forEach(A)}(r,e.target,e.anchor,e.customElement),N()}E(s)}let ce;"function"==typeof HTMLElement&&(ce=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(u).filter(f);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){J(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(J(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var ue,de,he="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==he&&he,pe="URLSearchParams"in he,me="Symbol"in he&&"iterator"in Symbol,ge="FileReader"in he&&"Blob"in he&&function(){try{return new Blob,!0}catch(e){return!1}}(),fe="FormData"in he,ye="ArrayBuffer"in he;function we(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 be(e){return e="string"!=typeof e?String(e):e}function xe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return me&&(e[Symbol.iterator]=function(){return e}),e}function Ce(t){this.map={},t instanceof Ce?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 Se(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Fe(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function ke(e){var t=new FileReader,n=Fe(t);return t.readAsArrayBuffer(e),n}function Me(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function _e(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ge&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:fe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:pe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ye&&ge&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=Me(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ye&&(ArrayBuffer.prototype.isPrototypeOf(e)||de(e))?this._bodyArrayBuffer=Me(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):pe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ge&&(this.blob=function(){var e=Se(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?Se(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(ke)}),this.text=function(){var e,t,n=Se(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=Fe(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},fe&&(this.formData=function(){return this.text().then(Te)}),this.json=function(){return this.text().then(JSON.parse)},this}ye&&(ue=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],de=ArrayBuffer.isView||function(e){return e&&-1<ue.indexOf(Object.prototype.toString.call(e))}),Ce.prototype.append=function(e,t){e=we(e),t=be(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},Ce.prototype.delete=function(e){delete this.map[we(e)]},Ce.prototype.get=function(e){return e=we(e),this.has(e)?this.map[e]:null},Ce.prototype.has=function(e){return this.map.hasOwnProperty(we(e))},Ce.prototype.set=function(e,t){this.map[we(e)]=be(t)},Ce.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},Ce.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),xe(n)},Ce.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),xe(t)},Ce.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),xe(n)},me&&(Ce.prototype[Symbol.iterator]=Ce.prototype.entries);var $e=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ee(e,t){if(!(this instanceof Ee))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof Ee){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Ce(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Ce(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<$e.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Te(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function Ie(e,t){if(!(this instanceof Ie))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 Ce(t.headers),this.url=t.url||"",this._initBody(e)}Ee.prototype.clone=function(){return new Ee(this,{body:this._bodyInit})},_e.call(Ee.prototype),_e.call(Ie.prototype),Ie.prototype.clone=function(){return new Ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ce(this.headers),url:this.url})},Ie.error=function(){var e=new Ie(null,{status:0,statusText:""});return e.type="error",e};var Le=[301,302,303,307,308];Ie.redirect=function(e,t){if(-1===Le.indexOf(t))throw new RangeError("Invalid status code");return new Ie(null,{status:t,headers:{location:e}})};var Ge=he.DOMException;try{new Ge}catch(e){(Ge=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Ge.prototype.constructor=Ge}function Pe(r,o){return new Promise(function(i,e){var t=new Ee(r,o);if(t.signal&&t.signal.aborted)return e(new Ge("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 Ce,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;setTimeout(function(){i(new Ie(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new Ge("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&he.location.href?he.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&&(ge?a.responseType="blob":ye&&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 Ce?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,be(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")}Pe.polyfill=!0,he.fetch||(he.fetch=Pe,he.Headers=Ce,he.Request=Ee,he.Response=Ie);var Re=self.fetch.bind(self),Ne=function(e,t){return(Ne=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 Be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ne(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ue(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function He(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function ze(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function je(e){return"function"==typeof e}function Ye(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 We=Ye(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 Ve(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var Ze=(Xe.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Ue(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){i=e instanceof We?e.errors:[e]}a=this._teardowns;if(a){this._teardowns=null;try{for(var l=Ue(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{Ke(u)}catch(e){i=null!=i?i:[],e instanceof We?i=ze(ze([],He(i)),He(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new We(i)}},Xe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ke(e);else{if(e instanceof Xe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Xe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Xe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Xe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ve(t,e)},Xe.prototype.remove=function(e){var t=this._teardowns;t&&Ve(t,e),e instanceof Xe&&e._removeParent(this)},Xe.EMPTY=((bn=new Xe).closed=!0,bn),Xe),Je=Ze.EMPTY;function Xe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function qe(e){return e instanceof Ze||e&&"closed"in e&&je(e.remove)&&je(e.add)&&je(e.unsubscribe)}function Ke(e){je(e)?e():e.unsubscribe()}var Qe=void 0,et=!1,tt=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,ze([],He(e)))};function nt(){}function rt(e){e()}var it,at,ot=(Be(ct,at=Ze),ct.create=function(e,t,n){return new st(e,t,n)},ct.prototype.next=function(e){this.isStopped||this._next(e)},ct.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},ct.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},ct.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,at.prototype.unsubscribe.call(this),this.destination=null)},ct.prototype._next=function(e){this.destination.next(e)},ct.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},ct.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},ct),st=(Be(lt,it=ot),lt);function lt(e,t,n){var r,i,a=it.call(this)||this;return je(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,a&&et?(r=Object.create(e)).unsubscribe=function(){return a.unsubscribe()}:r=e,i=null==i?void 0:i.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),a.destination={next:i?ut(i):nt,error:ut(null!=t?t:dt),complete:n?ut(n):nt},a}function ct(e){var t=at.call(this)||this;return t.isStopped=!1,e?qe(t.destination=e)&&e.add(t):t.destination=ht,t}function ut(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,ze([],He(e)))}catch(e){t=e,tt(function(){throw t})}}}function dt(e){throw e}var ht={closed:!0,next:nt,error:dt,complete:nt},pt="function"==typeof Symbol&&Symbol.observable||"@@observable";function mt(e){return e}var gt=(ft.prototype.lift=function(e){var t=new ft;return t.source=this,t.operator=e,t},ft.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof ot||r&&je(r.next)&&je(r.error)&&je(r.complete)&&qe(r)?e:new st(e,t,n);return rt(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},ft.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},ft.prototype.forEach=function(r,e){var i=this;return new(e=yt(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},ft.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},ft.prototype[pt]=function(){return this},ft.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?mt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},ft.prototype.toPromise=function(e){var r=this;return new(e=yt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},ft.create=function(e){return new ft(e)},ft);function ft(e){e&&(this._subscribe=e)}function yt(e){return null!==(e=null!=e?e:Qe)&&void 0!==e?e:Promise}var vt,wt,bt,xt=Ye(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ct=(Be($t,bt=gt),$t.prototype.lift=function(e){var t=new St(this,this);return t.operator=e,t},$t.prototype._throwIfClosed=function(){if(this.closed)throw new xt},$t.prototype.next=function(a){var o=this;rt(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){var n=o.observers.slice();try{for(var r=Ue(n),i=r.next();!i.done;i=r.next())i.value.next(a)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},$t.prototype.error=function(t){var n=this;rt(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)}})},$t.prototype.complete=function(){var t=this;rt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},$t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty($t.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),$t.prototype._trySubscribe=function(e){return this._throwIfClosed(),bt.prototype._trySubscribe.call(this,e)},$t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},$t.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?Je:(r.push(e),new Ze(function(){return Ve(r,e)}))},$t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},$t.prototype.asObservable=function(){var e=new gt;return e.source=this,e},$t.create=function(e,t){return new St(e,t)},$t),St=(Be(_t,wt=Ct),_t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},_t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},_t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},_t.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Je},_t),Ft={now:function(){return(Ft.delegate||Date).now()},delegate:void 0},kt=(Be(Mt,vt=Ct),Mt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(a.now()+t)),this._trimBuffer(),vt.prototype.next.call(this,e)},Mt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},Mt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},Mt);function Mt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Ft);var r=vt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function _t(e,t){var n=wt.call(this)||this;return n.destination=e,n.source=t,n}function $t(){var e=bt.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Et=[],Tt={};const It=[];function Lt(r,i=Z){let a;const o=[];function s(e){if(n(r,e)&&(r=e,a)){const e=!It.length;for(let e=0;e<o.length;e+=1){const a=o[e];a[1](),It.push(a,r)}if(e){for(let e=0;e<It.length;e+=2)It[e][0](It[e+1]);It.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.push(n),1===o.length&&(a=i(s)||Z),e(r),()=>{var e=o.indexOf(n);-1!==e&&o.splice(e,1),0===o.length&&(a(),a=null)}}}}function Gt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Lt(t,t=>{let n=!1;const r=[];let i=0,a=Z;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),u?t(e):a=f(e)?e:Z)},e=c.map((e,t)=>h(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){J(e),a()}}).subscribe}}var Pt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Rt));var t},Rt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function At(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ut(Array.isArray(e)?[]:{},e,t):e}function Dt(e,t,n){return e.concat(t).map(function(e){return At(e,n)})}function Ot(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Nt(e,t){try{return t in e}catch(e){return!1}}function Bt(r,i,a){var o={};return a.isMergeableObject(r)&&Ot(r).forEach(function(e){o[e]=At(r[e],a)}),Ot(i).forEach(function(t){var e,n;(!Nt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Nt(r,t)&&a.isMergeableObject(i[t])?o[t]=function(){if(!a.customMerge)return Ut;var e=a.customMerge(t);return"function"==typeof e?e:Ut}()(r[t],i[t],a):o[t]=At(i[t],a))}),o}function Ut(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Dt,n.isMergeableObject=n.isMergeableObject||Pt,n.cloneUnlessOtherwiseSpecified=At;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Bt(e,t,n):At(t,n)}Ut.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Ut(e,t,n)},{})};var Ht=Ut,zt=function(e,t){return(zt=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 jt(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}zt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Yt,Wt,Vt,Zt=function(){return(Zt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Jt(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function Xt(e){return e.type===Wt.literal}function qt(e){return e.type===Wt.number}function Kt(e){return e.type===Wt.date}function Qt(e){return e.type===Wt.time}function en(e){return e.type===Wt.select}function tn(e){return e.type===Wt.plural}function nn(e){return e.type===Wt.tag}function rn(e){return e&&"object"==typeof e&&e.type===Vt.number}function an(e){return e&&"object"==typeof e&&e.type===Vt.dateTime}(xn=Yt=Yt||{})[xn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",xn[xn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",xn[xn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",xn[xn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",xn[xn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",xn[xn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",xn[xn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",xn[xn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",xn[xn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",xn[xn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",xn[xn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",xn[xn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",xn[xn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",xn[xn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",xn[xn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",xn[xn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",xn[xn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",xn[xn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",xn[xn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",xn[xn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",xn[xn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",xn[xn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",xn[xn.INVALID_TAG=23]="INVALID_TAG",xn[xn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",xn[xn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",xn[xn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Cn=Wt=Wt||{})[Cn.literal=0]="literal",Cn[Cn.argument=1]="argument",Cn[Cn.number=2]="number",Cn[Cn.date=3]="date",Cn[Cn.time=4]="time",Cn[Cn.select=5]="select",Cn[Cn.plural=6]="plural",Cn[Cn.pound=7]="pound",Cn[Cn.tag=8]="tag",(Sn=Vt=Vt||{})[Sn.number=0]="number",Sn[Sn.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,on=/(?:[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 sn,ln=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,cn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,un=/^(@+)?(\+|#+)?$/g,dn=/(\*)(0+)|(#+)(0+)|(0+)/g,hn=/^(0+)$/;function pn(e){var r={};return e.replace(un,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function mn(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 gn(e){return mn(e)||{}}function fn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=Zt(Zt(Zt({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return Zt(Zt({},e),gn(t))},{}));continue;case"engineering":o=Zt(Zt(Zt({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return Zt(Zt({},e),gn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(dn,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(hn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(cn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(cn,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""}),i.options.length&&(o=Zt(Zt({},o),pn(i.options[0])))}else un.test(i.stem)?o=Zt(Zt({},o),pn(i.stem)):((r=mn(i.stem))&&(o=Zt(Zt({},o),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!hn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=Zt(Zt({},o),r)))}return o}var yn=new RegExp("^"+r.source+"*"),vn=new RegExp(r.source+"*$");function wn(e,t){return{start:e,end:t}}var bn=!!String.prototype.startsWith,pt=!!String.fromCodePoint,Ct=!!Object.fromEntries,xn=!!String.prototype.codePointAt,Cn=!!String.prototype.trimStart,Sn=!!String.prototype.trimEnd,Fn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},r=!0;try{r="a"===(null===(sn=Pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===sn?void 0:sn[0])}catch(e){r=!1}var kn,Mn,_n=bn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},$n=pt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},En=Ct?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},Tn=xn?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},Ln=Cn?function(e){return e.trimStart()}:function(e){return e.replace(yn,"")},Gn=Sn?function(e){return e.trimEnd()}:function(e){return e.replace(vn,"")};function Pn(e,t){return new RegExp(e,t)}Mn=r?(kn=Pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return kn.lastIndex=t,null!==(e=kn.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=Tn(e,t);if(void 0===i||On(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return $n.apply(void 0,r)};var Rn=(An.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},An.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Yt.UNMATCHED_CLOSING_TAG,wn(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Dn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:Wt.pound,location:wn(a,this.clonePosition())})}}}return{val:r,err:null}},An.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Wt.literal,value:"<"+r+"/>",location:wn(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Dn(this.char()))return this.error(Yt.INVALID_TAG,wn(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(Yt.UNMATCHED_CLOSING_TAG,wn(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Wt.tag,value:r,children:e,location:wn(n,this.clonePosition())},err:null}:this.error(Yt.INVALID_TAG,wn(t,this.clonePosition())))}return this.error(Yt.UNCLOSED_TAG,wn(n,this.clonePosition()))}return this.error(Yt.INVALID_TAG,wn(n,this.clonePosition()))},An.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())},An.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=wn(n,this.clonePosition());return{val:{type:Wt.literal,value:r,location:n},err:null}},An.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Dn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},An.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 $n.apply(void 0,t)},An.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(),$n(n))},An.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Yt.EXPECT_ARGUMENT_CLOSING_BRACE,wn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Yt.EMPTY_ARGUMENT,wn(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Yt.MALFORMED_ARGUMENT,wn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Yt.EXPECT_ARGUMENT_CLOSING_BRACE,wn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Wt.argument,value:r,location:wn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Yt.EXPECT_ARGUMENT_CLOSING_BRACE,wn(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Yt.MALFORMED_ARGUMENT,wn(n,this.clonePosition()))}},An.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Mn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:wn(e,this.clonePosition())}},An.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(Yt.EXPECT_ARGUMENT_TYPE,wn(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===(d=Gn(h.val)).length)return this.error(Yt.EXPECT_ARGUMENT_STYLE,wn(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:wn(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(r)).err)return p;var u=wn(r,this.clonePosition());if(l&&_n(null==l?void 0:l.style,"::",0)){c=Ln(l.style.slice(2));if("number"===o)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:Wt.number,value:n,location:u,style:h.val},err:null};if(0===c.length)return this.error(Yt.EXPECT_DATE_TIME_SKELETON,u);var d={type:Vt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(on,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===o?Wt.date:Wt.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===o?Wt.number:"date"===o?Wt.date:Wt.time,value:n,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Yt.EXPECT_SELECT_ARGUMENT_OPTIONS,wn(l,Zt({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==o&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(Yt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,wn(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Yt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Yt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=h.val}u=this.tryParsePluralOrSelectOptions(e,o,t,u);if(u.err)return u;if((p=this.tryParseArgumentClose(r)).err)return p;var p=wn(r,this.clonePosition());return"select"===o?{val:{type:Wt.select,value:n,options:En(u.val),location:p},err:null}:{val:{type:Wt.plural,value:n,options:En(u.val),offset:l,pluralType:"plural"===o?"cardinal":"ordinal",location:p},err:null};default:return this.error(Yt.INVALID_ARGUMENT_TYPE,wn(a,s))}},An.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Yt.EXPECT_ARGUMENT_CLOSING_BRACE,wn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},An.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(Yt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,wn(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}},An.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(ln).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(Yt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Vt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?fn(n):{}},err:null}},An.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Yt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Yt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=wn(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?Yt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Yt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Yt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Yt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,wn(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;c=this.tryParseArgumentClose(d);if(c.err)return c;a.push([s,{value:u.val,location:wn(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?Yt.EXPECT_SELECT_ARGUMENT_SELECTOR:Yt.EXPECT_PLURAL_ARGUMENT_SELECTOR,wn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Yt.MISSING_OTHER_CLAUSE,wn(this.clonePosition(),this.clonePosition())):{val:a,err:null}},An.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=wn(r,this.clonePosition());return i?Fn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},An.prototype.offset=function(){return this.position.offset},An.prototype.isEOF=function(){return this.offset()===this.message.length},An.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},An.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Tn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},An.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},An.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))},An.prototype.bumpIf=function(e){if(_n(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},An.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},An.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},An.prototype.bumpSpace=function(){for(;!this.isEOF()&&On(this.char());)this.bump()},An.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},An);function An(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Dn(e){return 97<=e&&e<=122||65<=e&&e<=90}function On(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Nn(e,t){t=Zt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Rn(e,t).parse();if(n.err){e=SyntaxError(Yt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,en(e)||tn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else qt(e)&&rn(e.style)||(Kt(e)||Qt(e))&&an(e.style)?delete e.style.location:nn(e)&&n(e.children)})}(n.val),n.val}function Bn(e,t){var n=t&&t.cache?t.cache:Vn,r=t&&t.serializer?t.serializer:jn;return(t&&t.strategy?t.strategy:function(e,t){return zn(e,this,1===e.length?Un:Hn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Un(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function Hn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function zn(e,t,n,r,i){return n.bind(t,e,r,i)}var jn=function(){return JSON.stringify(arguments)};function Yn(){this.cache=Object.create(null)}Yn.prototype.has=function(e){return e in this.cache},Yn.prototype.get=function(e){return this.cache[e]},Yn.prototype.set=function(e,t){this.cache[e]=t};var Wn,Vn={create:function(){return new Yn}},Zn={variadic:function(e,t){return zn(e,this,Hn,t.cache.create(),t.serializer)},monadic:function(e,t){return zn(e,this,Un,t.cache.create(),t.serializer)}};(r=Wn=Wn||{}).MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API";var Jn,Xn,qn,Kn,Qn,er=(jt(sr,Qn=Error),sr.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},sr),tr=(jt(or,Kn=er),or),nr=(jt(ar,qn=er),ar),rr=(jt(ir,Xn=er),ir);function ir(e,t){return Xn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Wn.MISSING_VALUE,t)||this}function ar(e,t,n){return qn.call(this,'Value for "'+e+'" must be of type '+t,Wn.INVALID_VALUE,n)||this}function or(e,t,n,r){return Kn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',Wn.INVALID_VALUE,r)||this}function sr(e,t,n){e=Qn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function lr(e,t,n,r,i,a,o){if(1===e.length&&Xt(e[0]))return[{type:Jn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Xt(u))s.push({type:Jn.literal,value:u.value});else if(u.type===Wt.pound)"number"==typeof a&&s.push({type:Jn.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new rr(d,o);var h=i[d];if(u.type===Wt.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Jn.literal:Jn.object,value:h});else if(Kt(u)){var p="string"==typeof u.style?r.date[u.style]:an(u.style)?u.style.parsedOptions:void 0;s.push({type:Jn.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(Qt(u))p="string"==typeof u.style?r.time[u.style]:an(u.style)?u.style.parsedOptions:void 0,s.push({type:Jn.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(qt(u))(p="string"==typeof u.style?r.number[u.style]:rn(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:Jn.literal,value:n.getNumberFormat(t,p).format(h)});else{if(nn(u)){var m=u.children,g=u.value,d=i[g];if("function"!=typeof d)throw new nr(g,"function",o);m=d(lr(m,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?Jn.literal:Jn.object,value:e}}))}if(en(u)){if(!(f=u.options[h]||u.options.other))throw new tr(u.value,h,Object.keys(u.options),o);s.push.apply(s,lr(f.value,t,n,r,i))}else if(tn(u)){if(!(f=u.options["="+h])){if(!Intl.PluralRules)throw new er('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Wn.MISSING_INTL_API,o);var m=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),f=u.options[m]||u.options.other}if(!f)throw new tr(u.value,h,Object.keys(u.options),o);s.push.apply(s,lr(f.value,t,n,r,i,h-(u.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Jn.literal&&t.type===Jn.literal?n.value+=t.value:e.push(t),e},[])}function cr(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(r=Jn=Jn||{})[r.literal=0]="literal",r[r.object=1]="object";var ur=(Object.defineProperty(dr,"defaultLocale",{get:function(){return dr.memoizedDefaultLocale||(dr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),dr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),dr.memoizedDefaultLocale=null,dr.__parse=Nn,dr.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"}}},dr);function dr(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=dr.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===Jn.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 lr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof e){if(this.message=e,!dr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=dr.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=dr.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?Zt(Zt(Zt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=Zt(Zt({},n[t]),r[t]||{}),e},{})):n),e},Zt({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:Bn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Jt([void 0],t)))},{cache:cr((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:Zn.variadic}),getDateTimeFormat:Bn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Jt([void 0],t)))},{cache:cr(r.dateTime),strategy:Zn.variadic}),getPluralRules:Bn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Jt([void 0],t)))},{cache:cr(r.pluralRules),strategy:Zn.variadic})}}const hr={},pr=(t,n)=>{if(null!=n){if(n in hr&&t in hr[n])return hr[n][t];var r,i,a=Er(n);for(let e=0;e<a.length;e++){var o=(r=a[e],i=t,fr(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return mr[e]||null}(r),i):null);if(o)return r=t,i=n,(o=o)&&(i in hr||(hr[i]={}),r in hr[i]||(hr[i][r]=o),o)}}};let mr;const gr=Lt({});function fr(e){return e in mr}function yr(t,...n){delete hr[t],gr.update(e=>(e[t]=Ht.all([e[t]||{},...n]),e))}Gt([gr],([e])=>Object.keys(e)),gr.subscribe(e=>mr=e);const vr={};function wr(e){return vr[e]}function br(e){return Er(e).some(e=>{return null===(e=wr(e))||void 0===e?void 0:e.size})}const xr={};function Cr(e){if(!br(e))return e in xr?xr[e]:void 0;const t=Er(e).map(e=>{var t=wr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return xr[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){vr[e].delete(t),0===vr[e].size&&delete vr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>yr(t,...e))}(e))).then(()=>br(e)?Cr(e):void delete xr[e]),xr[e]}function Sr(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Fr={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const kr=Lt(!1);let Mr;const _r=Lt(null);function $r(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Er(e,t=Fr.fallbackLocale){e=$r(e);return t?[...new Set([...e,...$r(t)])]:e}_r.subscribe(e=>{Mr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Tr=_r.set;_r.set=t=>{if(function(e){if(null!=e){var t=Er(e);for(let e=0;e<t.length;e++){var n=t[e];if(fr(n))return n}}}(t)&&br(t)){var{loadingDelay:n}=Fr;let e;return"undefined"!=typeof window&&null!=Mr&&n?e=window.setTimeout(()=>kr.set(!0),n):kr.set(!0),Cr(t).then(()=>{Tr(t)}).finally(()=>{clearTimeout(e),kr.set(!1)})}return Tr(t)},_r.update=e=>Tr(e(Mr));const Ir=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Lr=(e,t)=>{var{formats:n}=Fr;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Gr=Ir(e=>{var{locale:t,format:n}=e,e=Sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Lr("number",n)),new Intl.NumberFormat(t,e)}),Pr=Ir(e=>{var{locale:t,format:n}=e,e=Sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Lr("date",n):0===Object.keys(e).length&&(e=Lr("date","short")),new Intl.DateTimeFormat(t,e)}),Rr=Ir(e=>{var{locale:t,format:n}=e,e=Sr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Lr("time",n):0===Object.keys(e).length&&(e=Lr("time","short")),new Intl.DateTimeFormat(t,e)}),Ar=Ir((e,t=Mr)=>new ur(e,t,Fr.formats,{ignoreTag:Fr.ignoreTag})),Dr=Gt([_r,gr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=Mr,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let a=pr(e,r);if(a){if("string"!=typeof a)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof a}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),a}else Fr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Er(r).join('", "')}".${br(Mr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),a=i||e;if(!n)return a;let o=a;try{o=Ar(a,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return o});Gt([_r],()=>(e,t)=>((e={})=>{var{locale:t=Mr}=e,e=Sr(e,["locale"]);return Rr(Object.assign({locale:t},e))})(t).format(e)),Gt([_r],()=>(e,t)=>((e={})=>{var{locale:t=Mr}=e,e=Sr(e,["locale"]);return Pr(Object.assign({locale:t},e))})(t).format(e)),Gt([_r],()=>(e,t)=>((e={})=>{var{locale:t=Mr}=e,e=Sr(e,["locale"]);return Gr(Object.assign({locale:t},e))})(t).format(e)),Gt([_r,gr],()=>(e,t=Mr)=>pr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Et.indexOf(e)&&(t=new kt(t),Tt[e]=t,Et.push(e)),Tt[e]}};const Or=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Nr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Br(e){var t=window.navigator.userAgent;return Or(t)?e.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):e.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})}function Ur(r,i){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),Re(`${r}/player/session/player`,{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Hr(e){_r.set(e)}const zr={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"},fallbackMainMenu:{sports:"Sports",casino:"Casino",liveCasino:"Live Casino",virtualSports:"Virtual Sports",tournaments:"Tournaments"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},fallbackMainMenu:{sports:"Spor Dalları",casino:"Kumarhane",liveCasino:"Canlı kumarhane",virtualSports:"Sanal Sporlar",tournaments:"Turnuvalar"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},fallbackMainMenu:{sports:"Sport",casino:"Cazino",liveCasino:"Cazinou live",virtualSports:"Sport virtual",tournaments:"Turnee"}}};function jr(e,t,n){const r=e.slice();return r[33]=t[n],r[35]=n,r}function Yr(t){let r,i=[],n=new Map,a=t[0];const o=e=>e[33].id;for(let e=0;e<a.length;e+=1){var s=jr(t,a,e),l=o(s);n.set(l,i[e]=Zr(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);q(t,r,n)},p(e,t){295&t[0]&&(a=e[0],i=function(t,n,r,i,a,o,s,l,e,c,u,d){let h=t.length,p=o.length,m=h;const g={};for(;m--;)g[t[m].key]=m;const f=[],y=new Map,v=new Map;for(m=p;m--;){const t=d(a,o,m),l=r(t);let e=s.get(l);e?i&&e.p(t,n):(e=c(l,t),e.c()),y.set(l,f[m]=e),l in g&&v.set(l,Math.abs(m-g[l]))}const w=new Set,b=new Set;function x(e){W(e,1),e.m(l,u),s.set(e.key,e),u=e.first,p--}for(;h&&p;){const n=f[p-1],r=t[h-1],i=n.key,a=r.key;n===r?(u=n.first,h--,p--):y.has(a)?!s.has(i)||w.has(i)?x(n):b.has(a)?h--:v.get(i)>v.get(a)?(b.add(i),x(n)):(w.add(a),h--):(e(r,s),h--)}for(;h--;){const n=t[h];y.has(n.key)||e(n,s)}for(;p;)x(f[p-1]);return f}(i,t,o,1,e,a,n,r.parentNode,se,Zr,r,jr))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&K(r)}}}function Wr(e){let n,r,i,a=e[33].name+"",o="FAVORITES"===e[33].id?"("+e[1]+")":"";return{c(){n=ee(a),r=te(),i=ee(o)},m(e,t){q(e,n,t),q(e,r,t),q(e,i,t)},p(e,t){1&t[0]&&a!==(a=e[33].name+"")&&ie(n,a),3&t[0]&&o!==(o="FAVORITES"===e[33].id?"("+e[1]+")":"")&&ie(i,o)},d(e){e&&K(n),e&&K(r),e&&K(i)}}}function Vr(e){let n,r,i=e[33].label+"";return{c(){n=Q("a"),r=ee(i)},m(e,t){q(e,n,t),X(n,r)},p(e,t){1&t[0]&&i!==(i=e[33].label+"")&&ie(r,i)},d(e){e&&K(n)}}}function Zr(e,n){let r,i,a,o;function s(e){return"headerMain"===e[2]?Vr:Wr}let l=s(n),c=l(n);function u(...e){return n[21](n[33],n[35],...e)}return{key:e,first:null,c(){r=Q("li"),c.c(),i=te(),re(r,"class","CarouselItem"),re(r,"part","CarouselItem"),R(r,"active",n[5]==n[35]),this.first=r},m(e,t){q(e,r,t),c.m(r,null),X(r,i),a||(o=ne(r,"click",u),a=!0)},p(e,t){l===(l=s(n=e))&&c?c.p(n,t):(c.d(1),c=l(n),c&&(c.c(),c.m(r,i))),33&t[0]&&R(r,"active",n[5]==n[35])},d(e){e&&K(r),c.d(),a=!1,o()}}}function Jr(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=0<n[0].length&&Yr(n);return{c(){r=Q("div"),i=Q("div"),a=Q("div"),a.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=te(),s=Q("ul"),y&&y.c(),l=te(),c=Q("div"),c.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',this.c=Z,re(a,"class","CarouselLeftArrow"),re(a,"part","CarouselLeftArrow"),re(s,"class","CarouselItems"),re(s,"part","CarouselItems"),re(c,"class","CarouselRightArrow"),re(c,"part","CarouselRightArrow"),re(i,"class",u="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),re(i,"part",d="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[2]?"CarouselContainerHeaderMain":"")),re(i,"style",h="headerMain"===n[2]?"max-width: auto":`max-width: ${n[3]}px`),re(r,"class",p="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":"")),re(r,"part",m="CarouselWrapper "+("headerMain"===n[2]?"CarouselWrapperHeaderMain":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),y&&y.m(s,null),n[22](s),X(i,l),X(i,c),n[24](r),g||(f=[ne(a,"click",n[20]),ne(c,"click",n[23])],g=!0)},p(e,t){0<e[0].length?y?y.p(e,t):(y=Yr(e),y.c(),y.m(s,null)):y&&(y.d(1),y=null),4&t[0]&&u!==(u="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&re(i,"class",u),4&t[0]&&d!==(d="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[2]?"CarouselContainerHeaderMain":""))&&re(i,"part",d),12&t[0]&&h!==(h="headerMain"===e[2]?"max-width: auto":`max-width: ${e[3]}px`)&&re(i,"style",h),4&t[0]&&p!==(p="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&re(r,"class",p),4&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[2]?"CarouselWrapperHeaderMain":""))&&re(r,"part",m)},i:Z,o:Z,d(e){e&&K(r),y&&y.d(),n[22](null),n[24](null),g=!1,J(f)}}}function Xr(t,e,n){let r;Ae(t,Dr,e=>n(25,r=e));let{sliderdata:i=[]}=e,{onclickeventname:a="defaultEvent"}=e,{actionevent:o="defaultEvent"}=e,{favoritesnumber:s="0"}=e,{location:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{identity:d=""}=e,{containermaxwidth:h=""}=e,{isprimarymenu:p=!1}=e,{issecondarymenu:m=!1}=e,{lang:g=""}=e,{activeindex:f=""}=e;var y,v;[{withLocale:y,translations:v}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(v),_r.set(y))}),Object.keys(zr).forEach(e=>{yr(e,zr[e])});let w,b,x,C=window.navigator.userAgent,S="PC"!==Nr(C),F=[{id:0,label:r("fallbackMainMenu.sports"),path:"/sports"},{id:1,label:r("fallbackMainMenu.casino"),path:"/casino"},{id:2,label:r("fallbackMainMenu.liveCasino"),path:"/live-casino"},{id:3,label:r("fallbackMainMenu.virtualSports"),path:"/virtual-sports"},{id:4,label:r("fallbackMainMenu.tournaments"),path:"/tournaments"}],k=(e,t)=>{n(5,b=t),window.postMessage({type:o,itemId:e.id,index:t,item:e},window.location.href)},M=()=>{w.scrollBy({left:-250,behavior:"smooth"})},_=()=>{w.scrollBy({left:250,behavior:"smooth"})};const $=e=>{"SliderData"==e.data.type&&e.data.identity==d&&n(0,i=e.data.data)};return De(()=>(p&&!i.length&&n(0,i=F),window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)})),t.$$set=e=>{"sliderdata"in e&&n(0,i=e.sliderdata),"onclickeventname"in e&&n(11,a=e.onclickeventname),"actionevent"in e&&n(12,o=e.actionevent),"favoritesnumber"in e&&n(1,s=e.favoritesnumber),"location"in e&&n(2,l=e.location),"clientstyling"in e&&n(13,c=e.clientstyling),"clientstylingurl"in e&&n(14,u=e.clientstylingurl),"identity"in e&&n(15,d=e.identity),"containermaxwidth"in e&&n(3,h=e.containermaxwidth),"isprimarymenu"in e&&n(16,p=e.isprimarymenu),"issecondarymenu"in e&&n(17,m=e.issecondarymenu),"lang"in e&&n(18,g=e.lang),"activeindex"in e&&n(19,f=e.activeindex)},t.$$.update=()=>{var e;524288&t.$$.dirty[0]&&(f||0==f)&&n(5,b=parseInt(f,10)),8192&t.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{x.appendChild(e)})})(),16384&t.$$.dirty[0]&&u&&(()=>{let t=document.createElement("style"),e=new URL(u);u&&fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{x.appendChild(t)},1)})})(),262144&t.$$.dirty[0]&&g&&(e=g,_r.set(e))},[i,s,l,h,w,b,x,S,k,M,_,a,o,c,u,d,p,m,g,f,()=>M(),(e,t,n)=>k(e,t),function(e){Oe[e?"unshift":"push"](()=>{w=e,n(4,w)})},()=>_(),function(e){Oe[e?"unshift":"push"](()=>{x=e,n(6,x)})}]}function qr(n){let r,i,a,o;return{c(){r=Q("div"),i=Q("casino-slider"),C(i,"identity",ti),C(i,"favoritesnumber",n[8]),C(i,"clientstyling",n[0]),C(i,"clientstylingurl",n[1]),C(i,"containermaxwidth",n[2]),C(i,"activeindex",n[5]),C(i,"actionevent",n[3]),re(r,"class","CasinoCategoriesContainer"),re(r,"part","CasinoCategoriesContainer")},m(e,t){q(e,r,t),X(r,i),a||(o=l(n[10].call(null,i)),a=!0)},p(e,t){256&t[0]&&C(i,"favoritesnumber",e[8]),1&t[0]&&C(i,"clientstyling",e[0]),2&t[0]&&C(i,"clientstylingurl",e[1]),4&t[0]&&C(i,"containermaxwidth",e[2]),32&t[0]&&C(i,"activeindex",e[5]),8&t[0]&&C(i,"actionevent",e[3])},d(e){e&&K(r),a=!1,o()}}}function Kr(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function Qr(e){let n;return{c(){n=Q("div"),re(n,"class","CasinoCategoriesLoading"),re(n,"part","CasinoCategoriesLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function ei(n){let r;function i(e){return e[4]||e[9]?Qr:e[6]?Kr:qr}let a=i(n),o=a(n);return{c(){r=Q("div"),o.c(),this.c=Z,re(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),o.m(r,null),n[20](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&K(r),o.d(),n[20](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:13px 19px;font-size:16px;text-align:center;line-height:26px;transition:all 150ms ease-in-out;white-space:nowrap}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-top:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Xr,Jr,n,{sliderdata:0,onclickeventname:11,actionevent:12,favoritesnumber:1,location:2,clientstyling:13,clientstylingurl:14,identity:15,containermaxwidth:3,isprimarymenu:16,issecondarymenu:17,lang:18,activeindex:19},[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sliderdata","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex"]}get sliderdata(){return this.$$.ctx[0]}set sliderdata(e){this.$set({sliderdata:e}),N()}get onclickeventname(){return this.$$.ctx[11]}set onclickeventname(e){this.$set({onclickeventname:e}),N()}get actionevent(){return this.$$.ctx[12]}set actionevent(e){this.$set({actionevent:e}),N()}get favoritesnumber(){return this.$$.ctx[1]}set favoritesnumber(e){this.$set({favoritesnumber:e}),N()}get location(){return this.$$.ctx[2]}set location(e){this.$set({location:e}),N()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get identity(){return this.$$.ctx[15]}set identity(e){this.$set({identity:e}),N()}get containermaxwidth(){return this.$$.ctx[3]}set containermaxwidth(e){this.$set({containermaxwidth:e}),N()}get isprimarymenu(){return this.$$.ctx[16]}set isprimarymenu(e){this.$set({isprimarymenu:e}),N()}get issecondarymenu(){return this.$$.ctx[17]}set issecondarymenu(e){this.$set({issecondarymenu:e}),N()}get lang(){return this.$$.ctx[18]}set lang(e){this.$set({lang:e}),N()}get activeindex(){return this.$$.ctx[19]}set activeindex(e){this.$set({activeindex:e}),N()}});let ti="CasinoSliderData";function ni(e,t,n){let r,i,a,{endpoint:o=""}=t,{datasource:s=""}=t,{lang:l=""}=t,{userid:c=""}=t,{session:u=""}=t,{mostplayed:d=""}=t,{mostplayedrounds:h=""}=t,{favorites:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{containermaxwidth:f=""}=t,{activecategory:y=""}=t,{actionevent:v=""}=t,w=0,b=!0,x=[],C=!1,S=window.navigator.userAgent,F=!1,k=!1,M=!1;const _=e=>{if(e.data)switch(e.data.type){case"UpdateCategoryFavoriteGames":case"ShowFavoriteSection":var t=Br(e.data.receivedFavoriteResults.items);n(8,a=t.length)}};return De(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)})),e.$$set=e=>{"endpoint"in e&&n(11,o=e.endpoint),"datasource"in e&&n(12,s=e.datasource),"lang"in e&&n(13,l=e.lang),"userid"in e&&n(14,c=e.userid),"session"in e&&n(15,u=e.session),"mostplayed"in e&&n(16,d=e.mostplayed),"mostplayedrounds"in e&&n(17,h=e.mostplayedrounds),"favorites"in e&&n(18,p=e.favorites),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(1,g=e.clientstylingurl),"containermaxwidth"in e&&n(2,f=e.containermaxwidth),"activecategory"in e&&n(19,y=e.activecategory),"actionevent"in e&&n(3,v=e.actionevent)},e.$$.update=()=>{14336&e.$$.dirty[0]&&o&&s&&l&&(()=>{if(o||(r="Endpoint is missing! Please provide a valid endpointURL.",n(6,C=!0),n(4,b=!1),console.error(r)),s||(r="Datasource is missing! Please provide a valid datasource.",n(6,C=!0),n(4,b=!1),console.error(r)),l&&2==l.length||(r="Language is missing! Please provide a valid language (alpha2code)",n(6,C=!0),n(4,b=!1),console.error(r)),!C){let e=new URL(`${o}/casino/groups/${s}`);e.searchParams.append("datasource",s),e.searchParams.append("platform",Nr(S)),e.searchParams.append("language",l),fetch(e).then(e=>e.json()).then(e=>{e=e.items.filter(e=>0<e.games.total);x=x.concat(e),x.unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(4,b=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(6,C=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(6,C=!0),console.error("There was an error while fetching the categories",e)})}})(),524304&e.$$.dirty[0]&&!b&&y&&n(5,w=x.map(e=>e.id).indexOf(y)),34816&e.$$.dirty[0]&&u&&o&&Ur(o,u).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),294912&e.$$.dirty[0]&&u&&p&&(0==F&&"true"==p&&x.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),F=!0),116736&e.$$.dirty[0]&&u&&o&&c&&d&&d&&(n(9,M=!0),(()=>{if(d){let e=new URL(`${o}/player/${c}/games/most-played`),t=Nr(S);return t?"PC"===t?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),e.searchParams.append("rounds",h),new Promise((t,n)=>{fetch(e.href).then(e=>e.json()).then(e=>{0==e.count&&t(!1),t(!0)}).catch(e=>{console.error("err",e),n(!1)})})}})().then(e=>{0==k&&"true"==d&&e&&x.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(9,M=!1),ve(),k=!0})),1&e.$$.dirty[0]&&m&&(()=>{let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)})(),2&e.$$.dirty[0]&&g&&(()=>{let t=document.createElement("style"),e=new URL(g);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},n(8,a=0),[m,g,f,v,b,w,C,i,a,M,e=>{window.postMessage({type:"SliderData",identity:ti,data:x},window.location.href)},o,s,l,c,u,d,h,p,y,function(e){Oe[e?"unshift":"push"](()=>{i=e,n(7,i)})}]}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:black}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ni,ei,n,{endpoint:11,datasource:12,lang:13,userid:14,session:15,mostplayed:16,mostplayedrounds:17,favorites:18,clientstyling:0,clientstylingurl:1,containermaxwidth:2,activecategory:19,actionevent:3},[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","mostplayedrounds","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent"]}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$set({endpoint:e}),N()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$set({datasource:e}),N()}get lang(){return this.$$.ctx[13]}set lang(e){this.$set({lang:e}),N()}get userid(){return this.$$.ctx[14]}set userid(e){this.$set({userid:e}),N()}get session(){return this.$$.ctx[15]}set session(e){this.$set({session:e}),N()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(e){this.$set({mostplayed:e}),N()}get mostplayedrounds(){return this.$$.ctx[17]}set mostplayedrounds(e){this.$set({mostplayedrounds:e}),N()}get favorites(){return this.$$.ctx[18]}set favorites(e){this.$set({favorites:e}),N()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$set({containermaxwidth:e}),N()}get activecategory(){return this.$$.ctx[19]}set activecategory(e){this.$set({activecategory:e}),N()}get actionevent(){return this.$$.ctx[3]}set actionevent(e){this.$set({actionevent:e}),N()}});const ri={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Klar",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Chiaro",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur 500 - Erreur interne du serveur",search:"Rechercher des jeux ...",loading:"Chargement ...",searchMobile:"Rechercher",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Rechercher des jeux de casino",filters:"Filtres",clear:"Dégager",noGamesPlayed:"Vous n'avez joué à aucun jeu !"}},es:{casinoPage:{500:"500 Error - Error interno del servidor",search:"Buscar juegos ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Claro",noGamesPlayed:"¡No tienes partidas jugadas!"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Čisto",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Egyértelmű",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Jasny",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"500 Error - Internal Server Error",search:"Procurar",loading:"A carregar",searchMobile:"Procurar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Claro",noGamesPlayed:"Você não tem jogos jogados!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}}},ii={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Montre plus",viewAll:"Voir tout",searchedItems:"Articles recherchés",recentSearchedItems:"Articles recherchés récemment",noRecentSearch:"Aucune recherche n'a encore commencé. Recherchez simplement un jeu.",noResults:"Désolé, aucun résultat trouvé. Veuillez réessayer"}},es:{gamesCategorySection:{showMore:"Mostrar más",viewAll:"Ver todo",searchedItems:"Artículos buscados",recentSearchedItems:"Elementos buscados recientemente",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",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:"Mostrar tudo",searchedItems:"Procurar resultado",recentSearchedItems:"Pesquisado recentemente",noRecentSearch:"Nenhuma pesquisa iniciada. Pesquisar simplesmente um jogo.",noResults:"Desculpe, sem qualquer correspondência. Por favor, tente novamente."}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};var ai,oi,si=(oi=ai={path:void 0,exports:{},require:function(e,t){return In(null==t&&ai.path)}},ai.exports,oi.exports=function(){var e;function m(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function a(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=0;r<e.length;++r)n.push(t(e[r],r));return n}function u(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return Et(e,t,n,r,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var t=g(e),n=y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function f(e){var t=d(NaN);return null!=e?u(g(t),e):g(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},v=m.momentProperties=[],t=!1;function w(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),0<v.length)for(n=0;n<v.length;n++)a(i=t[r=v[n]])||(e[r]=i);return e}function b(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function x(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function C(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,a){var o=!0;return u(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,i),o){for(var e,t,n=[],r=0;r<arguments.length;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}C(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var S={};function F(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),S[e]||(C(t),S[e]=!0)}function k(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,r=u({},e);for(n in t)p(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)p(e,n)&&!p(t,n)&&s(e[n])&&(r[n]=u({},r[n]));return r}function _(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var $=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function E(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var T=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},G={};function P(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(G[e]=i),t&&(G[t[0]]=function(){return E(i.apply(this,arguments),t[1],t[2])}),n&&(G[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=A(t,e.localeData()),L[t]=L[t]||function(r){for(var e,i=r.match(T),t=0,a=i.length;t<a;t++)G[i[t]]?i[t]=G[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=k(i[n])?i[n].call(e,r):i[n];return t}}(t),L[t](e)):e.localeData().invalidDate()}function A(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(I.lastIndex=0;0<=n&&I.test(e);)e=e.replace(I,r),I.lastIndex=0,--n;return e}var D={};function O(e,t){var n=e.toLowerCase();D[n]=D[n+"s"]=D[t]=e}function N(e){return"string"==typeof e?D[e]||D[e.toLowerCase()]:void 0}function B(e){var t,n,r={};for(n in e)p(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}var U={};function H(e,t){U[e]=t}function z(e){return e%4==0&&e%100!=0||e%400==0}function j(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Y(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?j(t):e}function W(t,n){return function(e){return null!=e?(Z(this,t,e),m.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&z(e.year())&&1===e.month()&&29===e.date()?(n=Y(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),$e(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var J=/\d/,X=/\d\d/,q=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ie=/\d{1,4}/,ae=/[+-]?\d{1,6}/,oe=/\d+/,se=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[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 de(e,n,r){me[e]=k(n)?n:function(e,t){return e&&r?r:n}}function he(e,t){return p(me,e)?me[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},ge={};function fe(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),c(n)&&(r=function(e,t){t[n]=Y(e)}),t=0;t<e.length;t++)ge[e[t]]=r}function ye(e,i){fe(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var ve,we=0,be=1,xe=2,Ce=3,Se=4,Fe=5,ke=6,Me=7,_e=8;function $e(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?z(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),P("MMMM",0,0,function(e){return this.localeData().months(this,e)}),O("month","M"),H("month",8),de("M",ee),de("MM",ee,X),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),fe(["M","MM"],function(e,t){t[be]=Y(e)-1}),fe(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[be]=r:g(n).invalidMonth=e});var Ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Te="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Le=ue,Ge=ue;function Pe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Y(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),$e(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Re(e){return null!=e?(Pe(this,e),m.updateOffset(this,!0),this):V(this,"Month")}function Ae(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=d([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=pe(n[a]),r[a]=pe(r[a]);for(a=0;a<24;a++)i[a]=pe(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function De(e){return z(e)?366:365}P("Y",0,0,function(){var e=this.year();return e<=9999?E(e,4):"+"+e}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),O("year","y"),H("year",1),de("Y",se),de("YY",ee,X),de("YYYY",ie,K),de("YYYYY",ae,Q),de("YYYYYY",ae,Q),fe(["YYYYY","YYYYYY"],we),fe("YYYY",function(e,t){t[we]=2===e.length?m.parseTwoDigitYear(e):Y(e)}),fe("YY",function(e,t){t[we]=m.parseTwoDigitYear(e)}),fe("Y",function(e,t){t[we]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return Y(e)+(68<Y(e)?1900:2e3)};var Oe=W("FullYear",!0);function Ne(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Be(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ue(e,t,n){n=7+t-n;return-(7+Be(e,0,n).getUTCDay()-t)%7+n-1}function He(e,t,n,r,i){var a,i=1+7*(t-1)+(7+n-r)%7+Ue(e,r,i),i=i<=0?De(a=e-1)+i:i>De(e)?(a=e+1,i-De(e)):(a=e,i);return{year:a,dayOfYear:i}}function ze(e,t,n){var r,i,a=Ue(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+je(i=e.year()-1,t,n):a>je(e.year(),t,n)?(r=a-je(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function je(e,t,n){var r=Ue(e,t,n),n=Ue(e+1,t,n);return(De(e)-r+n)/7}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),H("week",5),H("isoWeek",5),de("w",ee),de("ww",ee,X),de("W",ee),de("WW",ee,X),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=Y(e)});function Ye(e,t){return e.slice(t,7).concat(e.slice(0,t))}P("d",0,"do","day"),P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),de("d",ee),de("e",ee),de("E",ee),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,r){t[r]=Y(e)});var We="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Je=ue,Xe=ue,qe=ue;function Ke(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=d([2e3,1]).day(l),t=pe(this.weekdaysMin(r,"")),n=pe(this.weekdaysShort(r,"")),r=pe(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,Qe),P("k",["kk",2],0,function(){return this.hours()||24}),P("hmm",0,0,function(){return""+Qe.apply(this)+E(this.minutes(),2)}),P("hmmss",0,0,function(){return""+Qe.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+E(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)}),et("a",!0),et("A",!1),O("hour","h"),H("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,X),de("hh",ee,X),de("kk",ee,X),de("hmm",te),de("hmmss",ne),de("Hmm",te),de("Hmmss",ne),fe(["H","HH"],Ce),fe(["k","kk"],function(e,t,n){e=Y(e);t[Ce]=24===e?0:e}),fe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),fe(["h","hh"],function(e,t,n){t[Ce]=Y(e),g(n).bigHour=!0}),fe("hmm",function(e,t,n){var r=e.length-2;t[Ce]=Y(e.substr(0,r)),t[Se]=Y(e.substr(r)),g(n).bigHour=!0}),fe("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ce]=Y(e.substr(0,r)),t[Se]=Y(e.substr(r,2)),t[Fe]=Y(e.substr(i)),g(n).bigHour=!0}),fe("Hmm",function(e,t,n){var r=e.length-2;t[Ce]=Y(e.substr(0,r)),t[Se]=Y(e.substr(r))}),fe("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ce]=Y(e.substr(0,r)),t[Se]=Y(e.substr(r,2)),t[Fe]=Y(e.substr(i))});var nt=W("Hours",!0);var rt,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ee,monthsShort:Te,week:{dow:0,doy:6},weekdays:We,weekdaysMin:Ze,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},at={},ot={};function st(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=st(e[a]).split("-")).length,n=(n=st(e[a+1]))?n.split("-"):null;0<t;){if(r=ct(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return rt}function ct(t){var e;if(void 0===at[t]&&oi&&oi.exports)try{e=rt._abbr,In(),ut(e)}catch(e){at[t]=null}return at[t]}function ut(e,t){return e&&((t=a(t)?ht(e):dt(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function dt(e,t){if(null===t)return delete at[e],null;var n,r=it;if(t.abbr=e,null!=at[e])F("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])r=at[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;r=n._config}return at[e]=new _(M(r,t)),ot[e]&&ot[e].forEach(function(e){dt(e.name,e.config)}),ut(e),at[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!o(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function pt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[be]<0||11<t[be]?be:t[xe]<1||t[xe]>$e(t[we],t[be])?xe:t[Ce]<0||24<t[Ce]||24===t[Ce]&&(0!==t[Se]||0!==t[Fe]||0!==t[ke])?Ce:t[Se]<0||59<t[Se]?Se:t[Fe]<0||59<t[Fe]?Fe:t[ke]<0||999<t[ke]?ke:-1,g(e)._overflowDayOfYear&&(t<we||xe<t)&&(t=xe),g(e)._overflowWeeks&&-1===t&&(t=Me),g(e)._overflowWeekday&&-1===t&&(t=_e),g(e).overflow=t),e}var mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ct(e){var t,n,r,i,a,o,s=e._i,l=mt.exec(s)||gt.exec(s);if(l){for(g(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){i=yt[t][0],r=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=vt.length;t<n;t++)if(vt[t][1].exec(l[3])){a=(l[2]||" ")+vt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!ft.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),_t(e)}else e._isValid=!1}function St(e,t,n,r,i,a){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Te.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&i.push(parseInt(a,10)),i}function Ft(e){var t,n,r,i,a=bt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=St(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&Ve.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=a[8],t=a[9],a=a[10],i?xt[i]:t?0:((t=parseInt(a,10))-(a=t%100))/100*60+a),e._d=Be.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,r,i,a,o,s,l,c,u,d,h,p=[];if(!e._d){for(d=e,h=new Date(m.now()),n=d._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[xe]&&null==e._a[be]&&(null!=(d=(i=e)._w).GG||null!=d.W||null!=d.E?(l=1,c=4,a=kt(d.GG,i._a[we],ze(Tt(),1,4).year),o=kt(d.W,1),((s=kt(d.E,1))<1||7<s)&&(u=!0)):(l=i._locale._week.dow,c=i._locale._week.doy,h=ze(Tt(),l,c),a=kt(d.gg,i._a[we],h.year),o=kt(d.w,h.week),null!=d.d?((s=d.d)<0||6<s)&&(u=!0):null!=d.e?(s=d.e+l,(d.e<0||6<d.e)&&(u=!0)):s=l),o<1||o>je(a,l,c)?g(i)._overflowWeeks=!0:null!=u?g(i)._overflowWeekday=!0:(c=He(a,o,s,l,c),i._a[we]=c.year,i._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(r=kt(e._a[we],n[we]),(e._dayOfYear>De(r)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),r=Be(r,0,e._dayOfYear),e._a[be]=r.getUTCMonth(),e._a[xe]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ce]&&0===e._a[Se]&&0===e._a[Fe]&&0===e._a[ke]&&(e._nextDay=!0,e._a[Ce]=0),e._d=(e._useUTC?Be:Ne).apply(null,p),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ce]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function _t(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,a=0,o=A(e._f,e._locale).match(T)||[],s=0;s<o.length;s++)n=o[s],(t=(r.match(he(n,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&g(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),a+=t.length),G[n]?(t?g(e).empty=!1:g(e).unusedTokens.push(n),u=n,h=e,null!=(d=t)&&p(ge,u)&&ge[u](d,h._a,h,u)):e._strict&&!t&&g(e).unusedTokens.push(n);g(e).charsLeftOver=i-a,0<r.length&&g(e).unusedInput.push(r),e._a[Ce]<=12&&!0===g(e).bigHour&&0<e._a[Ce]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[Ce]=(l=e._locale,c=e._a[Ce],null==(i=e._meridiem)?c:null!=l.meridiemHour?l.meridiemHour(c,i):null!=l.isPM?((i=l.isPM(i))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(c=g(e).era)&&(e._a[we]=e._locale.erasConvertYear(c,e._a[we])),Mt(e),pt(e)}else Ft(e);else Ct(e);var l,c,u,d,h}function $t(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new b(pt(t)):(i(t)?e._d=t:o(n)?function(e){var t,n,r,i,a,o,s=!1;if(0===e._f.length)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)a=0,o=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],_t(t),h(t)&&(o=!0),a+=g(t).charsLeftOver,a+=10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));u(e,n||t)}(e):n?_t(e):a(n=(t=e)._i)?t._d=new Date(m.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=wt.exec(e._i);null===t?(Ct(e),!1===e._isValid&&(delete e._isValid,Ft(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),Mt(t)):s(n)?function(e){var t,n;e._d||(n=void 0===(t=B(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Mt(e))}(t):c(n)?t._d=new Date(n):m.createFromInputFallback(t),h(e)||(e._d=null),e))}function Et(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(a=new b(pt($t(a=a))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Tt(e,t,n,r){return Et(e,t,n,r,!1)}m.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};var It=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()}),Lt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:f()});function Gt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return Tt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rt(e){var t=B(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(p(e,t)&&(-1===ve.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Pt.length;++n)if(e[Pt[n]]){if(r)return!1;parseFloat(e[Pt[n]])!==Y(e[Pt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=ht(),this._bubble()}function At(e){return e instanceof Rt}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ot(e,n){P(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+E(~~(e/60),2)+n+E(~~e%60,2)})}Ot("Z",":"),Ot("ZZ",""),de("Z",ce),de("ZZ",ce),fe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Bt(ce,e)});var Nt=/([\+\-]|\d\d)/gi;function Bt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Nt)||["-",0,0])[1]+Y(e[2]))?0:"+"===e[0]?t:-t}function Ut(e,t){var n;return t._isUTC?(n=t.clone(),t=(x(e)||i(e)?e:Tt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),m.updateOffset(n,!1),n):Tt(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Yt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Wt(e,t){var n,r,i=e,a=null;return At(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=jt.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:Y(a[xe])*n,h:Y(a[Ce])*n,m:Y(a[Se])*n,s:Y(a[Fe])*n,ms:Y(Dt(1e3*a[ke]))*n}):(a=Yt.exec(e))?(n="-"===a[1]?-1:1,i={y:Vt(a[2],n),M:Vt(a[3],n),w:Vt(a[4],n),d:Vt(a[5],n),h:Vt(a[6],n),m:Vt(a[7],n),s:Vt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=Tt(i.from),n=Tt(i.to),r=a.isValid()&&n.isValid()?(n=Ut(n,a),a.isBefore(n)?r=Zt(a,n):((r=Zt(n,a)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Rt(i),At(e)&&p(e,"_locale")&&(i._locale=e._locale),At(e)&&p(e,"_isValid")&&(i._isValid=e._isValid),i}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Jt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(F(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Xt(this,Wt(e,t),r),this}}function Xt(e,t,n,r){var i=t._milliseconds,a=Dt(t._days),t=Dt(t._months);e.isValid()&&(r=null==r||r,t&&Pe(e,V(e,"Month")+t*n),a&&Z(e,"Date",V(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&m.updateOffset(e,a||t))}Wt.fn=Rt.prototype,Wt.invalid=function(){return Wt(NaN)};var qt=Jt(1,"add"),ue=Jt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return x(e)||i(e)||Kt(e)||c(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!c(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=s(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<a.length;t+=1)n=a[t],i=i||p(e,n);return r&&i}(e)||null==e;var t,n,r}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var rn=126227808e5;function an(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(pe(i[a].name)),e.push(pe(i[a].abbr)),n.push(pe(i[a].narrow)),r.push(pe(i[a].name)),r.push(pe(i[a].abbr)),r.push(pe(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function un(e,t){P(0,[e,e.length],0,t)}function dn(e,t,n,r,i){var a;return null==e?ze(this,r,i).year:(t>(a=je(e,r,i))&&(t=a),function(e,t,n,r,i){i=He(e,t,n,r,i),i=Be(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,i))}P("N",0,0,"eraAbbr"),P("NN",0,0,"eraAbbr"),P("NNN",0,0,"eraAbbr"),P("NNNN",0,0,"eraName"),P("NNNNN",0,0,"eraNarrow"),P("y",["y",1],"yo","eraYear"),P("y",["yy",2],0,"eraYear"),P("y",["yyy",3],0,"eraYear"),P("y",["yyyy",4],0,"eraYear"),de("N",ln),de("NN",ln),de("NNN",ln),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),fe(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),de("y",oe),de("yy",oe),de("yyy",oe),de("yyyy",oe),de("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),fe(["y","yy","yyy","yyyy"],we),fe(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[we]=n._locale.eraYearOrdinalParse(e,i):t[we]=parseInt(e,10)}),P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100}),un("gggg","weekYear"),un("ggggg","weekYear"),un("GGGG","isoWeekYear"),un("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),de("G",se),de("g",se),de("GG",ee,X),de("gg",ee,X),de("GGGG",ie,K),de("gggg",ie,K),de("GGGGG",ae,Q),de("ggggg",ae,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=Y(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),P("Q",0,"Qo","quarter"),O("quarter","Q"),H("quarter",7),de("Q",J),fe("Q",function(e,t){t[be]=3*(Y(e)-1)}),P("D",["DD",2],"Do","date"),O("date","D"),H("date",9),de("D",ee),de("DD",ee,X),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),fe(["D","DD"],xe),fe("Do",function(e,t){t[xe]=Y(e.match(ee)[0])});ne=W("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),H("dayOfYear",4),de("DDD",re),de("DDDD",q),fe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Y(e)}),P("m",["mm",2],0,"minute"),O("minute","m"),H("minute",14),de("m",ee),de("mm",ee,X),fe(["m","mm"],Se);Ee=W("Minutes",!1);P("s",["ss",2],0,"second"),O("second","s"),H("second",15),de("s",ee),de("ss",ee,X),fe(["s","ss"],Fe);var hn,We=W("Seconds",!1);for(P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,function(){return 10*this.millisecond()}),P(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),P(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),P(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),P(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),P(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),H("millisecond",16),de("S",re,J),de("SS",re,X),de("SSS",re,q),hn="SSSS";hn.length<=9;hn+="S")de(hn,oe);function pn(e,t){t[ke]=Y(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")fe(hn,pn);Ze=W("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");ie=b.prototype;function mn(e){return e}ie.add=qt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=s(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||p(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Tt(),e=Ut(n,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(k(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Tt(n)))},ie.clone=function(){return new b(this)},ie.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Ut(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=N(t)){case"year":a=en(this,r)/12;break;case"month":a=en(this,r);break;case"quarter":a=en(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:j(a)},ie.endOf=function(e){var t,n;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-an(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-an(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=R(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Tt(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Tt(),e)},ie.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Tt(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Tt(),e)},ie.get=function(e){return k(this[e=N(e)])?this[e]():this},ie.invalidAt=function(){return g(this).overflow},ie.isAfter=function(e,t){return e=x(e)?e:Tt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=x(e)?e:Tt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,r){return e=x(e)?e:Tt(e),t=x(t)?t:Tt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},ie.isSame=function(e,t){var e=x(e)?e:Tt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return h(this)},ie.lang=te,ie.locale=tn,ie.localeData=nn,ie.max=Lt,ie.min=It,ie.parsingFlags=function(){return u({},g(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:U[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=B(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(k(this[e=N(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=an(t,6e4);break;case"second":t=this._d.valueOf(),t-=an(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.subtract=ue,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?R(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):k(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(e,"Z")):R(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},ie.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},ie.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},ie.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-m(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Oe,ie.isLeapYear=function(){return z(this.year())},ie.weekYear=function(e){return dn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return dn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Re,ie.daysInMonth=function(){return $e(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return je(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return je(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return je(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return je(this.isoWeekYear(),1,4)},ie.date=ne,ie.day=ie.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},ie.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ie.hour=ie.hours=nt,ie.minute=ie.minutes=Ee,ie.second=ie.seconds=We,ie.millisecond=ie.milliseconds=Ze,ie.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Ht(this);if("string"==typeof e){if(null===(e=Bt(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ht(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Xt(this,Wt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Bt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=zt,ie.isUTC=zt,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=n("dates accessor is deprecated. Use date instead.",ne),ie.months=n("months accessor is deprecated. Use month instead",Re),ie.years=n("years accessor is deprecated. Use year instead",Oe),ie.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),ie.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=$t(t))._a?(e=(t._isUTC?d:Tt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&Y(e[o])!==Y(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=_.prototype;function gn(e,t,n,r){var i=ht(),t=d().set(r,t);return i[n](t,e)}function fn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return gn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=gn(e,i,n,"month");return r}function yn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),c(t)&&(n=t,t=void 0),t||"");var i,a=ht(),o=e?a._week.dow:0,s=[];if(null!=n)return gn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=gn(t,(i+o)%7,r,"day");return s}K.calendar=function(e,t,n){return k(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(T).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=mn,K.postformat=mn,K.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return k(i)?i(e,t,n,r):i.replace(/%d/i,e)},K.pastFuture=function(e,t){return k(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,n;for(n in e)p(e,n)&&(k(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)},K.eras=function(e,t){for(var n,r=this._eras||ht("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=m(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},K.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},K.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},K.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return p(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Ie.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))||-1!==(i=ve.call(this._longMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))||-1!==(i=ve.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},K.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Ge),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return ze(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.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?Ye(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?Ye(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?Ye(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ut("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===Y(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=n("moment.lang is deprecated. Use moment.locale instead.",ut),m.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var vn=Math.abs;function wn(e,t,n,r){n=Wt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function bn(e){return e<0?Math.floor(e):Math.ceil(e)}function xn(e){return 4800*e/146097}function Cn(e){return 146097*e/4800}function Sn(e){return function(){return this.as(e)}}ae=Sn("ms"),Q=Sn("s"),J=Sn("m"),X=Sn("h"),re=Sn("d"),q=Sn("w"),qt=Sn("M"),Lt=Sn("Q"),It=Sn("y");function Fn(e){return function(){return this.isValid()?this._data[e]:NaN}}ue=Fn("milliseconds"),nt=Fn("seconds"),Ee=Fn("minutes"),We=Fn("hours"),Ze=Fn("days"),ne=Fn("months"),Oe=Fn("years");var kn=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function _n(e,t,n,r){var i=Wt(e).abs(),a=kn(i.as("s")),o=kn(i.as("m")),s=kn(i.as("h")),l=kn(i.as("d")),c=kn(i.as("M")),u=kn(i.as("w")),i=kn(i.as("y")),l=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||u<=1&&["w"]||u<n.w&&["ww",u]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}var $n=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Tn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=$n(this._milliseconds)/1e3,l=$n(this._days),c=$n(this._months),u=this.asSeconds();return u?(e=j(s/60),t=j(e/60),s%=60,e%=60,n=j(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=En(this._months)!==En(u)?"-":"",a=En(this._days)!==En(u)?"-":"",o=En(this._milliseconds)!==En(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}K=Rt.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},K.add=function(e,t){return wn(this,e,t,1)},K.subtract=function(e,t){return wn(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=N(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+xn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Cn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},K.asMilliseconds=ae,K.asSeconds=Q,K.asMinutes=J,K.asHours=X,K.asDays=re,K.asWeeks=q,K.asMonths=qt,K.asQuarters=Lt,K.asYears=It,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Y(this._months/12):NaN},K._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*bn(Cn(n)+t),n=t=0),r.milliseconds=e%1e3,e=j(e/1e3),r.seconds=e%60,e=j(e/60),r.minutes=e%60,e=j(e/60),r.hours=e%24,t+=j(e/24),n+=e=j(xn(t)),t-=bn(Cn(e)),e=j(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},K.clone=function(){return Wt(this)},K.get=function(e){return e=N(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=ue,K.seconds=nt,K.minutes=Ee,K.hours=We,K.days=Ze,K.weeks=function(){return j(this.days()/7)},K.months=ne,K.years=Oe,K.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Mn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Mn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),r=_n(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},K.toISOString=Tn,K.toString=Tn,K.toJSON=Tn,K.locale=tn,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Tn),K.lang=te,P("X",0,0,"unix"),P("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),fe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),fe("x",function(e,t,n){n._d=new Date(Y(e))}),m.version="2.29.1",e=Tt,m.fn=ie,m.min=function(){return Gt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Gt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=d,m.unix=function(e){return Tt(1e3*e)},m.months=function(e,t){return fn(e,t,"months")},m.isDate=i,m.locale=ut,m.invalid=f,m.duration=Wt,m.isMoment=x,m.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},m.parseZone=function(){return Tt.apply(null,arguments).parseZone()},m.localeData=ht,m.isDuration=At,m.monthsShort=function(e,t){return fn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},m.defineLocale=dt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=at[e]&&null!=at[e].parentLocale?at[e].set(M(at[e]._config,t)):(t=M(r=null!=(n=ct(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new _(t)).parentLocale=at[e],at[e]=t),ut(e)):null!=at[e]&&(null!=at[e].parentLocale?(at[e]=at[e].parentLocale,e===ut()&&ut(e)):null!=at[e]&&delete at[e]),at[e]},m.locales=function(){return $(at)},m.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},m.normalizeUnits=N,m.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Mn[e]&&(void 0===t?Mn[e]:(Mn[e]=t,"s"===e&&(Mn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=ie,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},m}(),ai.exports);const li={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},ci={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 ui(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function di(e,t,n){const r=e.slice();return r[101]=t[n],r}function hi(e){let n,r=!Or(e[35])&&!e[0]&&e[12],i=r&&pi(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){4097&t[0]&&(r=!Or(e[35])&&!e[0]&&e[12]),r?i?i.p(e,t):(i=pi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&K(n)}}}function pi(n){let r,i,a;return{c(){r=Q("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[62]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function mi(e){let n;return{c(){n=Q("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(n,"class","FavIconContainer"),re(n,"part","FavIconContainer")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function gi(n){let r,i,a;return{c(){r=Q("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[64]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function fi(e){let n,r,i=e[34]("gameThumbnail.new")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","GameExtraInfoLabel NewGameTag"),re(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){q(e,n,t),X(n,r)},p(e,t){8&t[1]&&i!==(i=e[34]("gameThumbnail.new")+"")&&ie(r,i)},d(e){e&&K(n)}}}function yi(e){let n,r,i=e[34]("gameThumbnail.hot")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","GameExtraInfoLabel PopularGameTag"),re(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){q(e,n,t),X(n,r)},p(e,t){8&t[1]&&i!==(i=e[34]("gameThumbnail.hot")+"")&&ie(r,i)},d(e){e&&K(n)}}}function vi(e){let n,r,i=!e[21]&&e[19]&&e[20]&&wi(e);function a(e){return e[21]&&e[18]&&e[18]===Ii?xi:e[21]&&e[18]&&e[18]===Li?bi:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=te(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),q(e,n,t),s&&s.m(e,t),q(e,r,t)},p(e,t){!e[21]&&e[19]&&e[20]?i?i.p(e,t):(i=wi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&K(n),s&&s.d(e),e&&K(r)}}}function wi(e){let n,r,i,a,o,s,l,c,u,d,h=e[34]("gameThumbnail.opens")+"",p=si.utc(e[19]).local().format(e[20])+"",m=e[44](e[33])+"",g=e[43](e[25],e[26],e[24])+"";return{c(){n=Q("div"),r=Q("div"),i=ee(h),a=te(),o=Q("span"),s=ee(p),l=te(),u=te(),re(r,"class","ClosedGame"),re(r,"part","ClosedGame"),c=new S(u),d=new S(null),re(n,"class","GameProp LiveProps"),re(n,"part","GameProp LiveProps")},m(e,t){q(e,n,t),X(n,r),X(r,i),X(r,a),X(r,o),X(o,s),X(n,l),c.m(m,n),X(n,u),d.m(g,n)},p(e,t){8&t[1]&&h!==(h=e[34]("gameThumbnail.opens")+"")&&ie(i,h),1572864&t[0]&&p!==(p=si.utc(e[19]).local().format(e[20])+"")&&ie(s,p),4&t[1]&&m!==(m=e[44](e[33])+"")&&c.p(m),117440512&t[0]&&g!==(g=e[43](e[25],e[26],e[24])+"")&&d.p(g)},d(e){e&&K(n)}}}function bi(n){let r,i,a,o,s,l,c=n[44](n[33])+"",u=n[43](n[25],n[26],n[24])+"",d=new Array(Pi),h=[];for(let e=0;e<d.length;e+=1)h[e]=ki(ui(n,d,e));return{c(){r=Q("div"),i=Q("div");for(let e=0;e<h.length;e+=1)h[e].c();a=te(),s=te(),re(i,"class","LiveIcons"),re(i,"part","LiveIcons"),o=new S(s),l=new S(null),re(r,"class",n[29]),re(r,"part",n[29])},m(e,t){q(e,r,t),X(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[65](i),X(r,a),o.m(c,r),X(r,s),l.m(u,r)},p(t,n){if(1342178304&n[0]|16384&n[1]){let e;for(d=new Array(Pi),e=0;e<d.length;e+=1){const o=ui(t,d,e);h[e]?h[e].p(o,n):(h[e]=ki(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}4&n[1]&&c!==(c=t[44](t[33])+"")&&o.p(c),117440512&n[0]&&u!==(u=t[43](t[25],t[26],t[24])+"")&&l.p(u),536870912&n[0]&&re(r,"class",t[29]),536870912&n[0]&&re(r,"part",t[29])},d(e){e&&K(r),p(h,e),n[65](null)}}}function xi(e){let n,r,i,a,o,s,l=e[44](e[33])+"",c=e[43](e[25],e[26],e[24])+"";function u(e){return e[31]?_i:Mi}let d=u(e),h=d(e);return{c(){n=Q("div"),r=Q("div"),h.c(),i=te(),o=te(),re(r,"class","LiveIcons"),re(r,"part","LiveIcons"),a=new S(o),s=new S(null),re(n,"class","GameProp LiveProps BlackjackDisplay"),re(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){q(e,n,t),X(n,r),h.m(r,null),X(n,i),a.m(l,n),X(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),h=d(e),h&&(h.c(),h.m(r,null))),4&t[1]&&l!==(l=e[44](e[33])+"")&&a.p(l),117440512&t[0]&&c!==(c=e[43](e[25],e[26],e[24])+"")&&s.p(c)},d(e){e&&K(n),h.d()}}}function Ci(e){let n;function r(e){return e[28]?Fi:Si}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&K(n)}}}function Si(e){let n,r,i=e[45]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[30][e[10][e[106]]])+"";return{c(){r=c(),n=new S(r)},m(e,t){n.m(i,e,t),q(e,r,t)},p(e,t){1073742848&t[0]&&i!==(i=e[45]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[30][e[10][e[106]]])+"")&&n.p(i)},d(e){e&&K(r),e&&n.d()}}}function Fi(e){let n,r,i,a,o,s=e[45]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[30][e[10][e[106]][0]])+"",l=e[45]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[30][e[10][e[106]][1]])+"";return{c(){n=Q("div"),i=te(),o=te(),r=new S(i),a=new S(o),re(n,"class","Double"),re(n,"part","Double")},m(e,t){q(e,n,t),r.m(s,n),X(n,i),a.m(l,n),X(n,o)},p(e,t){1073742848&t[0]&&s!==(s=e[45]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[30][e[10][e[106]][0]])+"")&&r.p(s),1073742848&t[0]&&l!==(l=e[45]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[30][e[10][e[106]][1]])+"")&&a.p(l)},d(e){e&&K(n)}}}function ki(e){let n,r=e[10]&&e[10][e[106]]&&Ci(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[10]&&e[10][e[106]]?r?r.p(e,t):(r=Ci(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&K(n)}}}function Mi(t){let i,a=t[23],o=[];for(let e=0;e<a.length;e+=1)o[e]=$i(di(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(142606336&n[0]|2048&n[1]){let e;for(a=t[23],e=0;e<a.length;e+=1){var r=di(t,a,e);o[e]?o[e].p(r,n):(o[e]=$i(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){p(o,e),e&&K(i)}}}function _i(e){let n,r,i=e[34]("gameThumbnail.full")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","FullTable"),re(n,"part","FullTable")},m(e,t){q(e,n,t),X(n,r)},p(e,t){8&t[1]&&i!==(i=e[34]("gameThumbnail.full")+"")&&ie(r,i)},d(e){e&&K(n)}}}function $i(e){let n,r,i,a,o,s,l;return{c(){n=Q("span"),r=x("svg"),i=x("path"),a=x("path"),o=te(),re(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),re(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"),re(r,"xmlns","http://www.w3.org/2000/svg"),re(r,"width","13"),re(r,"height","14"),re(r,"viewBox","0 0 13 14"),re(n,"class",s=e[42](e[27],e[101].toString())?"ClosedSeat":"OpenSeat"),re(n,"part",l=e[42](e[27],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){q(e,n,t),X(n,r),X(r,i),X(r,a),X(n,o)},p(e,t){142606336&t[0]&&s!==(s=e[42](e[27],e[101].toString())?"ClosedSeat":"OpenSeat")&&re(n,"class",s),142606336&t[0]&&l!==(l=e[42](e[27],e[101].toString())?"ClosedSeat":"OpenSeat")&&re(n,"part",l)},d(e){e&&K(n)}}}function Ei(e){let n,r;return{c(){n=Q("p"),r=ee(e[3]),re(n,"class","GameNameBelow"),re(n,"part","GameNameBelow"),re(n,"title",e[3])},m(e,t){q(e,n,t),X(n,r)},p(e,t){8&t[0]&&ie(r,e[3]),8&t[0]&&re(n,"title",e[3])},d(e){e&&K(n)}}}function Ti(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F,k,M,_,$,E,T,I,L,G,P,R,A,D=n[34]("gameThumbnail.playNow")+"",O=(n[4]||"-")+"",N=0<parseInt(n[7]),B=n[13]&&hi(n);function U(e,t){return(null==F||4099&t[0])&&(F=!(Or(e[35])||!e[0]||!e[12]||!e[1])),F?gi:((null==k||4099&t[0])&&(k=!!(Or(e[35])&&e[0]&&e[12]&&e[1])),k?mi:void 0)}let H=U(n,[-1]),z=H&&H(n),j=n[6]&&fi(n),Y=N&&yi(n),W=n[9]&&vi(n),V=n[8]&&Ei(n);return{c(){r=Q("div"),i=Q("div"),a=Q("img"),c=te(),u=Q("div"),d=Q("div"),B&&B.c(),h=te(),p=Q("p"),m=ee(n[3]),g=te(),f=Q("button"),y=ee(D),b=te(),x=Q("span"),C=ee(O),S=te(),z&&z.c(),M=te(),_=Q("div"),j&&j.c(),$=te(),Y&&Y.c(),E=te(),W&&W.c(),L=te(),V&&V.c(),this.c=Z,a.src!==(o=n[2])&&re(a,"src",o),re(a,"class",s="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),re(a,"part",l="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),re(a,"alt",""),re(a,"loading","lazy"),re(p,"class","GameInfoName"),re(p,"part","GameInfoName"),re(p,"title",n[3]),re(f,"class","GameInfoBtn"),re(f,"part","GameInfoBtn"),re(d,"class",v="GameInfo "+(n[14]?"GameHovered":"")),re(d,"part",w="GameInfo "+(n[14]?"GameHovered":"")),re(x,"class","GameInfoVendor"),re(x,"part","GameInfoVendor"),re(u,"class","GameInfoWrapper"),re(u,"part","GameInfoWrapper"),re(_,"class","GameExtraInfo"),re(_,"part","GameExtraInfo"),re(i,"class",T="GameInnerContainer "+(n[9]&&!n[21]&&n[22].value||n[9]&&n[31]?"GameInnerContainerUnavailable":"")),re(i,"part",I="GameInnerContainer "+(n[9]&&!n[21]||n[9]&&n[31]?"GameInnerContainerUnavailable":"")),re(r,"class",G=`GameContainer ${n[32]}`),re(r,"part",P=`GameContainer ${n[32]}`)},m(e,t){q(e,r,t),X(r,i),X(i,a),n[61](a),X(i,c),X(i,u),X(u,d),B&&B.m(d,null),X(d,h),X(d,p),X(p,m),X(d,g),X(d,f),X(f,y),X(u,b),X(u,x),X(x,C),X(i,S),z&&z.m(i,null),X(i,M),X(i,_),j&&j.m(_,null),X(_,$),Y&&Y.m(_,null),X(_,E),W&&W.m(_,null),X(r,L),V&&V.m(r,null),n[66](r),R||(A=[ne(f,"click",n[63]),ne(i,"mouseenter",n[40]),ne(i,"mouseleave",n[41]),ne(i,"touchstart",n[38],{passive:!0}),ne(i,"touchleave",n[39])],R=!0)},p(e,t){4&t[0]&&a.src!==(o=e[2])&&re(a,"src",o),49152&t[0]&&s!==(s="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&re(a,"class",s),49152&t[0]&&l!==(l="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&re(a,"part",l),e[13]?B?B.p(e,t):(B=hi(e),B.c(),B.m(d,h)):B&&(B.d(1),B=null),8&t[0]&&ie(m,e[3]),8&t[0]&&re(p,"title",e[3]),8&t[1]&&D!==(D=e[34]("gameThumbnail.playNow")+"")&&ie(y,D),16384&t[0]&&v!==(v="GameInfo "+(e[14]?"GameHovered":""))&&re(d,"class",v),16384&t[0]&&w!==(w="GameInfo "+(e[14]?"GameHovered":""))&&re(d,"part",w),16&t[0]&&O!==(O=(e[4]||"-")+"")&&ie(C,O),H===(H=U(e,t))&&z?z.p(e,t):(z&&z.d(1),z=H&&H(e),z&&(z.c(),z.m(i,M))),e[6]?j?j.p(e,t):(j=fi(e),j.c(),j.m(_,$)):j&&(j.d(1),j=null),128&t[0]&&(N=0<parseInt(e[7])),N?Y?Y.p(e,t):(Y=yi(e),Y.c(),Y.m(_,E)):Y&&(Y.d(1),Y=null),e[9]?W?W.p(e,t):(W=vi(e),W.c(),W.m(_,null)):W&&(W.d(1),W=null),6291968&t[0]|1&t[1]&&T!==(T="GameInnerContainer "+(e[9]&&!e[21]&&e[22].value||e[9]&&e[31]?"GameInnerContainerUnavailable":""))&&re(i,"class",T),2097664&t[0]|1&t[1]&&I!==(I="GameInnerContainer "+(e[9]&&!e[21]||e[9]&&e[31]?"GameInnerContainerUnavailable":""))&&re(i,"part",I),e[8]?V?V.p(e,t):(V=Ei(e),V.c(),V.m(r,null)):V&&(V.d(1),V=null),2&t[1]&&G!==(G=`GameContainer ${e[32]}`)&&re(r,"class",G),2&t[1]&&P!==(P=`GameContainer ${e[32]}`)&&re(r,"part",P)},i:Z,o:Z,d(e){e&&K(r),n[61](null),B&&B.d(),z&&z.d(),j&&j.d(),Y&&Y.d(),W&&W.d(),V&&V.d(),n[66](null),R=!1,J(A)}}}const Ii="blackjack",Li="roulette",Gi="doubleballroulette",Pi=5;function Ri(n,e,o){let t;Ae(n,Dr,e=>o(34,t=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}a((l=l.apply(e,o||[])).next())})};let i,a,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F,k,M,_,$,{session:E=""}=e,{userid:T=""}=e,{lang:I=""}=e,{clientstyling:L=""}=e,{clientstylingurl:G=""}=e,{favorites:P=""}=e,{gamethumbnail:R=""}=e,{gamename:A=""}=e,{gamevendor:D=""}=e,{gameid:O=""}=e,{gameisnew:N=""}=e,{gamepopularity:B=""}=e,{gamefunmode:U=!1}=e,{searchitem:H=!1}=e,{gamefavorite:z=!1}=e,{showfavoredcategory:j=!1}=e,{showgamename:Y=!1}=e,{currency:W=""}=e,{endpoint:V=""}=e,{livelobbyendpoint:Z=""}=e,{connectlive:J=""}=e,{visibilityconnect:X=""}=e,q=!1,K=!1,Q=!1,ee=window.navigator.userAgent,te="HH:mm",ne,re=[],ie="EUR",ae="";const oe=[Ii],se=[Li,Gi],le={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ce={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(li).forEach(e=>{yr(e,li[e])});const ue=e=>{e.data.type!==`AddFavoriteThumbnail_${O}`||j||o(0,z=!0),e.data.type!==`RemoveFavoriteThumbnail_${O}`||j||o(0,z=!1),"UserSessionID"===e.data.type&&(o(12,q=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(9,s=null)},de=e=>{H&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),Or(ee)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:U},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href)},he=e=>{var t="thumbnail";z?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},pe=()=>{Z&&EventSource&&!l&&D&&O&&(l=new EventSource(`${V}/encoder/lobby/updates/${D}/${O}`),l.addEventListener("message",ge))},me=()=>{l&&(l.close(),l=void 0)},ge=a=>r(void 0,void 0,void 0,function*(){const{type:e,data:t}=a;let n;if("message"===e){if(t)try{n=JSON.parse(t)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(n){const{InternalTableId:a,MessageType:e,Results:t,Seats:r,Open:i}=n;if(a)switch(e){case"SeatsUpdated":r&&Array.isArray(r)&&(o(27,f=r),o(9,s.currentOccupiedSeats=r,s),yield ve());break;case"RouletteResultsUpdated":t&&Array.isArray(t)&&(y=t,o(9,s.currentRouletteNumbers=t,s),yield ve());break;case"DoubleBallRouletteResultsUpdated":t&&Array.isArray(t)&&(v=t,o(9,s.currentDoubleBallRouletteNumbers=t,s),yield ve());break;case"TableOpened":case"TableClosed":o(21,d=i),o(9,s.isOpen=i,s),yield ve()}}}}),fe=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",ye=(e,t)=>e.some(e=>e===t);return De(()=>(window.addEventListener("message",ue,!1),()=>{window.removeEventListener("message",ue),l&&l.removeEventListener("message",ge)})),n.$$set=e=>{"session"in e&&o(46,E=e.session),"userid"in e&&o(47,T=e.userid),"lang"in e&&o(48,I=e.lang),"clientstyling"in e&&o(49,L=e.clientstyling),"clientstylingurl"in e&&o(50,G=e.clientstylingurl),"favorites"in e&&o(1,P=e.favorites),"gamethumbnail"in e&&o(2,R=e.gamethumbnail),"gamename"in e&&o(3,A=e.gamename),"gamevendor"in e&&o(4,D=e.gamevendor),"gameid"in e&&o(5,O=e.gameid),"gameisnew"in e&&o(6,N=e.gameisnew),"gamepopularity"in e&&o(7,B=e.gamepopularity),"gamefunmode"in e&&o(51,U=e.gamefunmode),"searchitem"in e&&o(52,H=e.searchitem),"gamefavorite"in e&&o(0,z=e.gamefavorite),"showfavoredcategory"in e&&o(53,j=e.showfavoredcategory),"showgamename"in e&&o(8,Y=e.showgamename),"currency"in e&&o(54,W=e.currency),"endpoint"in e&&o(55,V=e.endpoint),"livelobbyendpoint"in e&&o(56,Z=e.livelobbyendpoint),"connectlive"in e&&o(57,J=e.connectlive),"visibilityconnect"in e&&o(58,X=e.visibilityconnect)},n.$$.update=()=>{var e,t;67108864&n.$$.dirty[1]&&J&&("disconnect"===J?me():"connect"===J&&pe()),134217728&n.$$.dirty[1]&&X&&("disconnect"===X?me():"connect"===X&&"connect"===J&&pe()),n.$$.dirty[1],16875520&n.$$.dirty[1]&&E&&T&&V&&o(12,q=!0),4&n.$$.dirty[0]&&R&&i&&o(16,i.onload=()=>{o(15,Q=!0)},i),262144&n.$$.dirty[1]&&L&&(()=>{let e=document.createElement("style");e.innerHTML=L,setTimeout(()=>{a.appendChild(e)})})(),2&n.$$.dirty[0]&&P&&"true"==P&&o(13,K=!0),524288&n.$$.dirty[1]&&G&&(()=>{let e=new URL(G),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)})})})(),50331648&n.$$.dirty[1]&&V&&Z&&(()=>{let e=new URL(`${Z.split("?")[0]}`);e.searchParams.append("platform",Nr(ee)),e.searchParams.append("language",I),fetch(e).then(e=>e.json()).then(e=>{var{details:e}=e[0];o(9,s=e)})})(),512&n.$$.dirty[0]&&s&&s&&(o(21,d=s.isOpen),ne=s.betLimit||{},o(22,h=s.openHours),o(23,re=(e=>{g=e.totalSeats||7,o(27,f=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=g;e++)t.push(e);return{seats:t}})(s).seats),h&&h.value&&({value:{startTime:e,originalTimeFormat:t}}=h,o(19,u=e),o(20,te=t||te)),d&&o(18,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();ye(oe,e)?t=Ii:ye(se,e)&&(t=Li)}}return t})(s)),o(24,ie=ci[W]),o(25,p=(ne.min||{})[W]),o(26,m=(ne.max||{})[W]),y=s.currentRouletteNumbers,v=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,o(28,b=w.toLowerCase()===Gi),o(10,x=(b?v:y)||[]),o(29,C="GameProp LiveProps RoulleteProps"),o(29,C+=b?" Double":""),o(30,S=ye(se,w.toLowerCase())?ce:le),k=F,o(31,F=Array.isArray(f)&&f.length===g),s.dealer&&o(33,_=s.dealer.DealerName),$=s.numberOfPlayers,o(32,ae="ListGame"),s.isOpen&&s.currentRouletteNumbers&&o(32,ae+=" GameBackdrop"),d&&F&&p&&m&&s.currentOccupiedSeats?o(32,ae+=" GameContainerDimmed"):!1===d&&u&&o(32,ae+=" GameContainerFullyDimmed"),a&&(!k&&F?(o(32,ae+=" PulsatingRedShadow"),o(32,ae=ae.replace(" PulsatingGreenShadow",""))):k&&!F&&(o(32,ae+=" PulsatingGreenShadow"),o(32,ae=ae.replace(" PulsatingRedShadow",""))))),3072&n.$$.dirty[0]&&M&&x&&(()=>{const e="FirstElementAnimated",t=M.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))})()},[z,P,R,A,D,O,N,B,Y,s,x,M,q,K,!1,Q,i,a,c,u,te,d,h,re,ie,p,m,f,b,C,S,F,ae,_,t,ee,de,he,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},ye,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${fe(e)}-${fe(t)}`),$&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${$}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${t("gameThumbnail.dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{e=`${e} ${r}`,r=t.toString().match(/first0|second0|0/g);return 0===t||r&&0!==r.length?`\n <span\n id=${t}\n class="${e}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${e}">\n ${n}\n </span>\n `},E,T,I,L,G,U,H,j,W,V,Z,J,X,le,ce,function(e){Oe[e?"unshift":"push"](()=>{i=e,o(16,i)})},()=>he(O),()=>de(O),()=>he(O),function(e){Oe[e?"unshift":"push"](()=>{M=e,o(11,M)})},function(e){Oe[e?"unshift":"push"](()=>{a=e,o(17,a)})}]}function Ai(e,t,n){const r=e.slice();return r[73]=t[n],r[75]=n,r}function Di(e,t,n){const r=e.slice();return r[73]=t[n],r[76]=t,r[75]=n,r}function Oi(e,t,n){const r=e.slice();return r[73]=t[n],r[75]=n,r}function Ni(e){let n;function r(e){return e[11]?zi:e[21]?Hi:void 0}let i=r(e),a=i&&i(e);return{c(){n=Q("div"),a&&a.c()},m(e,t){q(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),a=i&&i(e),a&&(a.c(),a.m(n,null)))},d(e){e&&K(n),a&&a.d()}}}function Bi(e){let n,r,i;function a(e){return e[15]?sa:e[12].length?aa:oa}let o=a(e),s=o(e);function l(e){return e[12]?ca:la}let c=l(e),u=c(e);return{c(){n=Q("div"),r=Q("div"),s.c(),i=te(),u.c(),re(r,"class","CasinoGamesHeader Searched "+(Or(e[27])?"CasinoGamesHeaderMobile":"")),re(r,"part","CasinoGamesHeader Searched "+(Or(e[27])?"CasinoGamesHeaderMobile":"")),re(n,"class","CasinoGamesContainer"),re(n,"part","CasinoGamesContainer")},m(e,t){q(e,n,t),X(n,r),s.m(r,null),X(n,i),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),u=c(e),u&&(u.c(),u.m(n,null)))},d(e){e&&K(n),s.d(),u.d()}}}function Ui(e){let n;function r(e){return e[17]?pa:ha}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&K(n)}}}function Hi(n){let r,i,a,o,s,l,c,u,d=n[26]("gamesCategorySection.favorites")+"";function h(e){return e[25]?Yi:ji}let p=h(n),m=p(n);return{c(){r=Q("div"),i=Q("div"),a=Q("h3"),o=ee(d),s=te(),l=Q("ul"),m.c(),re(a,"class","CategoryName"),re(a,"part","CategoryName"),re(i,"class","CasinoGamesHeader"),re(i,"part","CasinoGamesHeader"),re(l,"class",c=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),re(l,"part",u=(0!=n[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),re(r,"class","CasinoGamesContainer"),re(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),n[44](a),X(r,s),X(r,l),m.m(l,null),n[45](l)},p(e,t){67108864&t[0]&&d!==(d=e[26]("gamesCategorySection.favorites")+"")&&ie(o,d),p===(p=h(e))&&m?m.p(e,t):(m.d(1),m=p(e),m&&(m.c(),m.m(l,null))),33554432&t[0]&&c!==(c=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&re(l,"class",c),33554432&t[0]&&u!==(u=(0!=e[25].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&re(l,"part",u)},d(e){e&&K(r),n[44](null),m.d(),n[45](null)}}}function zi(n){let r,i,a,o,s,l,c=n[11].name+"",u=n[13]&&ta(n);function d(e){return 0!==e[12].length?ra:na}let h=d(n),p=h(n);return{c(){r=Q("div"),i=Q("div"),a=Q("h3"),o=ee(c),s=te(),u&&u.c(),l=te(),p.c(),re(a,"class","CategoryName"),re(a,"part","CategoryName"),re(i,"class","CasinoGamesHeader"),re(i,"part","CasinoGamesHeader"),re(r,"class","CasinoGamesContainer"),re(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),n[40](a),X(i,s),u&&u.m(i,null),X(r,l),p.m(r,null)},p(e,t){2048&t[0]&&c!==(c=e[11].name+"")&&ie(o,c),e[13]?u?u.p(e,t):(u=ta(e),u.c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(r,null)))},d(e){e&&K(r),n[40](null),u&&u.d(),p.d()}}}function ji(e){let n,r,i=e[26]("gamesCategorySection.waiting")+"";return{c(){n=Q("p"),r=ee(i)},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.waiting")+"")&&ie(r,i)},d(e){e&&K(n)}}}function Yi(t){let r,i=t[25].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=ea(Ai(t,i,e));let o=null;return i.length||(o=Wi(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);q(t,r,n),o&&o.m(t,n)},p(t,n){if(262144511&n[0]){let e;for(i=t[25].items,e=0;e<i.length;e+=1){const o=Ai(t,i,e);a[e]?a[e].p(o,n):(a[e]=ea(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):(o=Wi(t),o.c(),o.m(r.parentNode,r))}},d(e){p(a,e),e&&K(r),o&&o.d(e)}}}function Wi(e){let n,r,i,a,o,s,l,c,u=e[26]("gamesCategorySection.noFavoritesTitle")+"",d=(t=e,(Or(t[27])?Zi:Vi)(e));var t;return{c(){n=Q("p"),r=x("svg"),i=x("path"),a=te(),o=Q("span"),s=ee(u),l=te(),d.c(),c=te(),P(i,"fill","white"),re(i,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),re(r,"version","1.1"),re(r,"class","UnfavoredIcon"),re(r,"part","UnfavoredIcon"),re(r,"xmlns","http://www.w3.org/2000/svg"),re(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),re(r,"x","50px"),re(r,"y","50px"),re(r,"viewBox","0 0 512.001 512.001"),P(r,"enable-background","new 0 0 512.001 512.001"),re(r,"xml:space","preserve"),re(o,"class","NoFavoriteText NoFavoriteTextHighlight"),re(o,"part","NoFavoriteText NoFavoriteTextHighlight"),re(n,"class","NoFavoriteGames "+(Or(e[27])?"NoFavoriteGamesMobile":"")),re(n,"part","NoFavoriteGames "+(Or(e[27])?"NoFavoriteGamesMobile":""))},m(e,t){q(e,n,t),X(n,r),X(r,i),X(n,a),X(n,o),X(o,s),X(n,l),d.m(n,null),X(n,c)},p(e,t){67108864&t[0]&&u!==(u=e[26]("gamesCategorySection.noFavoritesTitle")+"")&&ie(s,u),d.p(e,t)},d(e){e&&K(n),d.d()}}}function Vi(e){let n,r,i=e[26]("gamesCategorySection.noFavorites")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","NoFavoriteText"),re(n,"part","NoFavoriteText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noFavorites")+"")&&ie(r,i)},d(e){e&&K(n)}}}function Zi(e){let n,r,i=e[26]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=Q("span"),r=ee(i),re(n,"class","NoFavoriteText"),re(n,"part","NoFavoriteText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noFavoritesMobile")+"")&&ie(r,i)},d(e){e&&K(n)}}}function Ji(e){let n,r=e[73].gameModel.isFavorite&&Xi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[73].gameModel.isFavorite?r?r.p(e,t):(r=Xi(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&K(n)}}}function Xi(e){let n,r=function(e){let n,r,i;function a(e,t){return null==n&&(n=!!Or(e[27])),n?Ki:((null==r||33554432&t[0])&&(r=!!e[73].gameModel.platform.includes("PC")),r?qi:void 0)}let o=a(e,[-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),q(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&K(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&K(n)}}}function qi(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){n=Q("casino-game-thumbnail"),C(n,"class",r=""+(ga+(e[73].cellSize||"1x1"))),C(n,"part",i=""+(ga+(e[73].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"favorites",e[4]),C(n,"gamethumbnail",a=e[73].gameModel.thumbnail),C(n,"gamename",o=e[73].gameModel.name),C(n,"gamevendor",s=e[73].gameModel.vendor.name),C(n,"gameisnew",l=e[73].gameModel.isNew),C(n,"gamepopularity",c=e[73].gameModel.popularity),C(n,"gamecellsize",u=e[73].gameModel.cellSize),C(n,"gameid",d=e[73].gameModel.id),C(n,"gamefunmode",h=e[73].gameModel.hasFunMode),C(n,"gamefavorite",p=e[73].gameModel.isFavorite),C(n,"showfavoredcategory",e[21]),C(n,"connectlive",m=1==e[23][e[73].id]?"connect":"disconnect"),C(n,"visibilityconnect",e[24]),C(n,"currency",e[7]),C(n,"livelobbyendpoint",g=e[73].gameModel.details?e[73].gameModel.launchUrl:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(ga+(e[73].cellSize||"1x1")))&&C(n,"class",r),33554432&t[0]&&i!==(i=""+(ga+(e[73].cellSize||"1x1")))&&C(n,"part",i),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),16&t[0]&&C(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[73].gameModel.thumbnail)&&C(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[73].gameModel.name)&&C(n,"gamename",o),33554432&t[0]&&s!==(s=e[73].gameModel.vendor.name)&&C(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[73].gameModel.isNew)&&C(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[73].gameModel.popularity)&&C(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[73].gameModel.cellSize)&&C(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[73].gameModel.id)&&C(n,"gameid",d),33554432&t[0]&&h!==(h=e[73].gameModel.hasFunMode)&&C(n,"gamefunmode",h),33554432&t[0]&&p!==(p=e[73].gameModel.isFavorite)&&C(n,"gamefavorite",p),2097152&t[0]&&C(n,"showfavoredcategory",e[21]),41943040&t[0]&&m!==(m=1==e[23][e[73].id]?"connect":"disconnect")&&C(n,"connectlive",m),16777216&t[0]&&C(n,"visibilityconnect",e[24]),128&t[0]&&C(n,"currency",e[7]),33554432&t[0]&&g!==(g=e[73].gameModel.details?e[73].gameModel.launchUrl:"")&&C(n,"livelobbyendpoint",g),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8])},d(e){e&&K(n)}}}function Ki(e){let n,r=e[73].gameModel.platform.includes("iPad")||e[73].gameModel.platform.includes("iPhone")||e[73].gameModel.platform.includes("Android"),i=r&&Qi(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){33554432&t[0]&&(r=e[73].gameModel.platform.includes("iPad")||e[73].gameModel.platform.includes("iPhone")||e[73].gameModel.platform.includes("Android")),r?i?i.p(e,t):(i=Qi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&K(n)}}}function Qi(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){n=Q("casino-game-thumbnail"),C(n,"class",r=""+(ga+(e[73].cellSize||"1x1"))),C(n,"part",i=""+(ga+(e[73].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"favorites",e[4]),C(n,"gamethumbnail",a=e[73].gameModel.thumbnail),C(n,"gamename",o=e[73].gameModel.name),C(n,"gamevendor",s=e[73].gameModel.vendor.name),C(n,"gameisnew",l=e[73].gameModel.isNew),C(n,"gamepopularity",c=e[73].gameModel.popularity),C(n,"gamecellsize",u=e[73].gameModel.cellSize),C(n,"gameid",d=e[73].gameModel.id),C(n,"gamefunmode",h=e[73].gameModel.hasFunMode),C(n,"gamefavorite",p=e[73].gameModel.isFavorite),C(n,"showfavoredcategory",e[21]),C(n,"connectlive",m=1==e[23][e[73].id]?"connect":"disconnect"),C(n,"visibilityconnect",e[24]),C(n,"currency",e[7]),C(n,"livelobbyendpoint",g=e[73].gameModel.details?e[73].gameModel.launchUrl:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(ga+(e[73].cellSize||"1x1")))&&C(n,"class",r),33554432&t[0]&&i!==(i=""+(ga+(e[73].cellSize||"1x1")))&&C(n,"part",i),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),16&t[0]&&C(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[73].gameModel.thumbnail)&&C(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[73].gameModel.name)&&C(n,"gamename",o),33554432&t[0]&&s!==(s=e[73].gameModel.vendor.name)&&C(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[73].gameModel.isNew)&&C(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[73].gameModel.popularity)&&C(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[73].gameModel.cellSize)&&C(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[73].gameModel.id)&&C(n,"gameid",d),33554432&t[0]&&h!==(h=e[73].gameModel.hasFunMode)&&C(n,"gamefunmode",h),33554432&t[0]&&p!==(p=e[73].gameModel.isFavorite)&&C(n,"gamefavorite",p),2097152&t[0]&&C(n,"showfavoredcategory",e[21]),41943040&t[0]&&m!==(m=1==e[23][e[73].id]?"connect":"disconnect")&&C(n,"connectlive",m),16777216&t[0]&&C(n,"visibilityconnect",e[24]),128&t[0]&&C(n,"currency",e[7]),33554432&t[0]&&g!==(g=e[73].gameModel.details?e[73].gameModel.launchUrl:"")&&C(n,"livelobbyendpoint",g),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8])},d(e){e&&K(n)}}}function ea(e){let n,r=e[73].gameModel&&Ji(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[73].gameModel?r?r.p(e,t):(r=Ji(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&K(n)}}}function ta(n){let r,i,a,o,s,l,c,u,d=n[26]("gamesCategorySection.viewAll")+"",h=n[11].games.total+"";return{c(){r=Q("a"),i=Q("span"),a=ee(d),o=ee(" ("),s=ee(h),l=ee(")"),re(i,"class","CategoryLoadMore"),re(i,"part","CategoryLoadMore"),re(r,"class","CategoryNameLink"),re(r,"part","CategoryNameLink")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),X(i,l),c||(u=ne(r,"click",n[41]),c=!0)},p(e,t){67108864&t[0]&&d!==(d=e[26]("gamesCategorySection.viewAll")+"")&&ie(a,d),2048&t[0]&&h!==(h=e[11].games.total+"")&&ie(s,h)},d(e){e&&K(r),c=!1,u()}}}function na(e){let n;return{c(){n=Q("p"),n.textContent="You don't have any games in this category.",re(n,"class","NoSearchResults"),re(n,"part","NoSearchResults")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function ra(n){let r,e,i,a=n[12],o=[];for(let e=0;e<a.length;e+=1)o[e]=ia(Di(n,a,e));return{c(){r=Q("ul");for(let e=0;e<o.length;e+=1)o[e].c();re(r,"class",e=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),re(r,"part",i=(0===n[25].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){q(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[43](r)},p(t,n){if(25170943&n[0]){let e;for(a=t[12],e=0;e<a.length;e+=1){const i=Di(t,a,e);o[e]?o[e].p(i,n):(o[e]=ia(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}35651584&n[0]&&e!==(e=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&re(r,"class",e),35651584&n[0]&&i!==(i=(0===t[25].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&re(r,"part",i)},d(e){e&&K(r),p(o,e),n[43](null)}}}function ia(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=n[75];const v=()=>n[42](r,y),w=()=>n[42](null,y);return{c(){r=Q("casino-game-thumbnail"),C(r,"session",n[2]),C(r,"userid",n[3]),C(r,"lang",n[1]),C(r,"class",i=""+(ga+(n[73].cellSize||"1x1"))),C(r,"part",a=""+(ga+(n[73].cellSize||"1x1"))),C(r,"favorites",n[4]),C(r,"gamethumbnail",o=n[73].thumbnail),C(r,"gamename",s=n[73].name),C(r,"gamevendor",l=n[73].vendor.name),C(r,"gameisnew",c=n[73].isNew),C(r,"gamepopularity",u=n[73].popularity),C(r,"gamecellsize",d=n[73].cellSize),C(r,"gameid",h=n[73].id),C(r,"gamefunmode",p=n[73].hasFunMode),C(r,"gamefavorite",m=n[73].isFavorite),C(r,"connectlive",g=1==n[23][n[73].id]?"connect":"disconnect"),C(r,"visibilityconnect",n[24]),C(r,"currency",n[7]),C(r,"livelobbyendpoint",f=n[73].details?n[73].href:""),C(r,"clientstyling",n[5]),C(r,"clientstylingurl",n[6]),C(r,"endpoint",n[0]),C(r,"livecasino",n[8])},m(e,t){q(e,r,t),v()},p(e,t){n=e,4&t[0]&&C(r,"session",n[2]),8&t[0]&&C(r,"userid",n[3]),2&t[0]&&C(r,"lang",n[1]),4096&t[0]&&i!==(i=""+(ga+(n[73].cellSize||"1x1")))&&C(r,"class",i),4096&t[0]&&a!==(a=""+(ga+(n[73].cellSize||"1x1")))&&C(r,"part",a),16&t[0]&&C(r,"favorites",n[4]),4096&t[0]&&o!==(o=n[73].thumbnail)&&C(r,"gamethumbnail",o),4096&t[0]&&s!==(s=n[73].name)&&C(r,"gamename",s),4096&t[0]&&l!==(l=n[73].vendor.name)&&C(r,"gamevendor",l),4096&t[0]&&c!==(c=n[73].isNew)&&C(r,"gameisnew",c),4096&t[0]&&u!==(u=n[73].popularity)&&C(r,"gamepopularity",u),4096&t[0]&&d!==(d=n[73].cellSize)&&C(r,"gamecellsize",d),4096&t[0]&&h!==(h=n[73].id)&&C(r,"gameid",h),4096&t[0]&&p!==(p=n[73].hasFunMode)&&C(r,"gamefunmode",p),4096&t[0]&&m!==(m=n[73].isFavorite)&&C(r,"gamefavorite",m),8392704&t[0]&&g!==(g=1==n[23][n[73].id]?"connect":"disconnect")&&C(r,"connectlive",g),16777216&t[0]&&C(r,"visibilityconnect",n[24]),128&t[0]&&C(r,"currency",n[7]),4096&t[0]&&f!==(f=n[73].details?n[73].href:"")&&C(r,"livelobbyendpoint",f),32&t[0]&&C(r,"clientstyling",n[5]),64&t[0]&&C(r,"clientstylingurl",n[6]),1&t[0]&&C(r,"endpoint",n[0]),256&t[0]&&C(r,"livecasino",n[8]),y!==n[75]&&(w(),y=n[75],v())},d(e){e&&K(r),w()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&K(n)}}}function aa(e){let n,r,i=e[26]("gamesCategorySection.searchedItems")+"";return{c(){n=Q("h3"),r=ee(i),re(n,"class","StatusText"),re(n,"part","StatusText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.searchedItems")+"")&&ie(r,i)},d(e){e&&K(n)}}}function oa(e){let n,r,i=e[26]("gamesCategorySection.noResults")+"";return{c(){n=Q("h3"),r=ee(i),re(n,"class","StatusText"),re(n,"part","StatusText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noResults")+"")&&ie(r,i)},d(e){e&&K(n)}}}function sa(e){let n,r,i=e[26]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=Q("h3"),r=ee(i),re(n,"class","StatusText"),re(n,"part","StatusText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.recentSearchedItems")+"")&&ie(r,i)},d(e){e&&K(n)}}}function la(e){let n;return{c(){n=Q("p"),n.textContent="Waiting",re(n,"class","SearchWaiting"),re(n,"part","SearchWaiting")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function ca(t){let r,i,a=!t[18]&&ua(t),o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=da(Oi(t,o,e));return{c(){a&&a.c(),r=te(),i=Q("ul");for(let e=0;e<s.length;e+=1)s[e].c();re(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),re(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),q(e,r,t),q(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[18]?a&&(a.d(1),a=null):a?a.p(t,n):(a=ua(t),a.c(),a.m(r.parentNode,r)),70143&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){const a=Oi(t,o,e);s[e]?s[e].p(a,n):(s[e]=da(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&K(r),e&&K(i),p(s,e)}}}function ua(e){let n,r,i=e[26]("gamesCategorySection.noRecentSearch")+"";return{c(){n=Q("p"),r=ee(i),re(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Or(e[27])?"NoRecentSearchesMobile":"")),re(n,"part","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Or(e[27])?"NoRecentSearchesMobile":""))},m(e,t){q(e,n,t),X(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noRecentSearch")+"")&&ie(r,i)},d(e){e&&K(n)}}}function da(e){let n,r,i,a,o,s,l,c,u,d,h,p,m;return{c(){n=Q("casino-game-thumbnail"),C(n,"class",r=""+(ga+(e[73].cellSize||"1x1"))),C(n,"part",i=""+(ga+(e[73].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"searchitem",e[16]),C(n,"favorites",e[4]),C(n,"gamethumbnail",a=e[73].thumbnail),C(n,"gamename",o=e[73].name),C(n,"gamevendor",s=e[73].vendor.name),C(n,"gameisnew",l=e[73].isNew),C(n,"gamepopularity",c=e[73].popularity),C(n,"gamecellsize",u=e[73].cellSize),C(n,"gameid",d=e[73].id),C(n,"gamefunmode",h=e[73].hasFunMode),C(n,"gamefavorite",p=e[73].isFavorite),C(n,"currency",e[7]),C(n,"livelobbyendpoint",m=e[73].details?e[73].href:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){4096&t[0]&&r!==(r=""+(ga+(e[73].cellSize||"1x1")))&&C(n,"class",r),4096&t[0]&&i!==(i=""+(ga+(e[73].cellSize||"1x1")))&&C(n,"part",i),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),65536&t[0]&&C(n,"searchitem",e[16]),16&t[0]&&C(n,"favorites",e[4]),4096&t[0]&&a!==(a=e[73].thumbnail)&&C(n,"gamethumbnail",a),4096&t[0]&&o!==(o=e[73].name)&&C(n,"gamename",o),4096&t[0]&&s!==(s=e[73].vendor.name)&&C(n,"gamevendor",s),4096&t[0]&&l!==(l=e[73].isNew)&&C(n,"gameisnew",l),4096&t[0]&&c!==(c=e[73].popularity)&&C(n,"gamepopularity",c),4096&t[0]&&u!==(u=e[73].cellSize)&&C(n,"gamecellsize",u),4096&t[0]&&d!==(d=e[73].id)&&C(n,"gameid",d),4096&t[0]&&h!==(h=e[73].hasFunMode)&&C(n,"gamefunmode",h),4096&t[0]&&p!==(p=e[73].isFavorite)&&C(n,"gamefavorite",p),128&t[0]&&C(n,"currency",e[7]),4096&t[0]&&m!==(m=e[73].details?e[73].href:"")&&C(n,"livelobbyendpoint",m),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8])},d(e){e&&K(n)}}}function ha(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function pa(e){let n;return{c(){n=Q("p"),n.textContent="404 Error - No result found.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function ma(n){let r;function i(e){return e[10]?Ui:e[14]?Bi:Ni}let a=i(n),o=a(n);return{c(){r=Q("div"),o.c(),this.c=Z,re(r,"class","CasinoGamesCategorySectionContainer"),re(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){q(e,r,t),o.m(r,null),n[46](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&K(r),o.d(),n[46](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:18px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Ri,Ti,n,{session:46,userid:47,lang:48,clientstyling:49,clientstylingurl:50,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:51,searchitem:52,gamefavorite:0,showfavoredcategory:53,showgamename:8,currency:54,endpoint:55,livelobbyendpoint:56,connectlive:57,visibilityconnect:58,MONEY_WHEEL_COLOR_MAP:59,ROULETTE_COLOR_MAP:60},[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","currency","endpoint","livelobbyendpoint","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[46]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[47]}set userid(e){this.$set({userid:e}),N()}get lang(){return this.$$.ctx[48]}set lang(e){this.$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[49]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[50]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),N()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),N()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),N()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),N()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),N()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),N()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),N()}get gamefunmode(){return this.$$.ctx[51]}set gamefunmode(e){this.$set({gamefunmode:e}),N()}get searchitem(){return this.$$.ctx[52]}set searchitem(e){this.$set({searchitem:e}),N()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),N()}get showfavoredcategory(){return this.$$.ctx[53]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),N()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),N()}get currency(){return this.$$.ctx[54]}set currency(e){this.$set({currency:e}),N()}get endpoint(){return this.$$.ctx[55]}set endpoint(e){this.$set({endpoint:e}),N()}get livelobbyendpoint(){return this.$$.ctx[56]}set livelobbyendpoint(e){this.$set({livelobbyendpoint:e}),N()}get connectlive(){return this.$$.ctx[57]}set connectlive(e){this.$set({connectlive:e}),N()}get visibilityconnect(){return this.$$.ctx[58]}set visibilityconnect(e){this.$set({visibilityconnect:e}),N()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[59]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[60]}});const ga="game-tile-";function fa(e,t,s){let n;Ae(e,Dr,e=>s(26,n=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}a((l=l.apply(e,o||[])).next())})};let i,a,o,l,c,u,d,h,p,m,{endpoint:g=""}=t,{datasource:f=""}=t,{lang:y=""}=t,{session:v=""}=t,{userid:w=""}=t,{favorites:b=""}=t,{clientstyling:x=""}=t,{clientstylingurl:C=""}=t,{currency:S=""}=t,{categoryid:F=""}=t,{categoryindex:k=0}=t,{categorygames:M=0}=t,{livecasino:_="false"}=t,{visiblegames:$=""}=t,{once:E=!0}=t,{top:T=0}=t,{bottom:I=0}=t,{left:L=0}=t,{right:G=0}=t,P=!1,R=!0,A=window.navigator.userAgent,D=[],O=!0,N=40,B=!1,U=!1,H,z=!1,j=!1,Y=!0,W=!1,V=!1,Z=!1,J=new Array(1e4),X={},q="",K={items:[],count:0,name:""};Object.keys(ii).forEach(e=>{yr(e,ii[e])}),void 0!==document.hidden?p="hidden":void 0!==document.msHidden?p="msHidden":void 0!==document.webkitHidden&&(p="webkitHidden");let Q=new IntersectionObserver(e=>{e.forEach(n=>r(void 0,void 0,void 0,function*(){var e=n.target.gameid,t=n.target.elems_index;n.isIntersecting?(1.2*t>N&&ne(F),s(23,X[e]=1,X)):s(23,X[e]=0,X)}))});const ee=(e,r,i,t=0)=>{let a=new URL(`${g}/casino/groups/${f}/${F}`),o=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",Nr(A)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",y),window.postMessage({type:"CategoryVendors",categoryid:F},window.location.href),o&&o[F])if(o[F].length&&!1===R&&!1===W){let t="";s(17,j=!0),o[F].forEach(e=>{t+=t?`, id=${e}`:`id=${e}`}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(17,j=!1);fetch(a).then(e=>e.json()).then(e=>{s(39,m=!0),s(10,P=!1),c=e.games.total,t(e)},e=>{s(10,P=!0),console.error(e),n(e)})})},te=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(14,B=!1),R=!1,s(13,O=!1),V=!0,s(12,D=t.data.mostPlayedGames),s(11,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(14,B=!0),V=!1,s(15,U=!0),0<t.data.searchData.length?(s(12,D=t.data.searchData),s(18,Y=!0),D&&D.forEach(e=>{e.isFavorite=re(e.id)})):(s(12,D=[]),s(18,Y=!1));break;case"OutOfRecentSearches":s(14,B=!1),s(15,U=!1);break;case"SearchData":s(14,B=!0),V=!1,s(15,U=!1),s(12,D=t.data.searchData.items||[]),s(16,z=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),D&&D.forEach(e=>{e.isFavorite=re(e.id)});break;case`CategoryData_${F}`:s(14,B=!1),R=!0,s(13,O=!0),s(16,z=!1),V=!1,Z=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),ee(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(11,o=e),s(12,D=o.games.items),D&&D.forEach(e=>{e.isFavorite=re(e.id)})});break;case"CategoryChange":N=20;break;case"CategoryUpdate":s(14,B=!1),R=!1,s(16,z=!1),V=!1,s(13,O=!1),Z=!0,s(29,F=t.data.itemId),ee(0,0,N).then(e=>{s(11,o=e),o.games.items.forEach(e=>{e.isFavorite=re(e.id)}),s(12,D=o.games.items),s(13,O=!1),D.length<10&&(H=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)},500))});break;case"FavoriteUpdate":V=!1,R=!0,s(12,D=o.games.items),D.forEach(e=>{e.isFavorite=re(e.id)}),s(13,O=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items,W?R||V||window.postMessage({type:"CategoryUpdate",itemId:F},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(25,K.items=Br(e,K.items),K),s(25,K.name="Favorites",K),s(21,W=!0));break;case"UserSessionID":i=t.data.session,a=t.data.userID,"true"==b&&a&&a.length&&i&&0<i.length&&(e=>{let r={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(e,r).then(e=>e.json()).then(e=>{d=e?e.items:[],D.forEach(e=>{e.isFavorite=re(e.id)});e=D;s(12,D=void 0),s(12,D=e),t(d)}).catch(e=>{console.error(e),n(e)})})})(`${g}/player/${a}/favorites/`)}},ne=e=>{N+=1,N<=c&&ee(0,0,N).then(e=>{s(11,o=e),o.games.items.length>D.length&&(s(12,D=o.games.items),D.forEach(e=>{e.isFavorite=re(e.id)}))})},re=t=>!!d&&-1!==d.findIndex(e=>e.id==t),ie=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return De(()=>(window.addEventListener("visibilitychange",e=>{document[p]?s(24,q="disconnect"):s(24,q="connect")}),window.addEventListener("message",te,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",te),window.removeEventListener("visibilitychange",te)})),e.$$set=e=>{"endpoint"in e&&s(0,g=e.endpoint),"datasource"in e&&s(30,f=e.datasource),"lang"in e&&s(1,y=e.lang),"session"in e&&s(2,v=e.session),"userid"in e&&s(3,w=e.userid),"favorites"in e&&s(4,b=e.favorites),"clientstyling"in e&&s(5,x=e.clientstyling),"clientstylingurl"in e&&s(6,C=e.clientstylingurl),"currency"in e&&s(7,S=e.currency),"categoryid"in e&&s(29,F=e.categoryid),"categoryindex"in e&&s(31,k=e.categoryindex),"categorygames"in e&&s(32,M=e.categorygames),"livecasino"in e&&s(8,_=e.livecasino),"visiblegames"in e&&s(33,$=e.visiblegames),"once"in e&&s(34,E=e.once),"top"in e&&s(35,T=e.top),"bottom"in e&&s(36,I=e.bottom),"left"in e&&s(37,L=e.left),"right"in e&&s(38,G=e.right)},e.$$.update=()=>{512&e.$$.dirty[0]|256&e.$$.dirty[1]&&m&&J&&Z&&J.forEach((e,t)=>{e&&(e.elems_index=t,Q.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&x&&(()=>{let e=document.createElement("style");e.innerHTML=x,setTimeout(()=>{h.appendChild(e)})})(),64&e.$$.dirty[0]&&C&&(()=>{let t=document.createElement("style");fetch(new URL(C)).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)})})()},[g,y,v,w,b,x,C,S,_,J,P,o,D,O,B,U,z,j,Y,l,u,W,h,X,q,K,n,A,ie,F,f,k,M,$,E,T,I,L,G,m,function(e){Oe[e?"unshift":"push"](()=>{u=e,s(20,u)})},e=>ie(o.id,o),function(e,t){Oe[e?"unshift":"push"](()=>{J[t]=e,s(9,J)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){Oe[e?"unshift":"push"](()=>{u=e,s(20,u)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){Oe[e?"unshift":"push"](()=>{h=e,s(22,h)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},fa,ma,n,{endpoint:0,datasource:30,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:29,categoryindex:31,categorygames:32,livecasino:8,visiblegames:33,once:34,top:35,bottom:36,left:37,right:38},[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categoryindex","categorygames","livecasino","visiblegames","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),N()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$set({datasource:e}),N()}get lang(){return this.$$.ctx[1]}set lang(e){this.$set({lang:e}),N()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[3]}set userid(e){this.$set({userid:e}),N()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$set({favorites:e}),N()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get currency(){return this.$$.ctx[7]}set currency(e){this.$set({currency:e}),N()}get categoryid(){return this.$$.ctx[29]}set categoryid(e){this.$set({categoryid:e}),N()}get categoryindex(){return this.$$.ctx[31]}set categoryindex(e){this.$set({categoryindex:e}),N()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$set({categorygames:e}),N()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$set({livecasino:e}),N()}get visiblegames(){return this.$$.ctx[33]}set visiblegames(e){this.$set({visiblegames:e}),N()}get once(){return this.$$.ctx[34]}set once(e){this.$set({once:e}),N()}get top(){return this.$$.ctx[35]}set top(e){this.$set({top:e}),N()}get bottom(){return this.$$.ctx[36]}set bottom(e){this.$set({bottom:e}),N()}get left(){return this.$$.ctx[37]}set left(e){this.$set({left:e}),N()}get right(){return this.$$.ctx[38]}set right(e){this.$set({right:e}),N()}});const ya={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}}};function va(e,t,n){const r=e.slice();return r[22]=t[n],r[24]=n,r}function wa(n){let r,i,a,o,s,l,c,u=!n[4]&&ba(n),d=n[4]&&Ca(n);return{c(){r=Q("div"),i=Q("div"),a=Q("span"),a.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=te(),u&&u.c(),s=te(),d&&d.c(),re(a,"class","ModalCloseBtn"),re(a,"part","ModalCloseBtn"),re(a,"role","button"),re(i,"class","ModalContainer"),re(i,"part","ModalContainer"),re(r,"class","ModalWindow"),re(r,"part","ModalWindow")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),u&&u.m(i,null),X(i,s),d&&d.m(i,null),l||(c=ne(a,"click",n[8]),l=!0)},p(e,t){e[4]?u&&(u.d(1),u=null):u?u.p(e,t):(u=ba(e),u.c(),u.m(i,s)),e[4]?d?d.p(e,t):(d=Ca(e),d.c(),d.m(i,null)):d&&(d.d(1),d=null)},d(e){e&&K(r),u&&u.d(),d&&d.d(),l=!1,c()}}}function ba(t){let n,r,i,a,o,s,e=t[5]("randomGame.randomGameLoading")+"",l=t[1],c=[];for(let e=0;e<l.length;e+=1)c[e]=xa(va(t,l,e));return{c(){n=Q("div"),r=Q("main"),i=Q("div");for(let e=0;e<c.length;e+=1)c[e].c();a=te(),o=Q("p"),s=ee(e),re(i,"class","items"),re(i,"part","items"),P(i,"transform","translateY("+t[3]+"px)"),re(r,"class","RandomGamesSliderWrapper"),re(r,"part","RandomGamesSliderWrapper"),re(o,"class","RandomGameLoading"),re(o,"part","RandomGameLoading"),re(n,"class","RandomGameWrapper"),re(n,"part","RandomGameWrapper")},m(e,t){q(e,n,t),X(n,r),X(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);X(n,a),X(n,o),X(o,s)},p(t,n){if(2&n){let e;for(l=t[1],e=0;e<l.length;e+=1){var r=va(t,l,e);c[e]?c[e].p(r,n):(c[e]=xa(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}8&n&&P(i,"transform","translateY("+t[3]+"px)"),32&n&&e!==(e=t[5]("randomGame.randomGameLoading")+"")&&ie(s,e)},d(e){e&&K(n),p(c,e)}}}function xa(e){let n,r,i,a,o,s;return{c(){n=Q("div"),r=Q("img"),s=te(),re(r,"class","RandomGameImage"),re(r,"part","RandomGameImage"),r.src!==(i=e[22].thumbnail)&&re(r,"src",i),re(r,"alt",a=e[22].name),re(r,"title",o=e[22].name),re(n,"class","item"),re(n,"part","item")},m(e,t){q(e,n,t),X(n,r),X(n,s)},p(e,t){2&t&&r.src!==(i=e[22].thumbnail)&&re(r,"src",i),2&t&&a!==(a=e[22].name)&&re(r,"alt",a),2&t&&o!==(o=e[22].name)&&re(r,"title",o)},d(e){e&&K(n)}}}function Ca(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S=n[0].name+"",F=n[0].vendor.name+"",k=n[5]("randomGame.playNowRandomGame")+"";return{c(){r=Q("div"),i=Q("div"),a=Q("img"),c=te(),u=Q("button"),u.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',d=te(),h=Q("div"),p=Q("p"),m=ee(S),g=te(),f=Q("p"),y=ee(F),v=te(),w=Q("button"),b=ee(k),re(a,"class","RandomGameImage"),re(a,"part","RandomGameImage"),a.src!==(o=n[0].thumbnail)&&re(a,"src",o),re(a,"alt",s=n[0].name),re(a,"title",l=n[0].name),re(u,"class","RandomTryAgain"),re(u,"part","RandomTryAgain"),re(i,"class","item"),re(i,"part","item"),re(p,"class","RandomGameTitle"),re(p,"part","RandomGameTitle"),re(f,"class","RandomGameVendor"),re(f,"part","RandomGameVendor"),re(w,"class","RandomGamePlay"),re(w,"part","RandomGamePlay"),re(h,"class","RandomGameDetails"),re(h,"part","RandomGameDetails"),re(r,"class","RandomGameWrapper"),re(r,"part","RandomGameWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,c),X(i,u),X(r,d),X(r,h),X(h,p),X(p,m),X(h,g),X(h,f),X(f,y),X(h,v),X(h,w),X(w,b),x||(C=[ne(u,"click",n[13]),ne(w,"click",n[14])],x=!0)},p(e,t){1&t&&a.src!==(o=e[0].thumbnail)&&re(a,"src",o),1&t&&s!==(s=e[0].name)&&re(a,"alt",s),1&t&&l!==(l=e[0].name)&&re(a,"title",l),1&t&&S!==(S=e[0].name+"")&&ie(m,S),1&t&&F!==(F=e[0].vendor.name+"")&&ie(y,F),32&t&&k!==(k=e[5]("randomGame.playNowRandomGame")+"")&&ie(b,k)},d(e){e&&K(r),x=!1,J(C)}}}function Sa(n){let r,i,a,o,s,l,c,u,d,h,p,m=n[5]("randomGame.playRandomGame")+"",g=n[2]&&wa(n);return{c(){r=Q("div"),i=Q("div"),g&&g.c(),a=te(),o=Q("div"),s=Q("button"),l=Q("span"),c=ee(m),u=te(),d=Q("span"),d.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill-rule:evenodd;clip-rule:evenodd;fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M161,16.7c-2.7,0-5.5,0.5-8.1,1.6l-44.2,18.3C98.1,41,93,53.2,97.4,63.8l18.3,44.2 c4.4,10.6,16.6,15.7,27.2,11.3l44.2-18.3c10.6-4.4,15.7-16.6,11.3-27.2l-18.3-44.2C176.8,21.6,169.1,16.7,161,16.7L161,16.7z M161,25c4.9,0,9.4,2.9,11.4,7.8l18.3,44.2c2.7,6.5-0.3,13.7-6.8,16.3l-44.2,18.3c-6.5,2.7-13.7-0.3-16.3-6.8l-18.3-44.2 c-2.7-6.5,0.3-13.7,6.8-16.3L156.1,26C157.7,25.3,159.4,25,161,25L161,25z M127.1,54.2c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C130.3,54.8,128.7,54.2,127.1,54.2z M147.9,62.5c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C151.2,63.2,149.6,62.5,147.9,62.5z M168.8,70.8 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C172,71.5,170.4,70.8,168.8,70.8L168.8,70.8z M39,79.2c-8.1,0.1-15.8,4.9-19.1,12.9 L1.6,136.2c-4.4,10.6,0.7,22.8,11.3,27.2l44.2,18.3c10.6,4.4,22.8-0.7,27.2-11.3l18.3-44.2c4.4-10.6-0.7-22.8-11.3-27.2L47.1,80.8 C44.5,79.7,41.7,79.1,39,79.2L39,79.2z M39,87.5c1.6,0,3.3,0.3,4.9,1l44.2,18.3c6.5,2.7,9.4,9.9,6.8,16.3l-18.3,44.2 c-2.7,6.5-9.9,9.4-16.3,6.8l-44.2-18.3c-6.5-2.7-9.4-9.9-6.8-16.3l18.3-44.2C29.6,90.4,34.1,87.5,39,87.5L39,87.5z M44.7,99.4 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C47.9,100,46.3,99.4,44.7,99.4z M75.5,112.1c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4 c0-1.7-0.7-3.2-1.8-4.4C78.7,112.8,77.1,112.1,75.5,112.1z M36.7,118.6c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4 s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C39.9,119.3,38.3,118.6,36.7,118.6z M67.5,131.4c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C70.7,132,69.1,131.4,67.5,131.4z M28.7,137.9c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8 c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C32,138.5,30.4,137.9,28.7,137.9z M59.5,150.6 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C62.8,151.3,61.2,150.6,59.5,150.6z"></path></svg>',this.c=Z,re(s,"class","RandomButton"),re(s,"part","RandomButton"),re(o,"class","RandomButtonWrapper"),re(o,"part","RandomButtonWrapper"),re(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),X(r,i),g&&g.m(i,null),X(i,a),X(i,o),X(o,s),X(s,l),X(l,c),X(s,u),X(s,d),h||(p=ne(s,"click",n[15]),h=!0)},p(e,[t]){e[2]?g?g.p(e,t):(g=wa(e),g.c(),g.m(i,a)):g&&(g.d(1),g=null),32&t&&m!==(m=e[5]("randomGame.playRandomGame")+"")&&ie(c,m)},i:Z,o:Z,d(e){e&&K(r),g&&g.d(),h=!1,p()}}}function Fa(t,e,n){let r;Ae(t,Dr,e=>n(5,r=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,c=[],u="",d=!1,h=0,p=0,m=!1,g=window.navigator.userAgent;var f,y;[{withLocale:f,translations:y}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(y),_r.set(f))}),Object.keys(ya).forEach(e=>{yr(e,ya[e])});const v=()=>{n(1,i=w(i)),n(3,h=0),p=0,n(4,m=!1),n(0,u=c[Math.floor(Math.random()*c.length)]),n(2,d=!0);let e=setInterval(()=>{n(3,h-=100),p++,20==p&&(n(4,m=!0),clearInterval(e))},100)},w=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},b=()=>{window.postMessage({type:s,gameId:u.gId||u.id},window.location.href),n(2,d=!1)};return t.$$set=e=>{"endpoint"in e&&n(9,a=e.endpoint),"datasource"in e&&n(10,o=e.datasource),"gameevent"in e&&n(11,s=e.gameevent),"lang"in e&&n(12,l=e.lang)},t.$$.update=()=>{var e;4096&t.$$.dirty&&l&&(e=l,_r.set(e)),1536&t.$$.dirty&&a&&o&&(()=>{let e=new URL(`${a}/casino/games`);e.searchParams.append("platform",Nr(g)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{c=e.items,n(1,i=c.slice(0,19))})})()},[u,i,d,h,m,r,v,b,()=>{n(2,d=!1)},a,o,s,l,()=>v(),()=>b(),()=>v()]}function ka(e,t,n){const r=e.slice();return r[121]=t[n],r[123]=n,r}function Ma(n){let r,i,a,o,s,l="PC"!==Nr(n[42])&&"false"===n[10]&&n[38],c=l&&$a();function u(e){return"false"===e[10]?Ta:Ea}let d=u(n),h=d(n),p="true"==n[15]&&ja(n);function m(e){return e[18]?Xa:e[26]?Ja:e[29]?Za:e[24]?Va:e[30]?Wa:e[25]?void 0:Ya}let g=m(n),f=g&&g(n),y=n[20]&&"true"===n[13]&&eo(n);return{c(){r=Q("section"),c&&c.c(),i=te(),h.c(),a=te(),p&&p.c(),o=te(),f&&f.c(),s=te(),y&&y.c(),re(r,"class","CategoriesLobby"),re(r,"part","CategoriesLobby"),P(r,"max-width",n[12]+"px")},m(e,t){q(e,r,t),c&&c.m(r,null),X(r,i),h.m(r,null),X(r,a),p&&p.m(r,null),X(r,o),f&&f.m(r,null),X(r,s),y&&y.m(r,null),n[72](r)},p(e,t){1024&t[0]|128&t[1]&&(l="PC"!==Nr(e[42])&&"false"===e[10]&&e[38]),l?c||(c=$a(),c.c(),c.m(r,i)):c&&(c.d(1),c=null),d===(d=u(e))&&h?h.p(e,t):(h.d(1),h=d(e),h&&(h.c(),h.m(r,a))),"true"==e[15]?p?p.p(e,t):(p=ja(e),p.c(),p.m(r,o)):p&&(p.d(1),p=null),g===(g=m(e))&&f?f.p(e,t):(f&&f.d(1),f=g&&g(e),f&&(f.c(),f.m(r,s))),e[20]&&"true"===e[13]?y?y.p(e,t):(y=eo(e),y.c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&P(r,"max-width",e[12]+"px")},d(e){e&&K(r),c&&c.d(),h.d(),p&&p.d(),f&&f.d(),y&&y.d(),n[72](null)}}}function _a(e){let n,r,i=e[41]("casinoPage.500")+"";return{c(){n=Q("p"),r=ee(i),re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t),X(n,r)},p(e,t){1024&t[1]&&i!==(i=e[41]("casinoPage.500")+"")&&ie(r,i)},d(e){e&&K(n)}}}function $a(){let n;return{c(){n=Q("div"),re(n,"class","SearchBarPlaceholder"),re(n,"part","SearchBarPlaceholder")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function Ea(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b=n[41]("casinoPage.searchGames")+"",x="PC"===Nr(n[42])&&n[16].length||"PC"!==Nr(n[42]),C=!n[38]&&Ia(),S=x&&La(n),F=!n[24]&&!n[29]&&!n[38]&&!n[30]&&!n[25]&&!n[28]&&!n[26]&&!n[27]&&Ga(n);return{c(){r=Q("div"),i=Q("div"),a=Q("label"),o=ee(b),s=te(),l=Q("div"),C&&C.c(),c=te(),u=Q("input"),h=te(),S&&S.c(),g=te(),F&&F.c(),re(a,"for","search"),re(a,"class","SrOnly"),re(a,"part","SrOnly"),re(u,"id","SearchField"),re(u,"class","SearchInput"),re(u,"part","SearchInput"),re(u,"placeholder",d="PC"===Nr(n[42])?n[41]("casinoPage.search"):n[41]("casinoPage.searchMobile")),re(u,"type","search"),re(l,"class","SearchWrapper"),re(l,"part","SearchWrapper"),re(i,"class",p="SearchContainer "+(n[29]||n[24]||n[30]||n[27]?"":"SearchTruncated")),re(i,"part",m="SearchContainer "+(n[29]||n[24]||n[30]||n[27]?"":"SearchTruncated")),re(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Nr(n[42])?"CategoriesHeaderMobileSection":"")+" "+(n[38]?"SearchMobileActive":"")+" "+(n[38]||n[26]&&"PC"!==Nr(n[42])&&!no?"CategoriesHeaderSearchActive":"")+(n[32]&&n[38]?"SearchStickTop":"")),re(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Nr(n[42])?"CategoriesHeaderMobileSection":"")+" "+(n[38]?"SearchMobileActive":"")+" "+(n[38]||n[26]&&"PC"!==Nr(n[42])&&!no?"CategoriesHeaderSearchActive":"")+(n[32]&&n[38]?"SearchStickTop":"")),P(r,"top",n[32]&&n[38]?ro+"px":"")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(i,s),X(i,l),C&&C.m(l,null),X(l,c),X(l,u),n[65](u),k(u,n[16]),X(l,h),S&&S.m(l,null),X(r,g),F&&F.m(r,null),n[70](r),v||(w=[ne(u,"focus",n[44]),ne(u,"blur",n[45]),ne(u,"input",n[66]),ne(u,"focus",n[46])],v=!0)},p(e,t){1024&t[1]&&b!==(b=e[41]("casinoPage.searchGames")+"")&&ie(o,b),e[38]?C&&(C.d(1),C=null):C||(C=Ia(),C.c(),C.m(l,c)),1024&t[1]&&d!==(d="PC"===Nr(e[42])?e[41]("casinoPage.search"):e[41]("casinoPage.searchMobile"))&&re(u,"placeholder",d),65536&t[0]&&k(u,e[16]),65536&t[0]&&(x="PC"===Nr(e[42])&&e[16].length||"PC"!==Nr(e[42])),x?S?S.p(e,t):(S=La(e),S.c(),S.m(l,null)):S&&(S.d(1),S=null),1761607680&t[0]&&p!==(p="SearchContainer "+(e[29]||e[24]||e[30]||e[27]?"":"SearchTruncated"))&&re(i,"class",p),1761607680&t[0]&&m!==(m="SearchContainer "+(e[29]||e[24]||e[30]||e[27]?"":"SearchTruncated"))&&re(i,"part",m),e[24]||e[29]||e[38]||e[30]||e[25]||e[28]||e[26]||e[27]?F&&(F.d(1),F=null):F?F.p(e,t):(F=Ga(e),F.c(),F.m(r,null)),67108864&t[0]|130&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Nr(e[42])?"CategoriesHeaderMobileSection":"")+" "+(e[38]?"SearchMobileActive":"")+" "+(e[38]||e[26]&&"PC"!==Nr(e[42])&&!no?"CategoriesHeaderSearchActive":"")+(e[32]&&e[38]?"SearchStickTop":""))&&re(r,"class",f),67108864&t[0]|130&t[1]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Nr(e[42])?"CategoriesHeaderMobileSection":"")+" "+(e[38]?"SearchMobileActive":"")+" "+(e[38]||e[26]&&"PC"!==Nr(e[42])&&!no?"CategoriesHeaderSearchActive":"")+(e[32]&&e[38]?"SearchStickTop":""))&&re(r,"part",y),130&t[1]&&P(r,"top",e[32]&&e[38]?ro+"px":"")},d(e){e&&K(r),C&&C.d(),n[65](null),S&&S.d(),F&&F.d(),n[70](null),v=!1,J(w)}}}function Ta(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b=n[41]("casinoPage.searchGames")+"",x="PC"===Nr(n[42])&&n[16].length||"PC"!==Nr(n[42]),C=!n[38]&&Oa(),S=x&&Na(n),F=!n[24]&&!n[29]&&!n[38]&&!n[30]&&!n[25]&&!n[26]&&!n[28]&&!n[27]&&Ba(n);return{c(){r=Q("div"),i=Q("div"),a=Q("label"),o=ee(b),s=te(),l=Q("div"),C&&C.c(),c=te(),u=Q("input"),h=te(),S&&S.c(),g=te(),F&&F.c(),re(a,"for","search"),re(a,"class","SrOnly"),re(a,"part","SrOnly"),re(u,"id","SearchField"),re(u,"class","SearchInput"),re(u,"part","SearchInput"),re(u,"placeholder",d="PC"===Nr(n[42])?n[41]("casinoPage.search"):n[41]("casinoPage.searchMobile")),re(u,"type","search"),re(l,"class","SearchWrapper"),re(l,"part","SearchWrapper"),re(i,"class",p="SearchContainer "+(n[29]||n[24]||n[30]||n[27]?"":"SearchTruncated")),re(i,"part",m="SearchContainer "+(n[29]||n[24]||n[30]||n[27]?"":"SearchTruncated")),re(r,"class",f="CategoriesHeaderSection "+("PC"!==Nr(n[42])?"CategoriesHeaderMobileSection":"")+" "+(n[38]?"SearchMobileActive":"")+" "+(n[38]||n[26]&&"PC"!==Nr(n[42])&&!no?"CategoriesHeaderSearchActive":"")+" "+(n[32]&&n[38]?"SearchStickTop":"")),P(r,"top",n[32]&&n[38]?ro+"px":""),re(r,"part",y="CategoriesHeaderSection "+("PC"!==Nr(n[42])?"CategoriesHeaderMobileSection":"")+" "+(n[38]?"SearchMobileActive":"")+" "+(n[38]||n[26]&&"PC"!==Nr(n[42])&&!no?"CategoriesHeaderSearchActive":"")+" "+(n[32]&&n[38]?"SearchStickTop":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(i,s),X(i,l),C&&C.m(l,null),X(l,c),X(l,u),n[59](u),k(u,n[16]),X(l,h),S&&S.m(l,null),X(r,g),F&&F.m(r,null),n[64](r),v||(w=[ne(u,"focus",n[44]),ne(u,"blur",n[45]),ne(u,"input",n[60]),ne(u,"focus",n[46])],v=!0)},p(e,t){1024&t[1]&&b!==(b=e[41]("casinoPage.searchGames")+"")&&ie(o,b),e[38]?C&&(C.d(1),C=null):C||(C=Oa(),C.c(),C.m(l,c)),1024&t[1]&&d!==(d="PC"===Nr(e[42])?e[41]("casinoPage.search"):e[41]("casinoPage.searchMobile"))&&re(u,"placeholder",d),65536&t[0]&&k(u,e[16]),65536&t[0]&&(x="PC"===Nr(e[42])&&e[16].length||"PC"!==Nr(e[42])),x?S?S.p(e,t):(S=Na(e),S.c(),S.m(l,null)):S&&(S.d(1),S=null),1761607680&t[0]&&p!==(p="SearchContainer "+(e[29]||e[24]||e[30]||e[27]?"":"SearchTruncated"))&&re(i,"class",p),1761607680&t[0]&&m!==(m="SearchContainer "+(e[29]||e[24]||e[30]||e[27]?"":"SearchTruncated"))&&re(i,"part",m),e[24]||e[29]||e[38]||e[30]||e[25]||e[26]||e[28]||e[27]?F&&(F.d(1),F=null):F?F.p(e,t):(F=Ba(e),F.c(),F.m(r,null)),67108864&t[0]|130&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==Nr(e[42])?"CategoriesHeaderMobileSection":"")+" "+(e[38]?"SearchMobileActive":"")+" "+(e[38]||e[26]&&"PC"!==Nr(e[42])&&!no?"CategoriesHeaderSearchActive":"")+" "+(e[32]&&e[38]?"SearchStickTop":""))&&re(r,"class",f),130&t[1]&&P(r,"top",e[32]&&e[38]?ro+"px":""),67108864&t[0]|130&t[1]&&y!==(y="CategoriesHeaderSection "+("PC"!==Nr(e[42])?"CategoriesHeaderMobileSection":"")+" "+(e[38]?"SearchMobileActive":"")+" "+(e[38]||e[26]&&"PC"!==Nr(e[42])&&!no?"CategoriesHeaderSearchActive":"")+" "+(e[32]&&e[38]?"SearchStickTop":""))&&re(r,"part",y)},d(e){e&&K(r),C&&C.d(),n[59](null),S&&S.d(),F&&F.d(),n[64](null),v=!1,J(w)}}}function Ia(){let n;return{c(){n=Q("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',re(n,"class","SearchIcon"),re(n,"part","SearchWrapper")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function La(n){let r,i,a,o;return{c(){r=Q("span"),i=Q("div"),i.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',re(i,"class","CloseIconContainer"),re(i,"part","CloseIconContainer"),re(r,"class","PC"===Nr(n[42])?"ClearSearchButton":"ClearSearchButtonMobile"),re(r,"part","PC"===Nr(n[42])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),X(r,i),a||(o=ne(r,"click",n[67]),a=!0)},p:Z,d(e){e&&K(r),a=!1,o()}}}function Ga(e){let n,r,i=e[39]&&Pa(e),a=(!e[26]||!e[25])&&Ra(e);return{c(){n=Q("div"),i&&i.c(),r=te(),a&&a.c(),re(n,"class","FiltersButtonsContainer"),re(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),X(n,r),a&&a.m(n,null)},p(e,t){e[39]?i?i.p(e,t):(i=Pa(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[26]&&e[25]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Ra(e),a.c(),a.m(n,null))},d(e){e&&K(n),i&&i.d(),a&&a.d()}}}function Pa(n){let r,i,a,o,s,l,c,u,d,h=n[41]("casinoPage.clear")+"";return{c(){r=Q("div"),i=Q("div"),a=ee(h),o=te(),s=Q("span"),s.innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',re(s,"class","ClearIcon"),re(s,"part","ClearIcon"),re(i,"class","ClearButton"),re(i,"part","ClearButton"),re(r,"class",l="ClearFilterButtonWrapper "+(n[39]?"FiltersActive":"")),re(r,"part",c="ClearFilterButtonWrapper "+(n[39]?"FiltersActive":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),u||(d=ne(r,"click",n[68]),u=!0)},p(e,t){1024&t[1]&&h!==(h=e[41]("casinoPage.clear")+"")&&ie(a,h),256&t[1]&&l!==(l="ClearFilterButtonWrapper "+(e[39]?"FiltersActive":""))&&re(r,"class",l),256&t[1]&&c!==(c="ClearFilterButtonWrapper "+(e[39]?"FiltersActive":""))&&re(r,"part",c)},d(e){e&&K(r),u=!1,d()}}}function Ra(e){let n,r=!e[30]&&Aa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[30]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Aa(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&K(n)}}}function Aa(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f=n[41]("casinoPage.filters")+"",y=0<n[39]&&Da(n);return{c(){r=Q("div"),i=Q("div"),a=ee(f),o=te(),s=Q("div"),l=x("svg"),c=x("defs"),u=x("style"),d=ee(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=x("path"),p=te(),y&&y.c(),re(i,"class","FilterButton"),re(i,"part","FilterButton"),re(h,"class","a"),re(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"),re(h,"transform","translate(-5 -6.2)"),re(l,"xmlns","http://www.w3.org/2000/svg"),re(l,"width","20"),re(l,"height","20"),re(l,"viewBox","0 0 26 26"),re(s,"class","FilterIconContainer"),re(s,"part","FilterIconContainer"),re(r,"class","FilterButtonWrapper"),re(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(s,l),X(l,c),X(c,u),X(u,d),X(l,h),X(s,p),y&&y.m(s,null),m||(g=ne(r,"click",n[69]),m=!0)},p(e,t){1024&t[1]&&f!==(f=e[41]("casinoPage.filters")+"")&&ie(a,f),0<e[39]?y?y.p(e,t):(y=Da(e),y.c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&K(r),y&&y.d(),m=!1,g()}}}function Da(e){let n,r,i;return{c(){n=Q("div"),r=Q("span"),i=ee(e[39]),re(r,"class","NumberOfFilters"),re(r,"part","NumberOfFilters"),re(n,"class","NumberOfFiltersContainer"),re(n,"part","NumberOfFiltersContainer")},m(e,t){q(e,n,t),X(n,r),X(r,i)},p(e,t){256&t[1]&&ie(i,e[39])},d(e){e&&K(n)}}}function Oa(){let n;return{c(){n=Q("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',re(n,"class","SearchIcon"),re(n,"part","SearchIcon")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function Na(n){let r,i,a,o;return{c(){r=Q("span"),i=Q("div"),i.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',re(i,"class","CloseIconContainer"),re(i,"part","CloseIconContainer"),re(r,"class","PC"===Nr(n[42])?"ClearSearchButton":"ClearSearchButtonMobile"),re(r,"part","PC"===Nr(n[42])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),X(r,i),a||(o=ne(r,"click",n[61]),a=!0)},p:Z,d(e){e&&K(r),a=!1,o()}}}function Ba(e){let n,r,i=e[39]&&Ua(e),a=(!e[26]||!e[25])&&Ha(e);return{c(){n=Q("div"),i&&i.c(),r=te(),a&&a.c(),re(n,"class","FiltersButtonsContainer"),re(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),X(n,r),a&&a.m(n,null)},p(e,t){e[39]?i?i.p(e,t):(i=Ua(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[26]&&e[25]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Ha(e),a.c(),a.m(n,null))},d(e){e&&K(n),i&&i.d(),a&&a.d()}}}function Ua(n){let r,i,a,o,s,l,c,u=n[41]("casinoPage.clear")+"";return{c(){r=Q("div"),i=Q("div"),a=ee(u),o=te(),s=Q("span"),s.innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',re(s,"class","ClearIcon"),re(s,"part","ClearIcon"),re(i,"class","ClearButton"),re(i,"part","ClearButton"),re(r,"class","ClearFilterButtonWrapper"),re(r,"part","ClearFilterButtonWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),l||(c=ne(r,"click",n[62]),l=!0)},p(e,t){1024&t[1]&&u!==(u=e[41]("casinoPage.clear")+"")&&ie(a,u)},d(e){e&&K(r),l=!1,c()}}}function Ha(e){let n,r=!e[30]&&za(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[30]?r&&(r.d(1),r=null):r?r.p(e,t):(r=za(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&K(n)}}}function za(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w=n[41]("casinoPage.filters")+"";return{c(){r=Q("div"),i=Q("div"),a=ee(w),o=te(),s=Q("div"),l=x("svg"),c=x("defs"),u=x("style"),d=ee(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=x("path"),p=te(),m=Q("div"),g=Q("span"),f=ee(n[39]),re(i,"class","FilterButton"),re(i,"part","FilterButton"),re(h,"class","a"),re(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"),re(h,"transform","translate(-5 -6.2)"),re(l,"xmlns","http://www.w3.org/2000/svg"),re(l,"width","20"),re(l,"height","20"),re(l,"viewBox","0 0 26 26"),re(g,"class","NumberOfFilters"),re(g,"part","NumberOfFilters"),re(m,"class","NumberOfFiltersContainer"),re(m,"part","NumberOfFiltersContainer"),re(s,"class","FilterIconContainer"),re(s,"part","FilterIconContainer"),re(r,"class","FilterButtonWrapper"),re(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(s,l),X(l,c),X(c,u),X(u,d),X(l,h),X(s,p),X(s,m),X(m,g),X(g,f),y||(v=ne(r,"click",n[63]),y=!0)},p(e,t){1024&t[1]&&w!==(w=e[41]("casinoPage.filters")+"")&&ie(a,w),256&t[1]&&ie(f,e[39])},d(e){e&&K(r),y=!1,v()}}}function ja(e){let n;return{c(){n=Q("casino-random-game"),C(n,"datasource",e[1]),C(n,"endpoint",e[0]),C(n,"lang",e[3]),C(n,"gameevent",e[17])},m(e,t){q(e,n,t)},p(e,t){2&t[0]&&C(n,"datasource",e[1]),1&t[0]&&C(n,"endpoint",e[0]),8&t[0]&&C(n,"lang",e[3]),131072&t[0]&&C(n,"gameevent",e[17])},d(e){e&&K(n)}}}function Ya(e){let n;return{c(){n=Q("casino-games-category-section"),C(n,"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"favorites",e[11]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"session",e[4]),C(n,"categoryid",e[35]),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[14]),C(n,"visiblegames",e[9])},m(e,t){q(e,n,t)},p(e,t){32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),2048&t[0]&&C(n,"favorites",e[11]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),16&t[0]&&C(n,"session",e[4]),16&t[1]&&C(n,"categoryid",e[35]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),16384&t[0]&&C(n,"livecasino",e[14]),512&t[0]&&C(n,"visiblegames",e[9])},d(e){e&&K(n)}}}function Wa(e){let n;function r(e){return e[31]?Ka:qa}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&K(n)}}}function Va(n){let r,i,a,o;return{c(){r=Q("casino-games-category-section"),C(r,"session",n[4]),C(r,"userid",n[5]),C(r,"endpoint",n[0]),C(r,"datasource",n[1]),C(r,"lang",n[3]),C(r,"currency",n[2]),C(r,"favorites",n[11]),C(r,"categoryid","FAVORITES"),C(r,"class","CategoryContainer"),C(r,"clientstyling",n[6]),C(r,"clientstylingurl",n[7]),C(r,"livecasino",n[14]),C(r,"visiblegames",n[9])},m(e,t){q(e,r,t),a||(o=l(i=n[43].call(null,r,(n[0],n[21],n[22],n[21]))),a=!0)},p(e,t){16&t[0]&&C(r,"session",e[4]),32&t[0]&&C(r,"userid",e[5]),1&t[0]&&C(r,"endpoint",e[0]),2&t[0]&&C(r,"datasource",e[1]),8&t[0]&&C(r,"lang",e[3]),4&t[0]&&C(r,"currency",e[2]),2048&t[0]&&C(r,"favorites",e[11]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),16384&t[0]&&C(r,"livecasino",e[14]),512&t[0]&&C(r,"visiblegames",e[9]),i&&f(i.update)&&6291457&t[0]&&i.update.call(null,(e[0],e[21],e[22],e[21]))},d(e){e&&K(r),a=!1,o()}}}function Za(t){let i,a=t[34],o=[];for(let e=0;e<a.length;e+=1)o[e]=Qa(ka(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(19455&n[0]|8&n[1]){let e;for(a=t[34],e=0;e<a.length;e+=1){var r=ka(t,a,e);o[e]?o[e].p(r,n):(o[e]=Qa(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){p(o,e),e&&K(i)}}}function Ja(n){let r,i,a,o;return{c(){r=Q("casino-games-category-section"),C(r,"endpoint",n[0]),C(r,"datasource",n[1]),C(r,"lang",n[3]),C(r,"currency",n[2]),C(r,"session",n[4]),C(r,"userid",n[5]),C(r,"categoryid","Search"),C(r,"favorites",n[11]),C(r,"categoryindex","0"),C(r,"class","CategoryContainer"),C(r,"clientstyling",n[6]),C(r,"clientstylingurl",n[7]),C(r,"livecasino",n[14]),C(r,"visiblegames",n[9])},m(e,t){q(e,r,t),a||(o=l(i=n[51].call(null,r,n[33])),a=!0)},p(e,t){1&t[0]&&C(r,"endpoint",e[0]),2&t[0]&&C(r,"datasource",e[1]),8&t[0]&&C(r,"lang",e[3]),4&t[0]&&C(r,"currency",e[2]),16&t[0]&&C(r,"session",e[4]),32&t[0]&&C(r,"userid",e[5]),2048&t[0]&&C(r,"favorites",e[11]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),16384&t[0]&&C(r,"livecasino",e[14]),512&t[0]&&C(r,"visiblegames",e[9]),i&&f(i.update)&&4&t[1]&&i.update.call(null,e[33])},d(e){e&&K(r),a=!1,o()}}}function Xa(e){let n,r,i=e[41]("casinoPage.loading")+"";return{c(){n=Q("p"),r=ee(i),re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t),X(n,r)},p(e,t){1024&t[1]&&i!==(i=e[41]("casinoPage.loading")+"")&&ie(r,i)},d(e){e&&K(n)}}}function qa(e){let n;return{c(){n=Q("casino-games-category-section"),C(n,"session",e[4]),C(n,"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"favorites",e[11]),C(n,"categoryid","MOSTPLAYED"),C(n,"categoryindex","1"),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[14]),C(n,"visiblegames",e[9])},m(e,t){q(e,n,t)},p(e,t){16&t[0]&&C(n,"session",e[4]),32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),2048&t[0]&&C(n,"favorites",e[11]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),16384&t[0]&&C(n,"livecasino",e[14]),512&t[0]&&C(n,"visiblegames",e[9])},d(e){e&&K(n)}}}function Ka(e){let n,r,i=e[41]("casinoPage.noGamesPlayed")+"";return{c(){n=Q("p"),r=ee(i),re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t),X(n,r)},p(e,t){1024&t[1]&&i!==(i=e[41]("casinoPage.noGamesPlayed")+"")&&ie(r,i)},d(e){e&&K(n)}}}function Qa(n){let r,i,a,o,s;return{c(){r=Q("casino-games-category-section"),C(r,"session",n[4]),C(r,"userid",n[5]),C(r,"endpoint",n[0]),C(r,"datasource",n[1]),C(r,"lang",n[3]),C(r,"currency",n[2]),C(r,"categoryid",i=n[121]),C(r,"categoryindex",n[123]),C(r,"categorygames","9"),C(r,"favorites",n[11]),C(r,"class","CategoryContainer"),P(r,"background-color",n[123]%2!=0?n[8]:"transparent"),C(r,"clientstyling",n[6]),C(r,"clientstylingurl",n[7]),C(r,"livecasino",n[14]),C(r,"visiblegames",n[9])},m(e,t){q(e,r,t),o||(s=l(a=n[50].call(null,r,n[121])),o=!0)},p(e,t){n=e,16&t[0]&&C(r,"session",n[4]),32&t[0]&&C(r,"userid",n[5]),1&t[0]&&C(r,"endpoint",n[0]),2&t[0]&&C(r,"datasource",n[1]),8&t[0]&&C(r,"lang",n[3]),4&t[0]&&C(r,"currency",n[2]),8&t[1]&&i!==(i=n[121])&&C(r,"categoryid",i),2048&t[0]&&C(r,"favorites",n[11]),256&t[0]&&P(r,"background-color",n[123]%2!=0?n[8]:"transparent"),64&t[0]&&C(r,"clientstyling",n[6]),128&t[0]&&C(r,"clientstylingurl",n[7]),16384&t[0]&&C(r,"livecasino",n[14]),512&t[0]&&C(r,"visiblegames",n[9]),a&&f(a.update)&&8&t[1]&&a.update.call(null,n[121])},d(e){e&&K(r),o=!1,s()}}}function eo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g=n[41]("casinoPage.break")+"",f=n[41]("casinoPage.breakButton")+"";return{c(){r=Q("div"),i=Q("div"),a=x("svg"),o=x("path"),s=te(),l=Q("p"),c=ee(g),u=te(),d=Q("button"),h=ee(f),re(o,"stroke-linecap","round"),re(o,"stroke-linejoin","round"),re(o,"stroke-width","2"),re(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),re(a,"class","w-1 h-1"),re(a,"part","w-1 h-1"),re(a,"fill","none"),re(a,"stroke","white"),re(a,"width","34px"),re(a,"height","34px"),re(a,"viewBox","0 0 24 24"),re(a,"xmlns","http://www.w3.org/2000/svg"),re(i,"class","PanicText"),re(i,"part","PanicText"),re(d,"class","PanicButton"),re(d,"part","PanicButton"),R(d,"PanicButtonAnimation",n[23]),re(r,"class","PanicSection "+("PC"!==Nr(n[42])?"PanicSectionMobile":"")),re(r,"part","PanicSection "+("PC"!==Nr(n[42])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(i,s),X(i,l),X(l,c),X(r,u),X(r,d),X(d,h),p||(m=ne(d,"click",n[71]),p=!0)},p(e,t){1024&t[1]&&g!==(g=e[41]("casinoPage.break")+"")&&ie(c,g),1024&t[1]&&f!==(f=e[41]("casinoPage.breakButton")+"")&&ie(h,f),8388608&t[0]&&R(d,"PanicButtonAnimation",e[23])},d(e){e&&K(r),p=!1,m()}}}function to(e){let n;function r(e){return e[19]?_a:Ma}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&K(n)}}}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}.RandomButtonWrapper .RandomButton svg{width:35px;height:35px}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Fa,Sa,n,{endpoint:9,datasource:10,gameevent:11,lang:12}),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang"]}get endpoint(){return this.$$.ctx[9]}set endpoint(e){this.$set({endpoint:e}),N()}get datasource(){return this.$$.ctx[10]}set datasource(e){this.$set({datasource:e}),N()}get gameevent(){return this.$$.ctx[11]}set gameevent(e){this.$set({gameevent:e}),N()}get lang(){return this.$$.ctx[12]}set lang(e){this.$set({lang:e}),N()}});let no=!1;const ro=0;function io(e,t,a){let n;Ae(e,Dr,e=>a(41,n=e));let r,{endpoint:o=""}=t,{datasource:s=""}=t,{currency:i=""}=t,{lang:l=""}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{categorybackground:p=""}=t,{visiblegames:m}=t,{alternativesearch:g="false"}=t,{favorites:f=""}=t,{mostplayed:y=""}=t,{containermaxwidth:v="1300"}=t,{lobbyid:w="casinodefault"}=t,{haspanicbutton:b="false"}=t,{mostplayedrounds:x=""}=t,{activecategory:C=""}=t,{livecasino:S="false"}=t,{playrandomgame:F="false"}=t,k=window.navigator.userAgent;r=Or(k)?"OpenGameFrame":"ShowGameModal";let M,_,$,E,T,I,L,G,P,R,A,D,O,N=!1,B=!1,U=!1,H="",z=!1,j=!1,Y=!1,W=!0,V=!1,Z=!1,J=!1,X=!1,q=!0,K=!1,Q=!1,ee=!1,te=!0,ne=[],re="",ie,ae,oe=[],se=!1,le=[],ce=0,ue="",de=!1;var he,pe;[{withLocale:he,translations:pe}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(pe),_r.set(he))}),Object.keys(ri).forEach(e=>{yr(e,ri[e])});const me=e=>{if(e.data)switch(e.data.type){case"UserSessionID":a(22,_=e.data.session),a(21,M=e.data.userID),M&&M.length&&_&&0<_.length&&ge(o,_,M);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":we(`${o}/player/${M}/favorites`,_,M,e.data.id,e.data.triggerFactor);break;case"SetFavoredGame":ve(`${o}/player/${M}/favorites`,_,M,e.data.id,e.data.triggerFactor);break;case"GetFavoredGame":M&&M.length&&_&&0<_.length&&ge(o,_,M);break;case"SearchedItemClicked":Fe(e.data.gameId);break;case"UpdateFilters":$e(e.data.vendorsArray),ke();break;case"ClearFilters":_e(e.data.vendorsArray),ke();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:ue},window.location.href),ke();break;case"CategoryVendors":ue=e.data.categoryid,ke();break;case"GameHovered":Z=!0;break;case"GameBlur":Z=!1}};let ge=(e,t,n)=>{"true"==f&&c&&n&&fetch(`${e}/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(R=e,R&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:R},window.location.href),ye(R.items)),R)).then(e=>(j&&be(),e)).catch(e=>{console.error(e)})},fe=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(R=e,j&&be(),R&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:R},window.location.href),R)).catch(e=>{console.error(e)})};const ye=(e=[])=>(oe=[],0<e.length&&e.forEach(e=>{oe.push(e.id)}),oe);let ve=(t,n,e,r,i)=>{oe.includes(r)||oe.push(r);var a={items:oe},a={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(t,a).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),fe(t,n)}).catch(e=>{console.error("Err",e)})};const we=(t,n,e,r,i)=>{oe.includes(r)&&(oe=oe.filter(e=>e!=r)),fetch(`${t}/${r}`,{method:"DELETE",headers:{"X-SessionID":n}}).then(e=>e.json()).then(e=>{window.postMessage({type:`RemoveFavoriteThumbnail_${r}`},window.location.href),fe(t,n)})},be=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:R},window.location.href)},xe=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},Ce=()=>{if(o&&s&&l&&(a(28,X=!0),re.length<2)){let e=xe(`searchedGamesWds_${w}`),t=[];e&&(t=e.split(",")),1!=q||W||(a(27,J=q),a(29,q=!1));let n=[],r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(`${o}/casino/games/${t[r]}`);e.searchParams.append("language",l),e.searchParams.append("datasource",s),e.searchParams.append("platform",Nr(k)),n.push((e=>new Promise((t,n)=>{a(18,N=!0),fetch(e).then(e=>e.json()).then(e=>{a(18,N=!1),t(e[0])}).catch(e=>{a(19,B=!0),a(18,N=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{a(33,E=e),Ee({},E)})}else Ee({},{})}},Se=()=>{a(28,X=!1),re.length<2&&!Z&&(a(26,V=!1),a(33,E=[]),a(25,Y=!1),a(29,q=J),a(27,J=!1),!1===q&&window.postMessage({type:"CategoryUpdate",itemId:T},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},Fe=e=>{le=xe(`searchedGamesWds_${w}`),le=le?le.split(","):[],-1===le.indexOf(e)&&(le.push(e),e=le.join(","),document.cookie=`searchedGamesWds_${w}=`+e)},ke=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&ue&&(e[ue]?a(39,ce=e[ue].length):a(39,ce=0))},Me=()=>{a(58,te=!0),a(16,re=""),a(33,E=[]),a(25,Y=!1),Se()},_e=e=>{window.postMessage({type:"AvailableVendors",venArray:e},window.location.href)},$e=e=>{window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href)},Ee=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Te=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},Ie=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Le=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:R},window.location.href)},Ge=()=>{a(23,z=!0),$=setTimeout(()=>{a(23,z=!1),window.postMessage({type:"PanicButtonClicked"},window.location.href)},3e3),clearTimeout($)},Pe=()=>{L&&(G=L.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>G||130<G?a(32,ee=!0):a(32,ee=!1)},Re=()=>{a(35,T=C),(e=>{switch(a(26,V=!1),a(16,re=""),ie=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":a(29,q=!0),a(24,j=!1),a(35,T=""),a(30,K=!1);break;case"FAVORITES":a(29,q=!1),a(24,j=!0),a(30,K=!1),a(35,T="");break;case"MOSTPLAYED":"true"==y&&(a(18,N=!0),(e=>{let t=new URL(`${o}/player/${M}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order);var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),O=S?t:t.href,new Promise((t,n)=>{fetch(O).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Most Played",id:"MOSTPLAYED"}},window.location.href),window.postMessage({type:"MostPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})})})({limit:100,device:Nr(k),rounds:10}).then(e=>{if(a(18,N=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(`${o}/casino/games/${e.gameId}`);t.searchParams.append("datasource",s),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{ae=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:ae},window.location.href)})}else a(31,Q=!0)}),a(35,T=""),a(29,q=!1),a(24,j=!1),a(30,K=!0));break;default:a(29,q=!1),a(24,j=!1),a(30,K=!1),a(35,T=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:T},window.location.href)},500)}})({data:{itemId:T}})};return De(()=>(window.addEventListener("scroll",Pe,!1),window.addEventListener("message",me,!1),()=>{window.removeEventListener("scroll",Pe),window.removeEventListener("message",me)})),e.$$set=e=>{"endpoint"in e&&a(0,o=e.endpoint),"datasource"in e&&a(1,s=e.datasource),"currency"in e&&a(2,i=e.currency),"lang"in e&&a(3,l=e.lang),"session"in e&&a(4,c=e.session),"userid"in e&&a(5,u=e.userid),"clientstyling"in e&&a(6,d=e.clientstyling),"clientstylingurl"in e&&a(7,h=e.clientstylingurl),"categorybackground"in e&&a(8,p=e.categorybackground),"visiblegames"in e&&a(9,m=e.visiblegames),"alternativesearch"in e&&a(10,g=e.alternativesearch),"favorites"in e&&a(11,f=e.favorites),"mostplayed"in e&&a(53,y=e.mostplayed),"containermaxwidth"in e&&a(12,v=e.containermaxwidth),"lobbyid"in e&&a(54,w=e.lobbyid),"haspanicbutton"in e&&a(13,b=e.haspanicbutton),"mostplayedrounds"in e&&a(55,x=e.mostplayedrounds),"activecategory"in e&&a(56,C=e.activecategory),"livecasino"in e&&a(14,S=e.livecasino),"playrandomgame"in e&&a(15,F=e.playrandomgame)},e.$$.update=()=>{if(65536&e.$$.dirty[0]&&re&&(2<=re.length?a(58,te=!0):a(58,te=!1)),65547&e.$$.dirty[0]|201326592&e.$$.dirty[1])if(2<=re.length){a(26,V=!0);let e=new URL(`${o}/casino/games`);e.searchParams.append("datasource",s),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Nr(k)),e.searchParams.append("language",l),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${re}`),r=e,new Promise((t,n)=>{a(18,N=!0),fetch(r).then(e=>e.json()).then(e=>{a(18,N=!1),t(e)}).catch(e=>{a(19,B=!0),a(18,N=!1),console.error(e),n(e)})}).then(e=>{a(33,E=e),Le(0,e)})}else te||Ce(),W&&a(57,W=!1);var r;8&e.$$.dirty[0]|33554432&e.$$.dirty[1]&&l&&C&&Re(),49&e.$$.dirty[0]&&c&&u&&o&&(a(20,U=!0),a(22,_=c),a(21,M=u),M&&M.length&&_&&0<_.length&&ge(o,_,M)),1035&e.$$.dirty[0]&&o&&s&&l&&g&&(()=>{if(o||(H="Endpoint is missing! Please provide a valid endpointURL.",a(19,B=!0),a(18,N=!1),console.error(H)),s||(H="Datasource is missing! Please provide a valid datasource.",a(19,B=!0),a(18,N=!1),console.error(H)),l&&2==l.length||(H="Language is missing! Please provide a valid language (alpha2code)",a(19,B=!0),a(18,N=!1),console.error(H)),!B){a(18,N=!0),"true"==f&&ge(o,_,M),t=l,_r.set(t);let e=new URL(`${o}/casino/groups/${s}`);e.searchParams.append("language",l),e.searchParams.append("platform",Nr(k)),r=e,new Promise((t,n)=>{a(18,N=!0),fetch(r).then(e=>e.json()).then(e=>{a(18,N=!1),t(e)}).catch(e=>{a(19,B=!0),a(18,N=!1),console.error(e),n(e)})}).then(e=>{e&&(P=e.items.filter(e=>0<e.games.total),a(34,ne=P.map(e=>e.id)),a(18,N=!1))}),"PC"!==Nr(k)&&(A.addEventListener("focusin",e=>{a(38,se=!0)}),A.addEventListener("focusout",e=>{a(38,se=!1)})),ke(),L=I,L&&(G=L.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var r,t})(),8&e.$$.dirty[0]&&l&&(de&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:T},window.location.href)},500),de=!1),64&e.$$.dirty[0]&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,D.appendChild(e)})(),128&e.$$.dirty[0]&&h&&(()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,D&&setTimeout(()=>{D.appendChild(t)},1)})})()},[o,s,i,l,c,u,d,h,p,m,g,f,v,b,S,F,re,r,N,B,U,M,_,z,j,Y,V,J,X,q,K,Q,ee,E,ne,T,I,A,se,ce,D,n,k,ge,Ce,Se,()=>{window.postMessage({type:"scroll"},window.location.href)},Me,Te,Ie,(e,t)=>{ue=t,window.postMessage({type:`CategoryData_${t}`,categoryId:t,visiblegames:m,receivedFavoriteResults:R},window.location.href)},Le,Ge,y,w,x,C,W,te,function(e){Oe[e?"unshift":"push"](()=>{A=e,a(37,A)})},function(){re=this.value,a(16,re)},()=>Me(),()=>Ie(),()=>{Te()},function(e){Oe[e?"unshift":"push"](()=>{I=e,a(36,I)})},function(e){Oe[e?"unshift":"push"](()=>{A=e,a(37,A)})},function(){re=this.value,a(16,re)},()=>Me(),()=>Ie(),()=>{Te()},function(e){Oe[e?"unshift":"push"](()=>{I=e,a(36,I)})},()=>Ge(),function(e){Oe[e?"unshift":"push"](()=>{D=e,a(40,D)})}]}function ao(e,{delay:t=0,duration:n=400,easing:r=g}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function oo(n){let r,i,a,o,s,t,l,c,u;return{c(){r=Q("div"),i=Q("div"),i.innerHTML="<slot></slot>",a=te(),o=Q("span"),o.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',re(i,"class","ModalContainer"),re(i,"part","ModalContainer"),re(o,"class","ModalCloseBtn"),re(o,"part","ModalCloseBtn"),re(o,"role","button"),re(r,"class","ModalWindow"),re(r,"part","ModalWindow"),re(r,"id","Modal"),A(()=>n[13].call(r))},m(e,t){q(e,r,t),X(r,i),X(r,a),X(r,o),n[12](r),s=m(r,n[13].bind(r)),l=!0,c||(u=ne(o,"click",n[6]),c=!0)},p(e,t){n=e},i(e){l||(A(()=>{t=t||oe(r,ao,{transitionDuration:n[1]},!0),t.run(1)}),l=!0)},o(e){t=t||oe(r,ao,{transitionDuration:n[1]},!1),t.run(0),l=!1},d(e){e&&K(r),n[12](null),s(),e&&t&&t.end(),c=!1,u()}}}function so(n){let r,i,a=n[0]&&oo(n);return{c(){r=Q("div"),a&&a.c(),this.c=Z,re(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),a&&a.m(r,null),n[14](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&W(a,1)):(a=oo(e),a.c(),W(a,1),a.m(r,null)):a&&(j(),V(a,1,1,()=>{a=null}),Y())},i(e){i||(W(a),i=!0)},o(e){V(a),i=!1},d(e){e&&K(r),a&&a.d(),n[14](null)}}}function lo(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,m=!1;const g=e=>{var t;"ModalClosed"==e.data.type&&n(0,s=!1),"ShowGameModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(0,s=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(m=e.data.detailsObtained)},f=e=>{var t;m&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return De(()=>(window.addEventListener("message",g,!1),window.addEventListener("resize",f,!1),()=>{window.removeEventListener("message",g),window.removeEventListener("resize",g)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(7,c=e.session),"userid"in e&&n(8,u=e.userid),"clientstyling"in e&&n(9,d=e.clientstyling),"clientstylingurl"in e&&n(10,h=e.clientstylingurl),"endpoint"in e&&n(11,p=e.endpoint)},e.$$.update=()=>{2432&e.$$.dirty&&c&&u&&p&&Ur(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),512&e.$$.dirty&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{r.appendChild(e)})})(),1024&e.$$.dirty&&h&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},[s,l,r,i,void 0,void 0,()=>{n(0,s=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},c,u,d,h,p,function(e){Oe[e?"unshift":"push"](()=>{r=e,n(2,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(4,a),n(5,o)},function(e){Oe[e?"unshift":"push"](()=>{i=e,n(3,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicButton{border-radius:2px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:48px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{transition:all 3000ms ease-in;background-color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-white, #FFFFFF)}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:22px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},io,to,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:53,containermaxwidth:12,lobbyid:54,haspanicbutton:13,mostplayedrounds:55,activecategory:56,livecasino:14,playrandomgame:15},[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino","playrandomgame"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),N()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$set({datasource:e}),N()}get currency(){return this.$$.ctx[2]}set currency(e){this.$set({currency:e}),N()}get lang(){return this.$$.ctx[3]}set lang(e){this.$set({lang:e}),N()}get session(){return this.$$.ctx[4]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[5]}set userid(e){this.$set({userid:e}),N()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$set({categorybackground:e}),N()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$set({visiblegames:e}),N()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$set({alternativesearch:e}),N()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$set({favorites:e}),N()}get mostplayed(){return this.$$.ctx[53]}set mostplayed(e){this.$set({mostplayed:e}),N()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$set({containermaxwidth:e}),N()}get lobbyid(){return this.$$.ctx[54]}set lobbyid(e){this.$set({lobbyid:e}),N()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$set({haspanicbutton:e}),N()}get mostplayedrounds(){return this.$$.ctx[55]}set mostplayedrounds(e){this.$set({mostplayedrounds:e}),N()}get activecategory(){return this.$$.ctx[56]}set activecategory(e){this.$set({activecategory:e}),N()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$set({livecasino:e}),N()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$set({playrandomgame:e}),N()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},lo,so,n,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11}),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$set({show:e}),N()}get duration(){return this.$$.ctx[1]}set duration(e){this.$set({duration:e}),N()}get session(){return this.$$.ctx[7]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[8]}set userid(e){this.$set({userid:e}),N()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$set({endpoint:e}),N()}});const co={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{gamePage:{signIn:"SE CONNECTER",register:"S'INSCRIRE",deposit:"DÉPOSER",playForFun:"JOUER POUR LE PLAISIR",playNow:"JOUE MAINTENANT",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{gamePage:{signIn:"INICIAR SESIÓN",register:"REGISTRARSE",deposit:"INGRESAR",playForFun:"JUEGA POR DIVERSION",playNow:"REPRODUCIR AHORA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{gamePage:{signIn:"Login",register:"REGISTAR",deposit:"Depósito",playForFun:"Play for fun",playNow:"Comece agora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}};function uo(){"undefined"==typeof window||window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n=window.cstmNativeBridge.EVENTS[e];if(n){if("function"==typeof t){var r=window.cstmNativeBridge.eventListeners[n];return window.cstmNativeBridge.eventListeners[n]=function(){delete window.cstmNativeBridge.eventListeners[n],r&&r.apply(this,arguments),t.apply(this,arguments)},!0}console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];if("function"!=typeof t)return console.error("Native Bridge `"+e+"` method is not defined"),!1;e=Array.prototype.slice.call(arguments,1);return t.apply(this,e),!0};var ho=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},po=function(e,...t){try{return uo(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function mo(n){let r,i=n[9]&&yo(n);return{c(){r=Q("div"),i&&i.c(),re(r,"class","CasinoGamePageContainer"),re(r,"part","CasinoGamePageContainer")},m(e,t){q(e,r,t),i&&i.m(r,null),n[79](r)},p(e,t){e[9]?i?i.p(e,t):(i=yo(e),i.c(),i.m(r,null)):i&&(i.d(1),i=null)},d(e){e&&K(r),i&&i.d(),n[79](null)}}}function go(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function fo(e){let n;return{c(){n=Q("p"),n.textContent="Loading, please wait ...",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function yo(e){let n;function r(e){return e[20]?xo:e[4]?bo:e[10]?wo:vo}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&K(n)}}}function vo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x=n[8].name+"",C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";return{c(){r=Q("div"),i=Q("h3"),a=ee(x),o=te(),s=Q("img"),c=te(),u=Q("div"),d=Q("button"),h=ee(C),p=te(),m=Q("button"),g=ee(S),f=te(),y=Q("p"),v=ee(n[2]),s.src!==(l=n[8].thumbnail)&&re(s,"src",l),re(s,"class","GameThumbnail"),re(s,"part","GameThumbnail"),re(s,"alt","game thumbnail"),re(s,"loading","lazy"),re(d,"class","LoginButton"),re(d,"part","LoginButton"),re(m,"class","RegisterButton"),re(m,"part","RegisterButton"),re(u,"class","ButtonsContainer"),re(u,"part","ButtonsContainer"),re(r,"class","GameDetails"),re(r,"part","GameDetails")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(r,c),X(r,u),X(u,d),X(d,h),X(u,p),X(u,m),X(m,g),X(r,f),X(r,y),X(y,v),w||(b=[ne(d,"click",n[77]),ne(m,"click",n[78])],w=!0)},p(e,t){256&t[0]&&x!==(x=e[8].name+"")&&ie(a,x),256&t[0]&&s.src!==(l=e[8].thumbnail)&&re(s,"src",l),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ie(h,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ie(g,S),4&t[0]&&ie(v,e[2])},d(e){e&&K(r),w=!1,J(b)}}}function wo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";function F(e){return e[15]?So:Co}let k=F(n),M=k(n);return{c(){r=Q("div"),i=Q("div"),a=Q("iframe"),s=te(),l=Q("div"),c=Q("div"),u=Q("button"),d=ee(C),h=te(),p=Q("button"),m=ee(S),g=te(),f=Q("p"),y=Q("span"),v=ee(n[2]),w=te(),M.c(),re(a,"title","Games"),re(a,"class","GamesContainer"),re(a,"part","GamesContainer"),re(a,"aria-hidden","false"),a.src!==(o=n[8].launchUrl)&&re(a,"src",o),re(u,"class","LoginButton"),re(u,"part","LoginButton"),re(p,"class","RegisterButton"),re(p,"part","RegisterButton"),re(c,"class","ButtonsContainer"),re(c,"part","ButtonsContainer"),re(f,"class","Time"),re(f,"part","Time"),re(l,"class","BottomGame"),re(l,"part","BottomGame"),re(i,"id","IframeGame"),re(i,"part","IframeGame"),P(i,"width",n[15]?"100%":n[18]),P(i,"height",n[15]?"100%":n[19]),P(i,"max-width",n[15]||!n[12]?"none":n[8].width?Math.floor(n[8].width)+"px":"1280px"),P(i,"max-height",n[15]||!n[12]?"none":n[8].height?Math.floor(n[8].height)+100+"px":"720px"),re(r,"id","IframeContainer"),re(r,"part","IframeContainer"),P(r,"width",n[16]),P(r,"height",n[17]),R(r,"FullsScreenLayout",n[15])},m(e,t){q(e,r,t),X(r,i),X(i,a),n[68](a),X(i,s),X(i,l),X(l,c),X(c,u),X(u,d),X(c,h),X(c,p),X(p,m),X(l,g),X(l,f),X(f,y),X(y,v),n[71](f),X(l,w),M.m(l,null),n[74](l),n[75](i),n[76](r),b||(x=[ne(u,"click",n[69]),ne(p,"click",n[70])],b=!0)},p(e,t){256&t[0]&&a.src!==(o=e[8].launchUrl)&&re(a,"src",o),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ie(d,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ie(m,S),4&t[0]&&ie(v,e[2]),k===(k=F(e))&&M?M.p(e,t):(M.d(1),M=k(e),M&&(M.c(),M.m(l,null))),294912&t[0]&&P(i,"width",e[15]?"100%":e[18]),557056&t[0]&&P(i,"height",e[15]?"100%":e[19]),37120&t[0]&&P(i,"max-width",e[15]||!e[12]?"none":e[8].width?Math.floor(e[8].width)+"px":"1280px"),37120&t[0]&&P(i,"max-height",e[15]||!e[12]?"none":e[8].height?Math.floor(e[8].height)+100+"px":"720px"),65536&t[0]&&P(r,"width",e[16]),131072&t[0]&&P(r,"height",e[17]),32768&t[0]&&R(r,"FullsScreenLayout",e[15])},d(e){e&&K(r),n[68](null),n[71](null),M.d(),n[74](null),n[75](null),n[76](null),b=!1,J(x)}}}function bo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x=n[24]("gamePage.deposit")+"",C="true"===n[1]&&Fo(n);function S(e){return e[15]?Mo:ko}let F=S(n),k=F(n);return{c(){r=Q("div"),i=Q("div"),a=Q("iframe"),s=te(),l=Q("div"),c=Q("button"),u=ee(x),d=te(),h=Q("p"),p=Q("span"),m=ee(n[2]),g=te(),C&&C.c(),f=te(),k.c(),re(a,"title","Games"),re(a,"id","IframeGame"),re(a,"class","GamesContainer"),re(a,"part","GamesContainer"),re(a,"aria-hidden","false"),a.src!==(o=n[8].launchUrl)&&re(a,"src",o),re(c,"class","DepositButton"),re(c,"part","DepositButton"),re(h,"class","Time"),re(h,"part","Time"),re(l,"class",y="BottomGame "+(n[1]?"BottomGamePanicSection":"")),re(l,"part",v="BottomGame "+(n[1]?"BottomGamePanicSection":"")),re(i,"id","IframeGame"),re(i,"part","IframeGame"),P(i,"width",n[15]?"100%":n[18]),P(i,"height",n[15]?"100%":n[19]),P(i,"max-width",n[15]?"none":n[8].width?n[8].width+"px":"1280px"),P(i,"max-height",n[15]?"none":n[8].height?Math.floor(n[8].height)+100+"px":"720px"),re(r,"id","IframeContainer"),re(r,"part","IframeContainer"),P(r,"width",n[16]),P(r,"height",n[17]),R(r,"FullsScreenLayout",n[15])},m(e,t){q(e,r,t),X(r,i),X(i,a),n[59](a),X(i,s),X(i,l),X(l,c),X(c,u),X(l,d),X(l,h),X(h,p),X(p,m),n[61](h),X(l,g),C&&C.m(l,null),X(l,f),k.m(l,null),n[65](l),n[66](i),n[67](r),w||(b=ne(c,"click",n[60]),w=!0)},p(e,t){256&t[0]&&a.src!==(o=e[8].launchUrl)&&re(a,"src",o),16777216&t[0]&&x!==(x=e[24]("gamePage.deposit")+"")&&ie(u,x),4&t[0]&&ie(m,e[2]),"true"===e[1]?C?C.p(e,t):(C=Fo(e),C.c(),C.m(l,f)):C&&(C.d(1),C=null),F===(F=S(e))&&k?k.p(e,t):(k.d(1),k=F(e),k&&(k.c(),k.m(l,null))),2&t[0]&&y!==(y="BottomGame "+(e[1]?"BottomGamePanicSection":""))&&re(l,"class",y),2&t[0]&&v!==(v="BottomGame "+(e[1]?"BottomGamePanicSection":""))&&re(l,"part",v),294912&t[0]&&P(i,"width",e[15]?"100%":e[18]),557056&t[0]&&P(i,"height",e[15]?"100%":e[19]),33024&t[0]&&P(i,"max-width",e[15]?"none":e[8].width?e[8].width+"px":"1280px"),33024&t[0]&&P(i,"max-height",e[15]?"none":e[8].height?Math.floor(e[8].height)+100+"px":"720px"),65536&t[0]&&P(r,"width",e[16]),131072&t[0]&&P(r,"height",e[17]),32768&t[0]&&R(r,"FullsScreenLayout",e[15])},d(e){e&&K(r),n[59](null),n[61](null),C&&C.d(),k.d(),n[65](null),n[66](null),n[67](null),w=!1,b()}}}function xo(e){let n;function r(e){return e[4]?Eo:e[11]?$o:_o}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&K(n)}}}function Co(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[73]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function So(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[72]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function Fo(n){let r,i,a,o,s,l,c,u,d,h,p,m=n[24]("gamePage.break")+"",g=n[24]("gamePage.breakButton")+"";return{c(){r=Q("div"),i=x("svg"),a=x("path"),o=te(),s=Q("p"),l=ee(m),c=te(),u=Q("button"),d=ee(g),re(a,"stroke-linecap","round"),re(a,"stroke-linejoin","round"),re(a,"stroke-width","2"),re(a,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),re(i,"class","w-1 h-1"),re(i,"part","w-1 h-1"),re(i,"fill","none"),re(i,"stroke","white"),re(i,"width","34px"),re(i,"height","34px"),re(i,"viewBox","0 0 24 24"),re(i,"xmlns","http://www.w3.org/2000/svg"),re(u,"class","Button"),re(u,"part","Button"),re(r,"class","PanicSection"),re(r,"part","PanicSection")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(s,l),X(r,c),X(r,u),X(u,d),h||(p=ne(u,"click",n[62]),h=!0)},p(e,t){16777216&t[0]&&m!==(m=e[24]("gamePage.break")+"")&&ie(l,m),16777216&t[0]&&g!==(g=e[24]("gamePage.breakButton")+"")&&ie(d,g)},d(e){e&&K(r),h=!1,p()}}}function ko(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[64]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function Mo(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[63]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function _o(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x=n[8].name+"",C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";return{c(){r=Q("div"),i=Q("h3"),a=ee(x),o=te(),s=Q("img"),c=te(),u=Q("div"),d=Q("button"),h=ee(C),p=te(),m=Q("button"),g=ee(S),f=te(),y=Q("p"),v=ee(n[2]),s.src!==(l=n[8].thumbnail)&&re(s,"src",l),re(s,"class","GameThumbnail"),re(s,"part","GameThumbnail"),re(s,"alt","game thumbnail"),re(s,"loading","lazy"),re(d,"class","LoginButton"),re(d,"part","LoginButton"),re(m,"class","RegisterButton"),re(m,"part","RegisterButton"),re(u,"class","ButtonsContainer"),re(u,"part","ButtonsContainer"),re(r,"class","GameDetails"),re(r,"part","GameDetails")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(r,c),X(r,u),X(u,d),X(d,h),X(u,p),X(u,m),X(m,g),X(r,f),X(r,y),X(y,v),w||(b=[ne(d,"click",n[57]),ne(m,"click",n[58])],w=!0)},p(e,t){256&t[0]&&x!==(x=e[8].name+"")&&ie(a,x),256&t[0]&&s.src!==(l=e[8].thumbnail)&&re(s,"src",l),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ie(h,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ie(g,S),4&t[0]&&ie(v,e[2])},d(e){e&&K(r),w=!1,J(b)}}}function $o(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F=n[8].name+"",k=n[24]("gamePage.signIn")+"",M=n[24]("gamePage.register")+"",_=n[24]("gamePage.playForFun")+"";return{c(){r=Q("div"),i=Q("h3"),a=ee(F),o=te(),s=Q("img"),c=te(),u=Q("div"),d=Q("button"),h=ee(k),p=te(),m=Q("button"),g=ee(M),f=te(),y=Q("button"),v=ee(_),w=te(),b=Q("p"),x=ee(n[2]),s.src!==(l=n[8].thumbnail)&&re(s,"src",l),re(s,"class","GameThumbnail"),re(s,"part","GameThumbnail"),re(s,"alt","game thumbnail"),re(s,"loading","lazy"),re(d,"class","LoginButton"),re(d,"part","LoginButton"),re(m,"class","RegisterButton"),re(m,"part","RegisterButton"),re(u,"class","ButtonsContainer"),re(u,"part","ButtonsContainer"),re(y,"class","FullWidthButton"),re(y,"part","FullWidthButton"),re(r,"class","GameDetails"),re(r,"part","GameDetails")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(r,c),X(r,u),X(u,d),X(d,h),X(u,p),X(u,m),X(m,g),X(r,f),X(r,y),X(y,v),X(r,w),X(r,b),X(b,x),C||(S=[ne(d,"click",n[54]),ne(m,"click",n[55]),ne(y,"click",n[56])],C=!0)},p(e,t){256&t[0]&&F!==(F=e[8].name+"")&&ie(a,F),256&t[0]&&s.src!==(l=e[8].thumbnail)&&re(s,"src",l),16777216&t[0]&&k!==(k=e[24]("gamePage.signIn")+"")&&ie(h,k),16777216&t[0]&&M!==(M=e[24]("gamePage.register")+"")&&ie(g,M),16777216&t[0]&&_!==(_=e[24]("gamePage.playForFun")+"")&&ie(v,_),4&t[0]&&ie(x,e[2])},d(e){e&&K(r),C=!1,J(S)}}}function Eo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S=n[8].name+"",F=n[24]("gamePage.deposit")+"",k=n[24]("gamePage.playNow")+"",M="true"==n[0]&&To(n),_="true"===n[1]&&Go(n);return{c(){M&&M.c(),r=te(),i=Q("div"),a=Q("h3"),o=ee(S),s=te(),l=Q("img"),u=te(),d=Q("div"),h=Q("button"),p=ee(F),m=te(),g=Q("button"),f=ee(k),y=te(),_&&_.c(),v=te(),w=Q("p"),b=ee(n[2]),l.src!==(c=n[8].thumbnail)&&re(l,"src",c),re(l,"class","GameThumbnail"),re(l,"part","GameThumbnail"),re(l,"alt","game thumbnail"),re(l,"loading","lazy"),re(h,"class","DepositButton"),re(h,"part","DepositButton"),re(g,"class","PlayNowButton"),re(g,"part","PlayNowButton"),re(d,"class","ButtonsContainer"),re(d,"part","ButtonsContainer"),re(i,"class","GameDetails"),re(i,"part","GameDetails")},m(e,t){M&&M.m(e,t),q(e,r,t),q(e,i,t),X(i,a),X(a,o),X(i,s),X(i,l),X(i,u),X(i,d),X(d,h),X(h,p),X(d,m),X(d,g),X(g,f),X(i,y),_&&_.m(i,null),X(i,v),X(i,w),X(w,b),x||(C=[ne(h,"click",n[51]),ne(g,"click",n[52])],x=!0)},p(e,t){"true"==e[0]?M?M.p(e,t):(M=To(e),M.c(),M.m(r.parentNode,r)):M&&(M.d(1),M=null),256&t[0]&&S!==(S=e[8].name+"")&&ie(o,S),256&t[0]&&l.src!==(c=e[8].thumbnail)&&re(l,"src",c),16777216&t[0]&&F!==(F=e[24]("gamePage.deposit")+"")&&ie(p,F),16777216&t[0]&&k!==(k=e[24]("gamePage.playNow")+"")&&ie(f,k),"true"===e[1]?_?_.p(e,t):(_=Go(e),_.c(),_.m(i,v)):_&&(_.d(1),_=null),4&t[0]&&ie(b,e[2])},d(e){M&&M.d(e),e&&K(r),e&&K(i),_&&_.d(),x=!1,J(C)}}}function To(e){let n;function r(e){return e[8].isFavored?Lo:Io}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&K(n)}}}function Io(n){let r,i,a;return{c(){r=Q("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[50]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function Lo(n){let r,i,a;return{c(){r=Q("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[49]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function Go(n){let r,i,a,o,s,l,c,u,d,h,p,m,g=n[24]("gamePage.break")+"",f=n[24]("gamePage.breakButton")+"";return{c(){r=Q("div"),i=Q("div"),a=x("svg"),o=x("path"),s=te(),l=Q("p"),c=ee(g),u=te(),d=Q("button"),h=ee(f),re(o,"stroke-linecap","round"),re(o,"stroke-linejoin","round"),re(o,"stroke-width","2"),re(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),re(a,"class","w-1 h-1"),re(a,"part","w-1 h-1"),re(a,"fill","none"),re(a,"stroke","white"),re(a,"width","34px"),re(a,"height","34px"),re(a,"viewBox","0 0 24 24"),re(a,"xmlns","http://www.w3.org/2000/svg"),re(i,"class","PanicText"),re(i,"part","PanicText"),re(d,"class","Button"),re(d,"part","Button"),R(d,"PanicButtonAnimation",n[7]),re(r,"class","PanicSection "+("PC"!==Nr(n[25])?"PanicSectionMobile":"")),re(r,"part","PanicSection "+("PC"!==Nr(n[25])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(i,s),X(i,l),X(l,c),X(r,u),X(r,d),X(d,h),p||(m=ne(d,"click",n[53]),p=!0)},p(e,t){16777216&t[0]&&g!==(g=e[24]("gamePage.break")+"")&&ie(c,g),16777216&t[0]&&f!==(f=e[24]("gamePage.breakButton")+"")&&ie(h,f),128&t[0]&&R(d,"PanicButtonAnimation",e[7])},d(e){e&&K(r),p=!1,m()}}}function Po(e){let n;function r(e){return e[6]?fo:e[5]?go:mo}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&K(n)}}}function Ro(t,e,a){let n;Ae(t,Dr,e=>a(24,n=e));let r,i,o,s,l,c,u,d,h,p,m,g,f,y,v,{endpoint:w=""}=e,{lang:b=""}=e,{session:x=""}=e,{userid:C=""}=e,{clientstyling:S=""}=e,{clientstylingurl:F=""}=e,{favorites:k=""}=e,{loginurl:M=""}=e,{registerurl:_=""}=e,{depositurl:$=""}=e,{loginevent:E=""}=e,{registerevent:T=""}=e,{depositevent:I=""}=e,{clockformat:L=""}=e,{haspanicbutton:G="false"}=e,{playforfun:P="true"}=e,{checksession:R="true"}=e,{integratedgameframe:A="false"}=e,{gameid:D=""}=e,O=!1,N=!1,B=!0,U=!1,H=!1,z=!1,j=!0,Y=!1,W=window.navigator.userAgent,V=!1,Z=[],J=!1;var X,q;[{withLocale:X,translations:q}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(q),_r.set(X))}),Object.keys(co).forEach(e=>{yr(e,co[e])});const K=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",b),o&&0<o.length&&(a(4,O=!0),t.searchParams.append("_sid",o),t.searchParams.append("funMode","false")),e.launchUrl=t,e},Q=(e,t)=>{let n=new URL(`${w}/casino/games/${e}`);n.searchParams.append("language",b),n.searchParams.append("expand","vendor"),a(12,j=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{a(8,s=K(e[0])),s.launchUrl&&(a(9,U=!0),a(10,H="true"==P&&s.hasFunMode),a(11,z="true"==P&&s.hasAnonymousFunMode))},e=>{console.error("There was an error",e),a(5,N=!0)}).then(()=>{l&&(j?ie:re)()}),window.postMessage({type:"RequestModalSize"},window.location.href)},ee=e=>{switch(e.data.type){case"GameLaunchID":Q(e.data.gameId,!0);break;case"LaunchGameFrame":ne(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":setTimeout(()=>{a(9,U="true"===A)},500);break;case"UserSessionID":if(0<e.data.session.length){o=e.data.session,e.data.userID,a(4,O=!0);let t=setInterval(()=>{if(s){let e=new URL(s.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",o),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",b),a(8,s.launchUrl=e,s),clearInterval(t)}},250)}break;case"ModalSize":a(16,u=e.data.modalContainerSize.modalWidth),a(17,d=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(Z=e.data.receivedFavoriteResults.items)}},te=e=>{s.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(8,s.isFavored=!1,s)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(8,s.isFavored=!0,s))},ne=(e,r)=>{let t=new URL(`${w}/casino/games/${e}`);t.searchParams.append("language",b),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;a(8,s=K(e[0])),s.launchUrl&&a(8,s.isFavored=(t=s,e=r,a(11,z="true"==P&&t.hasAnonymousFunMode),a(10,H="true"==P&&e),a(9,U=!0),n=t.id,-1!==Z.findIndex(e=>e.id==n)),s)})},re=()=>{a(16,u=s.width),a(17,d=s.height),a(18,m=s.width),a(19,g=s.height),h=s.width,p=s.height},ie=()=>{let e=getComputedStyle(l),t=getComputedStyle(c),n=parseInt(e.width.slice(0,-2)),r=parseInt(e.height.slice(0,-2));var i=s.width/(s.height+100);h=parseInt(t.width),p=parseInt(t.height),n/i>r-y.clientHeight-v.clientHeight?(p=r-y.clientHeight-v.clientHeight,h=r*i):(h=n,p=n/i),a(18,m=h?Math.floor(h)+"px":"1280px"),a(19,g=p?Math.floor(p)+"px":"720px")},ae=e=>{var t;J?(t={url:e.launchUrl,id:e.id,vendor:e.vendor.name},po("OPEN_GAME",t)):"false"==A?window.open(e.launchUrl,"_blank"):"true"==A&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:e.id},window.location.href)},oe=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:U},window.location.href),U&&(l&&ie(),window.addEventListener("ModalSize",ee,!1))},se=()=>{E&&(window.postMessage({type:E,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),M&&(window.location=M)},le=()=>{T&&(window.postMessage({type:T,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),_&&(window.location=_)},ce=()=>{I&&(window.postMessage({type:I},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)};function ue(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!Y||de()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ue,!1),document.addEventListener("mozfullscreenchange",ue,!1),document.addEventListener("fullscreenchange",ue,!1),document.addEventListener("MSFullscreenChange",ue,!1));const de=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(Y?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),a(15,Y=!1)):(l.requestFullscreen?l.requestFullscreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.msRequestFullscreen&&l.msRequestFullscreen(),a(15,Y=!0)))},he=setInterval(()=>{a(2,r=L?si().format(L):si().format("LTS"))},100);return De(()=>(window.addEventListener("resize",oe,!1),window.addEventListener("message",ee,!1),J=!!ho(W),()=>{window.removeEventListener("resize",oe),window.removeEventListener("message",ee),clearInterval(he)})),t.$$set=e=>{"endpoint"in e&&a(32,w=e.endpoint),"lang"in e&&a(33,b=e.lang),"session"in e&&a(34,x=e.session),"userid"in e&&a(35,C=e.userid),"clientstyling"in e&&a(36,S=e.clientstyling),"clientstylingurl"in e&&a(37,F=e.clientstylingurl),"favorites"in e&&a(0,k=e.favorites),"loginurl"in e&&a(38,M=e.loginurl),"registerurl"in e&&a(39,_=e.registerurl),"depositurl"in e&&a(40,$=e.depositurl),"loginevent"in e&&a(41,E=e.loginevent),"registerevent"in e&&a(42,T=e.registerevent),"depositevent"in e&&a(43,I=e.depositevent),"clockformat"in e&&a(44,L=e.clockformat),"haspanicbutton"in e&&a(1,G=e.haspanicbutton),"playforfun"in e&&a(45,P=e.playforfun),"checksession"in e&&a(46,R=e.checksession),"integratedgameframe"in e&&a(47,A=e.integratedgameframe),"gameid"in e&&a(48,D=e.gameid)},t.$$.update=()=>{var e;4&t.$$.dirty[1]&&b&&(e=b,_r.set(e),a(6,B=!1),a(20,V=Or(W))),131078&t.$$.dirty[1]&&w&&D&&b&&Q(D),26&t.$$.dirty[1]&&x&&C&&w&&("true"==R?Ur(w,x).then(e=>{o=e.Guid,e.UserID,a(4,O=!0)},e=>{a(4,O=!1),console.error("err on session",e)}):o=x),32&t.$$.dirty[1]&&S&&(()=>{let e=document.createElement("style");e.innerHTML=S,f.appendChild(e)})(),64&t.$$.dirty[1]&&F&&(()=>{let t=document.createElement("style");var e;F&&(e=new URL(F),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,f&&setTimeout(()=>{f.appendChild(t)},1)}))})()},[k,G,r,i,O,N,B,!1,s,U,H,z,j,l,c,Y,u,d,m,g,V,f,y,v,n,W,te,ae,se,le,ce,de,w,b,x,C,S,F,M,_,$,E,T,I,L,P,R,A,D,()=>te(s.id),()=>te(s.id),()=>ce(),()=>{ae(s)},()=>panicAction(),()=>se(),()=>le(),()=>{ae(s)},()=>se(),()=>le(),function(e){Oe[e?"unshift":"push"](()=>{i=e,a(3,i)})},()=>ce(),function(e){Oe[e?"unshift":"push"](()=>{v=e,a(23,v)})},()=>panicAction(),()=>de(),()=>de(),function(e){Oe[e?"unshift":"push"](()=>{y=e,a(22,y)})},function(e){Oe[e?"unshift":"push"](()=>{c=e,a(14,c)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,a(13,l)})},function(e){Oe[e?"unshift":"push"](()=>{i=e,a(3,i)})},()=>se(),()=>le(),function(e){Oe[e?"unshift":"push"](()=>{v=e,a(23,v)})},()=>de(),()=>de(),function(e){Oe[e?"unshift":"push"](()=>{y=e,a(22,y)})},function(e){Oe[e?"unshift":"push"](()=>{c=e,a(14,c)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,a(13,l)})},()=>se(),()=>le(),function(e){Oe[e?"unshift":"push"](()=>{f=e,a(21,f)})}]}function Ao(n){let r,i,a,o,s,l,c,u,t,d,h,p;return{c(){r=Q("div"),i=Q("div"),a=Q("span"),a.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=te(),s=Q("slot"),re(a,"class","FilterModalCloseBtn"),re(a,"part","FilterModalCloseBtn"),re(a,"role","button"),re(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),re(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),re(r,"class","FilterModalWindow"),re(r,"id","FilterModal"),re(r,"part","FilterModalWindow"),A(()=>n[14].call(r))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),n[13](r),u=m(r,n[14].bind(r)),d=!0,h||(p=ne(a,"click",n[7]),h=!0)},p(e,t){n=e,(!d||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&re(i,"class",l),(!d||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&re(i,"part",c)},i(e){d||(A(()=>{t=t||oe(r,ao,{transitionDuration:n[1]},!0),t.run(1)}),d=!0)},o(e){t=t||oe(r,ao,{transitionDuration:n[1]},!1),t.run(0),d=!1},d(e){e&&K(r),n[13](null),u(),e&&t&&t.end(),h=!1,p()}}}function Do(n){let r,i,a=n[0]&&Ao(n);return{c(){r=Q("div"),a&&a.c(),this.c=Z,re(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),a&&a.m(r,null),n[15](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&W(a,1)):(a=Ao(e),a.c(),W(a,1),a.m(r,null)):a&&(j(),V(a,1,1,()=>{a=null}),Y())},i(e){i||(W(a),i=!0)},o(e){V(a),i=!1},d(e){e&&K(r),a&&a.d(),n[15](null)}}}function Oo(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,m=window.navigator.userAgent,g=!1;const f=()=>{n(0,s=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(f(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))},v=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return De(()=>(window.addEventListener("message",y,!1),Or(m)&&n(2,g=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(8,c=e.session),"userid"in e&&n(9,u=e.userid),"clientstyling"in e&&n(10,d=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint)},e.$$.update=()=>{4864&e.$$.dirty&&c&&u&&p&&Ur(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{r.appendChild(e)})})(),2048&e.$$.dirty&&h&&v(),2049&e.$$.dirty&&s&&h&&v()},[s,l,g,r,i,void 0,void 0,f,c,u,d,h,p,function(e){Oe[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){Oe[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoGamePageContainer{height:100%}.BottomGame{padding-left:60px;padding-right:60px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);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}.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-green, #48952a);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px;cursor:pointer}.PlayNowButton{background-color:var(--emfe-w-color-primary, #D0046C)}.GameThumbnail{border-radius:2px;width:270px;height:180px;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}.BottomGame .ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px;margin-top:20px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:center}#IframeGame{width:100%;height:100%}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicText{display:flex;align-items:center}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{transition:all 3000ms ease-in;background-color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-white, #FFFFFF)}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Ro,Po,n,{endpoint:32,lang:33,session:34,userid:35,clientstyling:36,clientstylingurl:37,favorites:0,loginurl:38,registerurl:39,depositurl:40,loginevent:41,registerevent:42,depositevent:43,clockformat:44,haspanicbutton:1,playforfun:45,checksession:46,integratedgameframe:47,gameid:48},[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframe","gameid"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$set({endpoint:e}),N()}get lang(){return this.$$.ctx[33]}set lang(e){this.$set({lang:e}),N()}get session(){return this.$$.ctx[34]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[35]}set userid(e){this.$set({userid:e}),N()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$set({favorites:e}),N()}get loginurl(){return this.$$.ctx[38]}set loginurl(e){this.$set({loginurl:e}),N()}get registerurl(){return this.$$.ctx[39]}set registerurl(e){this.$set({registerurl:e}),N()}get depositurl(){return this.$$.ctx[40]}set depositurl(e){this.$set({depositurl:e}),N()}get loginevent(){return this.$$.ctx[41]}set loginevent(e){this.$set({loginevent:e}),N()}get registerevent(){return this.$$.ctx[42]}set registerevent(e){this.$set({registerevent:e}),N()}get depositevent(){return this.$$.ctx[43]}set depositevent(e){this.$set({depositevent:e}),N()}get clockformat(){return this.$$.ctx[44]}set clockformat(e){this.$set({clockformat:e}),N()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$set({haspanicbutton:e}),N()}get playforfun(){return this.$$.ctx[45]}set playforfun(e){this.$set({playforfun:e}),N()}get checksession(){return this.$$.ctx[46]}set checksession(e){this.$set({checksession:e}),N()}get integratedgameframe(){return this.$$.ctx[47]}set integratedgameframe(e){this.$set({integratedgameframe:e}),N()}get gameid(){return this.$$.ctx[48]}set gameid(e){this.$set({gameid:e}),N()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends ce{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>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Oo,Do,n,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12}),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$set({show:e}),N()}get duration(){return this.$$.ctx[1]}set duration(e){this.$set({duration:e}),N()}get session(){return this.$$.ctx[8]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[9]}set userid(e){this.$set({userid:e}),N()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$set({endpoint:e}),N()}});const No={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement ...",filterModalTitle:"Filtrer par",filterModalSubtitle:"Vous pouvez sélectionner plusieurs fournisseurs",filterClear:"Eclaircir",filterApply:"Appliquer"}},es:{filters:{loading:"Cargando ...",filterModalTitle:"Filtrado por",filterModalSubtitle:"Puede seleccionar varios proveedores",filterClear:"Despejar",filterApply:"Solicitar"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"A carregar",filterModalTitle:"Filtrar",filterModalSubtitle:"Escolha múltipla possível",filterClear:"Limpar filtro",filterApply:"Feito"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function Bo(e,t,n){const r=e.slice();return r[32]=t[n],r}function Uo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F=n[6]("filters.filterModalTitle")+"",k=n[6]("filters.filterModalSubtitle")+"",M=n[6]("filters.filterApply")+"",_=n[0]&&zo(n),$=n[3]&&Wo(n);return{c(){r=Q("div"),i=Q("section"),a=Q("div"),o=Q("h4"),s=ee(F),l=te(),c=Q("h5"),u=ee(k),d=te(),h=Q("section"),_&&_.c(),p=te(),m=Q("section"),$&&$.c(),g=te(),f=Q("div"),y=ee(M),re(o,"class","FilterHeaderTitle"),re(o,"part","FilterHeaderTitle"),re(c,"class","FilterHeaderSubtitle"),re(c,"part","FilterHeaderSubtitle"),re(a,"class","FilterHeaderDetails"),re(a,"part","FilterHeaderDetails"),re(i,"class","FilterHeaderSection"),re(i,"part","FilterHeaderSection"),re(h,"class","FilterContentSection"),re(h,"part","FilterContentSection"),re(f,"class",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),re(f,"part",w="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),re(m,"class","FilterFooterSection"),re(m,"part","FilterFooterSection"),re(r,"class",b="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),re(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(o,s),X(a,l),X(a,c),X(c,u),X(r,d),X(r,h),_&&_.m(h,null),X(r,p),X(r,m),$&&$.m(m,null),X(m,g),X(m,f),X(f,y),C||(S=ne(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&F!==(F=e[6]("filters.filterModalTitle")+"")&&ie(s,F),64&t[0]&&k!==(k=e[6]("filters.filterModalSubtitle")+"")&&ie(u,k),e[0]?_?_.p(e,t):(_=zo(e),_.c(),_.m(h,null)):_&&(_.d(1),_=null),e[3]?$?$.p(e,t):($=Wo(e),$.c(),$.m(m,g)):$&&($.d(1),$=null),64&t[0]&&M!==(M=e[6]("filters.filterApply")+"")&&ie(y,M),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&re(f,"class",v),4&t[0]&&w!==(w="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&re(f,"part",w),2&t[0]&&b!==(b="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&re(r,"class",b),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&re(r,"part",x)},d(e){e&&K(r),_&&_.d(),$&&$.d(),C=!1,S()}}}function Ho(e){let n;return{c(){n=Q("div"),re(n,"class","lds-dual-ring"),re(n,"part","lds-dual-ring")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function zo(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Yo(Bo(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);q(t,i,n)},p(t,n){if(129&n[0]){let e;for(a=t[0],e=0;e<a.length;e+=1){var r=Bo(t,a,e);o[e]?o[e].p(r,n):(o[e]=Yo(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){p(o,e),e&&K(i)}}}function jo(){let n;return{c(){n=Q("div"),n.innerHTML='<div class="CheckMark" part="CheckMark"></div>',re(n,"class","FilterIconContainer"),re(n,"part","FilterIconContainer")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function Yo(n){let r,i,a,o,s,l,c,u,d,h,p=n[32].isFilterSelected&&jo();function m(){return n[17](n[32])}return{c(){r=Q("div"),i=Q("img"),s=te(),p&&p.c(),l=te(),re(i,"class","VendorImage"),re(i,"part","VendorImage"),i.src!==(a=n[32].image)&&re(i,"src",a),re(i,"alt",o=n[32].name),re(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),re(r,"part",u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){q(e,r,t),X(r,i),X(r,s),p&&p.m(r,null),X(r,l),d||(h=ne(r,"click",m),d=!0)},p(e,t){n=e,1&t[0]&&i.src!==(a=n[32].image)&&re(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&re(i,"alt",o),n[32].isFilterSelected?p||(p=jo(),p.c(),p.m(r,l)):p&&(p.d(1),p=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&re(r,"class",c),1&t[0]&&u!==(u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&re(r,"part",u)},d(e){e&&K(r),p&&p.d(),d=!1,h()}}}function Wo(e){let n,r=e[3].length&&Vo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):(r=Vo(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&K(n)}}}function Vo(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=Q("div"),i=ee(s),re(r,"class","ClearFiltersButton"),re(r,"part","ClearFiltersButton")},m(e,t){q(e,r,t),X(r,i),a||(o=ne(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ie(i,s)},d(e){e&&K(r),a=!1,o()}}}function Zo(n){let r;function i(e){return e[4]?Ho:Uo}let a=i(n),o=a(n);return{c(){r=Q("div"),o.c(),this.c=Z,re(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),o.m(r,null),n[20](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&K(r),o.d(),n[20](null)}}}function Jo(e,t,r){let n;Ae(e,Dr,e=>r(6,n=e));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],w={},b=!1;w[f]&&(w={[f]:[]});let x=[];var C,S;[{withLocale:C,translations:S}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(S),_r.set(C))}),Object.keys(No).forEach(e=>{yr(e,No[e])});const F=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(f&&(y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),y&&r(3,v=y[f])),!v){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[f]:v})):(e=JSON.parse(e),e[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}k(`${a}/casino/vendors?filter=games(groups=${f})&datasource=${o}&platform=${Nr(m)}`);let e=v;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),r(3,v=x),r(2,g=!1);break;case"AvailableVendors":r(0,h=t.data.venArray),r(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":r(0,h=t.data.venArray),h&&r(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":$(),window.postMessage({type:"ApplyFilters"},window.location.href),r(2,g=!1);break;case"FiltersModalClosed":h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":f=t.data.categoryid,y&&f&&r(3,v=y[f]);break;case"ModalLoader":r(4,b=!1)}},k=e=>new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},f&&t[f]&&(e.isFilterSelected=0<=t[f].indexOf(e.id))}),r(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})}),M=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),r(2,g=!_(v,x))):(v.includes(t.id)&&r(3,v=v.filter(e=>e!==t.id)),r(2,g=!(!v.length&&_(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},_=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},$=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),r(2,g=_(v,x)),r(3,v=[]),null!==e&&(e=JSON.parse(e),e[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},E=()=>{r(4,b=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[f]:v})):(e=JSON.parse(e),e[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return De(()=>(window.addEventListener("message",F,!1),Or(m)&&r(1,p=!0),()=>{window.removeEventListener("message",F)})),e.$$set=e=>{"endpoint"in e&&r(10,a=e.endpoint),"datasource"in e&&r(11,o=e.datasource),"lang"in e&&r(12,s=e.lang),"session"in e&&r(13,l=e.session),"userid"in e&&r(14,c=e.userid),"clientstyling"in e&&r(15,u=e.clientstyling),"clientstylingurl"in e&&r(16,d=e.clientstylingurl)},e.$$.update=()=>{32768&e.$$.dirty[0]&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)})(),65536&e.$$.dirty[0]&&d&&(()=>{let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&setTimeout(()=>{i.appendChild(t)},1)})})()},[h,p,g,v,b,i,n,M,$,E,a,o,s,l,c,u,d,e=>M(e),()=>$(),()=>E(),function(e){Oe[e?"unshift":"push"](()=>{i=e,r(5,i)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends ce{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:125px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Jo,Zo,n,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$set({endpoint:e}),N()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$set({datasource:e}),N()}get lang(){return this.$$.ctx[12]}set lang(e){this.$set({lang:e}),N()}get session(){return this.$$.ctx[13]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[14]}set userid(e){this.$set({userid:e}),N()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}});const Xo={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{gamePage:{signIn:"SE CONNECTER",register:"S'INSCRIRE",deposit:"DÉPOSER",playForFun:"JOUER POUR LE PLAISIR",playNow:"JOUE MAINTENANT",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{gamePage:{signIn:"INICIAR SESIÓN",register:"REGISTRARSE",deposit:"INGRESAR",playForFun:"JUEGA POR DIVERSION",playNow:"REPRODUCIR AHORA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{gamePage:{signIn:"Login",register:"REGISTAR",deposit:"Depósito",playForFun:"Play for fun",playNow:"Comece agora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}};function qo(n){let r;function i(e){return e[4]?ts:e[9]?es:void 0}let a=i(n),o=a&&a(n);return{c(){r=Q("div"),o&&o.c(),re(r,"class","CasinoIntegratedGamePage"),re(r,"part","CasinoIntegratedGamePage")},m(e,t){q(e,r,t),o&&o.m(r,null),n[64](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(r,null)))},d(e){e&&K(r),o&&o.d(),n[64](null)}}}function Ko(e){let n;return{c(){n=Q("p"),n.textContent="500 Error - Internal Server Error.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function Qo(e){let n;return{c(){n=Q("p"),n.textContent="Loading, please wait ...",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&K(n)}}}function es(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F,k,M,_,$=n[21]("gamePage.signIn")+"",E=n[21]("gamePage.register")+"";function T(e){return e[15]?rs:ns}let I=T(n),L=I(n),G="true"==n[1]&&!n[15]&&is();return{c(){r=Q("div"),i=Q("button"),i.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=te(),o=Q("p"),s=Q("span"),l=ee(n[2]),c=te(),u=Q("div"),d=te(),h=Q("div"),p=Q("div"),m=Q("iframe"),f=te(),y=Q("div"),v=Q("div"),w=Q("button"),b=ee($),x=te(),C=Q("button"),S=ee(E),F=te(),L.c(),k=te(),G&&G.c(),re(i,"class","backButton"),re(i,"part","backButton"),re(o,"class","Time"),re(o,"part","Time"),re(r,"class","GamePageIntegratedTopSection"),re(r,"part","GamePageIntegratedTopSection"),re(m,"title","Games"),re(m,"class","GamesContainer"),re(m,"part","GamesContainer"),re(m,"aria-hidden","false"),m.src!==(g=n[8].launchUrl)&&re(m,"src",g),re(w,"class","LoginButton"),re(w,"part","LoginButton"),re(C,"class","RegisterButton"),re(C,"part","RegisterButton"),re(v,"class","ButtonsContainer ButtonsContainerFunMode"),re(v,"part","ButtonsContainer ButtonsContainerFunMode"),re(y,"class","BottomGame"),re(y,"part","BottomGame"),re(p,"id","IframeGame"),re(p,"part","IframeGame"),P(p,"width",n[15]?"100%":n[16]),P(p,"height",n[15]?"100%":n[17]),P(p,"max-width",n[15]||!n[10]?"none":n[8].width?Math.floor(n[8].width)+"px":"1280px"),P(p,"max-height",n[15]||!n[10]?"none":n[8].height?Math.floor(n[8].height)+100+"px":"720px"),re(h,"id","IframeContainer"),re(h,"part","IframeContainer"),R(h,"FullsScreenLayout",n[15])},m(e,t){q(e,r,t),X(r,i),X(r,a),X(r,o),X(o,s),X(s,l),n[55](o),X(r,c),X(r,u),q(e,d,t),q(e,h,t),X(h,p),X(p,m),n[56](m),X(p,f),X(p,y),X(y,v),X(v,w),X(w,b),X(v,x),X(v,C),X(C,S),X(y,F),L.m(y,null),n[61](y),n[62](p),X(h,k),G&&G.m(h,null),n[63](h),M||(_=[ne(i,"click",n[54]),ne(w,"click",n[57]),ne(C,"click",n[58])],M=!0)},p(e,t){4&t[0]&&ie(l,e[2]),256&t[0]&&m.src!==(g=e[8].launchUrl)&&re(m,"src",g),2097152&t[0]&&$!==($=e[21]("gamePage.signIn")+"")&&ie(b,$),2097152&t[0]&&E!==(E=e[21]("gamePage.register")+"")&&ie(S,E),I===(I=T(e))&&L?L.p(e,t):(L.d(1),L=I(e),L&&(L.c(),L.m(y,null))),98304&t[0]&&P(p,"width",e[15]?"100%":e[16]),163840&t[0]&&P(p,"height",e[15]?"100%":e[17]),34048&t[0]&&P(p,"max-width",e[15]||!e[10]?"none":e[8].width?Math.floor(e[8].width)+"px":"1280px"),34048&t[0]&&P(p,"max-height",e[15]||!e[10]?"none":e[8].height?Math.floor(e[8].height)+100+"px":"720px"),"true"!=e[1]||e[15]?G&&(G.d(1),G=null):G||(G=is(),G.c(),G.m(h,null)),32768&t[0]&&R(h,"FullsScreenLayout",e[15])},d(e){e&&K(r),n[55](null),e&&K(d),e&&K(h),n[56](null),L.d(),n[61](null),n[62](null),G&&G.d(),n[63](null),M=!1,J(_)}}}function ts(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F,k=n[21]("gamePage.deposit")+"",M="true"===n[0]&&as(n);function _(e){return e[15]?ss:os}let $=_(n),E=$(n),T="true"==n[1]&&!n[15]&&ls();return{c(){r=Q("div"),i=Q("button"),i.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=te(),o=Q("p"),s=Q("span"),l=ee(n[2]),c=te(),u=Q("button"),d=ee(k),h=te(),p=Q("div"),m=Q("div"),g=Q("iframe"),w=te(),b=Q("div"),M&&M.c(),x=te(),E.c(),C=te(),T&&T.c(),re(i,"class","backButton"),re(i,"part","backButton"),re(o,"class","Time"),re(o,"part","Time"),re(u,"class","DepositButton"),re(u,"part","DepositButton"),re(r,"class","GamePageIntegratedTopSection"),re(r,"part","GamePageIntegratedTopSection"),re(g,"title","Games"),re(g,"id","IframeGame"),re(g,"class","GamesContainer"),re(g,"part","GamesContainer"),re(g,"aria-hidden","false"),g.src!==(f=n[8].launchUrl)&&re(g,"src",f),re(g,"width",y=n[12]+"px"),re(g,"height",v=n[13]+"px"),re(b,"class","BottomGame BottomGameLoggedin"),re(b,"part","BottomGame BottomGameLoggedin"),re(m,"id","IframeGame"),re(m,"part","IframeGame"),P(m,"width",n[15]?"100%":n[16]),P(m,"height",n[15]?"100%":n[17]),P(m,"max-width",n[15]?"none":n[8].width?n[8].width+"px":"1280px"),P(m,"max-height",n[15]?"none":n[8].height?Math.floor(n[8].height)+100+"px":"720px"),re(p,"id","IframeContainer"),re(p,"part","IframeContainer"),R(p,"FullsScreenLayout",n[15])},m(e,t){q(e,r,t),X(r,i),X(r,a),X(r,o),X(o,s),X(s,l),n[45](o),X(r,c),X(r,u),X(u,d),q(e,h,t),q(e,p,t),X(p,m),X(m,g),n[47](g),X(m,w),X(m,b),M&&M.m(b,null),X(b,x),E.m(b,null),n[51](b),n[52](m),X(p,C),T&&T.m(p,null),n[53](p),S||(F=[ne(i,"click",n[44]),ne(u,"click",n[46])],S=!0)},p(e,t){4&t[0]&&ie(l,e[2]),2097152&t[0]&&k!==(k=e[21]("gamePage.deposit")+"")&&ie(d,k),256&t[0]&&g.src!==(f=e[8].launchUrl)&&re(g,"src",f),4096&t[0]&&y!==(y=e[12]+"px")&&re(g,"width",y),8192&t[0]&&v!==(v=e[13]+"px")&&re(g,"height",v),"true"===e[0]?M?M.p(e,t):(M=as(e),M.c(),M.m(b,x)):M&&(M.d(1),M=null),$===($=_(e))&&E?E.p(e,t):(E.d(1),E=$(e),E&&(E.c(),E.m(b,null))),98304&t[0]&&P(m,"width",e[15]?"100%":e[16]),163840&t[0]&&P(m,"height",e[15]?"100%":e[17]),33024&t[0]&&P(m,"max-width",e[15]?"none":e[8].width?e[8].width+"px":"1280px"),33024&t[0]&&P(m,"max-height",e[15]?"none":e[8].height?Math.floor(e[8].height)+100+"px":"720px"),"true"!=e[1]||e[15]?T&&(T.d(1),T=null):T||(T=ls(),T.c(),T.m(p,null)),32768&t[0]&&R(p,"FullsScreenLayout",e[15])},d(e){e&&K(r),n[45](null),e&&K(h),e&&K(p),n[47](null),M&&M.d(),E.d(),n[51](null),n[52](null),T&&T.d(),n[53](null),S=!1,J(F)}}}function ns(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[60]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function rs(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[59]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function is(){let n;return{c(){n=Q("div"),n.innerHTML="<h3>Your banner here</h3>",re(n,"class","BannerSection"),re(n,"part","BannerSection")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function as(n){let r,i,a,o,s,l,c,u,d,h,p,m=n[21]("gamePage.break")+"",g=n[21]("gamePage.breakButton")+"";return{c(){r=Q("div"),i=x("svg"),a=x("path"),o=te(),s=Q("p"),l=ee(m),c=te(),u=Q("button"),d=ee(g),re(a,"stroke-linecap","round"),re(a,"stroke-linejoin","round"),re(a,"stroke-width","2"),re(a,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),re(i,"class","w-1 h-1"),re(i,"part","w-1 h-1"),re(i,"fill","none"),re(i,"stroke","white"),re(i,"width","34px"),re(i,"height","34px"),re(i,"viewBox","0 0 24 24"),re(i,"xmlns","http://www.w3.org/2000/svg"),re(u,"class","Button"),re(u,"part","Button"),R(u,"PanicButtonAnimation",n[7]),re(r,"class","PanicSection"),re(r,"part","PanicSection")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(s,l),X(r,c),X(r,u),X(u,d),h||(p=ne(u,"click",n[48]),h=!0)},p(e,t){2097152&t[0]&&m!==(m=e[21]("gamePage.break")+"")&&ie(l,m),2097152&t[0]&&g!==(g=e[21]("gamePage.breakButton")+"")&&ie(d,g),128&t[0]&&R(u,"PanicButtonAnimation",e[7])},d(e){e&&K(r),h=!1,p()}}}function os(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[50]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function ss(n){let r,i,a;return{c(){r=Q("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[49]),i=!0)},p:Z,d(e){e&&K(r),i=!1,a()}}}function ls(){let n;return{c(){n=Q("div"),n.innerHTML="<h3>Your banner here</h3>",re(n,"class","BannerSection"),re(n,"part","BannerSection")},m(e,t){q(e,n,t)},d(e){e&&K(n)}}}function cs(e){let n;function r(e){return e[6]?Qo:e[5]?Ko:qo}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&K(n)}}}function us(t,e,r){let n;Ae(t,Dr,e=>r(21,n=e));let i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,{endpoint:w=""}=e,{lang:b=""}=e,{session:x=""}=e,{userid:C=""}=e,{clientstyling:S=""}=e,{clientstylingurl:F=""}=e,{loginurl:k=""}=e,{registerurl:M=""}=e,{depositurl:_=""}=e,{loginevent:$=""}=e,{registerevent:E=""}=e,{depositevent:T=""}=e,{clockformat:I=""}=e,{haspanicbutton:L="false"}=e,{playforfun:G="true"}=e,{checksession:P="true"}=e,{integratedgameframe:R="false"}=e,{gamebanneractive:A="false"}=e,{gameid:D=""}=e,O=!1,N=!1,B=!0,U=!1,H=!1,z=!0,j=!1,Y=window.navigator.userAgent;var W,V;[{withLocale:W,translations:V}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(V),_r.set(W))}),Object.keys(Xo).forEach(e=>{yr(e,Xo[e])});const Z=()=>{r(16,m=s.width),r(17,g=s.height),h=s.width,p=s.height},J=()=>{let e=getComputedStyle(l),t=getComputedStyle(d);r(12,c=parseInt(e.width.slice(0,-2))),r(13,u=parseInt(e.height.slice(0,-2)));var n=s.width/(s.height+100);h=parseInt(t.width),p=parseInt(t.height),c/n>u-y.clientHeight-v.clientHeight?(p=u-y.clientHeight-v.clientHeight,h=u*n):(h=c,p=c/n),r(16,m=h?Math.floor(h)+"px":"1280px"),r(17,g=p?Math.floor(p)+"px":"720px")},X=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:U},window.location.href),U&&l&&J()},q=()=>{$&&(window.postMessage({type:$,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),k&&(window.location=k)},K=()=>{E&&(window.postMessage({type:E,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),M&&(window.location=M)},Q=()=>{T&&(window.postMessage({type:T},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),_&&(window.location=_)};function ee(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!j||te()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ee,!1),document.addEventListener("mozfullscreenchange",ee,!1),document.addEventListener("fullscreenchange",ee,!1),document.addEventListener("MSFullscreenChange",ee,!1));const te=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(j?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(15,j=!1)):(l.requestFullscreen?l.requestFullscreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.msRequestFullscreen&&l.msRequestFullscreen(),r(15,j=!0)))},ne=setInterval(()=>{r(2,i=I?si().format(I):si().format("LTS"))},100),re=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)};return De(()=>(window.addEventListener("resize",X,!1),ho(Y),()=>{window.removeEventListener("resize",X),clearInterval(ne)})),t.$$set=e=>{"endpoint"in e&&r(27,w=e.endpoint),"lang"in e&&r(28,b=e.lang),"session"in e&&r(29,x=e.session),"userid"in e&&r(30,C=e.userid),"clientstyling"in e&&r(31,S=e.clientstyling),"clientstylingurl"in e&&r(32,F=e.clientstylingurl),"loginurl"in e&&r(33,k=e.loginurl),"registerurl"in e&&r(34,M=e.registerurl),"depositurl"in e&&r(35,_=e.depositurl),"loginevent"in e&&r(36,$=e.loginevent),"registerevent"in e&&r(37,E=e.registerevent),"depositevent"in e&&r(38,T=e.depositevent),"clockformat"in e&&r(39,I=e.clockformat),"haspanicbutton"in e&&r(0,L=e.haspanicbutton),"playforfun"in e&&r(40,G=e.playforfun),"checksession"in e&&r(41,P=e.checksession),"integratedgameframe"in e&&r(42,R=e.integratedgameframe),"gamebanneractive"in e&&r(1,A=e.gamebanneractive),"gameid"in e&&r(43,D=e.gameid)},t.$$.update=()=>{var e;268435456&t.$$.dirty[0]&&b&&(e=b,_r.set(e),r(6,B=!1)),402653184&t.$$.dirty[0]|4096&t.$$.dirty[1]&&w&&D&&b&&((e,t)=>{let n=new URL(`${w}/casino/games/${e}`);n.searchParams.append("language",b),n.searchParams.append("expand","vendor"),r(10,z=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{r(8,s=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",b),o&&0<o.length&&(r(4,O=!0),t.searchParams.append("_sid",o),t.searchParams.append("funMode","false")),e.launchUrl=t,f.scrollIntoView(),e})(e[0])),s.launchUrl&&(U=!0,r(9,H="true"==G&&s.hasFunMode),"true"==G&&s.hasAnonymousFunMode)},e=>{console.error("There was an error",e),r(5,N=!0)}).then(()=>{l&&(J(),z||Z())})})(D),1744830464&t.$$.dirty[0]&&x&&C&&w&&("true"==P?Ur(w,x).then(e=>{o=e.Guid,e.UserID,r(4,O=!0)},e=>{r(4,O=!1),console.error("err on session",e)}):o=x),1&t.$$.dirty[1]&&S&&(()=>{let e=document.createElement("style");e.innerHTML=S,f.appendChild(e)})(),2&t.$$.dirty[1]&&F&&(()=>{let t=document.createElement("style");var e;F&&(e=new URL(F),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,f&&setTimeout(()=>{f.appendChild(t)},1)}))})()},[L,A,i,a,O,N,B,!1,s,H,z,l,c,u,d,j,m,g,f,y,v,n,q,K,Q,te,re,w,b,x,C,S,F,k,M,_,$,E,T,I,G,P,R,D,()=>re(),function(e){Oe[e?"unshift":"push"](()=>{v=e,r(20,v)})},()=>Q(),function(e){Oe[e?"unshift":"push"](()=>{a=e,r(3,a)})},()=>panicAction(),()=>te(),()=>te(),function(e){Oe[e?"unshift":"push"](()=>{y=e,r(19,y)})},function(e){Oe[e?"unshift":"push"](()=>{d=e,r(14,d)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,r(11,l)})},()=>re(),function(e){Oe[e?"unshift":"push"](()=>{v=e,r(20,v)})},function(e){Oe[e?"unshift":"push"](()=>{a=e,r(3,a)})},()=>q(),()=>K(),()=>te(),()=>te(),function(e){Oe[e?"unshift":"push"](()=>{y=e,r(19,y)})},function(e){Oe[e?"unshift":"push"](()=>{d=e,r(14,d)})},function(e){Oe[e?"unshift":"push"](()=>{l=e,r(11,l)})},function(e){Oe[e?"unshift":"push"](()=>{f=e,r(18,f)})}]}function ds(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g="true"==e[20]&&ps(e);return{c(){n=Q("div"),r=Q("div"),i=Q("div"),a=te(),o=Q("div"),s=te(),l=Q("casino-categories-slider"),c=te(),u=Q("casino-page"),d=te(),g&&g.c(),h=te(),p=Q("casino-filter-modal"),m=Q("casino-filter-page"),re(i,"class","HeaderPlaceholder"),re(i,"part","HeaderPlaceholder"),P(i,"height",e[30]+"px"),re(o,"class","ScrollTop"),re(o,"part","ScrollTop"),C(l,"endpoint",e[24]),C(l,"datasource",e[25]),C(l,"lang",e[26]),C(l,"session",e[1]),C(l,"userid",e[2]),C(l,"actionevent",e[17]),C(l,"mostplayed",e[11]),C(l,"mostplayedrounds",e[12]),C(l,"favorites",e[13]),C(l,"activecategory",e[0]),C(l,"clientstyling",e[3]),C(l,"clientstylingurl",e[4]),C(l,"containermaxwidth",e[15]),C(u,"session",e[1]),C(u,"userid",e[2]),C(u,"endpoint",e[24]),C(u,"datasource",e[25]),C(u,"lang",e[26]),C(u,"visiblegames",e[22]),C(u,"playrandomgame",e[21]),C(u,"activecategory",e[0]),C(u,"alternativesearch",e[14]),C(u,"favorites",e[13]),C(u,"mostplayedrounds",e[12]),C(u,"mostplayed",e[11]),C(u,"clientstyling",e[3]),C(u,"clientstylingurl",e[4]),C(u,"lobbyid",e[6]),C(u,"containermaxwidth",e[15]),C(u,"haspanicbutton",e[16]),C(u,"livecasino",e[18]),C(u,"currency",e[7]),C(m,"session",e[1]),C(m,"userid",e[2]),C(m,"endpoint",e[24]),C(m,"datasource",e[25]),C(m,"lang",e[26]),C(m,"clientstylingurl",e[4]),C(m,"clientstyling",e[3]),C(p,"clientstylingurl",e[4]),C(p,"session",e[1]),C(p,"userid",e[2]),C(p,"endpoint",e[24]),C(p,"datasource",e[25]),C(p,"lang",e[26]),C(p,"clientstyling",e[3]),re(r,"class","WidgetsSection"),re(r,"part","WidgetsSection"),re(n,"class","CasinoLobby"),re(n,"part","CasinoLobby")},m(e,t){q(e,n,t),X(n,r),X(r,i),X(r,a),X(r,o),X(r,s),X(r,l),X(r,c),X(r,u),X(r,d),g&&g.m(r,null),X(r,h),X(r,p),X(p,m)},p(e,t){1073741824&t[0]&&P(i,"height",e[30]+"px"),16777216&t[0]&&C(l,"endpoint",e[24]),33554432&t[0]&&C(l,"datasource",e[25]),67108864&t[0]&&C(l,"lang",e[26]),2&t[0]&&C(l,"session",e[1]),4&t[0]&&C(l,"userid",e[2]),131072&t[0]&&C(l,"actionevent",e[17]),2048&t[0]&&C(l,"mostplayed",e[11]),4096&t[0]&&C(l,"mostplayedrounds",e[12]),8192&t[0]&&C(l,"favorites",e[13]),1&t[0]&&C(l,"activecategory",e[0]),8&t[0]&&C(l,"clientstyling",e[3]),16&t[0]&&C(l,"clientstylingurl",e[4]),32768&t[0]&&C(l,"containermaxwidth",e[15]),2&t[0]&&C(u,"session",e[1]),4&t[0]&&C(u,"userid",e[2]),16777216&t[0]&&C(u,"endpoint",e[24]),33554432&t[0]&&C(u,"datasource",e[25]),67108864&t[0]&&C(u,"lang",e[26]),4194304&t[0]&&C(u,"visiblegames",e[22]),2097152&t[0]&&C(u,"playrandomgame",e[21]),1&t[0]&&C(u,"activecategory",e[0]),16384&t[0]&&C(u,"alternativesearch",e[14]),8192&t[0]&&C(u,"favorites",e[13]),4096&t[0]&&C(u,"mostplayedrounds",e[12]),2048&t[0]&&C(u,"mostplayed",e[11]),8&t[0]&&C(u,"clientstyling",e[3]),16&t[0]&&C(u,"clientstylingurl",e[4]),64&t[0]&&C(u,"lobbyid",e[6]),32768&t[0]&&C(u,"containermaxwidth",e[15]),65536&t[0]&&C(u,"haspanicbutton",e[16]),262144&t[0]&&C(u,"livecasino",e[18]),128&t[0]&&C(u,"currency",e[7]),"true"==e[20]?g?g.p(e,t):(g=ps(e),g.c(),g.m(r,h)):g&&(g.d(1),g=null),2&t[0]&&C(m,"session",e[1]),4&t[0]&&C(m,"userid",e[2]),16777216&t[0]&&C(m,"endpoint",e[24]),33554432&t[0]&&C(m,"datasource",e[25]),67108864&t[0]&&C(m,"lang",e[26]),16&t[0]&&C(m,"clientstylingurl",e[4]),8&t[0]&&C(m,"clientstyling",e[3]),16&t[0]&&C(p,"clientstylingurl",e[4]),2&t[0]&&C(p,"session",e[1]),4&t[0]&&C(p,"userid",e[2]),16777216&t[0]&&C(p,"endpoint",e[24]),33554432&t[0]&&C(p,"datasource",e[25]),67108864&t[0]&&C(p,"lang",e[26]),8&t[0]&&C(p,"clientstyling",e[3])},d(e){e&&K(n),g&&g.d()}}}function hs(e){let n,r;return{c(){n=Q("p"),r=ee(e[29]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){q(e,n,t),X(n,r)},p(e,t){536870912&t[0]&&ie(r,e[29])},d(e){e&&K(n)}}}function ps(e){let n,r;return{c(){n=Q("casino-modal"),r=Q("casino-game-page"),C(r,"session",e[1]),C(r,"userid",e[2]),C(r,"endpoint",e[24]),C(r,"datasource",e[25]),C(r,"lang",e[26]),C(r,"loginevent",e[8]),C(r,"registerevent",e[9]),C(r,"depositevent",e[10]),C(r,"playforfun",e[19]),C(r,"favorites",e[13]),C(r,"clientstyling",e[3]),C(r,"clientstylingurl",e[4]),C(r,"clockformat",e[5]),C(r,"haspanicbutton",e[16]),C(r,"currency",e[7]),C(r,"integratedgameframe",e[23]),C(n,"session",e[1]),C(n,"userid",e[2]),C(n,"endpoint",e[24]),C(n,"datasource",e[25]),C(n,"lang",e[26]),C(n,"clientstyling",e[3]),C(n,"clientstylingurl",e[4])},m(e,t){q(e,n,t),X(n,r)},p(e,t){2&t[0]&&C(r,"session",e[1]),4&t[0]&&C(r,"userid",e[2]),16777216&t[0]&&C(r,"endpoint",e[24]),33554432&t[0]&&C(r,"datasource",e[25]),67108864&t[0]&&C(r,"lang",e[26]),256&t[0]&&C(r,"loginevent",e[8]),512&t[0]&&C(r,"registerevent",e[9]),1024&t[0]&&C(r,"depositevent",e[10]),524288&t[0]&&C(r,"playforfun",e[19]),8192&t[0]&&C(r,"favorites",e[13]),8&t[0]&&C(r,"clientstyling",e[3]),16&t[0]&&C(r,"clientstylingurl",e[4]),32&t[0]&&C(r,"clockformat",e[5]),65536&t[0]&&C(r,"haspanicbutton",e[16]),128&t[0]&&C(r,"currency",e[7]),8388608&t[0]&&C(r,"integratedgameframe",e[23]),2&t[0]&&C(n,"session",e[1]),4&t[0]&&C(n,"userid",e[2]),16777216&t[0]&&C(n,"endpoint",e[24]),33554432&t[0]&&C(n,"datasource",e[25]),67108864&t[0]&&C(n,"lang",e[26]),8&t[0]&&C(n,"clientstyling",e[3]),16&t[0]&&C(n,"clientstylingurl",e[4])},d(e){e&&K(n)}}}function ms(n){let r,i,a;function o(e){return e[28]?hs:ds}let s=o(n),l=s(n);return{c(){r=Q("div"),l.c(),this.c=Z,re(r,"class",i=n[27]?"DisplayNone":""),re(r,"part",a=n[27]?"DisplayNone":"")},m(e,t){q(e,r,t),l.m(r,null),n[41](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),l=s(e),l&&(l.c(),l.m(r,null))),134217728&t[0]&&i!==(i=e[27]?"DisplayNone":"")&&re(r,"class",i),134217728&t[0]&&a!==(a=e[27]?"DisplayNone":"")&&re(r,"part",a)},i:Z,o:Z,d(e){e&&K(r),l.d(),n[41](null)}}}function gs(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:u=""}=t,{userid:d=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y="EUR"}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:b=""}=t,{loginevent:x=""}=t,{registerevent:C=""}=t,{depositevent:S=""}=t,{mostplayed:F=""}=t,{mostplayedrounds:k=""}=t,{favorites:M=""}=t,{desktopoffset:_="0"}=t,{mobileoffset:$="0"}=t,{alternativesearch:E="false"}=t,{containermaxwidth:T=""}=t,{haspanicbutton:I="false"}=t,{activecategory:L="LOBBY"}=t,{actionevent:G="CategoryChange"}=t,{livecasino:P="false"}=t,{playforfun:R="true"}=t,{gamemodal:A="true"}=t,{playrandomgame:D="false"}=t,{visiblegames:O="10"}=t,{integratedgameframe:N="false"}=t,B=!1,U=!1,H="Loading, please wait ...",z=window.navigator.userAgent,j=0,Y;var W,V;[{withLocale:W,translations:V}]=[{withLocale:"en",translations:{}}],_r.subscribe(e=>{null==e&&(gr.set(V),_r.set(W))});const Z=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":Y=e.data.scrollTop,Y&&(j||n(30,j="PC"===Nr(z)?parseInt(_):parseInt($)),window.scrollTo({top:j}));break;case"UserSessionID":e.data.session,e.data.userID;break;case"CategoryChange":n(0,L=e.data.itemId)}};return De(()=>(window.addEventListener("message",Z,!1),n(30,j="PC"===Nr(z)?parseInt(_):parseInt($)),()=>{window.removeEventListener("message",Z)})),e.$$set=e=>{"endpoint"in e&&n(32,s=e.endpoint),"datasource"in e&&n(33,l=e.datasource),"lang"in e&&n(34,c=e.lang),"session"in e&&n(1,u=e.session),"userid"in e&&n(2,d=e.userid),"opsession"in e&&n(35,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,g=e.clockformat),"lobbyid"in e&&n(6,f=e.lobbyid),"currency"in e&&n(7,y=e.currency),"loginurl"in e&&n(36,v=e.loginurl),"registerurl"in e&&n(37,w=e.registerurl),"depositurl"in e&&n(38,b=e.depositurl),"loginevent"in e&&n(8,x=e.loginevent),"registerevent"in e&&n(9,C=e.registerevent),"depositevent"in e&&n(10,S=e.depositevent),"mostplayed"in e&&n(11,F=e.mostplayed),"mostplayedrounds"in e&&n(12,k=e.mostplayedrounds),"favorites"in e&&n(13,M=e.favorites),"desktopoffset"in e&&n(39,_=e.desktopoffset),"mobileoffset"in e&&n(40,$=e.mobileoffset),"alternativesearch"in e&&n(14,E=e.alternativesearch),"containermaxwidth"in e&&n(15,T=e.containermaxwidth),"haspanicbutton"in e&&n(16,I=e.haspanicbutton),"activecategory"in e&&n(0,L=e.activecategory),"actionevent"in e&&n(17,G=e.actionevent),"livecasino"in e&&n(18,P=e.livecasino),"playforfun"in e&&n(19,R=e.playforfun),"gamemodal"in e&&n(20,A=e.gamemodal),"playrandomgame"in e&&n(21,D=e.playrandomgame),"visiblegames"in e&&n(22,O=e.visiblegames),"integratedgameframe"in e&&n(23,N=e.integratedgameframe)},e.$$.update=()=>{8&e.$$.dirty[1]&&c&&Hr(c),6&e.$$.dirty[0]|2&e.$$.dirty[1]&&u&&d&&s&&Ur(s,u).then(e=>{e.Guid,e.UserID},e=>{console.error("Error while checking the session - ",e)}),10240&e.$$.dirty[0]|14&e.$$.dirty[1]&&s&&l&&c&&F&&M&&(s||(n(29,H="Endpoint is missing! Please provide a valid endpointURL."),n(28,U=!0),console.error(H)),l||(n(29,H="Datasource is missing! Please provide a valid datasource."),n(28,U=!0),console.error(H)),c&&2==c.length||(n(29,H="Language is missing! Please provide a valid language (alpha2code)"),n(28,U=!0),console.error(H)),Hr(c),n(24,r=s),n(25,i=l),n(26,a=c),n(28,U=!1)),e.$$.dirty[1],8&e.$$.dirty[0]&&p&&(()=>{let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)})(),16&e.$$.dirty[0]&&m&&(()=>{n(27,B=!0);let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(27,B=!1)},500))})})()},[L,u,d,p,m,g,f,y,x,C,S,F,k,M,E,T,I,G,P,R,A,D,O,N,r,i,a,B,U,H,j,o,s,l,c,h,v,w,b,_,$,function(e){Oe[e?"unshift":"push"](()=>{o=e,n(31,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends ce{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}}.BottomGame.BottomGameLoggedin{justify-content:right}.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}.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}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{transition:all 3000ms ease-in;background-color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.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>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},us,cs,n,{endpoint:27,lang:28,session:29,userid:30,clientstyling:31,clientstylingurl:32,loginurl:33,registerurl:34,depositurl:35,loginevent:36,registerevent:37,depositevent:38,clockformat:39,haspanicbutton:0,playforfun:40,checksession:41,integratedgameframe:42,gamebanneractive:1,gameid:43},[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframe","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[27]}set endpoint(e){this.$set({endpoint:e}),N()}get lang(){return this.$$.ctx[28]}set lang(e){this.$set({lang:e}),N()}get session(){return this.$$.ctx[29]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[30]}set userid(e){this.$set({userid:e}),N()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get loginurl(){return this.$$.ctx[33]}set loginurl(e){this.$set({loginurl:e}),N()}get registerurl(){return this.$$.ctx[34]}set registerurl(e){this.$set({registerurl:e}),N()}get depositurl(){return this.$$.ctx[35]}set depositurl(e){this.$set({depositurl:e}),N()}get loginevent(){return this.$$.ctx[36]}set loginevent(e){this.$set({loginevent:e}),N()}get registerevent(){return this.$$.ctx[37]}set registerevent(e){this.$set({registerevent:e}),N()}get depositevent(){return this.$$.ctx[38]}set depositevent(e){this.$set({depositevent:e}),N()}get clockformat(){return this.$$.ctx[39]}set clockformat(e){this.$set({clockformat:e}),N()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$set({haspanicbutton:e}),N()}get playforfun(){return this.$$.ctx[40]}set playforfun(e){this.$set({playforfun:e}),N()}get checksession(){return this.$$.ctx[41]}set checksession(e){this.$set({checksession:e}),N()}get integratedgameframe(){return this.$$.ctx[42]}set integratedgameframe(e){this.$set({integratedgameframe:e}),N()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$set({gamebanneractive:e}),N()}get gameid(){return this.$$.ctx[43]}set gameid(e){this.$set({gameid:e}),N()}});class fs extends ce{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>",le(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},gs,ms,n,{endpoint:32,datasource:33,lang:34,session:1,userid:2,opsession:35,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:7,loginurl:36,registerurl:37,depositurl:38,loginevent:8,registerevent:9,depositevent:10,mostplayed:11,mostplayedrounds:12,favorites:13,desktopoffset:39,mobileoffset:40,alternativesearch:14,containermaxwidth:15,haspanicbutton:16,activecategory:0,actionevent:17,livecasino:18,playforfun:19,gamemodal:20,playrandomgame:21,visiblegames:22,integratedgameframe:23},[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframe"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$set({endpoint:e}),N()}get datasource(){return this.$$.ctx[33]}set datasource(e){this.$set({datasource:e}),N()}get lang(){return this.$$.ctx[34]}set lang(e){this.$set({lang:e}),N()}get session(){return this.$$.ctx[1]}set session(e){this.$set({session:e}),N()}get userid(){return this.$$.ctx[2]}set userid(e){this.$set({userid:e}),N()}get opsession(){return this.$$.ctx[35]}set opsession(e){this.$set({opsession:e}),N()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$set({clientstylingurl:e}),N()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$set({clockformat:e}),N()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$set({lobbyid:e}),N()}get currency(){return this.$$.ctx[7]}set currency(e){this.$set({currency:e}),N()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$set({loginurl:e}),N()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$set({registerurl:e}),N()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$set({depositurl:e}),N()}get loginevent(){return this.$$.ctx[8]}set loginevent(e){this.$set({loginevent:e}),N()}get registerevent(){return this.$$.ctx[9]}set registerevent(e){this.$set({registerevent:e}),N()}get depositevent(){return this.$$.ctx[10]}set depositevent(e){this.$set({depositevent:e}),N()}get mostplayed(){return this.$$.ctx[11]}set mostplayed(e){this.$set({mostplayed:e}),N()}get mostplayedrounds(){return this.$$.ctx[12]}set mostplayedrounds(e){this.$set({mostplayedrounds:e}),N()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$set({favorites:e}),N()}get desktopoffset(){return this.$$.ctx[39]}set desktopoffset(e){this.$set({desktopoffset:e}),N()}get mobileoffset(){return this.$$.ctx[40]}set mobileoffset(e){this.$set({mobileoffset:e}),N()}get alternativesearch(){return this.$$.ctx[14]}set alternativesearch(e){this.$set({alternativesearch:e}),N()}get containermaxwidth(){return this.$$.ctx[15]}set containermaxwidth(e){this.$set({containermaxwidth:e}),N()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$set({haspanicbutton:e}),N()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$set({activecategory:e}),N()}get actionevent(){return this.$$.ctx[17]}set actionevent(e){this.$set({actionevent:e}),N()}get livecasino(){return this.$$.ctx[18]}set livecasino(e){this.$set({livecasino:e}),N()}get playforfun(){return this.$$.ctx[19]}set playforfun(e){this.$set({playforfun:e}),N()}get gamemodal(){return this.$$.ctx[20]}set gamemodal(e){this.$set({gamemodal:e}),N()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(e){this.$set({playrandomgame:e}),N()}get visiblegames(){return this.$$.ctx[22]}set visiblegames(e){this.$set({visiblegames:e}),N()}get integratedgameframe(){return this.$$.ctx[23]}set integratedgameframe(e){this.$set({integratedgameframe:e}),N()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",fs),fs});
|
|
2
2
|
//# sourceMappingURL=casino-lobby.js.map
|