@everymatrix/casino-lobby 0.0.25-6.2
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/README.md +0 -0
- package/dist/casino-lobby.js +33 -0
- package/dist/casino-lobby.js.map +1 -0
- package/documentation.md +169 -0
- package/index.html +58 -0
- package/index.js +1 -0
- package/package.json +40 -0
- package/public/favicon.png +0 -0
- package/public/reset.css +48 -0
- package/rollup.config.js +67 -0
- package/src/CasinoLobby.svelte +316 -0
- package/src/i18n.js +25 -0
- package/src/index.ts +4 -0
- package/stories/CasinoLobby.stories.js +13 -0
- package/tsconfig.json +6 -0
|
@@ -0,0 +1,33 @@
|
|
|
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(d){"use strict";(e=d)&&"object"==typeof e&&0 in e;function Z(){}const x=e=>e;function p(e){return e()}function m(){return Object.create(null)}function K(e){e.forEach(p)}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}let M;function X(e,t){return(M=M||document.createElement("a")).href=t,e===M.href}function _(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Le(e,t,n){e.$$.on_destroy.push(_(t,n))}function $(e){return e&&F(e.destroy)?e.destroy:Z}var e="undefined"!=typeof window;let E=e?()=>window.performance.now():()=>Date.now(),T=e?e=>requestAnimationFrame(e):Z;const L=new Set;function I(t){L.forEach(e=>{e.c(t)||(L.delete(e),e.f())}),0!==L.size&&T(I)}function J(e,t){e.appendChild(t)}function P(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function q(e,t,n){e.insertBefore(t,n||null)}function Q(e){e.parentNode&&e.parentNode.removeChild(e)}function G(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function ee(e){return document.createElement(e)}function v(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function t(e){return document.createTextNode(e)}function te(){return t(" ")}function c(){return t("")}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 b(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:re(e,t,n)}function ie(e,t){e.data!==(t=""+t)&&(e.data=t)}function B(e,t){e.value=null==t?"":t}function k(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}let A;function D(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=ee("iframe"),r=(n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1,function(){if(void 0===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),t()}),J(e,n),()=>{(r||i&&n.contentWindow)&&i(),Q(n)}}function R(e,t,n){e.classList[n?"add":"remove"](t)}class H{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=v(t.nodeName):this.e=ee(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(("TEMPLATE"===this.e.nodeName?this.e.content:this.e).childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)q(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(Q)}}function N(e){var t={};for(const n of e)t[n.name]=n.value;return t}const O=new Map;let U,Y=0;function z(e,t,n,r,i,a,o,s=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*a(e);c+=100*e+`%{${o(r,1-r)}}
|
|
2
|
+
`}var u,d=c+`100% {${o(n,1-n)}}
|
|
3
|
+
}`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_`+s,h=P(e),{stylesheet:p,rules:m}=O.get(h)||(h=h,u={stylesheet:(u=e,m=ee("style"),u=P(u),p=m,J(u.head||u,p),p.sheet,m.sheet),rules:{}},O.set(h,u),u),h=(m[s]||(m[s]=!0,p.insertRule(`@keyframes ${s} `+d,p.cssRules.length)),e.style.animation||"");return e.style.animation=(h?h+", ":"")+s+` ${r}ms linear ${i}ms 1 both`,Y+=1,s}function j(e){U=e}function Ie(e){!function(){if(U)return U;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const W=[],$e=[];let V=[];const ae=[],se=Promise.resolve();let le=!1;function ce(){le||(le=!0,se.then(h))}function ye(){return ce(),se}function ue(e){V.push(e)}const de=new Set;let he,pe=0;function h(){if(0===pe){const r=U;do{try{for(;pe<W.length;){const r=W[pe];pe++,j(r),e=t=void 0;var e,t=r.$$;null!==t.fragment&&(t.update(),K(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(ue))}}catch(r){throw W.length=0,pe=0,r}for(j(null),W.length=0,pe=0;$e.length;)$e.pop()();for(let e=0;e<V.length;e+=1){var n=V[e];de.has(n)||(de.add(n),n())}}while(V.length=0,W.length);for(;ae.length;)ae.pop()();le=!1,de.clear(),j(r)}}function me(e,t,n){var r;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(r=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),r))}const ge=new Set;let fe;function ve(){fe={r:0,c:[],p:fe}}function we(){fe.r||K(fe.c),fe=fe.p}function be(e,t){e&&e.i&&(ge.delete(e),e.i(t))}function Ce(e,t,n,r){e&&e.o?ge.has(e)||(ge.add(e),fe.c.push(()=>{ge.delete(e),r&&(n&&e.d(1),r())}),e.o(t)):r&&r()}const Se={duration:0};function xe(l,e,t,n){const r={direction:"both"};let c=e(l,t,r),u=n?0:1,d=null,h=null,p=null;function m(){var e,t,n,r;p&&(e=l,t=p,n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-r.length)||(e.style.animation=r.join(", "),Y-=n)||T(()=>{Y||(O.forEach(e=>{e=e.stylesheet.ownerNode;e&&Q(e)}),O.clear())}))}function g(e,t){var n=e.b-u;return t*=Math.abs(n),{a:u,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:n=300,easing:r=x,tick:i=Z,css:a}=c||Se,o={start:E()+t,b:e};if(e||((o.group=fe).r+=1),d||h)h=o;else{a&&(m(),p=z(l,u,e,n,t,r,a)),e&&i(0,1),d=g(o,n),ue(()=>me(l,e,"start"));{var s=e=>{if(h&&e>h.start&&(d=g(h,n),h=null,me(l,d.b,"start"),a)&&(m(),p=z(l,u,d.b,d.duration,0,r,c.css)),d)if(e>=d.end)i(u=d.b,1-u),me(l,d.b,"end"),h||(d.b?m():--d.group.r||K(d.group.c)),d=null;else if(e>=d.start){const l=e-d.start;u=d.a+d.d*r(l/d.duration),i(u,1-u)}return!(!d&&!h)};let t;0===L.size&&T(I),new Promise(e=>{L.add(t={c:s,f:e})})}}}return{run(e){F(c)?(he||(he=Promise.resolve()).then(()=>{he=null}),he.then(()=>{c=c(r),i(e)})):i(e)},end(){m(),d=h=null}}}function Fe(e,t){e.d(1),t.delete(e.key)}function Me(r,e,t,n,i,a,o,s=[-1]){var l=U;j(r);const c=r.$$={fragment:null,ctx:[],props:a,update:Z,not_equal:i,bound:m(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:m(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u)&&(n=e,-1===(e=r).$$.dirty[0]&&(W.push(e),ce(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),u=!0,K(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const r=Array.from(a.childNodes);c.fragment&&c.fragment.l(r),r.forEach(Q)}else c.fragment&&c.fragment.c();e.intro&&be(r.$$.fragment);var d=r,s=e.target,o=e.anchor,t=e.customElement,{fragment:n,after_update:a}=d.$$;n&&n.m(s,o),t||ue(()=>{var e=d.$$.on_mount.map(p).filter(F);d.$$.on_destroy?d.$$.on_destroy.push(...e):K(e),d.$$.on_mount=[]}),a.forEach(ue),h()}j(l)}let r;"function"==typeof HTMLElement&&(r=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(p).filter(F);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){K(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const r=[],i=[];V.forEach(e=>(-1===n.indexOf(e)?r:i).push(e)),i.forEach(e=>e()),V=r}K(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=Z}$on(e,t){if(!F(t))return Z;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var _e,ke,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Pe="URLSearchParams"in l,Ge="Symbol"in l&&"iterator"in Symbol,Be="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),Ae="FormData"in l,De="ArrayBuffer"in l;function Re(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 He(e){return e="string"!=typeof e?String(e):e}function Ne(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ge&&(e[Symbol.iterator]=function(){return e}),e}function u(t){this.map={},t instanceof u?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Oe(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Ue(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Ye(e){var t=new FileReader,n=Ue(t);return t.readAsArrayBuffer(e),n}function ze(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function je(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Be&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Ae&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Pe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():De&&Be&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ze(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):De&&(ArrayBuffer.prototype.isPrototypeOf(e)||ke(e))?this._bodyArrayBuffer=ze(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Pe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Be&&(this.blob=function(){var e=Oe(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return Oe(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(Be)return this.blob().then(Ye);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r=Oe(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=Ue(e),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?n[1]:"utf-8",e.readAsText(r,n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Ae&&(this.formData=function(){return this.text().then(Ze)}),this.json=function(){return this.text().then(JSON.parse)},this}De&&(_e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ke=ArrayBuffer.isView||function(e){return e&&-1<_e.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=Re(e),t=He(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},u.prototype.delete=function(e){delete this.map[Re(e)]},u.prototype.get=function(e){return e=Re(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(Re(e))},u.prototype.set=function(e,t){this.map[Re(e)]=He(t)},u.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},u.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Ne(n)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ne(t)},u.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Ne(n)},Ge&&(u.prototype[Symbol.iterator]=u.prototype.entries);var We=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Ve(e,t){if(!(this instanceof Ve))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 Ve){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(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 u(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<We.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ze(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Ke(e,t){if(!(this instanceof Ke))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}Ve.prototype.clone=function(){return new Ve(this,{body:this._bodyInit})},je.call(Ve.prototype),je.call(Ke.prototype),Ke.prototype.clone=function(){return new Ke(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},Ke.error=function(){var e=new Ke(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Xe=[301,302,303,307,308],Je=(Ke.redirect=function(e,t){if(-1===Xe.indexOf(t))throw new RangeError("Invalid status code");return new Ke(null,{status:t,headers:{location:e}})},l.DOMException);try{new Je}catch(d){(Je=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Je.prototype.constructor=Je}function qe(o,s){return new Promise(function(i,e){var t=new Ve(o,s);if(t.signal&&t.signal.aborted)return e(new Je("Aborted","AbortError"));var n,a=new XMLHttpRequest;function r(){a.abort()}a.onload=function(){var e,r,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",r=new u,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{r.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),r)},n=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){i(new Ke(n,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new Je("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&l.location.href?l.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&&(Be?a.responseType="blob":De&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof u||l.Headers&&s.headers instanceof l.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(Re(e)),a.setRequestHeader(e,He(s.headers[e]))}),t.headers.forEach(function(e,t){-1===n.indexOf(t)&&a.setRequestHeader(t,e)})):t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),t.signal&&(t.signal.addEventListener("abort",r),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",r)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function Ln(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}qe.polyfill=!0,l.fetch||(l.fetch=qe,l.Headers=u,l.Request=Ve,l.Response=Ke);var Qe=self.fetch.bind(self),et=function(e,t){return(et=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 tt(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}et(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function nt(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 rt(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 it(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function at(e){return"function"==typeof e}function ot(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 st=ot(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 lt(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}dt.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=nt(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(at(a))try{a()}catch(e){i=e instanceof st?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=nt(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{pt(u)}catch(e){i=null!=i?i:[],e instanceof st?i=it(it([],rt(i)),rt(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 st(i)}},dt.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)pt(e);else{if(e instanceof dt){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},dt.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},dt.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},dt.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&<(t,e)},dt.prototype.remove=function(e){var t=this._finalizers;t&<(t,e),e instanceof dt&&e._removeParent(this)},dt.EMPTY=((e=new dt).closed=!0,e);var ct=dt,ut=ct.EMPTY;function dt(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function ht(e){return e instanceof ct||e&&"closed"in e&&at(e.remove)&&at(e.add)&&at(e.unsubscribe)}function pt(e){at(e)?e():e.unsubscribe()}var mt=void 0,gt=!1,ft=!1,yt={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=yt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,it([e,t],rt(n))):setTimeout.apply(void 0,it([e,t],rt(n)))},clearTimeout:function(e){var t=yt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function vt(){}var wt=null;function bt(e){if(gt){var t=!wt;if(t&&(wt={errorThrown:!1,error:null}),e(),t){var t=wt,n=t.errorThrown,t=t.error;if(wt=null,n)throw t}}else e()}tt(Ft,Ct=ct),Ft.create=function(e,t,n){return new $t(e,t,n)},Ft.prototype.next=function(e){this.isStopped||this._next(e)},Ft.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ft.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ft.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ct.prototype.unsubscribe.call(this),this.destination=null)},Ft.prototype._next=function(e){this.destination.next(e)},Ft.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ft.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Ct,St=Ft,xt=Function.prototype.bind;function Ft(e){var t=Ct.call(this)||this;return t.isStopped=!1,e?ht(t.destination=e)&&e.add(t):t.destination=It,t}function Mt(e,t){return xt.call(e,t)}Tt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Lt(e)}},Tt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Lt(e)}else Lt(e)},Tt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Lt(e)}};var _t,kt=Tt,$t=(tt(Et,_t=St),Et);function Et(e,t,n){var r=_t.call(this)||this,n=at(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&ft?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Mt(e.next,t),error:e.error&&Mt(e.error,t),complete:e.complete&&Mt(e.complete,t)}):e;return r.destination=new kt(n),r}function Tt(e){this.partialObserver=e}function Lt(e){var t=e;yt.setTimeout(function(){throw t})}var It={closed:!0,next:vt,error:function(e){throw e},complete:vt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";i.prototype.lift=function(e){var t=new i;return t.source=this,t.operator=e,t},i.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof St||r&&at(r.next)&&at(r.error)&&at(r.complete)&&ht(r)?e:new $t(e,t,n);return bt(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(r,e){var i=this;return new(e=Gt(e))(function(e,t){var n=new $t({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},i.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},i.prototype[e]=function(){return this},i.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},i.prototype.toPromise=function(e){var r=this;return new(e=Gt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},i.create=function(e){return new i(e)};var Pt=i;function i(e){e&&(this._subscribe=e)}function Gt(e){return null!=(e=null!=e?e:mt)?e:Promise}var Bt,At,Dt,Rt=ot(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(tt(a,Dt=Pt),a.prototype.lift=function(e){var t=new Ht(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new Rt},a.prototype.next=function(i){var a=this;bt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=nt(a.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var n=this;bt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},a.prototype.complete=function(){var t=this;bt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},a.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(a.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),a.prototype._trySubscribe=function(e){return this._throwIfClosed(),Dt.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?ut:(this.currentObservers=null,i.push(e),new ct(function(){t.currentObservers=null,lt(i,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},a.prototype.asObservable=function(){var e=new Pt;return e.source=this,e},a.create=function(e,t){return new Ht(e,t)},a),Ht=(tt(Yt,At=e),Yt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Yt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Yt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Yt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:ut},Yt),Nt={now:function(){return(Nt.delegate||Date).now()},delegate:void 0},Ot=(tt(Ut,Bt=e),Ut.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i)||r.push(a.now()+t),this._trimBuffer(),Bt.prototype.next.call(this,e)},Ut.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},Ut.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)}},Ut);function Ut(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Nt);var r=Bt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function Yt(e,t){var n=At.call(this)||this;return n.destination=e,n.source=t,n}function a(){var e=Dt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let zt=[],jt={};const Wt=[];function Vt(r,i=Z){let a;const o=new Set;function s(e){if(n(r,e)&&(r=e,a)){const e=!Wt.length;for(const e of o)e[1](),Wt.push(e,r);if(e){for(let e=0;e<Wt.length;e+=2)Wt[e][0](Wt[e+1]);Wt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.add(n),1===o.size&&(a=i(s)||Z),e(r),()=>{o.delete(n),0===o.size&&a&&(a(),a=null)}}}}function Zt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Vt(t,t=>{let n=!1;const r=[];let i=0,a=Z;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),u?t(e):a=F(e)?e:Z)},e=c.map((e,t)=>_(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){K(e),a(),n=!1}}).subscribe}}function Kt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Xt);var t}var Xt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Jt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nn(Array.isArray(e)?[]:{},e,t):e}function qt(e,t,n){return e.concat(t).map(function(e){return Jt(e,n)})}function Qt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function en(e,t){try{return t in e}catch(e){return!1}}function tn(r,i,a){var o={};return a.isMergeableObject(r)&&Qt(r).forEach(function(e){o[e]=Jt(r[e],a)}),Qt(i).forEach(function(e){var t,n;(!en(t=r,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(en(r,e)&&a.isMergeableObject(i[e])?o[e]=((t=a).customMerge&&"function"==typeof(t=t.customMerge(e))?t:nn)(r[e],i[e],a):o[e]=Jt(i[e],a))}),o}function nn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||qt,n.isMergeableObject=n.isMergeableObject||Kt,n.cloneUnlessOtherwiseSpecified=Jt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):tn(e,t,n):Jt(t,n)}nn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return nn(e,t,n)},{});throw new Error("first argument should be an array")};var rn=nn,an=function(e,t){return(an=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function on(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}an(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,sn,f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function ln(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function cn(e){return e.type===y.literal}function un(e){return e.type===y.number}function dn(e){return e.type===y.date}function hn(e){return e.type===y.time}function pn(e){return e.type===y.select}function mn(e){return e.type===y.plural}function gn(e){return e.type===y.tag}function fn(e){return e&&"object"==typeof e&&e.type===sn.number}function yn(e){return e&&"object"==typeof e&&e.type===sn.dateTime}(e=g=g||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=sn=sn||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,vn=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var wn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,bn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Cn=/^(@+)?(\+|#+)?[rs]?$/g,Sn=/(\*)(0+)|(#+)(0+)|(0+)/g,xn=/^(0+)$/;function Fn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(Cn,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 _n(e){return Mn(e)||{}}function kn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=f(f(f({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return f(f({},e),_n(t))},{}));continue;case"engineering":o=f(f(f({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return f(f({},e),_n(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(Sn,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(xn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(bn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(bn,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=i.options[0];"w"===a?o=f(f({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=f(f({},o),Fn(a)))}else Cn.test(i.stem)?o=f(f({},o),Fn(i.stem)):((a=Mn(i.stem))&&(o=f(f({},o),a)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!xn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=f(f({},o),r)))}return o}var $n={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var En=new RegExp("^".concat(e.source,"*")),Tn=new RegExp("".concat(e.source,"*$"));function w(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,In=!!String.fromCodePoint,Pn=!!Object.fromEntries,Gn=!!String.prototype.codePointAt,Bn=!!String.prototype.trimStart,An=!!String.prototype.trimEnd,Dn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Rn=!0;try{Rn="a"===(null==(ar=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ar[0])}catch(d){Rn=!1}var Hn,Nn,On=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Un=In?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Yn=Pn?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},zn=Gn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},jn=Bn?function(e){return e.trimStart()}:function(e){return e.replace(En,"")},Wn=An?function(e){return e.trimEnd()}:function(e){return e.replace(Tn,"")};function Vn(e,t){return new RegExp(e,t)}Nn=Rn?(Hn=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Hn.lastIndex=t,null!=(t=Hn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=zn(e,t);if(void 0===i||Xn(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 Un.apply(void 0,r)};o.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},o.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,w(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Kn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}else{a=this.clonePosition();this.bump(),r.push({type:y.pound,location:w(a,this.clonePosition())})}}}return{val:r,err:null}},o.prototype.parseTag=function(e,t){var n,r=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(i,"/>"),location:w(r,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Kn(this.char())?this.error(g.INVALID_TAG,w(e,this.clonePosition())):(n=this.clonePosition(),i!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,w(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:w(r,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,w(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,w(r,this.clonePosition()))):this.error(g.INVALID_TAG,w(r,this.clonePosition()))},o.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},o.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=w(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},o.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Kn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},o.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Un.apply(void 0,t)},o.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Un(n))},o.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,w(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,w(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:w(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,w(n,this.clonePosition()))}},o.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Nn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:w(e,this.clonePosition())}},o.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,w(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(h=Wn(d.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,w(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:w(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(r)).err?c:(p=w(r,this.clonePosition()),l&&On(null==l?void 0:l.style,"::",0)?(m=jn(l.style.slice(2)),"number"===o?(d=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?d:{val:{type:y.number,value:n,location:p,style:d.val},err:null}:0===m.length?this.error(g.EXPECT_DATE_TIME_SKELETON,p):(u=m,this.locale&&(u=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),($n[t||""]||$n[n||""]||$n["".concat(n,"-001")]||$n["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===i?"H":i}return n}(m,this.locale)),h={type:sn.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},u.replace(vn,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):{}},{val:{type:"date"===o?y.date:y.time,value:n,location:p,style:h},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:p,style:null!=(m=null==l?void 0:l.style)?m:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,w(u,f({},u)));this.bumpSpace();var d,h=this.parseIdentifierIfPossible(),p=0;if("select"!==o&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),h=this.parseIdentifierIfPossible(),p=d.val}var m,l=this.tryParsePluralOrSelectOptions(e,o,t,h);return l.err?l:(c=this.tryParseArgumentClose(r)).err?c:(m=w(r,this.clonePosition()),"select"===o?{val:{type:y.select,value:n,options:Yn(l.val),location:m},err:null}:{val:{type:y.plural,value:n,options:Yn(l.val),offset:p,pluralType:"plural"===o?"cardinal":"ordinal",location:m},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,w(a,s))}},o.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,w(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},o.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,w(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},o.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(wn).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:sn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?kn(n):{}},err:null}},o.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=w(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,w(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;a.push([s,{value:c.val,location:w(u,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,w(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(g.MISSING_OTHER_CLAUSE,w(this.clonePosition(),this.clonePosition())):{val:a,err:null}},o.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=w(r,this.clonePosition());return i?Dn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},o.prototype.offset=function(){return this.position.offset},o.prototype.isEOF=function(){return this.offset()===this.message.length},o.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},o.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=zn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},o.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},o.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},o.prototype.bumpIf=function(e){if(On(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},o.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},o.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},o.prototype.bumpSpace=function(){for(;!this.isEOF()&&Xn(this.char());)this.bump()},o.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Zn=o;function o(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Kn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Xn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Jn(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Zn(e,t).parse();if(e.err)throw(n=SyntaxError(g[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,pn(e)||mn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else un(e)&&fn(e.style)||(dn(e)||hn(e))&&yn(e.style)?delete e.style.location:gn(e)&&n(e.children)})}(e.val),e.val}function qn(e,t){var n=t&&t.cache?t.cache:or,r=t&&t.serializer?t.serializer:nr;return(t&&t.strategy?t.strategy:function(e,t){return tr(e,this,1===e.length?Qn:er,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Qn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function er(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function tr(e,t,n,r,i){return n.bind(t,e,r,i)}var nr=function(){return JSON.stringify(arguments)};function rr(){this.cache=Object.create(null)}rr.prototype.get=function(e){return this.cache[e]},rr.prototype.set=function(e,t){this.cache[e]=t};var ir,ar,or={create:function(){return new rr}},sr={variadic:function(e,t){return tr(e,this,er,t.cache.create(),t.serializer)},monadic:function(e,t){return tr(e,this,Qn,t.cache.create(),t.serializer)}};(ar=ir=ir||{}).MISSING_VALUE="MISSING_VALUE",ar.INVALID_VALUE="INVALID_VALUE",ar.MISSING_INTL_API="MISSING_INTL_API";on(wr,dr=Error),wr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var C,lr,cr,ur,dr,hr=wr,pr=(on(vr,ur=hr),vr),mr=(on(yr,cr=hr),yr),gr=(on(fr,lr=hr),fr);function fr(e,t){return lr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ir.MISSING_VALUE,t)||this}function yr(e,t,n){return cr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ir.INVALID_VALUE,n)||this}function vr(e,t,n,r){return ur.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ir.INVALID_VALUE,r)||this}function wr(e,t,n){e=dr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function br(e,t,n,r,i,a,o){if(1===e.length&&cn(e[0]))return[{type:C.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(cn(u))s.push({type:C.literal,value:u.value});else if(u.type===y.pound)"number"==typeof a&&s.push({type:C.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new gr(d,o);d=i[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?C.literal:C.object,value:d});else if(dn(u)){var h="string"==typeof u.style?r.date[u.style]:yn(u.style)?u.style.parsedOptions:void 0;s.push({type:C.literal,value:n.getDateTimeFormat(t,h).format(d)})}else if(hn(u))h="string"==typeof u.style?r.time[u.style]:yn(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:C.literal,value:n.getDateTimeFormat(t,h).format(d)});else if(un(u))(h="string"==typeof u.style?r.number[u.style]:fn(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),s.push({type:C.literal,value:n.getNumberFormat(t,h).format(d)});else{if(gn(u)){var p=u.children,m=u.value,g=i[m];if("function"!=typeof g)throw new mr(m,"function",o);m=g(br(p,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?C.literal:C.object,value:e}}))}if(pn(u)){if(!(f=u.options[d]||u.options.other))throw new pr(u.value,d,Object.keys(u.options),o);s.push.apply(s,br(f.value,t,n,r,i))}else if(mn(u)){if(!(f=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new hr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ir.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),f=u.options[g]||u.options.other}if(!f)throw new pr(u.value,d,Object.keys(u.options),o);s.push.apply(s,br(f.value,t,n,r,i,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===C.literal&&t.type===C.literal?n.value+=t.value:e.push(t),e},[])}function Cr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=C=C||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(s,"defaultLocale",{get:function(){return s.memoizedDefaultLocale||(s.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),s.memoizedDefaultLocale},enumerable:!1,configurable:!0}),s.memoizedDefaultLocale=null,s.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},s.__parse=Jn,s.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var Sr=s;function s(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=s.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===C.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return br(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=s.resolveLocale(t),"string"==typeof e){if(this.message=e,!s.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=s.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=s.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?f(f(f({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),r[t]||{}),e},{})):n),e},f({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,ln([void 0],t,!1)))},{cache:Cr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:sr.variadic}),getDateTimeFormat:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,ln([void 0],t,!1)))},{cache:Cr(t.dateTime),strategy:sr.variadic}),getPluralRules:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,ln([void 0],t,!1)))},{cache:Cr(t.pluralRules),strategy:sr.variadic})}}const xr={},Fr=(e,t,n)=>n&&(t in xr||(xr[t]={}),e in xr[t]||(xr[t][e]=n),n),Mr=(t,n)=>{if(null!=n){if(n in xr&&t in xr[n])return xr[n][t];var r=Nr(n);for(let e=0;e<r.length;e++){var i=function(e,t){if(!$r(e))return null;e=function(e){return _r[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var r=n.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const n=r.slice(e,r.length).join(".");if(n in t){t=t[n];break}}t=t[r[e]]}else t=void 0;return t}}}(r[e],t);if(i)return Fr(t,n,i)}}};let _r;const kr=Vt({});function $r(e){return e in _r}function Er(t,...n){delete xr[t],kr.update(e=>(e[t]=rn.all([e[t]||{},...n]),e))}Zt([kr],([e])=>Object.keys(e)),kr.subscribe(e=>_r=e);const Tr={};function Lr(e){return Tr[e]}function Ir(e){return null!=e&&Nr(e).some(e=>{return null==(e=Lr(e))?void 0:e.size})}const Pr={};function Gr(e){var t;return Ir(e)?(t=Nr(e).map(e=>{var t=Lr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Pr[e]=Promise.all(t.map(([e,t])=>{return r=e,Promise.all(t.map(e=>{return t=r,n=e,Tr[t].delete(n),0===Tr[t].size&&delete Tr[t],e().then(e=>e.default||e);var t,n})).then(e=>Er(r,...e));var r})).then(()=>{if(Ir(e))return Gr(e);delete Pr[e]}),Pr[e]):e in Pr?Pr[e]:Promise.resolve()}const Br={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Ar=Vt(!1);let Dr;const Rr=Vt(null);function Hr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Nr(e,t=Br.fallbackLocale){e=Hr(e);return t?[...new Set([...e,...Hr(t)])]:e}function Or(){return null!=Dr?Dr:void 0}Rr.subscribe(e=>{Dr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const Ee={...Rr,set:t=>{if(t&&function(e){if(null!=e){var t=Nr(e);for(let e=0;e<t.length;e++){var n=t[e];if($r(n))return n}}}(t)&&Ir(t)){var n=Br["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Or()&&n?e=window.setTimeout(()=>Ar.set(!0),n):Ar.set(!0),Gr(t).then(()=>{Rr.set(t)}).finally(()=>{clearTimeout(e),Ar.set(!1)})}return Rr.set(t)}},Ur=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Yr=(e,t)=>{var n=Br["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},zr=Ur(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=Yr("number",t)),new Intl.NumberFormat(e,n)}),jr=Ur(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=Yr("date",t):0===Object.keys(n).length&&(n=Yr("date","short")),new Intl.DateTimeFormat(e,n)}),Wr=Ur(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=Yr("time",t):0===Object.keys(n).length&&(n=Yr("time","short")),new Intl.DateTimeFormat(e,n)}),Vr=Ur((e,t=Or())=>new Sr(e,t,Br.formats,{ignoreTag:Br.ignoreTag})),Zr=Zt([Ee,kr],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:a,locale:o=Or(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Mr(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=Br).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!a)return l;let c=l;try{c=Vr(l,o).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),oe=(Zt([Ee],()=>(e,t)=>{return[{locale:t=Or(),...n}={}]=[t],Wr({locale:t,...n}).format(e);var n}),Zt([Ee],()=>(e,t)=>{return[{locale:t=Or(),...n}={}]=[t],jr({locale:t,...n}).format(e);var n}),Zt([Ee],()=>(e,t)=>{return[{locale:t=Or(),...n}={}]=[t],zr({locale:t,...n}).format(e);var n}),Zt([Ee,kr],()=>(e,t=Or())=>Mr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==zt.indexOf(e)&&(t=new Ot(t),jt[e]=t,zt.push(e)),jt[e]}},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),Te=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Kr(e){var t=window.navigator.userAgent;return oe(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 Xr(r,i){return new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",i),Qe(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Jr(e){Ee.set(e)}const qr={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:"Inregistreaza-te",deposit:"Depozit"},fallbackMainMenu:{sports:"Sport",casino:"Cazino",liveCasino:"Cazinou live",virtualSports:"Sport virtual",tournaments:"Turnee"}}};function Qr(e,t,n){e=e.slice();return e[33]=t[n],e[35]=n,e}function ei(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=Qr(t,a,e),l=o(s);n.set(l,i[e]=ri(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]&&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;for(var g={};m--;)g[t[m].key]=m;var f=[],y=new Map,v=new Map,w=[];for(m=p;m--;){const t=d(a,o,m),K=r(t);let e=s.get(K);e?i&&w.push(()=>e.p(t,n)):(e=c(K,t)).c(),y.set(K,f[m]=e),K in g&&v.set(K,Math.abs(m-g[K]))}var b=new Set,C=new Set;function S(e){be(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)||b.has(i)?S(n):C.has(a)?h--:v.get(i)>v.get(a)?(C.add(i),S(n)):(b.add(a),h--):(e(r,s),h--)}for(;h--;){const n=t[h];y.has(n.key)||e(n,s)}for(;p;)S(f[p-1]);return K(w),f}(i,t,o,1,e,a,n,r.parentNode,Fe,ri,r,Qr))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&Q(r)}}}function ti(e){let n,r,i,a=e[33].name+"",o="FAVORITES"===e[33].id?"("+e[1]+")":"";return{c(){n=t(a),r=te(),i=t(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&&Q(n),e&&Q(r),e&&Q(i)}}}function ni(e){let n,r,i=e[33].label+"";return{c(){n=ee("a"),r=t(i)},m(e,t){q(e,n,t),J(n,r)},p(e,t){1&t[0]&&i!==(i=e[33].label+"")&&ie(r,i)},d(e){e&&Q(n)}}}function ri(e,n){let r,i,a,o;function s(e){return"headerMain"===e[2]?ni:ti}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=ee("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),J(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.m(r,i))),33&t[0]&&R(r,"active",n[5]==n[35])},d(e){e&&Q(r),c.d(),a=!1,o()}}}function ii(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=0<n[0].length&&ei(n);return{c(){r=ee("div"),i=ee("div"),(a=ee("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=te(),s=ee("ul"),y&&y.c(),l=te(),(c=ee("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',this.c=Z,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),J(r,i),J(i,a),J(i,o),J(i,s),y&&y.m(s,null),n[22](s),J(i,l),J(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=ei(e)).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&&Q(r),y&&y.d(),n[22](null),n[24](null),g=!1,K(f)}}}function ai(t,e,n){let r,{sliderdata:i=[]}=(Le(t,Zr,e=>n(25,r=e)),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:{}}),Ee.subscribe(e=>{null==e&&(kr.set(v),Ee.set(y))}),Object.keys(qr).forEach(e=>{Er(e,qr[e])});let w,b,C,S=window.navigator.userAgent,x="PC"!==Te(S),F=[{id:0,label:r("fallbackMainMenu.sports"),path:"/sports"},{id:1,label:r("fallbackMainMenu.casino"),path:"/casino"},{id:2,label:r("fallbackMainMenu.liveCasino"),path:"/live-casino"},{id:3,label:r("fallbackMainMenu.virtualSports"),path:"/virtual-sports"},{id:4,label:r("fallbackMainMenu.tournaments"),path:"/tournaments"}],M=(e,t)=>{n(5,b=t),window.postMessage({type:o,itemId:e.id,index:t,item:e},window.location.href)},_=()=>{w.scrollBy({left:-250,behavior:"smooth"})},k=()=>{w.scrollBy({left:250,behavior:"smooth"})};const $=e=>{"SliderData"==e.data.type&&e.data.identity==d&&n(0,i=e.data.data)};return Ie(()=>(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=()=>{if(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(()=>{C.appendChild(e)})}if(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(()=>{C.appendChild(t)},1)})}var e;262144&t.$$.dirty[0]&&g&&(e=g,Ee.set(e))},[i,s,l,h,w,b,C,x,M,_,k,a,o,c,u,d,p,m,g,f,()=>_(),(e,t,n)=>M(e,t),function(e){$e[e?"unshift":"push"](()=>{w=e,n(4,w)})},()=>k(),function(e){$e[e?"unshift":"push"](()=>{C=e,n(6,C)})}]}function oi(n){let r,i,a,o;return{c(){r=ee("div"),b(i=ee("casino-slider"),"identity",ui),b(i,"favoritesnumber",n[8]),b(i,"clientstyling",n[0]),b(i,"clientstylingurl",n[1]),b(i,"containermaxwidth",n[2]),b(i,"activeindex",n[5]),b(i,"actionevent",n[3]),re(r,"class","CasinoCategoriesContainer"),re(r,"part","CasinoCategoriesContainer")},m(e,t){q(e,r,t),J(r,i),a||(o=$(n[10].call(null,i)),a=!0)},p(e,t){256&t[0]&&b(i,"favoritesnumber",e[8]),1&t[0]&&b(i,"clientstyling",e[0]),2&t[0]&&b(i,"clientstylingurl",e[1]),4&t[0]&&b(i,"containermaxwidth",e[2]),32&t[0]&&b(i,"activeindex",e[5]),8&t[0]&&b(i,"actionevent",e[3])},d(e){e&&Q(r),a=!1,o()}}}function si(e){let n;return{c(){(n=ee("p")).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&&Q(n)}}}function li(e){let n;return{c(){re(n=ee("div"),"class","CasinoCategoriesLoading"),re(n,"part","CasinoCategoriesLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ci(n){let r;function i(e){return e[4]||e[9]?li:e[6]?si:oi}let a=i(n),o=a(n);return{c(){r=ee("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.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&Q(r),o.d(),n[20](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends r{constructor(e){super();var t=document.createElement("style");t.textContent=':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:12.8px 19.2px;font-size:16px;text-align:center;line-height:25.6px;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:38.4px}.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}}',this.shadowRoot.appendChild(t),Me(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},ai,ii,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},null,[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}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}),h()}get onclickeventname(){return this.$$.ctx[11]}set onclickeventname(e){this.$$set({onclickeventname:e}),h()}get actionevent(){return this.$$.ctx[12]}set actionevent(e){this.$$set({actionevent:e}),h()}get favoritesnumber(){return this.$$.ctx[1]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),h()}get location(){return this.$$.ctx[2]}set location(e){this.$$set({location:e}),h()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get identity(){return this.$$.ctx[15]}set identity(e){this.$$set({identity:e}),h()}get containermaxwidth(){return this.$$.ctx[3]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),h()}get isprimarymenu(){return this.$$.ctx[16]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),h()}get issecondarymenu(){return this.$$.ctx[17]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),h()}get lang(){return this.$$.ctx[18]}set lang(e){this.$$set({lang:e}),h()}get activeindex(){return this.$$.ctx[19]}set activeindex(e){this.$$set({activeindex:e}),h()}});let ui="CasinoSliderData";function di(t,e,n){let r,i,a,{endpoint:o=""}=e,{datasource:s=""}=e,{lang:l=""}=e,{userid:c=""}=e,{session:u=""}=e,{mostplayed:d=""}=e,{mostplayedrounds:h=""}=e,{favorites:p=""}=e,{clientstyling:m=""}=e,{clientstylingurl:g=""}=e,{containermaxwidth:f=""}=e,{activecategory:y=""}=e,{actionevent:v=""}=e,w=0,b=!0,C=[],S=!1,x=window.navigator.userAgent,F=!1,M=!1,_=!1;const k=e=>{if(e.data)switch(e.data.type){case"UpdateCategoryFavoriteGames":var t=Kr(e.data.receivedFavoriteResults.items);n(8,a=t.length);break;case"ShowFavoriteSection":n(8,a=e.data.receivedFavoriteResults.count)}};return Ie(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)})),t.$$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)},t.$$.update=()=>{if(14336&t.$$.dirty[0]&&o&&s&&l&&(o||(r="Endpoint is missing! Please provide a valid endpointURL.",n(6,S=!0),n(4,b=!1),console.error(r)),s||(r="Datasource is missing! Please provide a valid datasource.",n(6,S=!0),n(4,b=!1),console.error(r)),l&&2==l.length||(r="Language is missing! Please provide a valid language (alpha2code)",n(6,S=!0),n(4,b=!1),console.error(r)),S||((e=new URL(o+"/casino/groups/"+s)).searchParams.append("datasource",s),e.searchParams.append("platform",Te(x)),e.searchParams.append("language",l),fetch(e).then(e=>e.json()).then(e=>{e=e.items.filter(e=>0<e.games.total);(C=C.concat(e)).unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(4,b=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(6,S=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(6,S=!0),console.error("There was an error while fetching the categories",e)}))),524304&t.$$.dirty[0]&&!b&&y&&n(5,w=C.map(e=>e.id).indexOf(y)),34816&t.$$.dirty[0]&&u&&o&&Xr(o,u).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),294912&t.$$.dirty[0]&&u&&p&&(0==F&&"true"==p&&C.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),F=!0),116736&t.$$.dirty[0]&&u&&o&&c&&d&&d&&(n(9,_=!0),(()=>{if(d){let e=new URL(`${o}/player/${c}/games/most-played`),t=Te(x);return t?"PC"===t?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),e.searchParams.append("rounds",h),new Promise((t,n)=>{fetch(e.href).then(e=>e.json()).then(e=>{0==e.count&&t(!1),t(!0)}).catch(e=>{console.error("err",e),n(!1)})})}})().then(e=>{0==M&&"true"==d&&e&&C.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(9,_=!1),ye(),M=!0})),1&t.$$.dirty[0]&&m&&((e=document.createElement("style")).innerHTML=m,i.appendChild(e)),2&t.$$.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)})}var e},n(8,a=0),[m,g,f,v,b,w,S,i,a,_,e=>{window.postMessage({type:"SliderData",identity:ui,data:C},window.location.href)},o,s,l,c,u,d,h,p,y,function(e){$e[e?"unshift":"push"](()=>{i=e,n(7,i)})}]}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends r{constructor(e){super();var t=document.createElement("style");t.textContent=":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}",this.shadowRoot.appendChild(t),Me(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},di,ci,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},null,[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}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}),h()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$$set({datasource:e}),h()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),h()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),h()}get session(){return this.$$.ctx[15]}set session(e){this.$$set({session:e}),h()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(e){this.$$set({mostplayed:e}),h()}get mostplayedrounds(){return this.$$.ctx[17]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),h()}get favorites(){return this.$$.ctx[18]}set favorites(e){this.$$set({favorites:e}),h()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),h()}get activecategory(){return this.$$.ctx[19]}set activecategory(e){this.$$set({activecategory:e}),h()}get actionevent(){return this.$$.ctx[3]}set actionevent(e){this.$$set({actionevent:e}),h()}});const hi={en:{casinoPage:{search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{casinoPage:{search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{casinoPage:{search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{casinoPage:{search:"Rechercher des jeux ...",loading:"Chargement ...",searchMobile:"Rechercher",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{casinoPage:{search:"Buscar juegos ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{casinoPage:{search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{casinoPage:{search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{casinoPage:{search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{casinoPage:{search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{casinoPage:{search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{casinoPage:{search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{casinoPage:{search:"Procurar",loading:"A carregar",searchMobile:"Procurar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{casinoPage:{search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{casinoPage:{search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}},pi={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again."}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Montre plus",viewAll:"Voir tout",searchedItems:"Articles recherchés",recentSearchedItems:"Articles recherchés récemment",noRecentSearch:"Aucune recherche n'a encore commencé. Recherchez simplement un jeu.",noResults:"Désolé, aucun résultat trouvé. Veuillez réessayer"}},es:{gamesCategorySection:{showMore:"Mostrar más",viewAll:"Ver todo",searchedItems:"Artículos buscados",recentSearchedItems:"Elementos buscados recientemente",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostrar tudo",searchedItems:"Procurar resultado",recentSearchedItems:"Pesquisado recentemente",noRecentSearch:"Nenhuma pesquisa iniciada. Pesquisar simplesmente um jogo.",noResults:"Desculpe, sem qualquer correspondência. Por favor, tente novamente."}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};gi=mi={path:void 0,exports:{},require:function(e,t){return Ln(null==t&&mi.path)}},mi.exports,gi.exports=function(){var A;function m(){return A.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function D(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function s(e){return void 0===e}function H(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function N(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function O(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function U(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return Lt(e,t,n,r,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function Y(e){if(null==e._isValid){var t=f(e),n=j.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function z(e){var t=c(NaN);return null!=e?U(f(t),e):f(t).userInvalidated=!0,t}var j=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},W=m.momentProperties=[],V=!1;function Z(e,t){var n,r,i,a=W.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(i=t[r=W[n]])||(e[r]=i);return e}function K(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,m.updateOffset(this),V=!1)}function l(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function X(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return U(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,a),s){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}X(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var J={};function q(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),J[e]||(X(t),J[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=U({},e);for(n in t)g(t,n)&&(D(e[n])&&D(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)g(e,n)&&!g(t,n)&&D(e[n])&&(r[n]=U({},r[n]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function a(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},ae={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=i),t&&(ae[t[0]]=function(){return a(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,a=i.length;t<a;t++)ae[i[t]]?i[t]=ae[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=u(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)g(e,n)&&(t=d(n))&&(r[t]=e[n]);return r}var ue={};function n(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function h(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function p(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?h(e):t}function he(t,n){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,n),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(n=p(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ge(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,we=/\d\d\d\d\d\d?/,be=/\d{1,3}/,Ce=/\d{1,4}/,Se=/[+-]?\d{1,6}/,xe=/\d+/,Fe=/[+-]?\d+/,Me=/Z|[+-]\d\d:?\d\d/gi,_e=/Z|[+-]\d\d(?::?\d\d)?/gi,w=/[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 b(e,n,r){$e[e]=u(n)?n:function(e,t){return e&&r?r:n}}function ke(e,t){return g($e,e)?$e[e](t._strict,t._locale):new RegExp(C(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function C(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var $e={},Ee={};function S(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),H(n)&&(i=function(e,t){t[n]=p(e)}),r=e.length,t=0;t<r;t++)Ee[e[t]]=i}function Te(e,i){S(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var x,F=0,M=1,_=2,k=3,$=4,E=5,Le=6,Ie=7,Pe=8;function Ge(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?de(e)?29:28:31-n%7%2)}x=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),b("M",v),b("MM",v,y),b("MMM",function(e,t){return t.monthsShortRegex(e)}),b("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[M]=p(e)-1}),S(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[M]=r:f(n).invalidMonth=e});var Be="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),De=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=w,He=w;function Ne(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!H(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Ge(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Oe(e){return null!=e?(Ne(this,e),m.updateOffset(this,!0),this):pe(this,"Month")}function Ue(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=C(n[a]),r[a]=C(r[a]);for(a=0;a<24;a++)i[a]=C(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 Ye(e){return de(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),b("Y",Fe),b("YY",v,y),b("YYYY",Ce,fe),b("YYYYY",Se,ye),b("YYYYYY",Se,ye),S(["YYYYY","YYYYYY"],F),S("YYYY",function(e,t){t[F]=2===e.length?m.parseTwoDigitYear(e):p(e)}),S("YY",function(e,t){t[F]=m.parseTwoDigitYear(e)}),S("Y",function(e,t){t[F]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var ze=he("FullYear",!0);function je(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 We(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+We(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var a,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,i),n=t<=0?Ye(a=e-1)+t:t>Ye(e)?(a=e+1,t-Ye(e)):(a=e,t);return{year:a,dayOfYear:n}}function Ke(e,t,n){var r,i,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+T(i=e.year()-1,t,n):a>T(e.year(),t,n)?(r=a-T(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function T(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(Ye(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),b("w",v),b("ww",v,y),b("W",v),b("WW",v,y),Te(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=p(e)});function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),b("d",v),b("e",v),b("E",v),b("dd",function(e,t){return t.weekdaysMinRegex(e)}),b("ddd",function(e,t){return t.weekdaysShortRegex(e)}),b("dddd",function(e,t){return t.weekdaysRegex(e)}),Te(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),Te(["d","e","E"],function(e,t,n,r){t[r]=p(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=w,tt=w,nt=w;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=C(this.weekdaysMin(r,"")),n=C(this.weekdaysShort(r,"")),r=C(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function at(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),b("a",ot),b("A",ot),b("H",v),b("h",v),b("k",v),b("HH",v,y),b("hh",v,y),b("kk",v,y),b("hmm",ve),b("hmmss",we),b("Hmm",ve),b("Hmmss",we),S(["H","HH"],k),S(["k","kk"],function(e,t,n){e=p(e);t[k]=24===e?0:e}),S(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),S(["h","hh"],function(e,t,n){t[k]=p(e),f(n).bigHour=!0}),S("hmm",function(e,t,n){var r=e.length-2;t[k]=p(e.substr(0,r)),t[$]=p(e.substr(r)),f(n).bigHour=!0}),S("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[k]=p(e.substr(0,r)),t[$]=p(e.substr(r,2)),t[E]=p(e.substr(i)),f(n).bigHour=!0}),S("Hmm",function(e,t,n){var r=e.length-2;t[k]=p(e.substr(0,r)),t[$]=p(e.substr(r))}),S("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[k]=p(e.substr(0,r)),t[$]=p(e.substr(r,2)),t[E]=p(e.substr(i))});w=he("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Be,monthsShort:Ae,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},L={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=ut(e[a]).split("-")).length,n=(n=ut(e[a+1]))?n.split("-"):null;0<t;){if(r=ht(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return st}function ht(t){var e;if(void 0===L[t]&&gi&&gi.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Ln(),pt(e)}catch(e){L[t]=null}return L[t]}function pt(e,t){return e&&((t=s(t)?I(e):mt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function mt(e,t){if(null===t)return delete L[e],null;var n,r=lt;if(t.abbr=e,null!=L[e])q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=L[e]._config;else if(null!=t.parentLocale)if(null!=L[t.parentLocale])r=L[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return L[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),pt(e),L[e]}function I(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=ht(e))return t;e=[e]}return dt(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[M]<0||11<t[M]?M:t[_]<1||t[_]>Ge(t[F],t[M])?_:t[k]<0||24<t[k]||24===t[k]&&(0!==t[$]||0!==t[E]||0!==t[Le])?k:t[$]<0||59<t[$]?$:t[E]<0||59<t[E]?E:t[Le]<0||999<t[Le]?Le:-1,f(e)._overflowDayOfYear&&(t<F||_<t)&&(t=_),f(e)._overflowWeeks&&-1===t&&(t=Ie),f(e)._overflowWeekday&&-1===t&&(t=Pe),f(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,wt=[["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]],bt=[["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/]],Ct=/^\/?Date\((-?\d+)/i,St=/^(?:(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 Ft(e){var t,n,r,i,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=wt.length,c=bt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(wt[t][1].exec(l[1])){i=wt[t][0],r=!1!==wt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(bt[t][1].exec(l[3])){a=(l[2]||" ")+bt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Et(e)}else e._isValid=!1}function Mt(e,t,n,r,i,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ae.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&e.push(parseInt(a,10)),e}function _t(e){var t,n,r,i,a=St.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Mt(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=a[8],r=a[9],i=a[10],n?xt[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,n){return null!=e?e:null!=t?t:n}function $t(e){var t,n,r,i,a,o,s,l,c,u,d,h=[];if(!e._d){for(u=e,d=new Date(m.now()),n=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[_]&&null==e._a[M]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,s=4,r=kt(d.GG,u._a[F],Ke(P(),1,4).year),i=kt(d.W,1),((a=kt(d.E,1))<1||7<a)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Ke(P(),o,s),r=kt(d.gg,u._a[F],c.year),i=kt(d.w,c.week),null!=d.d?((a=d.d)<0||6<a)&&(l=!0):null!=d.e?(a=d.e+o,(d.e<0||6<d.e)&&(l=!0)):a=o),i<1||i>T(r,o,s)?f(u)._overflowWeeks=!0:null!=l?f(u)._overflowWeekday=!0:(c=Ze(r,i,a,o,s),u._a[F]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=kt(e._a[F],n[F]),(e._dayOfYear>Ye(d)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=We(d,0,e._dayOfYear),e._a[M]=l.getUTCMonth(),e._a[_]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[k]&&0===e._a[$]&&0===e._a[E]&&0===e._a[Le]&&(e._nextDay=!0,e._a[k]=0),e._d=(e._useUTC?We:je).apply(null,h),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[k]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Et(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,i=""+e._i,a=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(i.match(ke(r,e))||[])[0])&&(0<(d=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(d),i=i.slice(i.indexOf(t)+t.length),o+=t.length),ae[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),d=r,p=e,null!=(h=t)&&g(Ee,d)&&Ee[d](h,p._a,p,d)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=a-o,0<i.length&&f(e).unusedInput.push(i),e._a[k]<=12&&!0===f(e).bigHour&&0<e._a[k]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[k]=(a=e._locale,c=e._a[k],null==(u=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,u):null!=a.isPM?((a=a.isPM(u))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(u=f(e).era)&&(e._a[F]=e._locale.erasConvertYear(u,e._a[F])),$t(e),gt(e)}else _t(e);else Ft(e);var c,u,d,h,p}function Tt(e){var t,n=e._i,r=e._f;{var i,a;return(e._locale=e._locale||I(e._l),null===n||void 0===r&&""===n)?z({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new K(gt(n)):(N(n)?e._d=n:o(r)?function(e){var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)a=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Et(t),Y(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o)&&(s=!0);U(e,n||t)}(e):r?Et(e):s(r=(n=e)._i)?n._d=new Date(m.now()):N(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(a=Ct.exec(i._i))?(Ft(i),!1===i._isValid&&(delete i._isValid,_t(i),!1===i._isValid)&&(delete i._isValid,i._strict?i._isValid=!1:m.createFromInputFallback(i))):i._d=new Date(+a[1])):o(r)?(n._a=O(r.slice(0),function(e){return parseInt(e,10)}),$t(n)):D(r)?(i=n)._d||(t=void 0===(a=ce(i._i)).day?a.date:a.day,i._a=O([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),$t(i)):H(r)?n._d=new Date(r):m.createFromInputFallback(n),Y(e)||(e._d=null),e))}}function Lt(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),(D(e)&&R(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(i=new K(gt(Tt(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function P(e,t,n,r){return Lt(e,t,n,r,!1)}m.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:z()}),we=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:z()});function It(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return P();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 Gt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Pt.length;for(t in e)if(g(e,t)&&(-1===x.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Pt[n]]){if(r)return!1;parseFloat(e[Pt[n]])!==p(e[Pt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=I(),this._bubble()}function Bt(e){return e instanceof Gt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Dt(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}Dt("Z",":"),Dt("ZZ",""),b("Z",_e),b("ZZ",_e),S(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ht(_e,e)});var Rt=/([\+\-]|\d\d)/gi;function Ht(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Rt)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Nt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||N(e)?e:P(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):P(e).local()}function Ot(e){return-Math.round(e._d.getTimezoneOffset())}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Yt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function G(e,t){var n,r,i=e;return Bt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:H(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(t=Yt.exec(e))?(n="-"===t[1]?-1:1,i={y:0,d:p(t[_])*n,h:p(t[k])*n,m:p(t[$])*n,s:p(t[E])*n,ms:p(At(1e3*t[Le]))*n}):(t=zt.exec(e))?(n="-"===t[1]?-1:1,i={y:jt(t[2],n),M:jt(t[3],n),w:jt(t[4],n),d:jt(t[5],n),h:jt(t[6],n),m:jt(t[7],n),s:jt(t[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=P(i.from),n=P(i.to),t=t.isValid()&&n.isValid()?(n=Nt(n,t),t.isBefore(n)?r=Wt(t,n):((r=Wt(n,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=t.milliseconds,i.M=t.months),r=new Gt(i),Bt(e)&&g(e,"_locale")&&(r._locale=e._locale),Bt(e)&&g(e,"_isValid")&&(r._isValid=e._isValid),r}function jt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Wt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(q(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,G(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,a=At(t._days),t=At(t._months);e.isValid()&&(r=null==r||r,t&&Ne(e,pe(e,"Month")+t*n),a&&me(e,"Date",pe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r)&&m.updateOffset(e,a||t)}G.fn=Gt.prototype,G.invalid=function(){return G(NaN)};Be=Vt(1,"add"),Je=Vt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||N(e)||Kt(e)||H(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!H(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=D(e)&&!R(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],i=i||g(e,n);return r&&i}(e)||null==e;var t,n,r}function Jt(e,t){var n,r;return e.date()<t.date()?-Jt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(n,"months"))<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function qt(e){return void 0===e?this._locale._abbr:(null!=(e=I(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(C(i[a].name)),e.push(C(i[a].abbr)),n.push(C(i[a].narrow)),r.push(C(i[a].name)),r.push(C(i[a].abbr)),r.push(C(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function sn(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var a;return null==e?Ke(this,r,i).year:(t>(a=T(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=We(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),b("N",an),b("NN",an),b("NNN",an),b("NNNN",function(e,t){return t.erasNameRegex(e)}),b("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),b("y",xe),b("yy",xe),b("yyy",xe),b("yyyy",xe),b("yo",function(e,t){return t._eraYearOrdinalRegex||xe}),S(["y","yy","yyy","yyyy"],F),S(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[F]=n._locale.eraYearOrdinalParse(e,i):t[F]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),b("G",Fe),b("g",Fe),b("GG",v,y),b("gg",v,y),b("GGGG",Ce,fe),b("gggg",Ce,fe),b("GGGGG",Se,ye),b("ggggg",Se,ye),Te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=p(e)}),Te(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),b("Q",i),S("Q",function(e,t){t[M]=3*(p(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),b("D",v),b("DD",v,y),b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],_),S("Do",function(e,t){t[_]=p(e.match(v)[0])});Ce=he("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),b("DDD",be),b("DDDD",ge),S(["DDD","DDDD"],function(e,t,n){n._dayOfYear=p(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),b("m",v),b("mm",v,y),S(["m","mm"],$);fe=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),b("s",v),b("ss",v,y),S(["s","ss"],E);var cn,Se=he("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),b("S",be,i),b("SS",be,y),b("SSS",be,ge),cn="SSSS";cn.length<=9;cn+="S")b(cn,xe);function un(e,t){t[Le]=p(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")S(cn,un);ye=he("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=K.prototype;function dn(e){return e}i.add=Be,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=D(e)&&!R(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||g(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||P(),n=Nt(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,P(e)))},i.clone=function(){return new K(this)},i.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=d(t)){case"year":a=Jt(this,r)/12;break;case"month":a=Jt(this,r);break;case"quarter":a=Jt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:h(a)},i.endOf=function(e){var t,n;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}this._d.setTime(t),m.updateOffset(this,!0)}return this},i.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?G({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(P(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?G({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(P(),e)},i.get=function(e){return u(this[e=d(e)])?this[e]():this},i.invalidAt=function(){return f(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:P(e),t=l(t)?t:P(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:P(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return Y(this)},i.lang=Qe,i.locale=qt,i.localeData=Qt,i.max=we,i.min=ve,i.parsingFlags=function(){return U({},f(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)g(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}this._d.setTime(t),m.updateOffset(this,!0)}return this},i.subtract=Je,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},i.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-m(n[r].since).year())*e+n[r].offset;return this.year()},i.year=ze,i.isLeapYear=function(){return de(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Oe,i.daysInMonth=function(){return Ge(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return T(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return T(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return T(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return T(this.isoWeekYear(),1,4)},i.date=Ce,i.day=i.days=function(e){var t,n,r;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,r=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=r.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},i.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},i.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},i.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},i.hour=i.hours=w,i.minute=i.minutes=fe,i.second=i.seconds=Se,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Ot(this);if("string"==typeof e){if(null===(e=Ht(_e,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ot(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,G(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ot(this),"m"),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ht(Me,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?P(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=Ut,i.isUTC=Ut,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",Ce),i.months=e("months accessor is deprecated. Use month instead",Oe),i.years=e("years accessor is deprecated. Use year instead",ze),i.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(Z(t={},this),(t=Tt(t))._a?(e=(t._isUTC?c:P)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&p(e[o])!==p(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function hn(e,t,n,r){var i=I(),r=c().set(r,t);return i[n](r,e)}function pn(e,t,n){if(H(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=hn(e,i,n,"month");return r}function mn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),H(t)&&(n=t,t=void 0),t||"");var i,a=I(),o=e?a._week.dow:0,s=[];if(null!=n)return hn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=hn(t,(i+o)%7,r,"day");return s}y.calendar=function(e,t,n){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=dn,y.postformat=dn,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return u(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)g(e,n)&&(u(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var n,r=this._eras||I("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=m(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[De.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=x.call(this._shortMonthsParse,e))?i:null:-1!==(i=x.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=x.call(this._shortMonthsParse,e))||-1!==(i=x.call(this._longMonthsParse,e))?i:null:-1!==(i=x.call(this._longMonthsParse,e))||-1!==(i=x.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Ue.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Ue.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ke(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Xe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=x.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=x.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=x.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=x.call(this._weekdaysParse,e))||-1!==(i=x.call(this._shortWeekdaysParse,e))||-1!==(i=x.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=x.call(this._shortWeekdaysParse,e))||-1!==(i=x.call(this._weekdaysParse,e))||-1!==(i=x.call(this._minWeekdaysParse,e))?i:null:-1!==(i=x.call(this._minWeekdaysParse,e))||-1!==(i=x.call(this._weekdaysParse,e))||-1!==(i=x.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},pt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===p(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",I);var gn=Math.abs;function fn(e,t,n,r){t=G(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function wn(e){return 146097*e/4800}function bn(e){return function(){return this.as(e)}}be=bn("ms"),ge=bn("s"),Be=bn("m"),we=bn("h"),ve=bn("d"),Je=bn("w"),w=bn("M"),fe=bn("Q"),Se=bn("y");function Cn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=Cn("milliseconds"),Ce=Cn("seconds"),ze=Cn("minutes"),y=Cn("hours"),Sn=Cn("days"),xn=Cn("months"),Fn=Cn("years");var Mn=Math.round,_n={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function kn(e,t,n,r){var i=G(e).abs(),a=Mn(i.as("s")),o=Mn(i.as("m")),s=Mn(i.as("h")),l=Mn(i.as("d")),c=Mn(i.as("M")),u=Mn(i.as("w")),i=Mn(i.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||(o<=1?["m"]:o<n.m&&["mm",o])||(s<=1?["h"]:s<n.h&&["hh",s])||(l<=1?["d"]:l<n.d&&["dd",l]);return(a=(a=null!=n.w?a||(u<=1?["w"]:u<n.w&&["ww",u]):a)||(c<=1?["M"]:c<n.M&&["MM",c])||(i<=1?["y"]:["yy",i]))[2]=t,a[3]=0<+e,a[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,a)}var $n=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Tn(){var e,t,n,r,i,a,o,s,l,c,u;return this.isValid()?(s=$n(this._milliseconds)/1e3,l=$n(this._days),c=$n(this._months),(u=this.asSeconds())?(e=h(s/60),t=h(e/60),s%=60,e%=60,n=h(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=En(this._months)!==En(u)?"-":"",a=En(this._days)!==En(u)?"-":"",o=En(this._milliseconds)!==En(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"):this.localeData().invalidDate()}var B=Gt.prototype;return B.isValid=function(){return this._isValid},B.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},B.add=function(e,t){return fn(this,e,t,1)},B.subtract=function(e,t){return fn(this,e,t,-1)},B.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+vn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(wn(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)}},B.asMilliseconds=be,B.asSeconds=ge,B.asMinutes=Be,B.asHours=we,B.asDays=ve,B.asWeeks=Je,B.asMonths=w,B.asQuarters=fe,B.asYears=Se,B.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},B._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(wn(n)+t),n=t=0),r.milliseconds=e%1e3,e=h(e/1e3),r.seconds=e%60,e=h(e/60),r.minutes=e%60,e=h(e/60),r.hours=e%24,t+=h(e/24),n+=e=h(vn(t)),t-=yn(wn(e)),e=h(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},B.clone=function(){return G(this)},B.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},B.milliseconds=ye,B.seconds=Ce,B.minutes=ze,B.hours=y,B.days=Sn,B.weeks=function(){return h(this.days()/7)},B.months=xn,B.years=Fn,B.humanize=function(e,t){var n,r;return this.isValid()?(n=!1,r=_n,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},_n,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),t=kn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},B.toISOString=Tn,B.toString=Tn,B.toJSON=Tn,B.locale=qt,B.localeData=Qt,B.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Tn),B.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),b("x",Fe),b("X",/[+-]?\d+(\.\d{1,3})?/),S("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),S("x",function(e,t,n){n._d=new Date(p(e))}),m.version="2.29.4",A=P,m.fn=i,m.min=function(){return It("isBefore",[].slice.call(arguments,0))},m.max=function(){return It("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return P(1e3*e)},m.months=function(e,t){return pn(e,t,"months")},m.isDate=N,m.locale=pt,m.invalid=z,m.duration=G,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return P.apply(null,arguments).parseZone()},m.localeData=I,m.isDuration=Bt,m.monthsShort=function(e,t){return pn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=L[e]&&null!=L[e].parentLocale?L[e].set(Q(L[e]._config,t)):(t=Q(r=null!=(n=ht(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=L[e],L[e]=r),pt(e)):null!=L[e]&&(null!=L[e].parentLocale?(L[e]=L[e].parentLocale,e===pt()&&pt(e)):null!=L[e]&&delete L[e]),L[e]},m.locales=function(){return te(L)},m.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?Mn:"function"==typeof e&&(Mn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==_n[e]&&(void 0===t?_n[e]:(_n[e]=t,"s"===e&&(_n.ss=t-1),!0))},m.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},m.prototype=i,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},m}();var mi,gi,fi=mi.exports;const yi={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"}}},vi={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 wi(e,t,n){e=e.slice();return e[103]=t[n],e[105]=n,e}function bi(e,t,n){e=e.slice();return e[100]=t[n],e}function Ci(e){let n,r=!oe(e[34])&&!e[0]&&e[12],i=r&&Si(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){(r=4097&t[0]?!oe(e[34])&&!e[0]&&e[12]:r)?i?i.p(e,t):((i=Si(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Q(n)}}}function Si(n){let r,i,a;return{c(){(r=ee("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[61]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function xi(e){let n;return{c(){(n=ee("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(n,"class","FavIconContainer"),re(n,"part","FavIconContainer")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function Fi(n){let r,i,a;return{c(){(r=ee("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[63]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Mi(e){let n,r,i=e[33]("gameThumbnail.new")+"";return{c(){n=ee("span"),r=t(i),re(n,"class","GameExtraInfoLabel NewGameTag"),re(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){q(e,n,t),J(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.new")+"")&&ie(r,i)},d(e){e&&Q(n)}}}function _i(e){let n,r,i=e[33]("gameThumbnail.hot")+"";return{c(){n=ee("span"),r=t(i),re(n,"class","GameExtraInfoLabel PopularGameTag"),re(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){q(e,n,t),J(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.hot")+"")&&ie(r,i)},d(e){e&&Q(n)}}}function ki(e){let n,r,i=!e[21]&&e[19]&&e[20]&&$i(e);function a(e){return e[21]&&e[18]&&e[18]===Ni?Ti:e[21]&&e[18]&&e[18]===Oi?Ei: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=$i(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&Q(n),s&&s.d(e),e&&Q(r)}}}function $i(e){let n,r,i,a,o,s,l,c,u,d,h=e[33]("gameThumbnail.opens")+"",p=fi.utc(e[19]).local().format(e[20])+"",m=e[43](e[32])+"",g=e[42](e[24],e[25],e[23])+"";return{c(){n=ee("div"),r=ee("div"),i=t(h),a=te(),o=ee("span"),s=t(p),l=te(),c=new H(!1),u=te(),d=new H(!1),re(r,"class","ClosedGame"),re(r,"part","ClosedGame"),c.a=u,d.a=null,re(n,"class","GameProp LiveProps"),re(n,"part","GameProp LiveProps")},m(e,t){q(e,n,t),J(n,r),J(r,i),J(r,a),J(r,o),J(o,s),J(n,l),c.m(m,n),J(n,u),d.m(g,n)},p(e,t){4&t[1]&&h!==(h=e[33]("gameThumbnail.opens")+"")&&ie(i,h),1572864&t[0]&&p!==(p=fi.utc(e[19]).local().format(e[20])+"")&&ie(s,p),2&t[1]&&m!==(m=e[43](e[32])+"")&&c.p(m),58720256&t[0]&&g!==(g=e[42](e[24],e[25],e[23])+"")&&d.p(g)},d(e){e&&Q(n)}}}function Ei(n){let r,i,a,o,s,l,c=n[43](n[32])+"",u=n[42](n[24],n[25],n[23])+"",d=new Array(Yi),h=[];for(let e=0;e<d.length;e+=1)h[e]=Gi(wi(n,d,e));return{c(){r=ee("div"),i=ee("div");for(let e=0;e<h.length;e+=1)h[e].c();a=te(),o=new H(!1),s=te(),l=new H(!1),re(i,"class","LiveIcons"),re(i,"part","LiveIcons"),o.a=s,l.a=null,re(r,"class",n[28]),re(r,"part",n[28])},m(e,t){q(e,r,t),J(r,i);for(let e=0;e<h.length;e+=1)h[e]&&h[e].m(i,null);n[64](i),J(r,a),o.m(c,r),J(r,s),l.m(u,r)},p(t,n){if(671089664&n[0]|8192&n[1]){let e;for(d=new Array(Yi),e=0;e<d.length;e+=1){const o=wi(t,d,e);h[e]?h[e].p(o,n):(h[e]=Gi(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}2&n[1]&&c!==(c=t[43](t[32])+"")&&o.p(c),58720256&n[0]&&u!==(u=t[42](t[24],t[25],t[23])+"")&&l.p(u),268435456&n[0]&&re(r,"class",t[28]),268435456&n[0]&&re(r,"part",t[28])},d(e){e&&Q(r),G(h,e),n[64](null)}}}function Ti(e){let n,r,i,a,o,s,l=e[43](e[32])+"",c=e[42](e[24],e[25],e[23])+"";function u(e){return e[30]?Ai:Bi}let d=u(e),h=d(e);return{c(){n=ee("div"),r=ee("div"),h.c(),i=te(),a=new H(!1),o=te(),s=new H(!1),re(r,"class","LiveIcons"),re(r,"part","LiveIcons"),a.a=o,s.a=null,re(n,"class","GameProp LiveProps BlackjackDisplay"),re(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){q(e,n,t),J(n,r),h.m(r,null),J(n,i),a.m(l,n),J(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,null))),2&t[1]&&l!==(l=e[43](e[32])+"")&&a.p(l),58720256&t[0]&&c!==(c=e[42](e[24],e[25],e[23])+"")&&s.p(c)},d(e){e&&Q(n),h.d()}}}function Li(e){let n;function r(e){return e[27]?Pi:Ii}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.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function Ii(e){let n,r,i=e[44]("LatestResult "+(0===e[105]?"First":""),e[105],e[10][e[105]],e[29][e[10][e[105]]])+"";return{c(){n=new H(!1),r=c(),n.a=r},m(e,t){n.m(i,e,t),q(e,r,t)},p(e,t){536871936&t[0]&&i!==(i=e[44]("LatestResult "+(0===e[105]?"First":""),e[105],e[10][e[105]],e[29][e[10][e[105]]])+"")&&n.p(i)},d(e){e&&Q(r),e&&n.d()}}}function Pi(e){let n,r,i,a,o,s=e[44]("LatestResult "+(0===e[105]?"First":""),"first"+e[105]+e[10][e[105]][0],e[10][e[105]][0],e[29][e[10][e[105]][0]])+"",l=e[44]("LatestResult "+(0===e[105]?"First":""),"second"+e[105]+e[10][e[105]][1],e[10][e[105]][1],e[29][e[10][e[105]][1]])+"";return{c(){n=ee("div"),r=new H(!1),i=te(),a=new H(!1),o=te(),r.a=i,a.a=o,re(n,"class","Double"),re(n,"part","Double")},m(e,t){q(e,n,t),r.m(s,n),J(n,i),a.m(l,n),J(n,o)},p(e,t){536871936&t[0]&&s!==(s=e[44]("LatestResult "+(0===e[105]?"First":""),"first"+e[105]+e[10][e[105]][0],e[10][e[105]][0],e[29][e[10][e[105]][0]])+"")&&r.p(s),536871936&t[0]&&l!==(l=e[44]("LatestResult "+(0===e[105]?"First":""),"second"+e[105]+e[10][e[105]][1],e[10][e[105]][1],e[29][e[10][e[105]][1]])+"")&&a.p(l)},d(e){e&&Q(n)}}}function Gi(e){let n,r=e[10]&&e[10][e[105]]&&Li(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[10]&&e[10][e[105]]?r?r.p(e,t):((r=Li(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function Bi(t){let i,a=t[22],o=[];for(let e=0;e<a.length;e+=1)o[e]=Di(bi(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]&&o[e].m(t,n);q(t,i,n)},p(t,n){if(71303168&n[0]|1024&n[1]){let e;for(a=t[22],e=0;e<a.length;e+=1){var r=bi(t,a,e);o[e]?o[e].p(r,n):(o[e]=Di(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){G(o,e),e&&Q(i)}}}function Ai(e){let n,r,i=e[33]("gameThumbnail.full")+"";return{c(){n=ee("span"),r=t(i),re(n,"class","FullTable"),re(n,"part","FullTable")},m(e,t){q(e,n,t),J(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.full")+"")&&ie(r,i)},d(e){e&&Q(n)}}}function Di(e){let n,r,i,a,o,s,l;return{c(){n=ee("span"),r=v("svg"),i=v("path"),a=v("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[41](e[26],e[100].toString())?"ClosedSeat":"OpenSeat"),re(n,"part",l=e[41](e[26],e[100].toString())?"ClosedSeat":"OpenSeat")},m(e,t){q(e,n,t),J(n,r),J(r,i),J(r,a),J(n,o)},p(e,t){71303168&t[0]&&s!==(s=e[41](e[26],e[100].toString())?"ClosedSeat":"OpenSeat")&&re(n,"class",s),71303168&t[0]&&l!==(l=e[41](e[26],e[100].toString())?"ClosedSeat":"OpenSeat")&&re(n,"part",l)},d(e){e&&Q(n)}}}function Ri(e){let n,r;return{c(){n=ee("p"),r=t(e[3]),re(n,"class","GameNameBelow"),re(n,"part","GameNameBelow"),re(n,"title",e[3])},m(e,t){q(e,n,t),J(n,r)},p(e,t){8&t[0]&&ie(r,e[3]),8&t[0]&&re(n,"title",e[3])},d(e){e&&Q(n)}}}function Hi(n){let r,i,a,o,s,l,R,c,u,d,h,p,H,m,g,f,y,N,v,w,O,b,C,S,x,F,U,M,_,Y,k,$,z,j,E=n[33]("gameThumbnail.playNow")+"",T=(n[4]||"-")+"",W=0<parseInt(n[7]),L=n[13]&&Ci(n);function V(e,t){return 4099&t[0]&&(b=null),4099&t[0]&&(C=null),(b=null==b?!(oe(e[34])||!e[0]||!e[12]||!e[1]):b)?Fi:(C=null==C?!!(oe(e[34])&&e[0]&&e[12]&&e[1]):C)?xi:void 0}let I=V(n,[-1,-1,-1,-1]),P=I&&I(n),G=n[6]&&Mi(n),B=W&&_i(n),A=n[9]&&ki(n),D=n[8]&&Ri(n);return{c(){r=ee("div"),i=ee("div"),a=ee("img"),R=te(),c=ee("div"),u=ee("div"),L&&L.c(),d=te(),h=ee("p"),p=t(n[3]),H=te(),m=ee("button"),g=t(E),N=te(),v=ee("span"),w=t(T),O=te(),P&&P.c(),S=te(),x=ee("div"),G&&G.c(),F=te(),B&&B.c(),U=te(),A&&A.c(),Y=te(),D&&D.c(),this.c=Z,X(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(h,"class","GameInfoName"),re(h,"part","GameInfoName"),re(h,"title",n[3]),re(m,"class","GameInfoBtn"),re(m,"part","GameInfoBtn"),re(u,"class",f="GameInfo "+(n[14]?"GameHovered":"")),re(u,"part",y="GameInfo "+(n[14]?"GameHovered":"")),re(v,"class","GameInfoVendor"),re(v,"part","GameInfoVendor"),re(c,"class","GameInfoWrapper"),re(c,"part","GameInfoWrapper"),re(x,"class","GameExtraInfo"),re(x,"part","GameExtraInfo"),re(i,"class",M="GameInnerContainer "+(n[9]&&!n[21]||n[9]&&n[30]?"GameInnerContainerUnavailable":"")),re(i,"part",_="GameInnerContainer "+(n[9]&&!n[21]||n[9]&&n[30]?"GameInnerContainerUnavailable":"")),re(r,"class",k="GameContainer "+n[31]),re(r,"part",$="GameContainer "+n[31])},m(e,t){q(e,r,t),J(r,i),J(i,a),n[60](a),J(i,R),J(i,c),J(c,u),L&&L.m(u,null),J(u,d),J(u,h),J(h,p),J(u,H),J(u,m),J(m,g),J(c,N),J(c,v),J(v,w),J(i,O),P&&P.m(i,null),J(i,S),J(i,x),G&&G.m(x,null),J(x,F),B&&B.m(x,null),J(x,U),A&&A.m(x,null),J(r,Y),D&&D.m(r,null),n[65](r),z||(j=[ne(m,"click",n[62]),ne(i,"mouseenter",n[39]),ne(i,"mouseleave",n[40]),ne(i,"touchstart",n[37],{passive:!0}),ne(i,"touchleave",n[38])],z=!0)},p(e,t){4&t[0]&&!X(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]?L?L.p(e,t):((L=Ci(e)).c(),L.m(u,d)):L&&(L.d(1),L=null),8&t[0]&&ie(p,e[3]),8&t[0]&&re(h,"title",e[3]),4&t[1]&&E!==(E=e[33]("gameThumbnail.playNow")+"")&&ie(g,E),16384&t[0]&&f!==(f="GameInfo "+(e[14]?"GameHovered":""))&&re(u,"class",f),16384&t[0]&&y!==(y="GameInfo "+(e[14]?"GameHovered":""))&&re(u,"part",y),16&t[0]&&T!==(T=(e[4]||"-")+"")&&ie(w,T),I===(I=V(e,t))&&P?P.p(e,t):(P&&P.d(1),(P=I&&I(e))&&(P.c(),P.m(i,S))),e[6]?G?G.p(e,t):((G=Mi(e)).c(),G.m(x,F)):G&&(G.d(1),G=null),(W=128&t[0]?0<parseInt(e[7]):W)?B?B.p(e,t):((B=_i(e)).c(),B.m(x,U)):B&&(B.d(1),B=null),e[9]?A?A.p(e,t):((A=ki(e)).c(),A.m(x,null)):A&&(A.d(1),A=null),1075839488&t[0]&&M!==(M="GameInnerContainer "+(e[9]&&!e[21]||e[9]&&e[30]?"GameInnerContainerUnavailable":""))&&re(i,"class",M),1075839488&t[0]&&_!==(_="GameInnerContainer "+(e[9]&&!e[21]||e[9]&&e[30]?"GameInnerContainerUnavailable":""))&&re(i,"part",_),e[8]?D?D.p(e,t):((D=Ri(e)).c(),D.m(r,null)):D&&(D.d(1),D=null),1&t[1]&&k!==(k="GameContainer "+e[31])&&re(r,"class",k),1&t[1]&&$!==($="GameContainer "+e[31])&&re(r,"part",$)},i:Z,o:Z,d(e){e&&Q(r),n[60](null),L&&L.d(),P&&P.d(),G&&G.d(),B&&B.d(),A&&A.d(),D&&D.d(),n[65](null),z=!1,K(j)}}}const Ni="blackjack",Oi="roulette",Ui="doubleballroulette",Yi=5;function zi(i,e,o){let t;Le(i,Zr,e=>o(33,t=e));let a,s,l,n,A,c,u,d,h,p,m,g,f,y,v,w,b,D,R,C,H,S,N,O,{session:U=""}=e,{userid:Y=""}=e,{lang:z=""}=e,{clientstyling:x=""}=e,{clientstylingurl:F=""}=e,{favorites:M=""}=e,{gamethumbnail:j=""}=e,{gamename:W=""}=e,{gamevendor:r=""}=e,{gameid:_=""}=e,{gameisnew:V=""}=e,{gamepopularity:Z=""}=e,{gamefunmode:K=!1}=e,{searchitem:X=!1}=e,{gamefavorite:k=!1}=e,{showfavoredcategory:$=!1}=e,{showgamename:J=!1}=e,{currency:E=""}=e,{endpoint:T=""}=e,{livelobbyendpoint:L=""}=e,{connectlive:I=""}=e,{visibilityconnect:P=""}=e,q=!1,Q=!1,ee=!1,te=window.navigator.userAgent,ne="HH:mm",re,ie=[],ae="EUR",G="";const oe=[Ni],se=[Oi,Ui],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"},ue=(Object.keys(yi).forEach(e=>{Er(e,yi[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+_||$||o(0,k=!0),e.data.type!=="RemoveFavoriteThumbnail_"+_||$||o(0,k=!1),"UserSessionID"===e.data.type&&(o(12,q=!0),e.data.session,e.data.userID)}),de=e=>{window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),X&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},he=e=>{var t="thumbnail";k?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},pe=()=>{L&&EventSource&&!n&&r&&_&&(n=new EventSource(`${T}/encoder/lobby/updates/${r}/`+_)).addEventListener("message",ge)},me=()=>{n&&(n.close(),n=void 0)},ge=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:a}=r;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(26,g=i),o(9,l.currentOccupiedSeats=i,l),await ye());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(f=n,o(9,l.currentRouletteNumbers=n,l),await ye());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(y=n,o(9,l.currentDoubleBallRouletteNumbers=n,l),await ye());break;case"TableOpened":case"TableClosed":o(21,u=a),o(9,l.isOpen=a,l),await ye()}}}},fe=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",B=(e,t)=>e.some(e=>e===t);return Ie(()=>(window.addEventListener("message",ue,!1),()=>{window.removeEventListener("message",ue),n&&n.removeEventListener("message",ge)})),i.$$set=e=>{"session"in e&&o(45,U=e.session),"userid"in e&&o(46,Y=e.userid),"lang"in e&&o(47,z=e.lang),"clientstyling"in e&&o(48,x=e.clientstyling),"clientstylingurl"in e&&o(49,F=e.clientstylingurl),"favorites"in e&&o(1,M=e.favorites),"gamethumbnail"in e&&o(2,j=e.gamethumbnail),"gamename"in e&&o(3,W=e.gamename),"gamevendor"in e&&o(4,r=e.gamevendor),"gameid"in e&&o(5,_=e.gameid),"gameisnew"in e&&o(6,V=e.gameisnew),"gamepopularity"in e&&o(7,Z=e.gamepopularity),"gamefunmode"in e&&o(50,K=e.gamefunmode),"searchitem"in e&&o(51,X=e.searchitem),"gamefavorite"in e&&o(0,k=e.gamefavorite),"showfavoredcategory"in e&&o(52,$=e.showfavoredcategory),"showgamename"in e&&o(8,J=e.showgamename),"currency"in e&&o(53,E=e.currency),"endpoint"in e&&o(54,T=e.endpoint),"livelobbyendpoint"in e&&o(55,L=e.livelobbyendpoint),"connectlive"in e&&o(56,I=e.connectlive),"visibilityconnect"in e&&o(57,P=e.visibilityconnect)},i.$$.update=()=>{if(33554432&i.$$.dirty[1]&&I&&("disconnect"===I?me():"connect"===I&&pe()),67108864&i.$$.dirty[1]&&P&&("disconnect"===P?me():"connect"===P&&"connect"===I&&pe()),i.$$.dirty[1],8437760&i.$$.dirty[1]&&U&&Y&&T&&o(12,q=!0),4&i.$$.dirty[0]&&j&&a&&o(16,a.onload=()=>{o(15,ee=!0)},a),131072&i.$$.dirty[1]&&x){let e=document.createElement("style");e.innerHTML=x,setTimeout(()=>{s.appendChild(e)})}if(2&i.$$.dirty[0]&&M&&"true"==M&&o(13,Q=!0),262144&i.$$.dirty[1]&&F){let e=new URL(F),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)})})}if(25165824&i.$$.dirty[1]&&T&&L&&((t=new URL(""+L.split("?")[0])).searchParams.append("platform",Te(te)),t.searchParams.append("language",z),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(9,l=e)})),512&i.$$.dirty[0]&&l&&l&&(o(21,u=l.isOpen),re=l.betLimit||{},d=l.openHours,o(22,ie=(e=>{m=e.totalSeats||7,o(26,g=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=m;e++)t.push(e);return{seats:t}})(l).seats),d&&d.value&&({startTime:t,originalTimeFormat:e}=d["value"],o(19,c=t),o(20,ne=e||ne)),u&&o(18,A=(e=>{let t=null;if(e){var n=e["vendorCategory"];if(n){const e=n.toLowerCase();B(oe,e)?t=Ni:B(se,e)&&(t=Oi)}}return t})(l)),o(23,ae=vi[E]),o(24,h=(re.min||{})[E]),o(25,p=(re.max||{})[E]),f=l.currentRouletteNumbers,y=l.currentDoubleBallRouletteNumbers,v=l.vendorCategory,o(27,w=v.toLowerCase()===Ui),o(10,b=(w?y:f)||[]),o(28,D="GameProp LiveProps RoulleteProps"),o(28,D+=w?" Double":""),o(29,R=B(se,v.toLowerCase())?ce:le),H=C,o(30,C=Array.isArray(g)&&g.length===m),l.dealer&&o(32,N=l.dealer.DealerName),O=l.numberOfPlayers,o(31,G="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(31,G+=" GameBackdrop"),u&&C&&h&&p&&l.currentOccupiedSeats?o(31,G+=" GameContainerDimmed"):!1===u&&c&&o(31,G+=" GameContainerFullyDimmed"),s)&&(!H&&C?(o(31,G+=" PulsatingRedShadow"),o(31,G=G.replace(" PulsatingGreenShadow",""))):H&&!C&&(o(31,G+=" PulsatingGreenShadow"),o(31,G=G.replace(" PulsatingRedShadow","")))),3072&i.$$.dirty[0]&&S&&b){const n="FirstElementAnimated",r=S.getElementsByClassName("First")[0];r&&(r.classList.add(n),setTimeout(()=>{r.classList.remove(n)},2e3))}var e,t},[k,M,j,W,r,_,V,Z,J,l,b,S,q,Q,!1,ee,a,s,A,c,ne,u,ie,ae,h,p,g,w,D,R,C,G,N,t,te,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)},B,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
|
|
4
|
+
<span>
|
|
5
|
+
${n}
|
|
6
|
+
</span>
|
|
7
|
+
${fe(e)}-`+fe(t)),(r=O?`
|
|
8
|
+
<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>
|
|
9
|
+
<span class="NrOfPlayers">${O}</span>`:r)||i?`
|
|
10
|
+
<p class="LiveLimits">
|
|
11
|
+
<span class="BetLimitLeft">
|
|
12
|
+
${i||""}
|
|
13
|
+
</span>
|
|
14
|
+
<span class="BetLimitRight">
|
|
15
|
+
${r||""}
|
|
16
|
+
</span>
|
|
17
|
+
</p>`:""},e=>e?`
|
|
18
|
+
<p class="LiveLimits">
|
|
19
|
+
<span class="DealerName">${t("gameThumbnail.dealer")}: ${e}</span>
|
|
20
|
+
</p>
|
|
21
|
+
`:"",(e,t,n,r="")=>{e=e+" "+r,r=t.toString().match(/first0|second0|0/g);return 0===t||r&&0!==r.length?`
|
|
22
|
+
<span
|
|
23
|
+
id=${t}
|
|
24
|
+
class="${e}"
|
|
25
|
+
>
|
|
26
|
+
${n}
|
|
27
|
+
</span>
|
|
28
|
+
`:`
|
|
29
|
+
<span id=${t} class="${e}">
|
|
30
|
+
${n}
|
|
31
|
+
</span>
|
|
32
|
+
`},U,Y,z,x,F,K,X,$,E,T,L,I,P,le,ce,function(e){$e[e?"unshift":"push"](()=>{a=e,o(16,a)})},()=>he(_),()=>de(_),()=>he(_),function(e){$e[e?"unshift":"push"](()=>{S=e,o(11,S)})},function(e){$e[e?"unshift":"push"](()=>{s=e,o(17,s)})}]}function ji(e,t,n){e=e.slice();return e[75]=t[n],e[77]=n,e}function Wi(e,t,n){e=e.slice();return e[75]=t[n],e[78]=t,e[77]=n,e}function Vi(e,t,n){e=e.slice();return e[75]=t[n],e[77]=n,e}function Zi(e){let n;function r(e){return e[11]?qi:e[21]?Ji:void 0}let i=r(e),a=i&&i(e);return{c(){n=ee("div"),a&&a.c()},m(e,t){q(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(n,null)))},d(e){e&&Q(n),a&&a.d()}}}function Ki(e){let n,r,i;function a(e){return e[15]?fa:e[12].length?ma:ga}let o=a(e),s=o(e);function l(e){return e[12]?va:ya}let c=l(e),u=c(e);return{c(){n=ee("div"),r=ee("div"),s.c(),i=te(),u.c(),re(r,"class","CasinoGamesHeader Searched "+(oe(e[27])?"CasinoGamesHeaderMobile":"")),re(r,"part","CasinoGamesHeader Searched "+(oe(e[27])?"CasinoGamesHeaderMobile":"")),re(n,"class","CasinoGamesContainer"),re(n,"part","CasinoGamesContainer")},m(e,t){q(e,n,t),J(n,r),s.m(r,null),J(n,i),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),(u=c(e))&&(u.c(),u.m(n,null)))},d(e){e&&Q(n),s.d(),u.d()}}}function Xi(e){let n;function r(e){return e[17]?Sa:Ca}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.c(),a.m(n.parentNode,n))},d(e){a.d(e),e&&Q(n)}}}function Ji(n){let r,i,a,o,s,l,c,u,d=n[25].name+"";function h(e){return e[25]?ea:Qi}let p=h(n),m=p(n);return{c(){r=ee("div"),i=ee("div"),a=ee("h3"),o=t(d),s=te(),l=ee("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),J(r,i),J(i,a),J(a,o),n[43](a),J(r,s),J(r,l),m.m(l,null),n[44](l)},p(e,t){33554432&t[0]&&d!==(d=e[25].name+"")&&ie(o,d),p===(p=h(e))&&m?m.p(e,t):(m.d(1),(m=p(e))&&(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&&Q(r),n[43](null),m.d(),n[44](null)}}}function qi(n){let r,i,a,o,s,l,c=n[11].name+"",u=n[13]&&ua(n);function d(e){return 0!==e[12].length?ha:da}let h=d(n),p=h(n);return{c(){r=ee("div"),i=ee("div"),a=ee("h3"),o=t(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),J(r,i),J(i,a),J(a,o),n[39](a),J(i,s),u&&u.m(i,null),J(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=ua(e)).c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(r,null)))},d(e){e&&Q(r),n[39](null),u&&u.d(),p.d()}}}function Qi(e){let n;return{c(){(n=ee("p")).textContent="Waiting"},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ea(t){let r,i=t[25].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=ca(ji(t,i,e));let o=null;return i.length||(o=ta(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]&&a[e].m(t,n);q(t,r,n),o&&o.m(t,n)},p(t,n){if(169869823&n[0]){let e;for(i=t[25].items,e=0;e<i.length;e+=1){const o=ji(t,i,e);a[e]?a[e].p(o,n):(a[e]=ca(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=ta(t)).c(),o.m(r.parentNode,r))}},d(e){G(a,e),e&&Q(r),o&&o.d(e)}}}function ta(e){let n,r,i,a,o,s,l,t=(u=e,oe(u[27])?ra:na),c=t(e);var u;return{c(){n=ee("p"),r=v("svg"),i=v("path"),a=te(),(o=ee("span")).textContent="You do not have any favored games yet.",s=te(),c.c(),l=te(),k(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"),k(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 "+(oe(e[27])?"NoFavoriteGamesMobile":"")),re(n,"part","NoFavoriteGames "+(oe(e[27])?"NoFavoriteGamesMobile":""))},m(e,t){q(e,n,t),J(n,r),J(r,i),J(n,a),J(n,o),J(n,s),c.m(n,null),J(n,l)},p:Z,d(e){e&&Q(n),c.d()}}}function na(e){let n;return{c(){(n=ee("span")).textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",re(n,"class","NoFavoriteText"),re(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function ra(e){let n;return{c(){(n=ee("span")).textContent="You can now add games to favorites by tapping on the star icon located on the game page.",re(n,"class","NoFavoriteText"),re(n,"part","NoFavoriteText")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function ia(e){let n,r=e[75].gameModel.isFavorite&&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[75].gameModel.isFavorite?r?r.p(e,t):((r=aa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function aa(e){let n,r=function(e){let n,r,i;function a(e,t){return 33554432&t[0]&&(r=null),(n=null==n?!!oe(e[27]):n)?sa:(r=null==r?!!e[75].gameModel.platform.includes("PC"):r)?oa:void 0}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),q(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&Q(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&Q(n)}}}function oa(e){let n,r,i,a,o,s,l,c,u,d,h,p,m;return{c(){b(n=ee("casino-game-thumbnail"),"class",r=""+(S+(e[75].cellSize||"1x1"))),b(n,"part",i=""+(S+(e[75].cellSize||"1x1"))),b(n,"session",e[2]),b(n,"userid",e[3]),b(n,"lang",e[1]),b(n,"favorites",e[4]),b(n,"gamethumbnail",a=e[75].gameModel.thumbnail),b(n,"gamename",o=e[75].gameModel.name),b(n,"gamevendor",s=e[75].gameModel.vendor.name),b(n,"gameisnew",l=e[75].gameModel.isNew),b(n,"gamepopularity",c=e[75].gameModel.popularity),b(n,"gamecellsize",u=e[75].gameModel.cellSize),b(n,"gameid",d=e[75].gameModel.id),b(n,"gamefunmode",h=e[75].gameModel.hasFunMode),b(n,"gamefavorite",p=e[75].gameModel.isFavorite),b(n,"showfavoredcategory",e[21]),b(n,"currency",e[7]),b(n,"livelobbyendpoint",m=e[75].gameModel.details?e[75].gameModel.href:""),b(n,"clientstyling",e[5]),b(n,"clientstylingurl",e[6]),b(n,"endpoint",e[0]),b(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(S+(e[75].cellSize||"1x1")))&&b(n,"class",r),33554432&t[0]&&i!==(i=""+(S+(e[75].cellSize||"1x1")))&&b(n,"part",i),4&t[0]&&b(n,"session",e[2]),8&t[0]&&b(n,"userid",e[3]),2&t[0]&&b(n,"lang",e[1]),16&t[0]&&b(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[75].gameModel.thumbnail)&&b(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[75].gameModel.name)&&b(n,"gamename",o),33554432&t[0]&&s!==(s=e[75].gameModel.vendor.name)&&b(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[75].gameModel.isNew)&&b(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[75].gameModel.popularity)&&b(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[75].gameModel.cellSize)&&b(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[75].gameModel.id)&&b(n,"gameid",d),33554432&t[0]&&h!==(h=e[75].gameModel.hasFunMode)&&b(n,"gamefunmode",h),33554432&t[0]&&p!==(p=e[75].gameModel.isFavorite)&&b(n,"gamefavorite",p),2097152&t[0]&&b(n,"showfavoredcategory",e[21]),128&t[0]&&b(n,"currency",e[7]),33554432&t[0]&&m!==(m=e[75].gameModel.details?e[75].gameModel.href:"")&&b(n,"livelobbyendpoint",m),32&t[0]&&b(n,"clientstyling",e[5]),64&t[0]&&b(n,"clientstylingurl",e[6]),1&t[0]&&b(n,"endpoint",e[0]),256&t[0]&&b(n,"livecasino",e[8])},d(e){e&&Q(n)}}}function sa(e){let n,r=e[75].gameModel.platform.includes("iPad")||e[75].gameModel.platform.includes("iPhone")||e[75].gameModel.platform.includes("Android"),i=r&&la(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){(r=33554432&t[0]?e[75].gameModel.platform.includes("iPad")||e[75].gameModel.platform.includes("iPhone")||e[75].gameModel.platform.includes("Android"):r)?i?i.p(e,t):((i=la(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Q(n)}}}function la(e){let n,r,i,a,o,s,l,c,u,d,h,p,m;return{c(){b(n=ee("casino-game-thumbnail"),"class",r=""+(S+(e[75].cellSize||"1x1"))),b(n,"part",i=""+(S+(e[75].cellSize||"1x1"))),b(n,"session",e[2]),b(n,"userid",e[3]),b(n,"lang",e[1]),b(n,"favorites",e[4]),b(n,"gamethumbnail",a=e[75].gameModel.thumbnail),b(n,"gamename",o=e[75].gameModel.name),b(n,"gamevendor",s=e[75].gameModel.vendor.name),b(n,"gameisnew",l=e[75].gameModel.isNew),b(n,"gamepopularity",c=e[75].gameModel.popularity),b(n,"gamecellsize",u=e[75].gameModel.cellSize),b(n,"gameid",d=e[75].gameModel.id),b(n,"gamefunmode",h=e[75].gameModel.hasFunMode),b(n,"gamefavorite",p=e[75].gameModel.isFavorite),b(n,"showfavoredcategory",e[21]),b(n,"currency",e[7]),b(n,"livelobbyendpoint",m=e[75].gameModel.details?e[75].gameModel.href:""),b(n,"clientstyling",e[5]),b(n,"clientstylingurl",e[6]),b(n,"endpoint",e[0]),b(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){33554432&t[0]&&r!==(r=""+(S+(e[75].cellSize||"1x1")))&&b(n,"class",r),33554432&t[0]&&i!==(i=""+(S+(e[75].cellSize||"1x1")))&&b(n,"part",i),4&t[0]&&b(n,"session",e[2]),8&t[0]&&b(n,"userid",e[3]),2&t[0]&&b(n,"lang",e[1]),16&t[0]&&b(n,"favorites",e[4]),33554432&t[0]&&a!==(a=e[75].gameModel.thumbnail)&&b(n,"gamethumbnail",a),33554432&t[0]&&o!==(o=e[75].gameModel.name)&&b(n,"gamename",o),33554432&t[0]&&s!==(s=e[75].gameModel.vendor.name)&&b(n,"gamevendor",s),33554432&t[0]&&l!==(l=e[75].gameModel.isNew)&&b(n,"gameisnew",l),33554432&t[0]&&c!==(c=e[75].gameModel.popularity)&&b(n,"gamepopularity",c),33554432&t[0]&&u!==(u=e[75].gameModel.cellSize)&&b(n,"gamecellsize",u),33554432&t[0]&&d!==(d=e[75].gameModel.id)&&b(n,"gameid",d),33554432&t[0]&&h!==(h=e[75].gameModel.hasFunMode)&&b(n,"gamefunmode",h),33554432&t[0]&&p!==(p=e[75].gameModel.isFavorite)&&b(n,"gamefavorite",p),2097152&t[0]&&b(n,"showfavoredcategory",e[21]),128&t[0]&&b(n,"currency",e[7]),33554432&t[0]&&m!==(m=e[75].gameModel.details?e[75].gameModel.href:"")&&b(n,"livelobbyendpoint",m),32&t[0]&&b(n,"clientstyling",e[5]),64&t[0]&&b(n,"clientstylingurl",e[6]),1&t[0]&&b(n,"endpoint",e[0]),256&t[0]&&b(n,"livecasino",e[8])},d(e){e&&Q(n)}}}function ca(e){let n,r=e[75].gameModel&&ia(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[75].gameModel?r?r.p(e,t):((r=ia(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function ua(n){let r,i,a,o,s,l,c,u,d=n[26]("gamesCategorySection.viewAll")+"",h=n[11].games.total+"";return{c(){r=ee("a"),i=ee("span"),a=t(d),o=t(" ("),s=t(h),l=t(")"),re(i,"class","CategoryLoadMore"),re(i,"part","CategoryLoadMore"),re(r,"class","CategoryNameLink"),re(r,"part","CategoryNameLink")},m(e,t){q(e,r,t),J(r,i),J(i,a),J(i,o),J(i,s),J(i,l),c||(u=ne(r,"click",n[40]),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&&Q(r),c=!1,u()}}}function da(e){let n;return{c(){(n=ee("p")).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&&Q(n)}}}function ha(n){let r,e,i,a=n[12],o=[];for(let e=0;e<a.length;e+=1)o[e]=pa(Wi(n,a,e));return{c(){r=ee("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]&&o[e].m(r,null);n[42](r)},p(t,n){if(25170943&n[0]){let e;for(a=t[12],e=0;e<a.length;e+=1){const i=Wi(t,a,e);o[e]?o[e].p(i,n):(o[e]=pa(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&&Q(r),G(o,e),n[42](null)}}}function pa(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=n[77];const v=()=>n[41](r,y),w=()=>n[41](null,y);return{c(){b(r=ee("casino-game-thumbnail"),"session",n[2]),b(r,"userid",n[3]),b(r,"lang",n[1]),b(r,"class",i=""+(S+(n[75].cellSize||"1x1"))),b(r,"part",a=""+(S+(n[75].cellSize||"1x1"))),b(r,"favorites",n[4]),b(r,"gamethumbnail",o=n[75].thumbnail),b(r,"gamename",s=n[75].name),b(r,"gamevendor",l=n[75].vendor.name),b(r,"gameisnew",c=n[75].isNew),b(r,"gamepopularity",u=n[75].popularity),b(r,"gamecellsize",d=n[75].cellSize),b(r,"gameid",h=n[75].id),b(r,"gamefunmode",p=n[75].hasFunMode),b(r,"gamefavorite",m=n[75].isFavorite),b(r,"connectlive",g=1==n[23][n[75].id]?"connect":"disconnect"),b(r,"visibilityconnect",n[24]),b(r,"currency",n[7]),b(r,"livelobbyendpoint",f=n[75].details?n[75].href:""),b(r,"clientstyling",n[5]),b(r,"clientstylingurl",n[6]),b(r,"endpoint",n[0]),b(r,"livecasino",n[8])},m(e,t){q(e,r,t),v()},p(e,t){n=e,4&t[0]&&b(r,"session",n[2]),8&t[0]&&b(r,"userid",n[3]),2&t[0]&&b(r,"lang",n[1]),4096&t[0]&&i!==(i=""+(S+(n[75].cellSize||"1x1")))&&b(r,"class",i),4096&t[0]&&a!==(a=""+(S+(n[75].cellSize||"1x1")))&&b(r,"part",a),16&t[0]&&b(r,"favorites",n[4]),4096&t[0]&&o!==(o=n[75].thumbnail)&&b(r,"gamethumbnail",o),4096&t[0]&&s!==(s=n[75].name)&&b(r,"gamename",s),4096&t[0]&&l!==(l=n[75].vendor.name)&&b(r,"gamevendor",l),4096&t[0]&&c!==(c=n[75].isNew)&&b(r,"gameisnew",c),4096&t[0]&&u!==(u=n[75].popularity)&&b(r,"gamepopularity",u),4096&t[0]&&d!==(d=n[75].cellSize)&&b(r,"gamecellsize",d),4096&t[0]&&h!==(h=n[75].id)&&b(r,"gameid",h),4096&t[0]&&p!==(p=n[75].hasFunMode)&&b(r,"gamefunmode",p),4096&t[0]&&m!==(m=n[75].isFavorite)&&b(r,"gamefavorite",m),8392704&t[0]&&g!==(g=1==n[23][n[75].id]?"connect":"disconnect")&&b(r,"connectlive",g),16777216&t[0]&&b(r,"visibilityconnect",n[24]),128&t[0]&&b(r,"currency",n[7]),4096&t[0]&&f!==(f=n[75].details?n[75].href:"")&&b(r,"livelobbyendpoint",f),32&t[0]&&b(r,"clientstyling",n[5]),64&t[0]&&b(r,"clientstylingurl",n[6]),1&t[0]&&b(r,"endpoint",n[0]),256&t[0]&&b(r,"livecasino",n[8]),y!==n[77]&&(w(),y=n[77],v())},d(e){e&&Q(r),w()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&Q(n)}}}function ma(e){let n,r,i=e[26]("gamesCategorySection.searchedItems")+"";return{c(){n=ee("h3"),r=t(i),re(n,"class","StatusText"),re(n,"part","StatusText")},m(e,t){q(e,n,t),J(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.searchedItems")+"")&&ie(r,i)},d(e){e&&Q(n)}}}function ga(e){let n,r,i=e[26]("gamesCategorySection.noResults")+"";return{c(){n=ee("h3"),r=t(i),re(n,"class","StatusText"),re(n,"part","StatusText")},m(e,t){q(e,n,t),J(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noResults")+"")&&ie(r,i)},d(e){e&&Q(n)}}}function fa(e){let n,r,i=e[26]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=ee("h3"),r=t(i),re(n,"class","StatusText"),re(n,"part","StatusText")},m(e,t){q(e,n,t),J(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.recentSearchedItems")+"")&&ie(r,i)},d(e){e&&Q(n)}}}function ya(e){let n;return{c(){(n=ee("p")).textContent="Waiting",re(n,"class","SearchWaiting"),re(n,"part","SearchWaiting")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function va(t){let r,i,a=!t[18]&&wa(t),o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=ba(Vi(t,o,e));return{c(){a&&a.c(),r=te(),i=ee("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]&&s[e].m(i,null)},p(t,n){if(t[18]?a&&(a.d(1),a=null):a?a.p(t,n):((a=wa(t)).c(),a.m(r.parentNode,r)),70143&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){const a=Vi(t,o,e);s[e]?s[e].p(a,n):(s[e]=ba(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&Q(r),e&&Q(i),G(s,e)}}}function wa(e){let n,r,i=e[26]("gamesCategorySection.noRecentSearch")+"";return{c(){n=ee("p"),r=t(i),re(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(oe(e[27])?"NoRecentSearchesMobile":"")),re(n,"part","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(oe(e[27])?"NoRecentSearchesMobile":""))},m(e,t){q(e,n,t),J(n,r)},p(e,t){67108864&t[0]&&i!==(i=e[26]("gamesCategorySection.noRecentSearch")+"")&&ie(r,i)},d(e){e&&Q(n)}}}function ba(e){let n,r,i,a,o,s,l,c,u,d,h,p,m;return{c(){b(n=ee("casino-game-thumbnail"),"class",r=""+(S+(e[75].cellSize||"1x1"))),b(n,"part",i=""+(S+(e[75].cellSize||"1x1"))),b(n,"session",e[2]),b(n,"userid",e[3]),b(n,"lang",e[1]),b(n,"searchitem",e[16]),b(n,"favorites",e[4]),b(n,"gamethumbnail",a=e[75].thumbnail),b(n,"gamename",o=e[75].name),b(n,"gamevendor",s=e[75].vendor.name),b(n,"gameisnew",l=e[75].isNew),b(n,"gamepopularity",c=e[75].popularity),b(n,"gamecellsize",u=e[75].cellSize),b(n,"gameid",d=e[75].id),b(n,"gamefunmode",h=e[75].hasFunMode),b(n,"gamefavorite",p=e[75].isFavorite),b(n,"currency",e[7]),b(n,"livelobbyendpoint",m=e[75].details?e[75].href:""),b(n,"clientstyling",e[5]),b(n,"clientstylingurl",e[6]),b(n,"endpoint",e[0]),b(n,"livecasino",e[8])},m(e,t){q(e,n,t)},p(e,t){4096&t[0]&&r!==(r=""+(S+(e[75].cellSize||"1x1")))&&b(n,"class",r),4096&t[0]&&i!==(i=""+(S+(e[75].cellSize||"1x1")))&&b(n,"part",i),4&t[0]&&b(n,"session",e[2]),8&t[0]&&b(n,"userid",e[3]),2&t[0]&&b(n,"lang",e[1]),65536&t[0]&&b(n,"searchitem",e[16]),16&t[0]&&b(n,"favorites",e[4]),4096&t[0]&&a!==(a=e[75].thumbnail)&&b(n,"gamethumbnail",a),4096&t[0]&&o!==(o=e[75].name)&&b(n,"gamename",o),4096&t[0]&&s!==(s=e[75].vendor.name)&&b(n,"gamevendor",s),4096&t[0]&&l!==(l=e[75].isNew)&&b(n,"gameisnew",l),4096&t[0]&&c!==(c=e[75].popularity)&&b(n,"gamepopularity",c),4096&t[0]&&u!==(u=e[75].cellSize)&&b(n,"gamecellsize",u),4096&t[0]&&d!==(d=e[75].id)&&b(n,"gameid",d),4096&t[0]&&h!==(h=e[75].hasFunMode)&&b(n,"gamefunmode",h),4096&t[0]&&p!==(p=e[75].isFavorite)&&b(n,"gamefavorite",p),128&t[0]&&b(n,"currency",e[7]),4096&t[0]&&m!==(m=e[75].details?e[75].href:"")&&b(n,"livelobbyendpoint",m),32&t[0]&&b(n,"clientstyling",e[5]),64&t[0]&&b(n,"clientstylingurl",e[6]),1&t[0]&&b(n,"endpoint",e[0]),256&t[0]&&b(n,"livecasino",e[8])},d(e){e&&Q(n)}}}function Ca(e){let n;return{c(){(n=ee("p")).textContent="500 Error - Internal Server Error.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Sa(e){let n;return{c(){(n=ee("p")).textContent="404 Error - No result found.",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function xa(n){let r;function i(e){return e[10]?Xi:e[14]?Ki:Zi}let a=i(n),o=a(n);return{c(){r=ee("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[45](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&Q(r),o.d(),n[45](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends r{constructor(e){super();var t=document.createElement("style");t.textContent=':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:9.6px;text-align:center;font-size:17.6px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6.4px;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:4.8px;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:14.4px;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:11.2px;padding:3.2px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:4.8px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:1.6px;margin:0 1px;margin-right:6.4px;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:4.8px;padding:1.6px}}.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 20px 5px 20px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}',this.shadowRoot.appendChild(t),Me(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},zi,Hi,n,{session:45,userid:46,lang:47,clientstyling:48,clientstylingurl:49,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:50,searchitem:51,gamefavorite:0,showfavoredcategory:52,showgamename:8,currency:53,endpoint:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,MONEY_WHEEL_COLOR_MAP:58,ROULETTE_COLOR_MAP:59},null,[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}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[45]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[46]}set userid(e){this.$$set({userid:e}),h()}get lang(){return this.$$.ctx[47]}set lang(e){this.$$set({lang:e}),h()}get clientstyling(){return this.$$.ctx[48]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[49]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),h()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),h()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),h()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),h()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),h()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),h()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),h()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$$set({gamefunmode:e}),h()}get searchitem(){return this.$$.ctx[51]}set searchitem(e){this.$$set({searchitem:e}),h()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),h()}get showfavoredcategory(){return this.$$.ctx[52]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),h()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$$set({showgamename:e}),h()}get currency(){return this.$$.ctx[53]}set currency(e){this.$$set({currency:e}),h()}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$$set({endpoint:e}),h()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),h()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),h()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),h()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[58]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[59]}});const S="game-tile-";function Fa(e,t,s){let A;Le(e,Zr,e=>s(26,A=e));let n,i,a,r,D,o,l,c,u,{endpoint:d=""}=t,{datasource:h=""}=t,{lang:p=""}=t,{session:R=""}=t,{userid:H=""}=t,{favorites:m=""}=t,{clientstyling:g=""}=t,{clientstylingurl:f=""}=t,{currency:N=""}=t,{categoryid:y=""}=t,{categoryindex:O=0}=t,{categorygames:U=0}=t,{livecasino:Y="false"}=t,{once:z=!0}=t,{top:j=0}=t,{bottom:W=0}=t,{left:V=0}=t,{right:Z=0}=t,v=!1,w=!0,K=window.navigator.userAgent,b=[],C=!0,S=40,x=!1,F=!1,M=!1,_=!1,k=!0,$=!1,E=!1,T=!1,L=new Array(1e4),I={},P={items:[],count:0,name:""},X=(Object.keys(pi).forEach(e=>{Er(e,pi[e])}),new IntersectionObserver((e,t)=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>S&&q(y),s(23,I[t]=1,I)):s(23,I[t]=0,I)})}));const G=(e,r,i,t=0)=>{let a=new URL(`${d}/casino/groups/${h}/`+y),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",Te(K)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",p),window.postMessage({type:"CategoryVendors",categoryid:y},window.location.href),o&&o[y])if(o[y].length&&!1===w&&!1===$){let t="";s(17,_=!0),o[y].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(17,_=!1);fetch(a).then(e=>e.json()).then(e=>{s(38,u=!0),s(10,v=!1),D=e.games.total,t(e)},e=>{s(10,v=!0),console.error(e),n(e)})})},J=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":s(14,x=!1),w=!1,s(13,C=!1),E=!0,s(12,b=e.data.mostPlayedGames),s(11,a={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}});break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":s(14,x=!0),E=!1,s(15,F=!0),0<e.data.searchData.length?(s(12,b=e.data.searchData),s(18,k=!0),b&&b.forEach(e=>{e.isFavorite=B(e.id)})):(s(12,b=[]),s(18,k=!1));break;case"OutOfRecentSearches":s(14,x=!1),s(15,F=!1);break;case"SearchData":s(14,x=!0),E=!1,s(15,F=!1),s(12,b=e.data.searchData.items||[]),s(16,M=!0),e.data.receivedFavoriteResults&&(l=e.data.receivedFavoriteResults.items),b&&b.forEach(e=>{e.isFavorite=B(e.id)});break;case"CategoryData_"+y:s(14,x=!1),w=!0,s(13,C=!0),s(16,M=!1),E=!1,T=!1,e.data.receivedFavoriteResults&&(l=e.data.receivedFavoriteResults.items),G(e.data.categoryId,0,e.data.visiblegames).then(e=>{s(11,a=e),s(12,b=a.games.items),b&&b.forEach(e=>{e.isFavorite=B(e.id)})});break;case"CategoryChange":S=20;break;case"CategoryUpdate":s(14,x=!1),w=!1,s(16,M=!1),E=!1,s(13,C=!1),T=!0,s(29,y=e.data.itemId),G(0,0,S).then(e=>{s(11,a=e),a.games.items.forEach(e=>{e.isFavorite=B(e.id)}),s(12,b=a.games.items),s(13,C=!1)});break;case"FavoriteUpdate":s(14,x=!1),E=!1,w=!0,s(12,b=a.games.items),b.forEach(e=>{e.isFavorite=B(e.id)}),s(13,C=!0);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(l=e.data.receivedFavoriteResults.items,e.data.triggerFactor&&!$?window.postMessage({type:"FavoriteUpdate"},window.location.href):w||E||window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href));break;case"ShowFavoriteSection":var t;e.data&&((t=e.data.receivedFavoriteResults.items).length&&t.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(25,P.items=Kr(t,P),P),s(25,P.name="Favorites",P),s(21,$=!0));break;case"UserSessionID":if(n=e.data.session,i=e.data.userID,"true"==m&&i&&i.length&&n&&0<n.length){var r=`${d}/player/${i}/favorites/`;let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{l=e?e.items:[],b.forEach(e=>{e.isFavorite=B(e.id)});e=b;s(12,b=void 0),s(12,b=e),t(l)}).catch(e=>{console.error(e),n(e)})});return}else return void 0}},q=e=>{(S+=1)<=D&&G(0,0,S).then(e=>{s(11,a=e),s(12,b=a.games.items),b.forEach(e=>{e.isFavorite=B(e.id)})})},B=t=>!!l&&-1!==l.findIndex(e=>e.id==t),Q=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return Ie(()=>(window.addEventListener("message",J,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",J)})),e.$$set=e=>{"endpoint"in e&&s(0,d=e.endpoint),"datasource"in e&&s(30,h=e.datasource),"lang"in e&&s(1,p=e.lang),"session"in e&&s(2,R=e.session),"userid"in e&&s(3,H=e.userid),"favorites"in e&&s(4,m=e.favorites),"clientstyling"in e&&s(5,g=e.clientstyling),"clientstylingurl"in e&&s(6,f=e.clientstylingurl),"currency"in e&&s(7,N=e.currency),"categoryid"in e&&s(29,y=e.categoryid),"categoryindex"in e&&s(31,O=e.categoryindex),"categorygames"in e&&s(32,U=e.categorygames),"livecasino"in e&&s(8,Y=e.livecasino),"once"in e&&s(33,z=e.once),"top"in e&&s(34,j=e.top),"bottom"in e&&s(35,W=e.bottom),"left"in e&&s(36,V=e.left),"right"in e&&s(37,Z=e.right)},e.$$.update=()=>{if(512&e.$$.dirty[0]|128&e.$$.dirty[1]&&u&&L&&T&&L.forEach((e,t)=>{e&&(e.elems_index=t,X.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&g){let e=document.createElement("style");e.innerHTML=g,setTimeout(()=>{c.appendChild(e)})}if(64&e.$$.dirty[0]&&f){let t=document.createElement("style");fetch(new URL(f)).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&setTimeout(()=>{c.appendChild(t)},1)})}},[d,p,R,H,m,g,f,N,Y,L,v,a,b,C,x,F,M,_,k,r,o,$,c,I,"",P,A,K,Q,y,h,O,U,z,j,W,V,Z,u,function(e){$e[e?"unshift":"push"](()=>{o=e,s(20,o)})},e=>Q(a.id,a),function(e,t){$e[e?"unshift":"push"](()=>{L[t]=e,s(9,L)})},function(e){$e[e?"unshift":"push"](()=>{r=e,s(19,r)})},function(e){$e[e?"unshift":"push"](()=>{o=e,s(20,o)})},function(e){$e[e?"unshift":"push"](()=>{r=e,s(19,r)})},function(e){$e[e?"unshift":"push"](()=>{c=e,s(22,c)})}]}function Ma(e,t,n){e=e.slice();return e[117]=t[n],e[119]=n,e}function _a(n){let r,i,a,o,s="PC"!==Te(n[38])&&"false"===n[9]&&n[34],l=s&&$a();function c(e){return"false"===e[9]?Ta:Ea}let u=c(n),d=u(n);function h(e){return e[15]?Ka:e[22]?Za:e[25]?Va:e[20]?Wa:e[26]?ja:e[21]?void 0:za}let p=h(n),m=p&&p(n),g=n[17]&&"true"===n[12]&&Qa(n);return{c(){r=ee("section"),l&&l.c(),i=te(),d.c(),a=te(),m&&m.c(),o=te(),g&&g.c(),re(r,"class","CategoriesLobby"),re(r,"part","CategoriesLobby"),k(r,"max-width",n[11]+"px")},m(e,t){q(e,r,t),l&&l.m(r,null),J(r,i),d.m(r,null),J(r,a),m&&m.m(r,null),J(r,o),g&&g.m(r,null),n[69](r)},p(e,t){(s=512&t[0]|8&t[1]?"PC"!==Te(e[38])&&"false"===e[9]&&e[34]:s)?l||((l=$a()).c(),l.m(r,i)):l&&(l.d(1),l=null),u===(u=c(e))&&d?d.p(e,t):(d.d(1),(d=u(e))&&(d.c(),d.m(r,a))),p===(p=h(e))&&m?m.p(e,t):(m&&m.d(1),(m=p&&p(e))&&(m.c(),m.m(r,o))),e[17]&&"true"===e[12]?g?g.p(e,t):((g=Qa(e)).c(),g.m(r,null)):g&&(g.d(1),g=null),2048&t[0]&&k(r,"max-width",e[11]+"px")},d(e){e&&Q(r),l&&l.d(),d.d(),m&&m.d(),g&&g.d(),n[69](null)}}}function ka(e){let n;return{c(){(n=ee("p")).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&&Q(n)}}}function $a(){let n;return{c(){re(n=ee("div"),"class","SearchBarPlaceholder"),re(n,"part","SearchBarPlaceholder")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Ea(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w="PC"===Te(n[38])&&n[14].length||"PC"!==Te(n[38]),b=!n[34]&&La(),C=w&&Ia(n),S=!n[20]&&!n[25]&&!n[34]&&!n[26]&&!n[21]&&!n[24]&&!n[22]&&!n[23]&&Pa(n);return{c(){r=ee("div"),i=ee("div"),(a=ee("label")).textContent="Search casino games",o=te(),s=ee("div"),b&&b.c(),l=te(),c=ee("input"),d=te(),C&&C.c(),m=te(),S&&S.c(),re(a,"for","search"),re(a,"class","SrOnly"),re(a,"part","SrOnly"),re(c,"id","SearchField"),re(c,"class","SearchInput"),re(c,"part","SearchInput"),re(c,"placeholder",u="PC"===Te(n[38])?n[37]("casinoPage.search"):n[37]("casinoPage.searchMobile")),re(c,"type","search"),re(s,"class","SearchWrapper"),re(s,"part","SearchWrapper"),re(i,"class",h="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),re(i,"part",p="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),re(r,"class",g="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Te(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==Te(n[38])&&!to?"CategoriesHeaderSearchActive":"")+(n[28]&&n[34]?"SearchStickTop":"")),re(r,"part",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Te(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==Te(n[38])&&!to?"CategoriesHeaderSearchActive":"")+(n[28]&&n[34]?"SearchStickTop":"")),k(r,"top",n[28]&&n[34]?no+"px":"")},m(e,t){q(e,r,t),J(r,i),J(i,a),J(i,o),J(i,s),b&&b.m(s,null),J(s,l),J(s,c),n[62](c),B(c,n[14]),J(s,d),C&&C.m(s,null),J(r,m),S&&S.m(r,null),n[67](r),y||(v=[ne(c,"focus",n[40]),ne(c,"blur",n[41]),ne(c,"input",n[63]),ne(c,"focus",n[42])],y=!0)},p(e,t){e[34]?b&&(b.d(1),b=null):b||((b=La()).c(),b.m(s,l)),64&t[1]&&u!==(u="PC"===Te(e[38])?e[37]("casinoPage.search"):e[37]("casinoPage.searchMobile"))&&re(c,"placeholder",u),16384&t[0]&&c.value!==e[14]&&B(c,e[14]),(w=16384&t[0]?"PC"===Te(e[38])&&e[14].length||"PC"!==Te(e[38]):w)?C?C.p(e,t):((C=Ia(e)).c(),C.m(s,null)):C&&(C.d(1),C=null),110100480&t[0]&&h!==(h="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&re(i,"class",h),110100480&t[0]&&p!==(p="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&re(i,"part",p),e[20]||e[25]||e[34]||e[26]||e[21]||e[24]||e[22]||e[23]?S&&(S.d(1),S=null):S?S.p(e,t):((S=Pa(e)).c(),S.m(r,null)),272629760&t[0]|8&t[1]&&g!==(g="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Te(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==Te(e[38])&&!to?"CategoriesHeaderSearchActive":"")+(e[28]&&e[34]?"SearchStickTop":""))&&re(r,"class",g),272629760&t[0]|8&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Te(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==Te(e[38])&&!to?"CategoriesHeaderSearchActive":"")+(e[28]&&e[34]?"SearchStickTop":""))&&re(r,"part",f),268435456&t[0]|8&t[1]&&k(r,"top",e[28]&&e[34]?no+"px":"")},d(e){e&&Q(r),b&&b.d(),n[62](null),C&&C.d(),S&&S.d(),n[67](null),y=!1,K(v)}}}function Ta(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w="PC"===Te(n[38])&&n[14].length||"PC"!==Te(n[38]),b=!n[34]&&Ra(),C=w&&Ha(n),S=!n[20]&&!n[25]&&!n[34]&&!n[26]&&!n[21]&&!n[22]&&!n[24]&&!n[23]&&Na(n);return{c(){r=ee("div"),i=ee("div"),(a=ee("label")).textContent="Search casino games",o=te(),s=ee("div"),b&&b.c(),l=te(),c=ee("input"),d=te(),C&&C.c(),m=te(),S&&S.c(),re(a,"for","search"),re(a,"class","SrOnly"),re(a,"part","SrOnly"),re(c,"id","SearchField"),re(c,"class","SearchInput"),re(c,"part","SearchInput"),re(c,"placeholder",u="PC"===Te(n[38])?n[37]("casinoPage.search"):n[37]("casinoPage.searchMobile")),re(c,"type","search"),re(s,"class","SearchWrapper"),re(s,"part","SearchWrapper"),re(i,"class",h="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),re(i,"part",p="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),re(r,"class",g="CategoriesHeaderSection "+("PC"!==Te(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==Te(n[38])&&!to?"CategoriesHeaderSearchActive":"")+" "+(n[28]&&n[34]?"SearchStickTop":"")),k(r,"top",n[28]&&n[34]?no+"px":""),re(r,"part",f="CategoriesHeaderSection "+("PC"!==Te(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==Te(n[38])&&!to?"CategoriesHeaderSearchActive":"")+" "+(n[28]&&n[34]?"SearchStickTop":""))},m(e,t){q(e,r,t),J(r,i),J(i,a),J(i,o),J(i,s),b&&b.m(s,null),J(s,l),J(s,c),n[56](c),B(c,n[14]),J(s,d),C&&C.m(s,null),J(r,m),S&&S.m(r,null),n[61](r),y||(v=[ne(c,"focus",n[40]),ne(c,"blur",n[41]),ne(c,"input",n[57]),ne(c,"focus",n[42])],y=!0)},p(e,t){e[34]?b&&(b.d(1),b=null):b||((b=Ra()).c(),b.m(s,l)),64&t[1]&&u!==(u="PC"===Te(e[38])?e[37]("casinoPage.search"):e[37]("casinoPage.searchMobile"))&&re(c,"placeholder",u),16384&t[0]&&c.value!==e[14]&&B(c,e[14]),(w=16384&t[0]?"PC"===Te(e[38])&&e[14].length||"PC"!==Te(e[38]):w)?C?C.p(e,t):((C=Ha(e)).c(),C.m(s,null)):C&&(C.d(1),C=null),110100480&t[0]&&h!==(h="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&re(i,"class",h),110100480&t[0]&&p!==(p="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&re(i,"part",p),e[20]||e[25]||e[34]||e[26]||e[21]||e[22]||e[24]||e[23]?S&&(S.d(1),S=null):S?S.p(e,t):((S=Na(e)).c(),S.m(r,null)),272629760&t[0]|8&t[1]&&g!==(g="CategoriesHeaderSection "+("PC"!==Te(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==Te(e[38])&&!to?"CategoriesHeaderSearchActive":"")+" "+(e[28]&&e[34]?"SearchStickTop":""))&&re(r,"class",g),268435456&t[0]|8&t[1]&&k(r,"top",e[28]&&e[34]?no+"px":""),272629760&t[0]|8&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==Te(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==Te(e[38])&&!to?"CategoriesHeaderSearchActive":"")+" "+(e[28]&&e[34]?"SearchStickTop":""))&&re(r,"part",f)},d(e){e&&Q(r),b&&b.d(),n[56](null),C&&C.d(),S&&S.d(),n[61](null),y=!1,K(v)}}}function La(){let n;return{c(){(n=ee("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',re(n,"class","SearchIcon"),re(n,"part","SearchWrapper")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Ia(n){let r,i,a,o;return{c(){r=ee("span"),(i=ee("div")).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"===Te(n[38])?"ClearSearchButton":"ClearSearchButtonMobile"),re(r,"part","PC"===Te(n[38])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),J(r,i),a||(o=ne(r,"click",n[64]),a=!0)},p:Z,d(e){e&&Q(r),a=!1,o()}}}function Pa(e){let n,r,i=e[35]&&Ga(e),a=(!e[22]||!e[21])&&Ba(e);return{c(){n=ee("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),J(n,r),a&&a.m(n,null)},p(e,t){e[35]?i?i.p(e,t):((i=Ga(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[22]&&e[21]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Ba(e)).c(),a.m(n,null))},d(e){e&&Q(n),i&&i.d(),a&&a.d()}}}function Ga(n){let r,i,a,o,s,l;return{c(){r=ee("div"),(i=ee("div")).innerHTML='Clear\n <span class="ClearIcon" part="ClearIcon"><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></span>',re(i,"class","ClearButton"),re(i,"part","ClearButton"),re(r,"class",a="ClearFilterButtonWrapper "+(n[35]?"FiltersActive":"")),re(r,"part",o="ClearFilterButtonWrapper "+(n[35]?"FiltersActive":""))},m(e,t){q(e,r,t),J(r,i),s||(l=ne(r,"click",n[65]),s=!0)},p(e,t){16&t[1]&&a!==(a="ClearFilterButtonWrapper "+(e[35]?"FiltersActive":""))&&re(r,"class",a),16&t[1]&&o!==(o="ClearFilterButtonWrapper "+(e[35]?"FiltersActive":""))&&re(r,"part",o)},d(e){e&&Q(r),s=!1,l()}}}function Ba(e){let n,r=!e[26]&&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[26]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Aa(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&Q(n)}}}function Aa(n){let r,i,a,o,s,l,c,u,d,h,p,m,g=0<n[35]&&Da(n);return{c(){r=ee("div"),(i=ee("div")).textContent="Filters",a=te(),o=ee("div"),s=v("svg"),l=v("defs"),c=v("style"),u=t(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=v("path"),h=te(),g&&g.c(),re(i,"class","FilterButton"),re(i,"part","FilterButton"),re(d,"class","a"),re(d,"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(d,"transform","translate(-5 -6.2)"),re(s,"xmlns","http://www.w3.org/2000/svg"),re(s,"width","20"),re(s,"height","20"),re(s,"viewBox","0 0 26 26"),re(o,"class","FilterIconContainer"),re(o,"part","FilterIconContainer"),re(r,"class","FilterButtonWrapper"),re(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),J(r,i),J(r,a),J(r,o),J(o,s),J(s,l),J(l,c),J(c,u),J(s,d),J(o,h),g&&g.m(o,null),p||(m=ne(r,"click",n[66]),p=!0)},p(e,t){0<e[35]?g?g.p(e,t):((g=Da(e)).c(),g.m(o,null)):g&&(g.d(1),g=null)},d(e){e&&Q(r),g&&g.d(),p=!1,m()}}}function Da(e){let n,r,i;return{c(){n=ee("div"),r=ee("span"),i=t(e[35]),re(r,"class","NumberOfFilters"),re(r,"part","NumberOfFilters"),re(n,"class","NumberOfFiltersContainer"),re(n,"part","NumberOfFiltersContainer")},m(e,t){q(e,n,t),J(n,r),J(r,i)},p(e,t){16&t[1]&&ie(i,e[35])},d(e){e&&Q(n)}}}function Ra(){let n;return{c(){(n=ee("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',re(n,"class","SearchIcon"),re(n,"part","SearchIcon")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Ha(n){let r,i,a,o;return{c(){r=ee("span"),(i=ee("div")).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"===Te(n[38])?"ClearSearchButton":"ClearSearchButtonMobile"),re(r,"part","PC"===Te(n[38])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),J(r,i),a||(o=ne(r,"click",n[58]),a=!0)},p:Z,d(e){e&&Q(r),a=!1,o()}}}function Na(e){let n,r,i=e[35]&&Oa(e),a=(!e[22]||!e[21])&&Ua(e);return{c(){n=ee("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),J(n,r),a&&a.m(n,null)},p(e,t){e[35]?i?i.p(e,t):((i=Oa(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[22]&&e[21]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Ua(e)).c(),a.m(n,null))},d(e){e&&Q(n),i&&i.d(),a&&a.d()}}}function Oa(n){let r,i,a;return{c(){(r=ee("div")).innerHTML='<div class="ClearButton" part="ClearButton">Clear\n <span class="ClearIcon" part="ClearIcon"><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></span></div>',re(r,"class","ClearFilterButtonWrapper"),re(r,"part","ClearFilterButtonWrapper")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[59]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Ua(e){let n,r=!e[26]&&Ya(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[26]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Ya(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&Q(n)}}}function Ya(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y;return{c(){r=ee("div"),(i=ee("div")).textContent="Filters",a=te(),o=ee("div"),s=v("svg"),l=v("defs"),c=v("style"),u=t(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=v("path"),h=te(),p=ee("div"),m=ee("span"),g=t(n[35]),re(i,"class","FilterButton"),re(i,"part","FilterButton"),re(d,"class","a"),re(d,"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(d,"transform","translate(-5 -6.2)"),re(s,"xmlns","http://www.w3.org/2000/svg"),re(s,"width","20"),re(s,"height","20"),re(s,"viewBox","0 0 26 26"),re(m,"class","NumberOfFilters"),re(m,"part","NumberOfFilters"),re(p,"class","NumberOfFiltersContainer"),re(p,"part","NumberOfFiltersContainer"),re(o,"class","FilterIconContainer"),re(o,"part","FilterIconContainer"),re(r,"class","FilterButtonWrapper"),re(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),J(r,i),J(r,a),J(r,o),J(o,s),J(s,l),J(l,c),J(c,u),J(s,d),J(o,h),J(o,p),J(p,m),J(m,g),f||(y=ne(r,"click",n[60]),f=!0)},p(e,t){16&t[1]&&ie(g,e[35])},d(e){e&&Q(r),f=!1,y()}}}function za(e){let n;return{c(){b(n=ee("casino-games-category-section"),"userid",e[5]),b(n,"endpoint",e[0]),b(n,"datasource",e[1]),b(n,"favorites",e[10]),b(n,"lang",e[3]),b(n,"currency",e[2]),b(n,"session",e[4]),b(n,"categoryid",e[31]),b(n,"categorygames","9"),b(n,"class","CategoryContainer"),b(n,"clientstyling",e[6]),b(n,"clientstylingurl",e[7]),b(n,"livecasino",e[13])},m(e,t){q(e,n,t)},p(e,t){32&t[0]&&b(n,"userid",e[5]),1&t[0]&&b(n,"endpoint",e[0]),2&t[0]&&b(n,"datasource",e[1]),1024&t[0]&&b(n,"favorites",e[10]),8&t[0]&&b(n,"lang",e[3]),4&t[0]&&b(n,"currency",e[2]),16&t[0]&&b(n,"session",e[4]),1&t[1]&&b(n,"categoryid",e[31]),64&t[0]&&b(n,"clientstyling",e[6]),128&t[0]&&b(n,"clientstylingurl",e[7]),8192&t[0]&&b(n,"livecasino",e[13])},d(e){e&&Q(n)}}}function ja(e){let n;function r(e){return e[27]?Ja:Xa}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.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function Wa(n){let r,i,a,o;return{c(){b(r=ee("casino-games-category-section"),"session",n[4]),b(r,"userid",n[5]),b(r,"endpoint",n[0]),b(r,"datasource",n[1]),b(r,"lang",n[3]),b(r,"currency",n[2]),b(r,"favorites",n[10]),b(r,"categoryid","FAVORITES"),b(r,"class","CategoryContainer"),b(r,"clientstyling",n[6]),b(r,"clientstylingurl",n[7]),b(r,"livecasino",n[13])},m(e,t){q(e,r,t),a||(o=$(i=n[39].call(null,r,(n[0],n[18],n[19],n[18]))),a=!0)},p(e,t){16&t[0]&&b(r,"session",e[4]),32&t[0]&&b(r,"userid",e[5]),1&t[0]&&b(r,"endpoint",e[0]),2&t[0]&&b(r,"datasource",e[1]),8&t[0]&&b(r,"lang",e[3]),4&t[0]&&b(r,"currency",e[2]),1024&t[0]&&b(r,"favorites",e[10]),64&t[0]&&b(r,"clientstyling",e[6]),128&t[0]&&b(r,"clientstylingurl",e[7]),8192&t[0]&&b(r,"livecasino",e[13]),i&&F(i.update)&&786433&t[0]&&i.update.call(null,(e[0],e[18],e[19],e[18]))},d(e){e&&Q(r),a=!1,o()}}}function Va(t){let i,a=t[30],o=[];for(let e=0;e<a.length;e+=1)o[e]=qa(Ma(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]&&o[e].m(t,n);q(t,i,n)},p(t,n){if(1073751551&n[0]){let e;for(a=t[30],e=0;e<a.length;e+=1){var r=Ma(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){G(o,e),e&&Q(i)}}}function Za(n){let r,i,a,o;return{c(){b(r=ee("casino-games-category-section"),"endpoint",n[0]),b(r,"datasource",n[1]),b(r,"lang",n[3]),b(r,"currency",n[2]),b(r,"session",n[4]),b(r,"userid",n[5]),b(r,"categoryid","Search"),b(r,"favorites",n[10]),b(r,"categoryindex","0"),b(r,"class","CategoryContainer"),b(r,"clientstyling",n[6]),b(r,"clientstylingurl",n[7]),b(r,"livecasino",n[13])},m(e,t){q(e,r,t),a||(o=$(i=n[47].call(null,r,n[29])),a=!0)},p(e,t){1&t[0]&&b(r,"endpoint",e[0]),2&t[0]&&b(r,"datasource",e[1]),8&t[0]&&b(r,"lang",e[3]),4&t[0]&&b(r,"currency",e[2]),16&t[0]&&b(r,"session",e[4]),32&t[0]&&b(r,"userid",e[5]),1024&t[0]&&b(r,"favorites",e[10]),64&t[0]&&b(r,"clientstyling",e[6]),128&t[0]&&b(r,"clientstylingurl",e[7]),8192&t[0]&&b(r,"livecasino",e[13]),i&&F(i.update)&&536870912&t[0]&&i.update.call(null,e[29])},d(e){e&&Q(r),a=!1,o()}}}function Ka(e){let n,r,i=e[37]("casinoPage.loading")+"";return{c(){n=ee("p"),r=t(i),re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t),J(n,r)},p(e,t){64&t[1]&&i!==(i=e[37]("casinoPage.loading")+"")&&ie(r,i)},d(e){e&&Q(n)}}}function Xa(e){let n;return{c(){b(n=ee("casino-games-category-section"),"session",e[4]),b(n,"userid",e[5]),b(n,"endpoint",e[0]),b(n,"datasource",e[1]),b(n,"lang",e[3]),b(n,"currency",e[2]),b(n,"favorites",e[10]),b(n,"categoryid","MOSTPLAYED"),b(n,"categoryindex","1"),b(n,"categorygames","9"),b(n,"class","CategoryContainer"),b(n,"clientstyling",e[6]),b(n,"clientstylingurl",e[7]),b(n,"livecasino",e[13])},m(e,t){q(e,n,t)},p(e,t){16&t[0]&&b(n,"session",e[4]),32&t[0]&&b(n,"userid",e[5]),1&t[0]&&b(n,"endpoint",e[0]),2&t[0]&&b(n,"datasource",e[1]),8&t[0]&&b(n,"lang",e[3]),4&t[0]&&b(n,"currency",e[2]),1024&t[0]&&b(n,"favorites",e[10]),64&t[0]&&b(n,"clientstyling",e[6]),128&t[0]&&b(n,"clientstylingurl",e[7]),8192&t[0]&&b(n,"livecasino",e[13])},d(e){e&&Q(n)}}}function Ja(e){let n;return{c(){(n=ee("p")).textContent="You have no games played!",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function qa(n){let r,i,a,o,s;return{c(){b(r=ee("casino-games-category-section"),"session",n[4]),b(r,"userid",n[5]),b(r,"endpoint",n[0]),b(r,"datasource",n[1]),b(r,"lang",n[3]),b(r,"currency",n[2]),b(r,"categoryid",i=n[117]),b(r,"categoryindex",n[119]),b(r,"categorygames","9"),b(r,"favorites",n[10]),b(r,"class","CategoryContainer"),k(r,"background-color",n[119]%2!=0?n[8]:"transparent"),b(r,"clientstyling",n[6]),b(r,"clientstylingurl",n[7]),b(r,"livecasino",n[13])},m(e,t){q(e,r,t),o||(s=$(a=n[46].call(null,r,n[117])),o=!0)},p(e,t){n=e,16&t[0]&&b(r,"session",n[4]),32&t[0]&&b(r,"userid",n[5]),1&t[0]&&b(r,"endpoint",n[0]),2&t[0]&&b(r,"datasource",n[1]),8&t[0]&&b(r,"lang",n[3]),4&t[0]&&b(r,"currency",n[2]),1073741824&t[0]&&i!==(i=n[117])&&b(r,"categoryid",i),1024&t[0]&&b(r,"favorites",n[10]),256&t[0]&&k(r,"background-color",n[119]%2!=0?n[8]:"transparent"),64&t[0]&&b(r,"clientstyling",n[6]),128&t[0]&&b(r,"clientstylingurl",n[7]),8192&t[0]&&b(r,"livecasino",n[13]),a&&F(a.update)&&1073741824&t[0]&&a.update.call(null,n[117])},d(e){e&&Q(r),o=!1,s()}}}function Qa(n){let r,i,a,o,s,l,c,u,d,h,p,m,g=n[37]("casinoPage.break")+"",f=n[37]("casinoPage.breakButton")+"";return{c(){r=ee("div"),i=ee("div"),a=v("svg"),o=v("path"),s=te(),l=ee("p"),c=t(g),u=te(),d=ee("button"),h=t(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"),re(r,"class","PanicSection "+("PC"!==Te(n[38])?"PanicSectionMobile":"")),re(r,"part","PanicSection "+("PC"!==Te(n[38])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),J(r,i),J(i,a),J(a,o),J(i,s),J(i,l),J(l,c),J(r,u),J(r,d),J(d,h),p||(m=ne(d,"click",n[68]),p=!0)},p(e,t){64&t[1]&&g!==(g=e[37]("casinoPage.break")+"")&&ie(c,g),64&t[1]&&f!==(f=e[37]("casinoPage.breakButton")+"")&&ie(h,f)},d(e){e&&Q(r),p=!1,m()}}}function eo(e){let n;function r(e){return e[16]?ka:_a}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.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&Q(n)}}}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends r{constructor(e){super();var t=document.createElement("style");t.textContent=':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:12.8px;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)}',this.shadowRoot.appendChild(t),Me(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Fa,xa,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,once:33,top:34,bottom:35,left:36,right:37},null,[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categoryindex","categorygames","livecasino","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$$set({datasource:e}),h()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),h()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),h()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),h()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),h()}get categoryid(){return this.$$.ctx[29]}set categoryid(e){this.$$set({categoryid:e}),h()}get categoryindex(){return this.$$.ctx[31]}set categoryindex(e){this.$$set({categoryindex:e}),h()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$$set({categorygames:e}),h()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),h()}get once(){return this.$$.ctx[33]}set once(e){this.$$set({once:e}),h()}get top(){return this.$$.ctx[34]}set top(e){this.$$set({top:e}),h()}get bottom(){return this.$$.ctx[35]}set bottom(e){this.$$set({bottom:e}),h()}get left(){return this.$$.ctx[36]}set left(e){this.$$set({left:e}),h()}get right(){return this.$$.ctx[37]}set right(e){this.$$set({right:e}),h()}});let to=!1;const no=0;function ro(i,e,c){let n;Le(i,Zr,e=>c(37,n=e));let u,d,o,a,s,l,h,D,r,p,m,R,{endpoint:g=""}=e,{datasource:f=""}=e,{currency:H=""}=e,{lang:y=""}=e,{session:v=""}=e,{userid:w=""}=e,{clientstyling:b=""}=e,{clientstylingurl:C=""}=e,{categorybackground:N=""}=e,{visiblegames:O="6"}=e,{alternativesearch:U="false"}=e,{favorites:S=""}=e,{mostplayed:Y=""}=e,{containermaxwidth:z="1300"}=e,{lobbyid:x="casinodefault"}=e,{haspanicbutton:j="false"}=e,{mostplayedrounds:W=""}=e,{activecategory:F=""}=e,{livecasino:V="false"}=e,M=!1,_=!1,Z=!1,k="",$=!1,K=!1,X=!0,J=!1,q=!1,Q=!1,ee=!1,E=!0,t=!1,te=!1,ne=!1,T=!0,re=[],L="",I=window.navigator.userAgent,ie=!1,ae=[],P=[],oe=!1,G=[],se=0,B="",le=!1;var ce,ue;({withLocale:ce,translations:ue}={withLocale:"en",translations:{}}),Ee.subscribe(e=>{null==e&&(kr.set(ue),Ee.set(ce))}),Object.keys(hi).forEach(e=>{Er(e,hi[e])});const de=e=>{switch(c(22,J=!1),c(14,L=""),e.data.itemId){case"LOBBY":c(25,E=!0),c(20,$=!1),c(31,a=""),c(26,t=!1),ie=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ie},window.location.href)},1);break;case"FAVORITES":c(25,E=!1),c(20,$=!0),c(26,t=!1),c(31,a="");break;case"MOSTPLAYED":"true"==Y&&(c(15,M=!0),pe({limit:100,device:Te(I),rounds:10}).then(e=>{if(c(15,M=!1),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(g+"/casino/games/"+e.gameId);e.searchParams.append("datasource",f),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{ae=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:ae},window.location.href)})}else c(27,te=!0)}),c(31,a=""),c(25,E=!1),c(20,$=!1),c(26,t=!0));break;default:c(25,E=!1),c(20,$=!1),c(26,t=!1),c(31,a=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:a,index:e.data.index},window.location.href)},100)}},he=n=>{if(n.data)switch(n.data.type){case"CategoryChange":de(n);break;case"UserSessionID":c(19,d=n.data.session),c(18,u=n.data.userID),u&&u.length&&d&&0<d.length&&me(g,d,u);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":o=`${g}/player/${u}/favorites`,s=d,u,l=n.data.id,n.data.triggerFactor,P.includes(l)&&(P=P.filter(e=>e!=l)),fetch(o+"/"+l,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+l},window.location.href),ge(o,s)});break;case"SetFavoredGame":{var r=`${g}/player/${u}/favorites`;var i=d;u;var a=n.data.id;n.data.triggerFactor;P.includes(a)||P.push(a);let e={items:P},t={method:"POST",headers:{"X-SessionID":i,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),ge(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":u&&u.length&&d&&0<d.length&&me(g,d,u);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(G=(G=ve(`searchedGamesWds_${x}`))?G.split(","):[]).indexOf(t)){let e;G.push(t),e=G.join(","),document.cookie=`searchedGamesWds_${x}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),A();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),A();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:B},window.location.href),A();break;case"CategoryVendors":B=n.data.categoryid,A();break;case"GameHovered":q=!0;break;case"GameBlur":q=!1}var e,o,s,l},pe=e=>{var t=new URL(`${g}/player/${u}/games/most-played`),n=(e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),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),R=V?t:t.href,new Promise((t,n)=>{fetch(R).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)})})};let me=(e,t,n)=>{"true"==S&&v&&n&&(fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),fe(r.items)),r)).catch(e=>{console.error(e)}),$)&&ye()},ge=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,$&&ye(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const fe=(e=[])=>(P=[],0<e.length&&e.forEach(e=>{P.push(e.id)}),P);const ye=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},ve=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},we=()=>{if(g&&f&&y&&(c(24,ee=!0),L.length<2)){let e=ve("searchedGamesWds_"+x),t=[],n=(e&&(t=e.split(",")),1!=E||X||(c(23,Q=E),c(25,E=!1)),[]),r=0,i=t.length;if(0<i){for(r=0;r<i;r++){var a=new URL(g+"/casino/games/"+t[r]);a.searchParams.append("language",y),a.searchParams.append("datasource",f),a.searchParams.append("platform",Te(I)),n.push((e=>new Promise((t,n)=>{c(15,M=!0),fetch(e).then(e=>e.json()).then(e=>{c(15,M=!1),t(e[0])}).catch(e=>{c(16,_=!0),c(15,M=!1),console.error(e),n(e)})}))(a))}Promise.all(n).then(e=>{c(29,o=e),Se(0,o)})}else Se(0,{})}},be=()=>{c(24,ee=!1),L.length<2&&!q&&(c(22,J=!1),c(29,o=[]),c(21,K=!1),c(25,E=Q),c(23,Q=!1),!1===E&&window.postMessage({type:"CategoryUpdate",itemId:a},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},A=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&B&&(e[B]?c(35,se=e[B].length):c(35,se=0))},Ce=()=>{c(55,T=!0),c(14,L=""),c(29,o=[]),c(21,K=!1),be()},Se=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},xe=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},Fe=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Me=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},_e=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},ke=()=>{l&&(h=l.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>h||130<h?c(28,ne=!0):c(28,ne=!1)};return Ie(()=>(window.addEventListener("scroll",ke,!1),window.addEventListener("message",he,!1),()=>{window.removeEventListener("scroll",ke),window.removeEventListener("message",he)})),i.$$set=e=>{"endpoint"in e&&c(0,g=e.endpoint),"datasource"in e&&c(1,f=e.datasource),"currency"in e&&c(2,H=e.currency),"lang"in e&&c(3,y=e.lang),"session"in e&&c(4,v=e.session),"userid"in e&&c(5,w=e.userid),"clientstyling"in e&&c(6,b=e.clientstyling),"clientstylingurl"in e&&c(7,C=e.clientstylingurl),"categorybackground"in e&&c(8,N=e.categorybackground),"visiblegames"in e&&c(49,O=e.visiblegames),"alternativesearch"in e&&c(9,U=e.alternativesearch),"favorites"in e&&c(10,S=e.favorites),"mostplayed"in e&&c(50,Y=e.mostplayed),"containermaxwidth"in e&&c(11,z=e.containermaxwidth),"lobbyid"in e&&c(51,x=e.lobbyid),"haspanicbutton"in e&&c(12,j=e.haspanicbutton),"mostplayedrounds"in e&&c(52,W=e.mostplayedrounds),"activecategory"in e&&c(53,F=e.activecategory),"livecasino"in e&&c(13,V=e.livecasino)},i.$$.update=()=>{var e,t,r,n;if(16384&i.$$.dirty[0]&&L&&(2<=L.length?c(55,T=!0):c(55,T=!1)),16395&i.$$.dirty[0]|25165824&i.$$.dirty[1]&&(2<=L.length?(c(22,J=!0),(n=new URL(g+"/casino/games")).searchParams.append("datasource",f),n.searchParams.append("expand","vendor"),n.searchParams.append("platform",Te(I)),n.searchParams.append("language",y),n.searchParams.append("pagination","offset=0,limit=30"),n.searchParams.append("filter","name="+L),e=n,new Promise((t,n)=>{c(15,M=!0),fetch(e).then(e=>e.json()).then(e=>{c(15,M=!1),t(e)}).catch(e=>{c(16,_=!0),c(15,M=!1),console.error(e),n(e)})}).then(e=>{c(29,o=e),Me(0,e)})):(T||we(),X&&c(54,X=!1))),4194304&i.$$.dirty[1]&&F&&(c(31,a=F),de({data:{itemId:a}})),49&i.$$.dirty[0]&&v&&w&&g&&(c(17,Z=!0),c(19,d=v),c(18,u=w)),523&i.$$.dirty[0]&&g&&f&&y&&U&&(g||(k="Endpoint is missing! Please provide a valid endpointURL.",c(16,_=!0),c(15,M=!1),console.error(k)),f||(k="Datasource is missing! Please provide a valid datasource.",c(16,_=!0),c(15,M=!1),console.error(k)),y&&2==y.length||(k="Language is missing! Please provide a valid language (alpha2code)",c(16,_=!0),c(15,M=!1),console.error(k)),!_)&&(c(15,M=!0),"true"==S&&me(g,d,u),n=y,Ee.set(n),(n=new URL(g+"/casino/groups/"+f)).searchParams.append("language",y),n.searchParams.append("platform",Te(I)),r=n,new Promise((t,n)=>{c(15,M=!0),fetch(r).then(e=>e.json()).then(e=>{c(15,M=!1),t(e)}).catch(e=>{c(16,_=!0),c(15,M=!1),console.error(e),n(e)})}).then(e=>{e&&(D=e.items.filter(e=>0<e.games.total),c(30,re=D.map(e=>e.id)),c(15,M=!1))}),"PC"!==Te(I)&&(p.addEventListener("focusin",e=>{c(34,oe=!0)}),p.addEventListener("focusout",e=>{c(34,oe=!1)})),A(),l=s)&&(h=l.getBoundingClientRect().top-document.body.getBoundingClientRect().top),8&i.$$.dirty[0]&&y&&(le&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:a},window.location.href)},500),le=!1),64&i.$$.dirty[0]&&b&&((t=document.createElement("style")).innerHTML=b,m.appendChild(t)),128&i.$$.dirty[0]&&C){let t=document.createElement("style");fetch(new URL(C)).then(e=>e.text()).then(e=>{t.innerHTML=e,m&&setTimeout(()=>{m.appendChild(t)},1)})}},[g,f,H,y,v,w,b,C,N,U,S,z,j,V,L,M,_,Z,u,d,$,K,J,Q,ee,E,t,te,ne,o,re,a,s,p,oe,se,m,n,I,ye,we,be,()=>{window.postMessage({type:"scroll"},window.location.href)},Ce,xe,Fe,(e,t)=>{B=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:O,receivedFavoriteResults:r},window.location.href)},Me,_e,O,Y,x,W,F,X,T,function(e){$e[e?"unshift":"push"](()=>{p=e,c(33,p)})},function(){L=this.value,c(14,L)},()=>Ce(),()=>Fe(),()=>{xe()},function(e){$e[e?"unshift":"push"](()=>{s=e,c(32,s)})},function(e){$e[e?"unshift":"push"](()=>{p=e,c(33,p)})},function(){L=this.value,c(14,L)},()=>Ce(),()=>Fe(),()=>{xe()},function(e){$e[e?"unshift":"push"](()=>{s=e,c(32,s)})},()=>_e(),function(e){$e[e?"unshift":"push"](()=>{m=e,c(36,m)})}]}function io(e,{delay:t=0,duration:n=400,easing:r=x}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function ao(n){let r,i,a,o,s,t,l,c,u;return{c(){r=ee("div"),(i=ee("div")).innerHTML="<slot></slot>",a=te(),(o=ee("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',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"),ue(()=>n[13].call(r))},m(e,t){q(e,r,t),J(r,i),J(r,a),J(r,o),n[12](r),s=D(r,n[13].bind(r)),l=!0,c||(u=ne(o,"click",n[6]),c=!0)},p(e,t){n=e},i(e){l||(ue(()=>{l&&(t=t||xe(r,io,{transitionDuration:n[1]},!0)).run(1)}),l=!0)},o(e){(t=t||xe(r,io,{transitionDuration:n[1]},!1)).run(0),l=!1},d(e){e&&Q(r),n[12](null),s(),e&&t&&t.end(),c=!1,u()}}}function oo(n){let r,i,a=n[0]&&ao(n);return{c(){r=ee("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&&be(a,1)):((a=ao(e)).c(),be(a,1),a.m(r,null)):a&&(ve(),Ce(a,1,1,()=>{a=null}),we())},i(e){i||(be(a),i=!0)},o(e){Ce(a),i=!1},d(e){e&&Q(r),a&&a.d(),n[14](null)}}}function so(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 Ie(()=>(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=()=>{if(2432&e.$$.dirty&&c&&u&&p&&Xr(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)})}if(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){$e[e?"unshift":"push"](()=>{r=e,n(2,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(4,a),n(5,o)},function(e){$e[e?"unshift":"push"](()=>{i=e,n(3,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends r{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicButton{border-radius:2px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:48px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}[type=search]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14.4px;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:flex;color:rgb(199, 210, 254)}.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:25.6px;height:25.6px;display:block;vertical-align:middle;fill:rgb(199, 210, 254)}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6.4px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:rgb(224, 231, 255)}.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:rgb(255, 255, 255)}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:rgb(255, 255, 255);color:rgb(17, 24, 39);outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:rgb(156, 163, 175)}.SearchContainer .SearchWrapper:focus-within{color:rgb(156, 163, 175)}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:rgb(156, 163, 175)}.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:rgb(208, 5, 108);z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{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:rgb(208, 5, 108);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:rgb(255, 255, 255);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:75px;right:0;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,.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:rgb(255, 255, 255)}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:rgb(255, 255, 255);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)}',this.shadowRoot.appendChild(t),Me(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},ro,eo,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:49,alternativesearch:9,favorites:10,mostplayed:50,containermaxwidth:11,lobbyid:51,haspanicbutton:12,mostplayedrounds:52,activecategory:53,livecasino:13},null,[-1,-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),h()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),h()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),h()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),h()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),h()}get visiblegames(){return this.$$.ctx[49]}set visiblegames(e){this.$$set({visiblegames:e}),h()}get alternativesearch(){return this.$$.ctx[9]}set alternativesearch(e){this.$$set({alternativesearch:e}),h()}get favorites(){return this.$$.ctx[10]}set favorites(e){this.$$set({favorites:e}),h()}get mostplayed(){return this.$$.ctx[50]}set mostplayed(e){this.$$set({mostplayed:e}),h()}get containermaxwidth(){return this.$$.ctx[11]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),h()}get lobbyid(){return this.$$.ctx[51]}set lobbyid(e){this.$$set({lobbyid:e}),h()}get haspanicbutton(){return this.$$.ctx[12]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),h()}get mostplayedrounds(){return this.$$.ctx[52]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),h()}get activecategory(){return this.$$.ctx[53]}set activecategory(e){this.$$set({activecategory:e}),h()}get livecasino(){return this.$$.ctx[13]}set livecasino(e){this.$$set({livecasino:e}),h()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends r{constructor(e){super();var t=document.createElement("style");t.textContent=':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:24px;right:24px;padding:16px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}',this.shadowRoot.appendChild(t),Me(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},so,oo,n,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11},null),e&&(e.target&&q(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),h()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),h()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),h()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),h()}});const lo={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"}}};window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var co=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())};function uo(n){let r,i=n[8]&&mo(n);return{c(){r=ee("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[70](r)},p(e,t){e[8]?i?i.p(e,t):((i=mo(e)).c(),i.m(r,null)):i&&(i.d(1),i=null)},d(e){e&&Q(r),i&&i.d(),n[70](null)}}}function ho(e){let n;return{c(){(n=ee("p")).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&&Q(n)}}}function po(e){let n;return{c(){(n=ee("p")).textContent="Loading, please wait ...",re(n,"class","SearchLoading"),re(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function mo(e){let n;function r(e){return e[18]?vo:e[4]?yo:e[9]?fo:go}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.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function go(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,C=n[7].name+"",S=n[20]("gamePage.signIn")+"",x=n[20]("gamePage.register")+"";return{c(){r=ee("div"),i=ee("h3"),a=t(C),o=te(),s=ee("img"),c=te(),u=ee("div"),d=ee("button"),h=t(S),p=te(),m=ee("button"),g=t(x),f=te(),y=ee("p"),v=t(n[2]),X(s.src,l=n[7].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),J(r,i),J(i,a),J(r,o),J(r,s),J(r,c),J(r,u),J(u,d),J(d,h),J(u,p),J(u,m),J(m,g),J(r,f),J(r,y),J(y,v),w||(b=[ne(d,"click",n[68]),ne(m,"click",n[69])],w=!0)},p(e,t){128&t[0]&&C!==(C=e[7].name+"")&&ie(a,C),128&t[0]&&!X(s.src,l=e[7].thumbnail)&&re(s,"src",l),1048576&t[0]&&S!==(S=e[20]("gamePage.signIn")+"")&&ie(h,S),1048576&t[0]&&x!==(x=e[20]("gamePage.register")+"")&&ie(g,x),4&t[0]&&ie(v,e[2])},d(e){e&&Q(r),w=!1,K(b)}}}function fo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,C,S=n[20]("gamePage.signIn")+"",x=n[20]("gamePage.register")+"";function F(e){return e[13]?bo:wo}let M=F(n),_=M(n);return{c(){r=ee("div"),i=ee("div"),a=ee("iframe"),s=te(),l=ee("div"),c=ee("div"),u=ee("button"),d=t(S),h=te(),p=ee("button"),m=t(x),g=te(),_.c(),f=te(),y=ee("p"),v=ee("span"),w=t(n[2]),re(a,"title","Games"),re(a,"class","GamesContainer"),re(a,"part","GamesContainer"),re(a,"aria-hidden","false"),X(a.src,o=n[7].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(l,"class","BottomGame"),re(l,"part","BottomGame"),re(y,"class","Time"),re(y,"part","Time"),re(i,"id","IframeGame"),re(i,"part","IframeGame"),k(i,"width",n[13]?"100%":n[16]),k(i,"height",n[13]?"100%":n[17]),k(i,"max-width",n[13]?"none":n[7].width+"px"),k(i,"max-height",n[13]?"none":n[7].height+100+"px"),re(r,"id","IframeContainer"),re(r,"part","IframeContainer"),k(r,"width",n[14]),k(r,"height",n[15]),R(r,"FullsScreenLayout",n[13])},m(e,t){q(e,r,t),J(r,i),J(i,a),n[61](a),J(i,s),J(i,l),J(l,c),J(c,u),J(u,d),J(c,h),J(c,p),J(p,m),J(l,g),_.m(l,null),J(i,f),J(i,y),J(y,v),J(v,w),n[66](i),n[67](r),b||(C=[ne(u,"click",n[62]),ne(p,"click",n[63])],b=!0)},p(e,t){128&t[0]&&!X(a.src,o=e[7].launchUrl)&&re(a,"src",o),1048576&t[0]&&S!==(S=e[20]("gamePage.signIn")+"")&&ie(d,S),1048576&t[0]&&x!==(x=e[20]("gamePage.register")+"")&&ie(m,x),M===(M=F(e))&&_?_.p(e,t):(_.d(1),(_=M(e))&&(_.c(),_.m(l,null))),4&t[0]&&ie(w,e[2]),73728&t[0]&&k(i,"width",e[13]?"100%":e[16]),139264&t[0]&&k(i,"height",e[13]?"100%":e[17]),8320&t[0]&&k(i,"max-width",e[13]?"none":e[7].width+"px"),8320&t[0]&&k(i,"max-height",e[13]?"none":e[7].height+100+"px"),16384&t[0]&&k(r,"width",e[14]),32768&t[0]&&k(r,"height",e[15]),8192&t[0]&&R(r,"FullsScreenLayout",e[13])},d(e){e&&Q(r),n[61](null),_.d(),n[66](null),n[67](null),b=!1,K(C)}}}function yo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w=n[20]("gamePage.deposit")+"",b="true"===n[1]&&Co(n);function C(e){return e[13]?xo:So}let S=C(n),x=S(n);return{c(){r=ee("div"),i=ee("div"),a=ee("iframe"),s=te(),l=ee("div"),c=ee("button"),u=t(w),d=te(),b&&b.c(),h=te(),x.c(),p=te(),m=ee("p"),g=ee("span"),f=t(n[2]),re(a,"title","Games"),re(a,"id","IframeGame"),re(a,"class","GamesContainer"),re(a,"part","GamesContainer"),re(a,"aria-hidden","false"),X(a.src,o=n[7].launchUrl)||re(a,"src",o),re(c,"class","DepositButton"),re(c,"part","DepositButton"),re(l,"class","BottomGame"),re(l,"part","BottomGame"),re(m,"class","Time"),re(m,"part","Time"),re(i,"id","IframeGame"),re(i,"part","IframeGame"),k(i,"width",n[13]?"100%":n[16]),k(i,"height",n[13]?"100%":n[17]),k(i,"max-width",n[13]?"none":n[7].width+"px"),k(i,"max-height",n[13]?"none":n[7].height+100+"px"),re(r,"id","IframeContainer"),re(r,"part","IframeContainer"),k(r,"width",n[14]),k(r,"height",n[15]),R(r,"FullsScreenLayout",n[13])},m(e,t){q(e,r,t),J(r,i),J(i,a),n[54](a),J(i,s),J(i,l),J(l,c),J(c,u),J(l,d),b&&b.m(l,null),J(l,h),x.m(l,null),J(i,p),J(i,m),J(m,g),J(g,f),n[59](i),n[60](r),y||(v=ne(c,"click",n[55]),y=!0)},p(e,t){128&t[0]&&!X(a.src,o=e[7].launchUrl)&&re(a,"src",o),1048576&t[0]&&w!==(w=e[20]("gamePage.deposit")+"")&&ie(u,w),"true"===e[1]?b?b.p(e,t):((b=Co(e)).c(),b.m(l,h)):b&&(b.d(1),b=null),S===(S=C(e))&&x?x.p(e,t):(x.d(1),(x=S(e))&&(x.c(),x.m(l,null))),4&t[0]&&ie(f,e[2]),73728&t[0]&&k(i,"width",e[13]?"100%":e[16]),139264&t[0]&&k(i,"height",e[13]?"100%":e[17]),8320&t[0]&&k(i,"max-width",e[13]?"none":e[7].width+"px"),8320&t[0]&&k(i,"max-height",e[13]?"none":e[7].height+100+"px"),16384&t[0]&&k(r,"width",e[14]),32768&t[0]&&k(r,"height",e[15]),8192&t[0]&&R(r,"FullsScreenLayout",e[13])},d(e){e&&Q(r),n[54](null),b&&b.d(),x.d(),n[59](null),n[60](null),y=!1,v()}}}function vo(e){let n;function r(e){return e[4]?_o:e[10]?Mo:Fo}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.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function wo(n){let r,i,a;return{c(){(r=ee("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[65]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function bo(n){let r,i,a;return{c(){(r=ee("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',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&&Q(r),i=!1,a()}}}function Co(n){let r,i,a,o,s,l,c,u,d,h,p,m=n[20]("gamePage.break")+"",g=n[20]("gamePage.breakButton")+"";return{c(){r=ee("div"),i=v("svg"),a=v("path"),o=te(),s=ee("p"),l=t(m),c=te(),u=ee("button"),d=t(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),J(r,i),J(i,a),J(r,o),J(r,s),J(s,l),J(r,c),J(r,u),J(u,d),h||(p=ne(u,"click",n[56]),h=!0)},p(e,t){1048576&t[0]&&m!==(m=e[20]("gamePage.break")+"")&&ie(l,m),1048576&t[0]&&g!==(g=e[20]("gamePage.breakButton")+"")&&ie(d,g)},d(e){e&&Q(r),h=!1,p()}}}function So(n){let r,i,a;return{c(){(r=ee("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[58]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function xo(n){let r,i,a;return{c(){(r=ee("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',re(r,"class","FullscreenButton"),re(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[57]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Fo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,C=n[7].name+"",S=n[20]("gamePage.signIn")+"",x=n[20]("gamePage.register")+"";return{c(){r=ee("div"),i=ee("h3"),a=t(C),o=te(),s=ee("img"),c=te(),u=ee("div"),d=ee("button"),h=t(S),p=te(),m=ee("button"),g=t(x),f=te(),y=ee("p"),v=t(n[2]),X(s.src,l=n[7].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),J(r,i),J(i,a),J(r,o),J(r,s),J(r,c),J(r,u),J(u,d),J(d,h),J(u,p),J(u,m),J(m,g),J(r,f),J(r,y),J(y,v),w||(b=[ne(d,"click",n[52]),ne(m,"click",n[53])],w=!0)},p(e,t){128&t[0]&&C!==(C=e[7].name+"")&&ie(a,C),128&t[0]&&!X(s.src,l=e[7].thumbnail)&&re(s,"src",l),1048576&t[0]&&S!==(S=e[20]("gamePage.signIn")+"")&&ie(h,S),1048576&t[0]&&x!==(x=e[20]("gamePage.register")+"")&&ie(g,x),4&t[0]&&ie(v,e[2])},d(e){e&&Q(r),w=!1,K(b)}}}function Mo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,C,S,x,F=n[7].name+"",M=n[20]("gamePage.signIn")+"",_=n[20]("gamePage.register")+"",k=n[20]("gamePage.playForFun")+"";return{c(){r=ee("div"),i=ee("h3"),a=t(F),o=te(),s=ee("img"),c=te(),u=ee("div"),d=ee("button"),h=t(M),p=te(),m=ee("button"),g=t(_),f=te(),y=ee("button"),v=t(k),w=te(),b=ee("p"),C=t(n[2]),X(s.src,l=n[7].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),J(r,i),J(i,a),J(r,o),J(r,s),J(r,c),J(r,u),J(u,d),J(d,h),J(u,p),J(u,m),J(m,g),J(r,f),J(r,y),J(y,v),J(r,w),J(r,b),J(b,C),S||(x=[ne(d,"click",n[49]),ne(m,"click",n[50]),ne(y,"click",n[51])],S=!0)},p(e,t){128&t[0]&&F!==(F=e[7].name+"")&&ie(a,F),128&t[0]&&!X(s.src,l=e[7].thumbnail)&&re(s,"src",l),1048576&t[0]&&M!==(M=e[20]("gamePage.signIn")+"")&&ie(h,M),1048576&t[0]&&_!==(_=e[20]("gamePage.register")+"")&&ie(g,_),1048576&t[0]&&k!==(k=e[20]("gamePage.playForFun")+"")&&ie(v,k),4&t[0]&&ie(C,e[2])},d(e){e&&Q(r),S=!1,K(x)}}}function _o(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,C,S,x=n[7].name+"",F=n[20]("gamePage.deposit")+"",M=n[20]("gamePage.playNow")+"",_="true"==n[0]&&ko(n),k="true"===n[1]&&To(n);return{c(){_&&_.c(),r=te(),i=ee("div"),a=ee("h3"),o=t(x),s=te(),l=ee("img"),u=te(),d=ee("div"),h=ee("button"),p=t(F),m=te(),g=ee("button"),f=t(M),y=te(),k&&k.c(),v=te(),w=ee("p"),b=t(n[2]),X(l.src,c=n[7].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(e,t),q(e,r,t),q(e,i,t),J(i,a),J(a,o),J(i,s),J(i,l),J(i,u),J(i,d),J(d,h),J(h,p),J(d,m),J(d,g),J(g,f),J(i,y),k&&k.m(i,null),J(i,v),J(i,w),J(w,b),C||(S=[ne(h,"click",n[46]),ne(g,"click",n[47])],C=!0)},p(e,t){"true"==e[0]?_?_.p(e,t):((_=ko(e)).c(),_.m(r.parentNode,r)):_&&(_.d(1),_=null),128&t[0]&&x!==(x=e[7].name+"")&&ie(o,x),128&t[0]&&!X(l.src,c=e[7].thumbnail)&&re(l,"src",c),1048576&t[0]&&F!==(F=e[20]("gamePage.deposit")+"")&&ie(p,F),1048576&t[0]&&M!==(M=e[20]("gamePage.playNow")+"")&&ie(f,M),"true"===e[1]?k?k.p(e,t):((k=To(e)).c(),k.m(i,v)):k&&(k.d(1),k=null),4&t[0]&&ie(b,e[2])},d(e){_&&_.d(e),e&&Q(r),e&&Q(i),k&&k.d(),C=!1,K(S)}}}function ko(e){let n;function r(e){return e[7].isFavored?Eo:$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.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Q(n)}}}function $o(n){let r,i,a;return{c(){(r=ee("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[45]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Eo(n){let r,i,a;return{c(){(r=ee("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',re(r,"class","FavIconContainer"),re(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=ne(r,"click",n[44]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function To(n){let r,i,a,o,s,l,c,u,d,h,p,m,g=n[20]("gamePage.break")+"",f=n[20]("gamePage.breakButton")+"";return{c(){r=ee("div"),i=ee("div"),a=v("svg"),o=v("path"),s=te(),l=ee("p"),c=t(g),u=te(),d=ee("button"),h=t(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"),re(r,"class","PanicSection "+("PC"!==Te(n[21])?"PanicSectionMobile":"")),re(r,"part","PanicSection "+("PC"!==Te(n[21])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),J(r,i),J(i,a),J(a,o),J(i,s),J(i,l),J(l,c),J(r,u),J(r,d),J(d,h),p||(m=ne(d,"click",n[48]),p=!0)},p(e,t){1048576&t[0]&&g!==(g=e[20]("gamePage.break")+"")&&ie(c,g),1048576&t[0]&&f!==(f=e[20]("gamePage.breakButton")+"")&&ie(h,f)},d(e){e&&Q(r),p=!1,m()}}}function Lo(e){let n;function r(e){return e[6]?po:e[5]?ho:uo}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&Q(n)}}}function Io(n,e,i){let A;Le(n,Zr,e=>i(20,A=e));let D,t,r,a,o,s,R,H,l,c,N,O,u,{endpoint:d=""}=e,{datasource:h=""}=e,{lang:p=""}=e,{session:m=""}=e,{userid:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{favorites:U=""}=e,{loginurl:v=""}=e,{registerurl:w=""}=e,{depositurl:b=""}=e,{loginevent:C=""}=e,{registerevent:S=""}=e,{depositevent:x=""}=e,{clockformat:F=""}=e,{haspanicbutton:Y="false"}=e,{playforfun:M="true"}=e,_=!1,z=!1,j=!0,k=!1,$=!1,E=!1,T=!1,L=window.navigator.userAgent,W=!1,V=[];var Z,K;({withLocale:Z,translations:K}={withLocale:"en",translations:{}}),Ee.subscribe(e=>{null==e&&(kr.set(K),Ee.set(Z))}),Object.keys(lo).forEach(e=>{Er(e,lo[e])});const X=e=>{var t=new URL(e.launchUrl);return t.searchParams.append("language",p),r&&0<r.length&&(i(4,_=!0),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,e},J=e=>{switch(e.data.type){case"GameLaunchID":var t=new URL(d+"/casino/games/"+e.data.gameId);t.searchParams.append("language",p),t.searchParams.append("expand","vendor"),fetch(t.href).then(e=>e.json()).then(e=>{i(7,a=X(e[0])),a.launchUrl&&(i(8,k=!0),i(9,$="true"==M&&a.hasFunMode),i(10,E="true"==M&&a.hasAnonymousFunMode))},e=>{console.error("There was an error",e),i(5,z=!0)}).then(()=>{o&&ee()}),window.postMessage({type:"RequestModalSize"},window.location.href);break;case"LaunchGameFrame":Q(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":setTimeout(()=>{i(8,k=!1)},500);break;case"UserSessionID":if(0<e.data.session.length){r=e.data.session,e.data.userID,i(4,_=!0);let t=setInterval(()=>{var e;a&&((e=new URL(a.launchUrl)).searchParams.get("_sid")||e.searchParams.append("_sid",r),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",p),i(7,a.launchUrl=e,a),clearInterval(t))},250)}break;case"ModalSize":i(14,R=e.data.modalContainerSize.modalWidth),i(15,H=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(V=e.data.receivedFavoriteResults.items)}},q=e=>{a.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(7,a.isFavored=!1,a)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(7,a.isFavored=!0,a))},Q=(e,n)=>{e=new URL(d+"/casino/games/"+e);e.searchParams.append("language",p),fetch(e.href).then(e=>e.json()).then(e=>{var t;i(7,a=X(e[0])),a.launchUrl&&(i(10,E="true"==M&&a.hasAnonymousFunMode),i(9,$="true"==M&&n),i(8,k=!0),i(7,a.isFavored=(t=a.id,-1!==V.findIndex(e=>e.id==t)),a))})};let ee=()=>{var e=getComputedStyle(o),t=getComputedStyle(s),n=parseInt(e.width.slice(0,-2)),e=parseInt(e.height.slice(0,-2)),r=a.width/(a.height+100);l=parseInt(t.width),c=parseInt(t.height),e<n/r?(c=e,l=e*r):(l=n,c=n/r),i(16,N=Math.floor(l)+"px"),i(17,O=Math.floor(c)+"px")};const te=e=>{window.open(e.launchUrl,"_blank")},ne=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:k},window.location.href),k&&(o&&ee(),window.addEventListener("ModalSize",J,!1))},I=()=>{C&&(window.postMessage({type:C,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),v&&(window.location=v)},P=()=>{S&&(window.postMessage({type:S,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),w&&(window.location=w)},re=()=>{x&&(window.postMessage({type:x},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),b&&(window.location=b)};function G(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!T||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",G,!1),document.addEventListener("mozfullscreenchange",G,!1),document.addEventListener("fullscreenchange",G,!1),document.addEventListener("MSFullscreenChange",G,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(T?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(13,T=!1)):(o.requestFullscreen?o.requestFullscreen():o.webkitRequestFullscreen?o.webkitRequestFullscreen():o.mozRequestFullScreen?o.mozRequestFullScreen():o.msRequestFullscreen&&o.msRequestFullscreen(),i(13,T=!0)))},ie=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},ae=setInterval(()=>{i(2,D=F?fi().format(F):fi().format("LTS"))},100);return Ie(()=>(window.addEventListener("resize",ne,!1),window.addEventListener("message",J,!1),co(L),()=>{window.removeEventListener("resize",ne),window.removeEventListener("message",J),clearInterval(ae)})),n.$$set=e=>{"endpoint"in e&&i(29,d=e.endpoint),"datasource"in e&&i(30,h=e.datasource),"lang"in e&&i(31,p=e.lang),"session"in e&&i(32,m=e.session),"userid"in e&&i(33,g=e.userid),"clientstyling"in e&&i(34,f=e.clientstyling),"clientstylingurl"in e&&i(35,y=e.clientstylingurl),"favorites"in e&&i(0,U=e.favorites),"loginurl"in e&&i(36,v=e.loginurl),"registerurl"in e&&i(37,w=e.registerurl),"depositurl"in e&&i(38,b=e.depositurl),"loginevent"in e&&i(39,C=e.loginevent),"registerevent"in e&&i(40,S=e.registerevent),"depositevent"in e&&i(41,x=e.depositevent),"clockformat"in e&&i(42,F=e.clockformat),"haspanicbutton"in e&&i(1,Y=e.haspanicbutton),"playforfun"in e&&i(43,M=e.playforfun)},n.$$.update=()=>{if(1610612736&n.$$.dirty[0]|1&n.$$.dirty[1]&&d&&h&&p&&(t=p,Ee.set(t),i(6,j=!1),oe(L))&&i(18,W=!0),536870912&n.$$.dirty[0]|6&n.$$.dirty[1]&&m&&g&&d&&Xr(d,m).then(e=>{r=e.Guid,e.UserID,i(4,_=!0)},e=>{i(4,_=!1),console.error("err on session",e)}),8&n.$$.dirty[1]&&f&&((t=document.createElement("style")).innerHTML=f,u.appendChild(t)),16&n.$$.dirty[1]&&y){let t=document.createElement("style");var e;y&&(e=new URL(y),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,u&&setTimeout(()=>{u.appendChild(t)},1)}))}var t},[U,Y,D,t,_,z,j,a,k,$,E,o,s,T,R,H,N,O,W,u,A,L,q,te,I,P,re,B,ie,d,h,p,m,g,f,y,v,w,b,C,S,x,F,M,()=>q(a.id),()=>q(a.id),()=>re(),()=>{te(a)},()=>ie(),()=>I(),()=>P(),()=>{te(a)},()=>I(),()=>P(),function(e){$e[e?"unshift":"push"](()=>{t=e,i(3,t)})},()=>re(),()=>ie(),()=>B(),()=>B(),function(e){$e[e?"unshift":"push"](()=>{s=e,i(12,s)})},function(e){$e[e?"unshift":"push"](()=>{o=e,i(11,o)})},function(e){$e[e?"unshift":"push"](()=>{t=e,i(3,t)})},()=>I(),()=>P(),()=>B(),()=>B(),function(e){$e[e?"unshift":"push"](()=>{s=e,i(12,s)})},function(e){$e[e?"unshift":"push"](()=>{o=e,i(11,o)})},()=>I(),()=>P(),function(e){$e[e?"unshift":"push"](()=>{u=e,i(19,u)})}]}function Po(n){let r,i,a,o,s,l,c,u,t,d,h,p;return{c(){r=ee("div"),i=ee("div"),(a=ee("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=te(),s=ee("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"),ue(()=>n[14].call(r))},m(e,t){q(e,r,t),J(r,i),J(i,a),J(i,o),J(i,s),n[13](r),u=D(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||(ue(()=>{d&&(t=t||xe(r,io,{transitionDuration:n[1]},!0)).run(1)}),d=!0)},o(e){(t=t||xe(r,io,{transitionDuration:n[1]},!1)).run(0),d=!1},d(e){e&&Q(r),n[13](null),u(),e&&t&&t.end(),h=!1,p()}}}function Go(n){let r,i,a=n[0]&&Po(n);return{c(){r=ee("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&&be(a,1)):((a=Po(e)).c(),be(a,1),a.m(r,null)):a&&(ve(),Ce(a,1,1,()=>{a=null}),we())},i(e){i||(be(a),i=!0)},o(e){Ce(a),i=!1},d(e){e&&Q(r),a&&a.d(),n[15](null)}}}function Bo(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 Ie(()=>(window.addEventListener("message",y,!1),oe(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=()=>{if(4864&e.$$.dirty&&c&&u&&p&&Xr(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){$e[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){$e[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends r{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BottomGame{padding-left:60px;padding-right:60px;padding-bottom:15px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}.DepositButton,.PlayNowButton{border:none;width:130px;height:60px;background-color:var(--emfe-w-color-green, #48952a);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px;cursor:pointer}.PlayNowButton{background-color:var(--emfe-w-color-primary, #D0046C)}.GameThumbnail{border-radius:2px;width:270px;height:180px}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right;margin-top:20px}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{width:275px;margin-top:20px;display:flex;flex-direction:row;justify-content:space-between}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px;margin-top:20px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:center}#IframeGame{width:100%;height:100%}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:42px;left:42x;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}',this.shadowRoot.appendChild(t),Me(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Io,Lo,n,{endpoint:29,datasource:30,lang:31,session:32,userid:33,clientstyling:34,clientstylingurl:35,favorites:0,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:1,playforfun:43},null,[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$$set({datasource:e}),h()}get lang(){return this.$$.ctx[31]}set lang(e){this.$$set({lang:e}),h()}get session(){return this.$$.ctx[32]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[33]}set userid(e){this.$$set({userid:e}),h()}get clientstyling(){return this.$$.ctx[34]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[35]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),h()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$$set({loginurl:e}),h()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$$set({registerurl:e}),h()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$$set({depositurl:e}),h()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$$set({loginevent:e}),h()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$$set({registerevent:e}),h()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$$set({depositevent:e}),h()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$$set({clockformat:e}),h()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),h()}get playforfun(){return this.$$.ctx[43]}set playforfun(e){this.$$set({playforfun:e}),h()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends r{constructor(e){super();var t=document.createElement("style");t.textContent=':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}',this.shadowRoot.appendChild(t),Me(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Bo,Go,n,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12},null),e&&(e.target&&q(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),h()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),h()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),h()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),h()}});const Ao={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 Do(e,t,n){e=e.slice();return e[32]=t[n],e}function Ro(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,C,S,x,F=n[6]("filters.filterModalTitle")+"",M=n[6]("filters.filterModalSubtitle")+"",_=n[6]("filters.filterApply")+"",k=n[0]&&No(n),$=n[3]&&Yo(n);return{c(){r=ee("div"),i=ee("section"),a=ee("div"),o=ee("h4"),s=t(F),l=te(),c=ee("h5"),u=t(M),d=te(),h=ee("section"),k&&k.c(),p=te(),m=ee("section"),$&&$.c(),g=te(),f=ee("div"),y=t(_),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",C="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){q(e,r,t),J(r,i),J(i,a),J(a,o),J(o,s),J(a,l),J(a,c),J(c,u),J(r,d),J(r,h),k&&k.m(h,null),J(r,p),J(r,m),$&&$.m(m,null),J(m,g),J(m,f),J(f,y),S||(x=ne(f,"click",n[19]),S=!0)},p(e,t){64&t[0]&&F!==(F=e[6]("filters.filterModalTitle")+"")&&ie(s,F),64&t[0]&&M!==(M=e[6]("filters.filterModalSubtitle")+"")&&ie(u,M),e[0]?k?k.p(e,t):((k=No(e)).c(),k.m(h,null)):k&&(k.d(1),k=null),e[3]?$?$.p(e,t):(($=Yo(e)).c(),$.m(m,g)):$&&($.d(1),$=null),64&t[0]&&_!==(_=e[6]("filters.filterApply")+"")&&ie(y,_),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]&&C!==(C="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&re(r,"part",C)},d(e){e&&Q(r),k&&k.d(),$&&$.d(),S=!1,x()}}}function Ho(e){let n;return{c(){re(n=ee("div"),"class","lds-dual-ring"),re(n,"part","lds-dual-ring")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function No(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Uo(Do(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]&&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=Do(t,a,e);o[e]?o[e].p(r,n):(o[e]=Uo(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){G(o,e),e&&Q(i)}}}function Oo(){let n;return{c(){(n=ee("div")).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&&Q(n)}}}function Uo(n){let r,i,a,o,s,l,c,u,d,h,p=n[32].isFilterSelected&&Oo();function m(){return n[17](n[32])}return{c(){r=ee("div"),i=ee("img"),s=te(),p&&p.c(),l=te(),re(i,"class","VendorImage"),re(i,"part","VendorImage"),X(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),J(r,i),J(r,s),p&&p.m(r,null),J(r,l),d||(h=ne(r,"click",m),d=!0)},p(e,t){n=e,1&t[0]&&!X(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=Oo()).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&&Q(r),p&&p.d(),d=!1,h()}}}function Yo(e){let n,r=e[3].length&&zo(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=zo(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function zo(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=ee("div"),i=t(s),re(r,"class","ClearFiltersButton"),re(r,"part","ClearFiltersButton")},m(e,t){q(e,r,t),J(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&&Q(r),a=!1,o()}}}function jo(n){let r;function i(e){return e[4]?Ho:Ro}let a=i(n),o=a(n);return{c(){r=ee("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.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&Q(r),o.d(),n[20](null)}}}function Wo(t,e,i){let n;Le(t,Zr,e=>i(6,n=e));let r,{endpoint:a=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:u=""}=e,{clientstylingurl:d=""}=e,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],w={},b=!1,C=(w[f]&&(w={[f]:[]}),[]);var S,x;({withLocale:S,translations:x}={withLocale:"en",translations:{}}),Ee.subscribe(e=>{null==e&&(kr.set(x),Ee.set(S))}),Object.keys(Ao).forEach(e=>{Er(e,Ao[e])});const F=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":var n;f&&(y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")))&&i(3,v=y[f]),v||(null==(n=sessionStorage.getItem("vendorFiltersByCategory"))?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[f]:v})):((n=JSON.parse(n))[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(n)))),r=`${a}/casino/vendors?filter=games(groups=${f})&datasource=`+o,new Promise((t,n)=>{fetch(r).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},f&&t[f]&&(e.isFilterSelected=0<=t[f].indexOf(e.id))}),i(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=v;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),C=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),i(3,v=C),i(2,g=!1);break;case"AvailableVendors":i(0,h=t.data.venArray),i(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(0,h=t.data.venArray),h&&i(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":k(),window.postMessage({type:"ApplyFilters"},window.location.href),i(2,g=!1);break;case"ModalClosed":h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":f=t.data.categoryid,y&&f&&i(3,v=y[f]);break;case"ModalLoader":i(4,b=!1)}var r},M=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),i(2,g=!_(v,C))):(v.includes(t.id)&&i(3,v=v.filter(e=>e!==t.id)),i(2,g=!(!v.length&&_(v,C)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},_=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},k=()=>{h.forEach(e=>{e.isFilterSelected=!1});var e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=_(v,C)),i(3,v=[]),null!==e&&((e=JSON.parse(e))[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},$=()=>{i(4,b=!0);var e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[f]:v})):((e=JSON.parse(e))[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return Ie(()=>(window.addEventListener("message",F,!1),oe(m)&&i(1,p=!0),()=>{window.removeEventListener("message",F)})),t.$$set=e=>{"endpoint"in e&&i(10,a=e.endpoint),"datasource"in e&&i(11,o=e.datasource),"lang"in e&&i(12,s=e.lang),"session"in e&&i(13,l=e.session),"userid"in e&&i(14,c=e.userid),"clientstyling"in e&&i(15,u=e.clientstyling),"clientstylingurl"in e&&i(16,d=e.clientstylingurl)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&u&&((e=document.createElement("style")).innerHTML=u,r.appendChild(e)),65536&t.$$.dirty[0]&&d){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})}var e},[h,p,g,v,b,r,n,M,k,$,a,o,s,l,c,u,d,e=>M(e),()=>k(),()=>$(),function(e){$e[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}function Vo(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g,f;return{c(){n=ee("div"),r=ee("div"),i=ee("div"),a=te(),o=ee("div"),s=te(),l=ee("casino-categories-slider"),c=te(),u=ee("casino-page"),d=te(),h=ee("casino-modal"),p=ee("casino-game-page"),m=te(),g=ee("casino-filter-modal"),f=ee("casino-filter-page"),re(i,"class","HeaderPlaceholder"),re(i,"part","HeaderPlaceholder"),k(i,"height",e[26]+"px"),re(o,"class","ScrollTop"),re(o,"part","ScrollTop"),b(l,"endpoint",e[20]),b(l,"datasource",e[21]),b(l,"lang",e[22]),b(l,"session",e[1]),b(l,"userid",e[2]),b(l,"actionevent",e[17]),b(l,"mostplayed",e[11]),b(l,"mostplayedrounds",e[12]),b(l,"favorites",e[13]),b(l,"activecategory",e[0]),b(l,"clientstyling",e[3]),b(l,"clientstylingurl",e[4]),b(l,"containermaxwidth",e[15]),b(u,"session",e[1]),b(u,"userid",e[2]),b(u,"endpoint",e[20]),b(u,"datasource",e[21]),b(u,"lang",e[22]),b(u,"visiblegames","10"),b(u,"activecategory",e[0]),b(u,"alternativesearch",e[14]),b(u,"favorites",e[13]),b(u,"mostplayedrounds",e[12]),b(u,"mostplayed",e[11]),b(u,"clientstyling",e[3]),b(u,"clientstylingurl",e[4]),b(u,"lobbyid",e[6]),b(u,"containermaxwidth",e[15]),b(u,"haspanicbutton",e[16]),b(u,"livecasino",e[18]),b(u,"currency",e[7]),b(p,"session",e[1]),b(p,"userid",e[2]),b(p,"endpoint",e[20]),b(p,"datasource",e[21]),b(p,"lang",e[22]),b(p,"loginevent",e[8]),b(p,"registerevent",e[9]),b(p,"depositevent",e[10]),b(p,"playforfun",e[19]),b(p,"favorites",e[13]),b(p,"clientstyling",e[3]),b(p,"clientstylingurl",e[4]),b(p,"clockformat",e[5]),b(p,"haspanicbutton",e[16]),b(p,"currency",e[7]),b(h,"session",e[1]),b(h,"userid",e[2]),b(h,"endpoint",e[20]),b(h,"datasource",e[21]),b(h,"lang",e[22]),b(h,"clientstyling",e[3]),b(h,"clientstylingurl",e[4]),b(f,"session",e[1]),b(f,"userid",e[2]),b(f,"endpoint",e[20]),b(f,"datasource",e[21]),b(f,"lang",e[22]),b(f,"clientstylingurl",e[4]),b(f,"clientstyling",e[3]),b(g,"clientstylingurl",e[4]),b(g,"session",e[1]),b(g,"userid",e[2]),b(g,"endpoint",e[20]),b(g,"datasource",e[21]),b(g,"lang",e[22]),b(g,"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),J(n,r),J(r,i),J(r,a),J(r,o),J(r,s),J(r,l),J(r,c),J(r,u),J(r,d),J(r,h),J(h,p),J(r,m),J(r,g),J(g,f)},p(e,t){67108864&t[0]&&k(i,"height",e[26]+"px"),1048576&t[0]&&b(l,"endpoint",e[20]),2097152&t[0]&&b(l,"datasource",e[21]),4194304&t[0]&&b(l,"lang",e[22]),2&t[0]&&b(l,"session",e[1]),4&t[0]&&b(l,"userid",e[2]),131072&t[0]&&b(l,"actionevent",e[17]),2048&t[0]&&b(l,"mostplayed",e[11]),4096&t[0]&&b(l,"mostplayedrounds",e[12]),8192&t[0]&&b(l,"favorites",e[13]),1&t[0]&&b(l,"activecategory",e[0]),8&t[0]&&b(l,"clientstyling",e[3]),16&t[0]&&b(l,"clientstylingurl",e[4]),32768&t[0]&&b(l,"containermaxwidth",e[15]),2&t[0]&&b(u,"session",e[1]),4&t[0]&&b(u,"userid",e[2]),1048576&t[0]&&b(u,"endpoint",e[20]),2097152&t[0]&&b(u,"datasource",e[21]),4194304&t[0]&&b(u,"lang",e[22]),1&t[0]&&b(u,"activecategory",e[0]),16384&t[0]&&b(u,"alternativesearch",e[14]),8192&t[0]&&b(u,"favorites",e[13]),4096&t[0]&&b(u,"mostplayedrounds",e[12]),2048&t[0]&&b(u,"mostplayed",e[11]),8&t[0]&&b(u,"clientstyling",e[3]),16&t[0]&&b(u,"clientstylingurl",e[4]),64&t[0]&&b(u,"lobbyid",e[6]),32768&t[0]&&b(u,"containermaxwidth",e[15]),65536&t[0]&&b(u,"haspanicbutton",e[16]),262144&t[0]&&b(u,"livecasino",e[18]),128&t[0]&&b(u,"currency",e[7]),2&t[0]&&b(p,"session",e[1]),4&t[0]&&b(p,"userid",e[2]),1048576&t[0]&&b(p,"endpoint",e[20]),2097152&t[0]&&b(p,"datasource",e[21]),4194304&t[0]&&b(p,"lang",e[22]),256&t[0]&&b(p,"loginevent",e[8]),512&t[0]&&b(p,"registerevent",e[9]),1024&t[0]&&b(p,"depositevent",e[10]),524288&t[0]&&b(p,"playforfun",e[19]),8192&t[0]&&b(p,"favorites",e[13]),8&t[0]&&b(p,"clientstyling",e[3]),16&t[0]&&b(p,"clientstylingurl",e[4]),32&t[0]&&b(p,"clockformat",e[5]),65536&t[0]&&b(p,"haspanicbutton",e[16]),128&t[0]&&b(p,"currency",e[7]),2&t[0]&&b(h,"session",e[1]),4&t[0]&&b(h,"userid",e[2]),1048576&t[0]&&b(h,"endpoint",e[20]),2097152&t[0]&&b(h,"datasource",e[21]),4194304&t[0]&&b(h,"lang",e[22]),8&t[0]&&b(h,"clientstyling",e[3]),16&t[0]&&b(h,"clientstylingurl",e[4]),2&t[0]&&b(f,"session",e[1]),4&t[0]&&b(f,"userid",e[2]),1048576&t[0]&&b(f,"endpoint",e[20]),2097152&t[0]&&b(f,"datasource",e[21]),4194304&t[0]&&b(f,"lang",e[22]),16&t[0]&&b(f,"clientstylingurl",e[4]),8&t[0]&&b(f,"clientstyling",e[3]),16&t[0]&&b(g,"clientstylingurl",e[4]),2&t[0]&&b(g,"session",e[1]),4&t[0]&&b(g,"userid",e[2]),1048576&t[0]&&b(g,"endpoint",e[20]),2097152&t[0]&&b(g,"datasource",e[21]),4194304&t[0]&&b(g,"lang",e[22]),8&t[0]&&b(g,"clientstyling",e[3])},d(e){e&&Q(n)}}}function Zo(e){let n,r;return{c(){n=ee("p"),r=t(e[25]),k(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){q(e,n,t),J(n,r)},p(e,t){33554432&t[0]&&ie(r,e[25])},d(e){e&&Q(n)}}}function Ko(n){let r,i,a;function o(e){return e[24]?Zo:Vo}let s=o(n),l=s(n);return{c(){r=ee("div"),l.c(),this.c=Z,re(r,"class",i=n[23]?"DisplayNone":""),re(r,"part",a=n[23]?"DisplayNone":"")},m(e,t){q(e,r,t),l.m(r,null),n[37](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(r,null))),8388608&t[0]&&i!==(i=e[23]?"DisplayNone":"")&&re(r,"class",i),8388608&t[0]&&a!==(a=e[23]?"DisplayNone":"")&&re(r,"part",a)},i:Z,o:Z,d(e){e&&Q(r),l.d(),n[37](null)}}}function Xo(t,e,n){let r,i,a,o,{endpoint:s=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{session:u=""}=e,{userid:d=""}=e,{opsession:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:m=""}=e,{clockformat:g=""}=e,{lobbyid:f=""}=e,{currency:y="EUR"}=e,{loginurl:v=""}=e,{registerurl:w=""}=e,{depositurl:b=""}=e,{loginevent:C=""}=e,{registerevent:S=""}=e,{depositevent:x=""}=e,{mostplayed:F=""}=e,{mostplayedrounds:M=""}=e,{favorites:_=""}=e,{desktopoffset:k="0"}=e,{mobileoffset:$="0"}=e,{alternativesearch:E="false"}=e,{containermaxwidth:T=""}=e,{haspanicbutton:A="false"}=e,{activecategory:L="LOBBY"}=e,{actionevent:D="CategoryChange"}=e,{livecasino:R="false"}=e,{playforfun:H="true"}=e,I=!1,P=!1,G="Loading, please wait ...",N=window.navigator.userAgent,B=0,O=!1;var U,Y;({withLocale:U,translations:Y}={withLocale:"en",translations:{}}),Ee.subscribe(e=>{null==e&&(kr.set(Y),Ee.set(U))});const z=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":(O=e.data.scrollTop)&&B&&window.scrollTo({top:B});break;case"UserSessionID":e.data.session,e.data.userID;break;case"CategoryChange":n(0,L=e.data.item.id)}};return Ie(()=>(window.addEventListener("message",z,!1),n(26,B="PC"===Te(N)?parseInt(k):parseInt($)),()=>{window.removeEventListener("message",z)})),t.$$set=e=>{"endpoint"in e&&n(28,s=e.endpoint),"datasource"in e&&n(29,l=e.datasource),"lang"in e&&n(30,c=e.lang),"session"in e&&n(1,u=e.session),"userid"in e&&n(2,d=e.userid),"opsession"in e&&n(31,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(32,v=e.loginurl),"registerurl"in e&&n(33,w=e.registerurl),"depositurl"in e&&n(34,b=e.depositurl),"loginevent"in e&&n(8,C=e.loginevent),"registerevent"in e&&n(9,S=e.registerevent),"depositevent"in e&&n(10,x=e.depositevent),"mostplayed"in e&&n(11,F=e.mostplayed),"mostplayedrounds"in e&&n(12,M=e.mostplayedrounds),"favorites"in e&&n(13,_=e.favorites),"desktopoffset"in e&&n(35,k=e.desktopoffset),"mobileoffset"in e&&n(36,$=e.mobileoffset),"alternativesearch"in e&&n(14,E=e.alternativesearch),"containermaxwidth"in e&&n(15,T=e.containermaxwidth),"haspanicbutton"in e&&n(16,A=e.haspanicbutton),"activecategory"in e&&n(0,L=e.activecategory),"actionevent"in e&&n(17,D=e.actionevent),"livecasino"in e&&n(18,R=e.livecasino),"playforfun"in e&&n(19,H=e.playforfun)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&c&&Jr(c),268435462&t.$$.dirty[0]&&u&&d&&s&&Xr(s,u).then(e=>{e.Guid,e.UserID},e=>{console.error("Error while checking the session - ",e)}),1879058432&t.$$.dirty[0]&&s&&l&&c&&F&&_&&(s||(n(25,G="Endpoint is missing! Please provide a valid endpointURL."),n(24,P=!0),console.error(G)),l||(n(25,G="Datasource is missing! Please provide a valid datasource."),n(24,P=!0),console.error(G)),c&&2==c.length||(n(25,G="Language is missing! Please provide a valid language (alpha2code)"),n(24,P=!0),console.error(G)),Jr(c),n(20,r=s),n(21,i=l),n(22,a=c),n(24,P=!1)),t.$$.dirty[1],8&t.$$.dirty[0]&&p&&((e=document.createElement("style")).innerHTML=p,o.appendChild(e)),16&t.$$.dirty[0]&&m){n(23,I=!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(23,I=!1)},500))})}var e},[L,u,d,p,m,g,f,y,C,S,x,F,M,_,E,T,A,D,R,H,r,i,a,I,P,G,B,o,s,l,c,h,v,w,b,k,$,function(e){$e[e?"unshift":"push"](()=>{o=e,n(27,o)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends r{constructor(e){super();var t=document.createElement("style");t.textContent=':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)}}',this.shadowRoot.appendChild(t),Me(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Wo,jo,n,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),h()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),h()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),h()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}});class Jo extends r{constructor(e){super();var t=document.createElement("style");t.textContent='*{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}',this.shadowRoot.appendChild(t),Me(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Xo,Ko,n,{endpoint:28,datasource:29,lang:30,session:1,userid:2,opsession:31,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:7,loginurl:32,registerurl:33,depositurl:34,loginevent:8,registerevent:9,depositevent:10,mostplayed:11,mostplayedrounds:12,favorites:13,desktopoffset:35,mobileoffset:36,alternativesearch:14,containermaxwidth:15,haspanicbutton:16,activecategory:0,actionevent:17,livecasino:18,playforfun:19},null,[-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}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"]}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[29]}set datasource(e){this.$$set({datasource:e}),h()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),h()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),h()}get opsession(){return this.$$.ctx[31]}set opsession(e){this.$$set({opsession:e}),h()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),h()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),h()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),h()}get loginurl(){return this.$$.ctx[32]}set loginurl(e){this.$$set({loginurl:e}),h()}get registerurl(){return this.$$.ctx[33]}set registerurl(e){this.$$set({registerurl:e}),h()}get depositurl(){return this.$$.ctx[34]}set depositurl(e){this.$$set({depositurl:e}),h()}get loginevent(){return this.$$.ctx[8]}set loginevent(e){this.$$set({loginevent:e}),h()}get registerevent(){return this.$$.ctx[9]}set registerevent(e){this.$$set({registerevent:e}),h()}get depositevent(){return this.$$.ctx[10]}set depositevent(e){this.$$set({depositevent:e}),h()}get mostplayed(){return this.$$.ctx[11]}set mostplayed(e){this.$$set({mostplayed:e}),h()}get mostplayedrounds(){return this.$$.ctx[12]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),h()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),h()}get desktopoffset(){return this.$$.ctx[35]}set desktopoffset(e){this.$$set({desktopoffset:e}),h()}get mobileoffset(){return this.$$.ctx[36]}set mobileoffset(e){this.$$set({mobileoffset:e}),h()}get alternativesearch(){return this.$$.ctx[14]}set alternativesearch(e){this.$$set({alternativesearch:e}),h()}get containermaxwidth(){return this.$$.ctx[15]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),h()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),h()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),h()}get actionevent(){return this.$$.ctx[17]}set actionevent(e){this.$$set({actionevent:e}),h()}get livecasino(){return this.$$.ctx[18]}set livecasino(e){this.$$set({livecasino:e}),h()}get playforfun(){return this.$$.ctx[19]}set playforfun(e){this.$$set({playforfun:e}),h()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",Jo),Jo});
|
|
33
|
+
//# sourceMappingURL=casino-lobby.js.map
|