@everymatrix/casino-lobby 1.0.3 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/casino-lobby.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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(
|
|
2
|
-
`}const u=
|
|
3
|
-
}`,h=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,p=I(e),{stylesheet:m,rules:g}=D.get(p)||(s=p,l={stylesheet:(l=e,f=pe("style"),de((l=I(l)).head||l,f),f.sheet),rules:{}},D.set(s,l),l);g[h]||(g[h]=!0,m.insertRule(`@keyframes ${h} `+u,m.cssRules.length));var f=e.style.animation||"";return e.style.animation=(f?f+", ":"")+h+` ${r}ms linear ${i}ms 1 both`,N+=1,h}function j(e){H=e}function wt(e){!function(){if(H)return H;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const U=[],gt=[],W=[],z=[],Y=Promise.resolve();let V=!1;function X(){V||(V=!0,Y.then(f))}function xe(){return X(),Y}function q(e){W.push(e)}const Q=new Set;let ee,te=0;function f(){const e=H;do{for(;te<U.length;){const e=U[te];te++,j(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),J(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(q))}for(j(null),U.length=0,te=0;gt.length;)gt.pop()();for(let e=0;e<W.length;e+=1){const r=W[e];Q.has(r)||(Q.add(r),r())}}while(W.length=0,U.length);for(;z.length;)z.pop()();V=!1,Q.clear(),j(e)}function ne(e,t,n){e.dispatchEvent(function(e,{bubbles:t=!1,cancelable:n=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t,n,void 0),r}((t?"intro":"outro")+n))}const re=new Set;let ie;function ae(){ie={r:0,c:[],p:ie}}function oe(){ie.r||J(ie.c),ie=ie.p}function se(e,t){e&&e.i&&(re.delete(e),e.i(t))}function le(e,t,n,r){e&&e.o&&(re.has(e)||(re.add(e),ie.c.push(()=>{re.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const be={duration:0};function ve(l,e,t,n){let c=e(l,t),d=n?0:1,u=null,h=null,p=null;function m(){if(p){var e=l,t=p;const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),i=n.length-r.length;i&&(e.style.animation=r.join(", "),(N-=i)||E(()=>{N||(D.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),D.clear())}))}}function g(e,t){var n=e.b-d;return t*=Math.abs(n),{a:d,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:r=C,tick:i=Z,css:a}=c||be,o={start:_()+t,b:e};if(e||((o.group=ie).r+=1),!u&&!h){a&&(m(),p=O(l,d,e,n,t,r,a)),e&&i(0,1),u=g(o,n),q(()=>ne(l,e,"start"));{var s=e=>{if(h&&e>h.start&&(u=g(h,n),h=null,ne(l,u.b,"start"),a&&(m(),p=O(l,d,u.b,u.duration,0,r,c.css))),u)if(e>=u.end)i(d=u.b,1-d),ne(l,u.b,"end"),h||(u.b?m():--u.group.r||J(u.group.c)),u=null;else if(e>=u.start){const l=e-u.start;d=u.a+u.d*r(l/u.duration),i(d,1-d)}return!(!u&&!h)};let t;return 0===T.size&&E(L),void new Promise(e=>{T.add(t={c:s,f:e})})}}h=o}return{run(e){F(c)?(ee||(ee=Promise.resolve()).then(()=>{ee=null}),ee.then(()=>{c=c(),r(e)})):r(e)},end(){m(),u=h=null}}}function we(e,t){e.d(1),t.delete(e.key)}function r(r,e,t,n,i,a,o,s=[-1]){var l=H;j(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:S(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:S(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!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),d&&(n=e,-1===(e=r).$$.dirty[0]&&(U.push(e),X(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),d=!0,J(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const r=Array.from(a.childNodes);c.fragment&&c.fragment.l(r),r.forEach(he)}else c.fragment&&c.fragment.c();e.intro&&se(r.$$.fragment);{var u=r;s=e.target;o=e.anchor;t=e.customElement;const{fragment:h,on_mount:p,on_destroy:m,after_update:g}=u.$$;h&&h.m(s,o),t||q(()=>{var e=p.map($).filter(F);m?m.push(...e):J(e),u.$$.on_mount=[]}),g.forEach(q)}f()}j(l)}let i;"function"==typeof HTMLElement&&(i=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map($).filter(F);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){J(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(J(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var Ce,$e,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,Se="URLSearchParams"in s,Fe="Symbol"in s&&"iterator"in Symbol,ke="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),Me="FormData"in s,_e="ArrayBuffer"in s;function Ee(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Te(e){return e="string"!=typeof e?String(e):e}function Le(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Fe&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Ie(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Ge(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Pe(e){var t=new FileReader,n=Ge(t);return t.readAsArrayBuffer(e),n}function Be(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Ae(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ke&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Me&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Se&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():_e&&ke&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Be(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):_e&&(ArrayBuffer.prototype.isPrototypeOf(e)||$e(e))?this._bodyArrayBuffer=Be(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Se&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ke&&(this.blob=function(){var e=Ie(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Ie(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Pe)}),this.text=function(){var e,t,n=Ie(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=Ge(e),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Me&&(this.formData=function(){return this.text().then(He)}),this.json=function(){return this.text().then(JSON.parse)},this}_e&&(Ce=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],$e=ArrayBuffer.isView||function(e){return e&&-1<Ce.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Ee(e),t=Te(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[Ee(e)]},l.prototype.get=function(e){return e=Ee(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Ee(e))},l.prototype.set=function(e,t){this.map[Ee(e)]=Te(t)},l.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},l.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Le(n)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Le(t)},l.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Le(n)},Fe&&(l.prototype[Symbol.iterator]=l.prototype.entries);var Re=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function De(e,t){if(!(this instanceof De))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof De){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Re.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function He(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Ne(e,t){if(!(this instanceof Ne))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}De.prototype.clone=function(){return new De(this,{body:this._bodyInit})},Ae.call(De.prototype),Ae.call(Ne.prototype),Ne.prototype.clone=function(){return new Ne(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},Ne.error=function(){var e=new Ne(null,{status:0,statusText:""});return e.type="error",e};var Oe=[301,302,303,307,308],je=(Ne.redirect=function(e,t){if(-1===Oe.indexOf(t))throw new RangeError("Invalid status code");return new Ne(null,{status:t,headers:{location:e}})},s.DOMException);try{new je}catch(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 Ue(r,o){return new Promise(function(i,e){var t=new De(r,o);if(t.signal&&t.signal.aborted)return e(new je("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){i(new Ne(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new je("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(ke?a.responseType="blob":_e&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof l?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,Te(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function Ln(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ue.polyfill=!0,s.fetch||(s.fetch=Ue,s.Headers=l,s.Request=De,s.Response=Ne);var We=self.fetch.bind(self),ze=function(e,t){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ze(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ze(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function Je(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Ke(e){return"function"==typeof e}function Xe(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var qe=Xe(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Qe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}nt.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Ve(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(Ke(a))try{a()}catch(e){i=e instanceof qe?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Ve(a),c=l.next();!c.done;c=l.next()){var d=c.value;try{it(d)}catch(e){i=null!=i?i:[],e instanceof qe?i=Je(Je([],Ze(i)),Ze(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new qe(i)}},nt.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)it(e);else{if(e instanceof nt){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},nt.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},nt.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},nt.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Qe(t,e)},nt.prototype.remove=function(e){var t=this._finalizers;t&&Qe(t,e),e instanceof nt&&e._removeParent(this)},nt.EMPTY=((e=new nt).closed=!0,e);var et=nt,tt=et.EMPTY;function nt(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function rt(e){return e instanceof et||e&&"closed"in e&&Ke(e.remove)&&Ke(e.add)&&Ke(e.unsubscribe)}function it(e){Ke(e)?e():e.unsubscribe()}var at=void 0,ot=!1,st=!1,lt={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=lt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,Je([e,t],Ze(n))):setTimeout.apply(void 0,Je([e,t],Ze(n)))},clearTimeout:function(e){var t=lt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ct(){}var dt=null;function ut(e){if(ot){var t=!dt;if(t&&(dt={errorThrown:!1,error:null}),e(),t){var t=dt,n=t.errorThrown,t=t.error;if(dt=null,n)throw t}}else e()}Ye(xt,ht=et),xt.create=function(e,t,n){return new Ft(e,t,n)},xt.prototype.next=function(e){this.isStopped||this._next(e)},xt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},xt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},xt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ht.prototype.unsubscribe.call(this),this.destination=null)},xt.prototype._next=function(e){this.destination.next(e)},xt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},xt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ht,pt=xt,mt=Function.prototype.bind;function xt(e){var t=ht.call(this)||this;return t.isStopped=!1,e?rt(t.destination=e)&&e.add(t):t.destination=Et,t}function Ct(e,t){return mt.call(e,t)}Mt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){_t(e)}},Mt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){_t(e)}else _t(e)},Mt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){_t(e)}};var $t,St=Mt,Ft=(Ye(kt,$t=pt),kt);function kt(e,t,n){var r=$t.call(this)||this,n=Ke(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&st?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Ct(e.next,t),error:e.error&&Ct(e.error,t),complete:e.complete&&Ct(e.complete,t)}):e;return r.destination=new St(n),r}function Mt(e){this.partialObserver=e}function _t(e){var t=e;lt.setTimeout(function(){throw t})}var Et={closed:!0,next:ct,error:function(e){throw e},complete:ct},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function Tt(e){return e}It.prototype.lift=function(e){var t=new It;return t.source=this,t.operator=e,t},It.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof pt||r&&Ke(r.next)&&Ke(r.error)&&Ke(r.complete)&&rt(r)?e:new Ft(e,t,n);return ut(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},It.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},It.prototype.forEach=function(r,e){var i=this;return new(e=Gt(e))(function(e,t){var n=new Ft({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},It.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},It.prototype[e]=function(){return this},It.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Tt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},It.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)})})},It.create=function(e){return new It(e)};var Lt=It;function It(e){e&&(this._subscribe=e)}function Gt(e){return null!=(e=null!=e?e:at)?e:Promise}var Pt,Bt,At,Rt=Xe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Ye(a,At=Lt),a.prototype.lift=function(e){var t=new Dt(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new Rt},a.prototype.next=function(i){var a=this;ut(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=Ve(a.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var n=this;ut(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;ut(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(),At.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?tt:(this.currentObservers=null,i.push(e),new et(function(){t.currentObservers=null,Qe(i,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},a.prototype.asObservable=function(){var e=new Lt;return e.source=this,e},a.create=function(e,t){return new Dt(e,t)},a),Dt=(Ye(jt,Bt=e),jt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},jt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},jt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},jt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:tt},jt),Ht={now:function(){return(Ht.delegate||Date).now()},delegate:void 0},Nt=(Ye(Ot,Pt=e),Ot.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(a.now()+t)),this._trimBuffer(),Pt.prototype.next.call(this,e)},Ot.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},Ot.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},Ot);function Ot(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Ht);var r=Pt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function jt(e,t){var n=Bt.call(this)||this;return n.destination=e,n.source=t,n}function a(){var e=At.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ut=[],Wt={};const zt=[];function Yt(r,i=Z){let a;const o=new Set;function s(e){if(t(r,e)&&(r=e,a)){const e=!zt.length;for(const e of o)e[1](),zt.push(e,r);if(e){for(let e=0;e<zt.length;e+=2)zt[e][0](zt[e+1]);zt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.add(n),1===o.size&&(a=i(s)||Z),e(r),()=>{o.delete(n),0===o.size&&(a(),a=null)}}}}function Vt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:Yt(t,t=>{let n=!1;const r=[];let i=0,a=Z;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),d?t(e):a=F(e)?e:Z)},e=c.map((e,t)=>h(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){J(e),a()}}).subscribe}}function Zt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Jt));var t}var Jt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Kt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?tn(Array.isArray(e)?[]:{},e,t):e}function Xt(e,t,n){return e.concat(t).map(function(e){return Kt(e,n)})}function qt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Qt(e,t){try{return t in e}catch(e){return!1}}function en(r,i,a){var o={};return a.isMergeableObject(r)&&qt(r).forEach(function(e){o[e]=Kt(r[e],a)}),qt(i).forEach(function(t){var e,n;(!Qt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Qt(r,t)&&a.isMergeableObject(i[t])?o[t]=function(e){if(!e.customMerge)return tn;e=e.customMerge(t);return"function"==typeof e?e:tn}(a)(r[t],i[t],a):o[t]=Kt(i[t],a))}),o}function tn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Xt,n.isMergeableObject=n.isMergeableObject||Zt,n.cloneUnlessOtherwiseSpecified=Kt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):en(e,t,n):Kt(t,n)}tn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return tn(e,t,n)},{});throw new Error("first argument should be an array")};var nn=tn,rn=function(e,t){return(rn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function an(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}rn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,on,b=function(){return(b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function sn(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function ln(e){return e.type===y.literal}function cn(e){return e.type===y.number}function dn(e){return e.type===y.date}function un(e){return e.type===y.time}function hn(e){return e.type===y.select}function pn(e){return e.type===y.plural}function mn(e){return e.type===y.tag}function gn(e){return e&&"object"==typeof e&&e.type===on.number}function fn(e){return e&&"object"==typeof e&&e.type===on.dateTime}(e=g=g||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=on=on||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,yn=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var bn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,vn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,wn=/^(@+)?(\+|#+)?[rs]?$/g,xn=/(\*)(0+)|(#+)(0+)|(0+)/g,Cn=/^(0+)$/;function $n(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(wn,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Sn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Fn(e){return Sn(e)||{}}function kn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=b(b(b({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return b(b({},e),Fn(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return b(b({},e),Fn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(xn,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Cn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(vn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(vn,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=i.options[0];"w"===a?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=b(b({},o),$n(a)))}else wn.test(i.stem)?o=b(b({},o),$n(i.stem)):((a=Sn(i.stem))&&(o=b(b({},o),a)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Cn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=b(b({},o),r)))}return o}var Mn={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var _n=new RegExp("^".concat(e.source,"*")),En=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Tn=!!String.fromCodePoint,In=!!Object.fromEntries,Gn=!!String.prototype.codePointAt,Pn=!!String.prototype.trimStart,Bn=!!String.prototype.trimEnd,An=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Rn=!0;try{Rn="a"===(null==(ir=Yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ir[0])}catch(d){Rn=!1}var Dn,Hn,Nn=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},On=Tn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},jn=In?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},Un=Gn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},Wn=Pn?function(e){return e.trimStart()}:function(e){return e.replace(_n,"")},zn=Bn?function(e){return e.trimEnd()}:function(e){return e.replace(En,"")};function Yn(e,t){return new RegExp(e,t)}Hn=Rn?(Dn=Yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Dn.lastIndex=t,null!=(t=Dn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=Un(e,t);if(void 0===i||Jn(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return On.apply(void 0,r)};o.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},o.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Zn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(a,this.clonePosition())})}}}return{val:r,err:null}},o.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Zn(this.char()))return this.error(g.INVALID_TAG,v(e,this.clonePosition()));var i=this.clonePosition();return r!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,v(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,v(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(g.INVALID_TAG,v(n,this.clonePosition()))},o.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},o.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},o.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Zn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},o.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return On.apply(void 0,t)},o.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),On(n))},o.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,v(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},o.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Hn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},o.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=zn(m.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var d=v(r,this.clonePosition());if(l&&Nn(null==l?void 0:l.style,"::",0)){var u=Wn(l.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?m:{val:{type:y.number,value:n,location:d,style:m.val},err:null};if(0===u.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,d);var h=u,p=(this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(Mn[t||""]||Mn[n||""]||Mn["".concat(n,"-001")]||Mn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===i?"H":i}return n}(u,this.locale)),{type:on.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},h.replace(yn,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:d,style:p},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:d,style:null!=(u=null==l?void 0:l.style)?u:null},err:null};case"plural":case"selectordinal":case"select":h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,v(h,b({},h)));this.bumpSpace();var m,p=this.parseIdentifierIfPossible(),d=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),p=this.parseIdentifierIfPossible(),d=m.val}l=this.tryParsePluralOrSelectOptions(e,o,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;u=v(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:jn(l.val),location:u},err:null}:{val:{type:y.plural,value:n,options:jn(l.val),offset:d,pluralType:"plural"===o?"cardinal":"ordinal",location:u},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,v(a,s))}},o.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},o.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},o.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(bn).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:on.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?kn(n):{}},err:null}},o.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;a.push([s,{value:c.val,location:v(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(g.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},o.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=v(r,this.clonePosition());return i?An(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},o.prototype.offset=function(){return this.position.offset},o.prototype.isEOF=function(){return this.offset()===this.message.length},o.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},o.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Un(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},o.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},o.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},o.prototype.bumpIf=function(e){if(Nn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},o.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},o.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},o.prototype.bumpSpace=function(){for(;!this.isEOF()&&Jn(this.char());)this.bump()},o.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Vn=o;function o(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Zn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Jn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Kn(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Vn(e,t).parse();if(e.err)throw(n=SyntaxError(g[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,hn(e)||pn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else cn(e)&&gn(e.style)||(dn(e)||un(e))&&fn(e.style)?delete e.style.location:mn(e)&&n(e.children)})}(e.val),e.val}function Xn(e,t){var n=t&&t.cache?t.cache:ar,r=t&&t.serializer?t.serializer:tr;return(t&&t.strategy?t.strategy:function(e,t){return er(e,this,1===e.length?qn:Qn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function qn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function Qn(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function er(e,t,n,r,i){return n.bind(t,e,r,i)}var tr=function(){return JSON.stringify(arguments)};function nr(){this.cache=Object.create(null)}nr.prototype.get=function(e){return this.cache[e]},nr.prototype.set=function(e,t){this.cache[e]=t};var rr,ir,ar={create:function(){return new nr}},or={variadic:function(e,t){return er(e,this,Qn,t.cache.create(),t.serializer)},monadic:function(e,t){return er(e,this,qn,t.cache.create(),t.serializer)}};(ir=rr=rr||{}).MISSING_VALUE="MISSING_VALUE",ir.INVALID_VALUE="INVALID_VALUE",ir.MISSING_INTL_API="MISSING_INTL_API";an(vr,ur=Error),vr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var sr,lr,cr,dr,ur,hr=vr,pr=(an(br,dr=hr),br),mr=(an(yr,cr=hr),yr),gr=(an(fr,lr=hr),fr);function fr(e,t){return lr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),rr.MISSING_VALUE,t)||this}function yr(e,t,n){return cr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),rr.INVALID_VALUE,n)||this}function br(e,t,n,r){return dr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),rr.INVALID_VALUE,r)||this}function vr(e,t,n){e=ur.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function wr(e,t,n,r,i,a,o){if(1===e.length&&ln(e[0]))return[{type:sr.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(ln(d))s.push({type:sr.literal,value:d.value});else if(d.type===y.pound)"number"==typeof a&&s.push({type:sr.literal,value:n.getNumberFormat(t).format(a)});else{var u=d.value;if(!(i&&u in i))throw new gr(u,o);u=i[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?sr.literal:sr.object,value:u});else if(dn(d)){var h="string"==typeof d.style?r.date[d.style]:fn(d.style)?d.style.parsedOptions:void 0;s.push({type:sr.literal,value:n.getDateTimeFormat(t,h).format(u)})}else if(un(d))h="string"==typeof d.style?r.time[d.style]:fn(d.style)?d.style.parsedOptions:r.time.medium,s.push({type:sr.literal,value:n.getDateTimeFormat(t,h).format(u)});else if(cn(d))(h="string"==typeof d.style?r.number[d.style]:gn(d.style)?d.style.parsedOptions:void 0)&&h.scale&&(u*=h.scale||1),s.push({type:sr.literal,value:n.getNumberFormat(t,h).format(u)});else{if(mn(d)){var p=d.children,m=d.value,g=i[m];if("function"!=typeof g)throw new mr(m,"function",o);m=g(wr(p,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?sr.literal:sr.object,value:e}}))}if(hn(d)){if(!(f=d.options[u]||d.options.other))throw new pr(d.value,u,Object.keys(d.options),o);s.push.apply(s,wr(f.value,t,n,r,i))}else if(pn(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new hr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',rr.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[g]||d.options.other}if(!f)throw new pr(d.value,u,Object.keys(d.options),o);s.push.apply(s,wr(f.value,t,n,r,i,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===sr.literal&&t.type===sr.literal?n.value+=t.value:e.push(t),e},[])}function xr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=sr=sr||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty($r,"defaultLocale",{get:function(){return $r.memoizedDefaultLocale||($r.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),$r.memoizedDefaultLocale},enumerable:!1,configurable:!0}),$r.memoizedDefaultLocale=null,$r.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},$r.__parse=Kn,$r.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var Cr=$r;function $r(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=$r.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===sr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return wr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=$r.resolveLocale(t),"string"==typeof e){if(this.message=e,!$r.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=$r.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=$r.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?b(b(b({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),r[t]||{}),e},{})):n),e},b({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,sn([void 0],t,!1)))},{cache:xr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:or.variadic}),getDateTimeFormat:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,sn([void 0],t,!1)))},{cache:xr(t.dateTime),strategy:or.variadic}),getPluralRules:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,sn([void 0],t,!1)))},{cache:xr(t.pluralRules),strategy:or.variadic})}}const Sr={},Fr=(e,t,n)=>n&&(t in Sr||(Sr[t]={}),e in Sr[t]||(Sr[t][e]=n),n),kr=(t,n)=>{if(null!=n){if(n in Sr&&t in Sr[n])return Sr[n][t];var r=jr(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!Er(e))return null;e=function(e){return Mr[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}(r[e],t);if(i)return Fr(t,n,i)}}};let Mr;const _r=Yt({});function Er(e){return e in Mr}function Tr(t,...n){delete Sr[t],_r.update(e=>(e[t]=nn.all([e[t]||{},...n]),e))}Vt([_r],([e])=>Object.keys(e)),_r.subscribe(e=>Mr=e);const Lr={};function Ir(e){return Lr[e]}function Gr(e){return null!=e&&jr(e).some(e=>{return null==(e=Ir(e))?void 0:e.size})}const Pr={};function Br(e){if(!Gr(e))return e in Pr?Pr[e]:Promise.resolve();const t=jr(e).map(e=>{var t=Ir(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Pr[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return Lr[t].delete(n),0===Lr[t].size&&delete Lr[t],e().then(e=>e.default||e)}));return n.then(e=>Tr(r,...e))}})).then(()=>{if(Gr(e))return Br(e);delete Pr[e]}),Pr[e]}function Ar(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Rr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Dr=Yt(!1);let Hr;const Nr=Yt(null);function Or(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function jr(e,t=Rr.fallbackLocale){e=Or(e);return t?[...new Set([...e,...Or(t)])]:e}function Ur(){return null!=Hr?Hr:void 0}Nr.subscribe(e=>{Hr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ft=Object.assign(Object.assign({},Nr),{set:t=>{if(t&&function(e){if(null!=e){var t=jr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Er(n))return n}}}(t)&&Gr(t)){var n=Rr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ur()&&n?e=window.setTimeout(()=>Dr.set(!0),n):Dr.set(!0),Br(t).then(()=>{Nr.set(t)}).finally(()=>{clearTimeout(e),Dr.set(!1)})}return Nr.set(t)}}),Wr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},zr=(e,t)=>{var n=Rr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yr=Wr(e=>{var{locale:t,format:n}=e,e=Ar(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=zr("number",n)),new Intl.NumberFormat(t,e)}),Vr=Wr(e=>{var{locale:t,format:n}=e,e=Ar(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=zr("date",n):0===Object.keys(e).length&&(e=zr("date","short")),new Intl.DateTimeFormat(t,e)}),Zr=Wr(e=>{var{locale:t,format:n}=e,e=Ar(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=zr("time",n):0===Object.keys(e).length&&(e=zr("time","short")),new Intl.DateTimeFormat(t,e)}),Jr=Wr((e,t=Ur())=>new Cr(e,t,Rr.formats,{ignoreTag:Rr.ignoreTag})),Kr=Vt([ft,_r],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:a,locale:o=Ur(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=kr(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=Rr).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!a)return l;let c=l;try{c=Jr(l,o).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),yt=(Vt([ft],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Ar(e,["locale"]);return Zr(Object.assign({locale:t},e))})(t).format(e)),Vt([ft],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Ar(e,["locale"]);return Vr(Object.assign({locale:t},e))})(t).format(e)),Vt([ft],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Ar(e,["locale"]);return Yr(Object.assign({locale:t},e))})(t).format(e)),Vt([ft,_r],()=>(e,t=Ur())=>kr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ut.indexOf(e)&&(t=new Nt(t),Wt[e]=t,Ut.push(e)),Wt[e]}},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),bt=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Xr(e){var t=window.navigator.userAgent;return yt(t)?e.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):e.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})}function qr(r,i){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),We(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Qr(e){ft.set(e)}const ei={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"}},zh:{headerItem:{login:"登錄",register:"登記",deposit:"訂金"}},fr:{headerItem:{login:"Connexion",register:"Registre",deposit:"Dépôt"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"}},es:{headerItem:{login:"Iniciar sesión",register:"Registro",deposit:"Depósito"}},pt:{headerItem:{login:"Entrar",register:"Registro",deposit:"Depósito"}}};function ti(e,t,n){const r=e.slice();return r[43]=t[n],r[45]=n,r}function ni(e,t,n){const r=e.slice();return r[11]=t[n],r}function ri(t){let r,i=[],n=new Map,a=t[8];const o=e=>e[43].id;for(let e=0;e<a.length;e+=1){var s=ti(t,a,e),l=o(s);n.set(l,i[e]=ui(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);ue(t,r,n)},p(e,t){11115&t[0]&&(a=e[8],i=function(t,n,r,i,a,o,s,l,e,c,d,u){let h=t.length,p=o.length,m=h;const g={};for(;m--;)g[t[m].key]=m;const f=[],y=new Map,b=new Map;for(m=p;m--;){const t=u(a,o,m),l=r(t);let e=s.get(l);e?i&&e.p(t,n):(e=c(l,t)).c(),y.set(l,f[m]=e),l in g&&b.set(l,Math.abs(m-g[l]))}const v=new Set,w=new Set;function x(e){se(e,1),e.m(l,d),s.set(e.key,e),d=e.first,p--}for(;h&&p;){const n=f[p-1],r=t[h-1],i=n.key,a=r.key;n===r?(d=n.first,h--,p--):y.has(a)?!s.has(i)||v.has(i)?x(n):w.has(a)?h--:b.get(i)>b.get(a)?(w.add(i),x(n)):(v.add(a),h--):(e(r,s),h--)}for(;h--;){const n=t[h];y.has(n.key)||e(n,s)}for(;p;)x(f[p-1]);return f}(i,t,o,1,e,a,n,r.parentNode,we,ui,r,ti))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&he(r)}}}function ii(e){let n,r,i,a,o=e[43].name+"",s="FAVORITES"===e[43].id?"("+e[0]+")":"";return{c(){n=pe("a"),r=me(o),i=ge(),a=me(s),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,r),de(n,i),de(n,a)},p(e,t){256&t[0]&&o!==(o=e[43].name+"")&&ye(r,o),257&t[0]&&s!==(s="FAVORITES"===e[43].id?"("+e[0]+")":"")&&ye(a,s)},d(e){e&&he(n)}}}function ai(e){let n,r,i=e[43].label+"";return{c(){n=pe("a"),r=me(i),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&i!==(i=e[43].label+"")&&ye(r,i)},d(e){e&&he(n)}}}function oi(e){let n,r=0<e[11]?.count&&si(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){0<e[11]?.count?r?r.p(e,t):((r=si(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function si(e){let n,r=e[11]&&"true"==e[3]&&li(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[11]&&"true"==e[3]?r?r.p(e,t):((r=li(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function li(t){let i,a=t[11]?.items,o=[];for(let e=0;e<a.length;e+=1)o[e]=di(ni(t,a,e));return{c(){i=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class","DropDown")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e].m(i,null)},p(t,n){if(10496&n[0]){let e;for(a=t[11]?.items,e=0;e<a.length;e+=1){var r=ni(t,a,e);o[e]?o[e].p(r,n):(o[e]=di(r),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&he(i),G(o,e)}}}function ci(n){let r,i,a,o,s,l,c=n[11]?.name+"";function d(...e){return n[28](n[11],n[45],...e)}return{c(){r=pe("li"),i=pe("a"),a=me(c),o=ge(),fe(i,"class","SubDropDown")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),s||(l=K(r,"click",d),s=!0)},p(e,t){n=e,2048&t[0]&&c!==(c=n[11]?.name+"")&&ye(a,c)},d(e){e&&he(r),s=!1,l()}}}function di(e){let n,r=e[11].games.count&&ci(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[11].games.count?r?r.p(e,t):((r=ci(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ui(e,n){let r,i,a,o,s,l;function c(e){return"headerMain"===e[1]?ai:ii}let d=c(n),u=d(n),h=1==n[9][n[45]]&&oi(n);function p(...e){return n[29](n[43],n[45],...e)}return{key:e,first:null,c(){r=pe("li"),u.c(),i=ge(),h&&h.c(),a=ge(),fe(r,"class",o="CarouselItem "+(n[5]==n[45]||n[6]==n[45]?"active":"")+" "+("headerMain"==n[1]?"":"SecondaryMenu")),fe(r,"part","CarouselItem"),this.first=r},m(e,t){ue(e,r,t),u.m(r,null),de(r,i),h&&h.m(r,null),de(r,a),s||(l=K(r,"click",p),s=!0)},p(e,t){d===(d=c(n=e))&&u?u.p(n,t):(u.d(1),(u=d(n))&&(u.c(),u.m(r,i))),1==n[9][n[45]]?h?h.p(n,t):((h=oi(n)).c(),h.m(r,a)):h&&(h.d(1),h=null),354&t[0]&&o!==(o="CarouselItem "+(n[5]==n[45]||n[6]==n[45]?"active":"")+" "+("headerMain"==n[1]?"":"SecondaryMenu"))&&fe(r,"class",o)},d(e){e&&he(r),u.d(),h&&h.d(),s=!1,l()}}}function hi(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w=0<n[8].length&&ri(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=ge(),s=pe("div"),l=pe("ul"),(c=pe("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',d=ge(),w&&w.c(),u=ge(),(h=pe("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',this.c=Z,fe(a,"class","CarouselLeftArrow"),fe(a,"part","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(l,"part","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(h,"class","CarouselRightArrow"),fe(h,"part","CarouselRightArrow"),fe(i,"class",p="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),fe(i,"part",m="CarouselContainer "+(n[12]?"CarouselContainerMobile":"")+" "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),fe(i,"style",g="headerMain"===n[1]?"max-width: auto":`max-width: ${n[2]}px`),fe(r,"class",f="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":"")),fe(r,"part",y="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),de(s,l),de(l,c),de(l,d),w&&w.m(l,null),n[30](l),n[31](s),de(i,u),de(i,h),n[33](r),b||(v=[K(a,"click",n[27]),K(h,"click",n[32])],b=!0)},p(e,t){0<e[8].length?w?w.p(e,t):((w=ri(e)).c(),w.m(l,null)):w&&(w.d(1),w=null),2&t[0]&&p!==(p="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&fe(i,"class",p),2&t[0]&&m!==(m="CarouselContainer "+(e[12]?"CarouselContainerMobile":"")+" "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&fe(i,"part",m),6&t[0]&&g!==(g="headerMain"===e[1]?"max-width: auto":`max-width: ${e[2]}px`)&&fe(i,"style",g),2&t[0]&&f!==(f="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&fe(r,"class",f),2&t[0]&&y!==(y="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&fe(r,"part",y)},i:Z,o:Z,d(e){e&&he(r),w&&w.d(),n[30](null),n[31](null),n[33](null),b=!1,J(v)}}}function pi(t,e,i){let{endpoint:a=""}=e,{datasource:o=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:s="defaultEvent"}=e,{favoritesnumber:r="0"}=e,{location:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{containermaxwidth:h=""}=e,{isprimarymenu:p=!1}=e,{issecondarymenu:m=!1}=e,{lang:g=""}=e,{activeindex:f="0"}=e,{showsubgroups:y="false"}=e;var b,v;({withLocale:b,translations:v}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(v),ft.set(b))}),Object.keys(ei).forEach(e=>{Tr(e,ei[e])});let w,x,C,$,S,F,k=window.navigator.userAgent,A="PC"!==bt(k),M=[],_=[],E=(e,t)=>{P(),i(5,x=t),i(5,x),i(6,C=x),G(e,t,"navigation")},T=()=>{F.scrollBy({left:-250,behavior:"smooth"}),"true"==y&&B()},L=()=>{F.scrollBy({left:250,behavior:"smooth"}),"true"==y&&B()};const I=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(i(8,M=e.data.data),i(9,_=new Array(M.length).fill(!1)),"true"==y&&B()),"GoToHomepage"==e.data.type&&M.forEach((e,t)=>{e.path.endsWith("/casino")&&(i(5,x=t),i(5,x),i(6,C=x))})},G=(t,n,r)=>{var e;"secondaryMenu"==l&&a&&o&&g&&t.id&&(e=new URL(`${a}/casino/groups/${o}/${t.id}/subGroups?language=`+g),fetch(e.href).then(e=>e.json()).then(e=>{i(11,S=e),("false"==y||"navigation"==r&&S.count<=0)&&window.postMessage({type:s,itemId:t.id,index:n,item:t},window.location.href)}).then(()=>{w.querySelectorAll(".DropDown")&&P()})),"headerMain"==l&&window.postMessage({type:s,item:t},window.location.href)},P=()=>{const t=w.querySelectorAll(".DropDown");document.activeElement.blur(),F.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+F.scrollLeft+"px)";F.classList.remove("isScrolling")},B=()=>{M.forEach((e,t)=>{var n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(i(9,_[t]=!0,_),G(e,t))})};return wt(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",I,!1),setTimeout(()=>{F.addEventListener("scroll",P)},500),()=>{window.removeEventListener("message",I),w.removeEventListener("scroll",P)})),t.$$set=e=>{"endpoint"in e&&i(16,a=e.endpoint),"datasource"in e&&i(17,o=e.datasource),"onclickeventname"in e&&i(18,n=e.onclickeventname),"actionevent"in e&&i(19,s=e.actionevent),"favoritesnumber"in e&&i(0,r=e.favoritesnumber),"location"in e&&i(1,l=e.location),"clientstyling"in e&&i(20,c=e.clientstyling),"clientstylingurl"in e&&i(21,d=e.clientstylingurl),"identity"in e&&i(22,u=e.identity),"containermaxwidth"in e&&i(2,h=e.containermaxwidth),"isprimarymenu"in e&&i(23,p=e.isprimarymenu),"issecondarymenu"in e&&i(24,m=e.issecondarymenu),"lang"in e&&i(25,g=e.lang),"activeindex"in e&&i(26,f=e.activeindex),"showsubgroups"in e&&i(3,y=e.showsubgroups)},t.$$.update=()=>{if(67108864&t.$$.dirty[0]&&f&&(i(5,x=parseInt(f,10)),C||i(6,C=x),"true"==y&&B()),1048576&t.$$.dirty[0]&&c){let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{$.appendChild(e)})}if(2097152&t.$$.dirty[0]&&d){let t=document.createElement("style"),e=new URL(d);d&&fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}var e;33554432&t.$$.dirty[0]&&g&&(e=g,ft.set(e))},[r,l,h,y,w,x,C,$,M,_,F,S,A,E,T,L,a,o,n,s,c,d,u,p,m,g,f,()=>T(),(e,t,n)=>{E(e,t),n.stopPropagation()},(e,t,n)=>{E(e,t),n.preventDefault()},function(e){gt[e?"unshift":"push"](()=>{w=e,i(4,w)})},function(e){gt[e?"unshift":"push"](()=>{F=e,i(10,F)})},()=>L(),function(e){gt[e?"unshift":"push"](()=>{$=e,i(7,$)})}]}function mi(n){let r,i,a,o;return{c(){r=pe("div"),w(i=pe("casino-slider"),"lang",n[2]),w(i,"datasource",n[1]),w(i,"endpoint",n[0]),w(i,"identity",bi),w(i,"favoritesnumber",n[13]),w(i,"showsubgroups",n[8]),w(i,"clientstyling",n[3]),w(i,"clientstylingurl",n[4]),w(i,"containermaxwidth",n[5]),w(i,"activeindex",n[10]),w(i,"actionevent",n[6]),w(i,"location",n[7]),fe(r,"class","CasinoCategoriesContainer"),fe(r,"part","CasinoCategoriesContainer")},m(e,t){ue(e,r,t),de(r,i),a||(o=M(n[16].call(null,i)),a=!0)},p(e,t){4&t[0]&&w(i,"lang",e[2]),2&t[0]&&w(i,"datasource",e[1]),1&t[0]&&w(i,"endpoint",e[0]),8192&t[0]&&w(i,"favoritesnumber",e[13]),256&t[0]&&w(i,"showsubgroups",e[8]),8&t[0]&&w(i,"clientstyling",e[3]),16&t[0]&&w(i,"clientstylingurl",e[4]),32&t[0]&&w(i,"containermaxwidth",e[5]),1024&t[0]&&w(i,"activeindex",e[10]),64&t[0]&&w(i,"actionevent",e[6]),128&t[0]&&w(i,"location",e[7])},d(e){e&&he(r),a=!1,o()}}}function gi(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function fi(e){let n;return{c(){fe(n=pe("div"),"class","CasinoCategoriesLoading"),fe(n,"part","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function yi(n){let r;function i(e){return e[9]||e[14]||e[15]?fi:e[11]?gi:mi}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[28](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[28](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;padding:7px 10px;color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-color-contrast, #07072A)}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-color-primary, #D0046C)}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown{background:var(--emfe-w-color-contrast, #07072A);background:-webkit-linear-gradient(var(--emfe-w-color-contrast, #07072A), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(var(--emfe-w-color-contrast, #07072A), var(--emfe-w-color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:\"\";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},pi,hi,t,{endpoint:16,datasource:17,onclickeventname:18,actionevent:19,favoritesnumber:0,location:1,clientstyling:20,clientstylingurl:21,identity:22,containermaxwidth:2,isprimarymenu:23,issecondarymenu:24,lang:25,activeindex:26,showsubgroups:3},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups"]}get endpoint(){return this.$$.ctx[16]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[17]}set datasource(e){this.$$set({datasource:e}),f()}get onclickeventname(){return this.$$.ctx[18]}set onclickeventname(e){this.$$set({onclickeventname:e}),f()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),f()}get favoritesnumber(){return this.$$.ctx[0]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),f()}get location(){return this.$$.ctx[1]}set location(e){this.$$set({location:e}),f()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get identity(){return this.$$.ctx[22]}set identity(e){this.$$set({identity:e}),f()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get isprimarymenu(){return this.$$.ctx[23]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),f()}get issecondarymenu(){return this.$$.ctx[24]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get activeindex(){return this.$$.ctx[26]}set activeindex(e){this.$$set({activeindex:e}),f()}get showsubgroups(){return this.$$.ctx[3]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}});let bi="CasinoSliderData";function vi(t,e,n){let r,i,a,{endpoint:o=""}=e,{datasource:s=""}=e,{lang:l=""}=e,{userid:c=""}=e,{session:d=""}=e,{mostplayed:u=""}=e,{mostplayedrounds:h=""}=e,{lastplayed:p="false"}=e,{lastplayedperiod:m=""}=e,{favorites:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{containermaxwidth:b=""}=e,{activecategory:v=""}=e,{actionevent:w=""}=e,{sessioncheck:x=""}=e,{location:C="secondaryMenu"}=e,{showsubgroups:$="false"}=e,{filteredcategories:S=""}=e,F=0,k="",M=!0,_=[],E=!1,T=window.navigator.userAgent,L=!1,I=!1,A=!1,G=!1,P=!1,B=!1;const R=e=>{if(e.data)switch(e.data.type){case"UpdateCategoryFavoriteGames":case"ShowFavoriteSection":var t=Xr(e.data.receivedFavoriteResults.items);n(13,a=t.length)}};return wt(()=>(window.addEventListener("message",R,!1),()=>{window.removeEventListener("message",R)})),t.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"lang"in e&&n(2,l=e.lang),"userid"in e&&n(18,c=e.userid),"session"in e&&n(19,d=e.session),"mostplayed"in e&&n(20,u=e.mostplayed),"mostplayedrounds"in e&&n(21,h=e.mostplayedrounds),"lastplayed"in e&&n(22,p=e.lastplayed),"lastplayedperiod"in e&&n(23,m=e.lastplayedperiod),"favorites"in e&&n(24,g=e.favorites),"clientstyling"in e&&n(3,f=e.clientstyling),"clientstylingurl"in e&&n(4,y=e.clientstylingurl),"containermaxwidth"in e&&n(5,b=e.containermaxwidth),"activecategory"in e&&n(17,v=e.activecategory),"actionevent"in e&&n(6,w=e.actionevent),"sessioncheck"in e&&n(25,x=e.sessioncheck),"location"in e&&n(7,C=e.location),"showsubgroups"in e&&n(8,$=e.showsubgroups),"filteredcategories"in e&&n(26,S=e.filteredcategories)},t.$$.update=()=>{var e;if(7&t.$$.dirty[0]&&o&&s&&l&&((e=bt(T))&&(k="PC"===e?"dk":"iPad"===e||"iPhone"===e?"ios":"mtWeb"),o||(r="Endpoint is missing! Please provide a valid endpointURL.",n(11,E=!0),n(9,M=!1),console.error(r)),s||(r="Datasource is missing! Please provide a valid datasource.",n(11,E=!0),n(9,M=!1),console.error(r)),(!l||l.length<2)&&(r="Language is missing! Please provide a valid language (alpha2code)",n(11,E=!0),n(9,M=!1),console.error(r)),!E)){let e=new URL(o+"/casino/groups/"+s);e.searchParams.append("datasource",s),e.searchParams.append("language",l),e.searchParams.append("device",k),fetch(e).then(e=>e.json()).then(e=>{let r=S.split(","),t=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,S))for(var n of r)e.flags==n&&(t=!1);return t});(_=(_=[]).concat(t)).unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(9,M=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(11,E=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(11,E=!0),console.error("There was an error while fetching the categories",e)})}if(524289&t.$$.dirty[0]&&d&&o&&"true"==x&&qr(o,d).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),17302016&t.$$.dirty[0]&&d&&g&&!M&&(0==L&&"true"==g&&_.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),L=!0),4719105&t.$$.dirty[0]&&d&&o&&!M&&p&&("true"==p&&(n(15,P=!0),new Promise((n,r)=>{if(p){let e=new URL(`${o}/player/${c}/games/last-played`),t=bt(T);t?"PC"===t?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),e.searchParams.append("period",m),fetch(e.href).then(e=>e.json()).then(e=>{0==e.count&&n(!1),n(e)}).catch(e=>{console.error("err",e),r(!1)})}}).then(e=>{0==A&&"true"==p&&e&&_.splice(3,0,{id:"LASTPLAYED",name:"Last Played",href:"",games:[],triggerFetch:!1}),n(15,P=!1),xe(),A=!0})),n(27,B=!0)),1835521&t.$$.dirty[0]&&d&&o&&!M&&c&&u&&(u&&(n(14,G=!0),(()=>{if(u){let e=new URL(`${o}/player/${c}/games/most-played`),t=bt(T);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==I&&"true"==u&&e&&_.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(14,G=!1),xe(),I=!0})),n(27,B=!0)),134873600&t.$$.dirty[0]&&!M&&v&&(!d||B)&&(e=v.split("$"),n(17,v=2<e.length?v.split("$").slice(0,2).join("$"):v),n(10,F=_.map(e=>e.id).indexOf(decodeURI(v)))),8&t.$$.dirty[0]&&f){let e=document.createElement("style");e.innerHTML=f,i.appendChild(e)}if(16&t.$$.dirty[0]&&y){let t=document.createElement("style"),e=new URL(y);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},n(13,a=0),[o,s,l,f,y,b,w,C,$,M,F,E,i,a,G,P,e=>{window.postMessage({type:"SliderData",identity:bi,data:_},window.location.href)},v,c,d,u,h,p,m,g,x,S,B,function(e){gt[e?"unshift":"push"](()=>{i=e,n(12,i)})}]}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var(--emfe-w-color-black, #000000)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},vi,yi,t,{endpoint:0,datasource:1,lang:2,userid:18,session:19,mostplayed:20,mostplayedrounds:21,lastplayed:22,lastplayedperiod:23,favorites:24,clientstyling:3,clientstylingurl:4,containermaxwidth:5,activecategory:17,actionevent:6,sessioncheck:25,location:7,showsubgroups:8,filteredcategories:26},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),f()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),f()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[21]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[22]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[23]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get favorites(){return this.$$.ctx[24]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get containermaxwidth(){return this.$$.ctx[5]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get activecategory(){return this.$$.ctx[17]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),f()}get sessioncheck(){return this.$$.ctx[25]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),f()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get filteredcategories(){return this.$$.ctx[26]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}});const wi={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},zh:{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"Error 500 - Error Interno del Servidor",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tómate un descanso de 1 día del juego.",breakButton:"Tómese un descanso de 24 horas del juego",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Limpio",noGamesPlayed:"No has probado ningún juego!"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}},xi={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};$i=Ci={path:void 0,exports:{},require:function(e,t){return Ln(null==t&&Ci.path)}},Ci.exports,$i.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 R(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function D(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function s(e){return void 0===e}function H(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function N(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function O(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return 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 U(e){if(null==e._isValid){var t=f(e),n=z.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function W(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var z=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},Y=m.momentProperties=[],V=!1;function Z(e,t){var n,r,i,a=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(i=t[r=Y[n]])||(e[r]=i);return e}function J(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,m.updateOffset(this),V=!1)}function l(e){return e instanceof J||null!=e&&null!=e._isAMomentObject}function K(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return j(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,a),s){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}K(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var X={};function q(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),X[e]||(K(t),X[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=j({},e);for(n in t)g(t,n)&&(R(e[n])&&R(t[n])?(r[n]={},j(r[n],e[n]),j(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)g(e,n)&&!g(t,n)&&R(e[n])&&(r[n]=j({},r[n]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function a(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},ae={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=i),t&&(ae[t[0]]=function(){return a(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,a=i.length;t<a;t++)ae[i[t]]?i[t]=ae[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=d(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 u(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)g(e,n)&&(t=u(n))&&(r[t]=e[n]);return r}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function 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&&ue(e.year())&&1===e.month()&&29===e.date()?(n=p(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,Ce=/[+-]?\d{1,6}/,$e=/\d+/,Se=/[+-]?\d+/,Fe=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,n,r){_e[e]=d(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return g(_e,e)?_e[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var _e={},Ee={};function C(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),H(n)&&(i=function(e,t){t[n]=p(e)}),r=e.length,t=0;t<r;t++)Ee[e[t]]=i}function Te(e,i){C(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var $,S=0,F=1,k=2,M=3,_=4,E=5,Le=6,Ie=7,Ge=8;function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?ue(e)?29:28:31-n%7%2}$=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),C(["M","MM"],function(e,t){t[F]=p(e)-1}),C(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[F]=r:f(n).invalidMonth=e});var 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("_"),Re=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=v,He=v;function Ne(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!H(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Oe(e){return null!=e?(Ne(this,e),m.updateOffset(this,!0),this):pe(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=x(n[a]),r[a]=x(r[a]);for(a=0;a<24;a++)i[a]=x(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return ue(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",Se),w("YY",b,y),w("YYYY",xe,fe),w("YYYYY",Ce,ye),w("YYYYYY",Ce,ye),C(["YYYYY","YYYYYY"],S),C("YYYY",function(e,t){t[S]=2===e.length?m.parseTwoDigitYear(e):p(e)}),C("YY",function(e,t){t[S]=m.parseTwoDigitYear(e)}),C("Y",function(e,t){t[S]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var We=he("FullYear",!0);function ze(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Ye(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var a,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,i),n=t<=0?Ue(a=e-1)+t:t>Ue(e)?(a=e+1,t-Ue(e)):(a=e,t);return{year:a,dayOfYear:n}}function Je(e,t,n){var r,i,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+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(Ue(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",b),w("ww",b,y),w("W",b),w("WW",b,y),Te(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=p(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),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 Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=x(this.weekdaysMin(r,"")),n=x(this.weekdaysShort(r,"")),r=x(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function at(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),C(["H","HH"],M),C(["k","kk"],function(e,t,n){e=p(e);t[M]=24===e?0:e}),C(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),C(["h","hh"],function(e,t,n){t[M]=p(e),f(n).bigHour=!0}),C("hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r)),f(n).bigHour=!0}),C("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r,2)),t[E]=p(e.substr(i)),f(n).bigHour=!0}),C("Hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r))}),C("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r,2)),t[E]=p(e.substr(i))});v=he("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Be,monthsShort:Ae,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},L={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=dt(e[a]).split("-")).length,n=(n=dt(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]&&$i&&$i.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 ut(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[F]<0||11<t[F]?F:t[k]<1||t[k]>Pe(t[S],t[F])?k:t[M]<0||24<t[M]||24===t[M]&&(0!==t[_]||0!==t[E]||0!==t[Le])?M:t[_]<0||59<t[_]?_:t[E]<0||59<t[E]?E:t[Le]<0||999<t[Le]?Le:-1,f(e)._overflowDayOfYear&&(t<S||k<t)&&(t=k),f(e)._overflowWeeks&&-1===t&&(t=Ie),f(e)._overflowWeekday&&-1===t&&(t=Ge),f(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xt=/^\/?Date\((-?\d+)/i,Ct=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,$t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,r,i,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){i=vt[t][0],r=!1!==vt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Et(e)}else e._isValid=!1}function Ft(e,t,n,r,i,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ae.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&e.push(parseInt(a,10)),e}function kt(e){var t,n,r,i,a=Ct.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Ft(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=a[8],r=a[9],i=a[10],n?$t[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function _t(e){var t,n,r,i,a,o,s,l,c,d,u,h=[];if(!e._d){for(d=e,u=new Date(m.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[k]&&null==e._a[F]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,r=Mt(u.GG,d._a[S],Je(G(),1,4).year),i=Mt(u.W,1),((a=Mt(u.E,1))<1||7<a)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Je(G(),o,s),r=Mt(u.gg,d._a[S],c.year),i=Mt(u.w,c.week),null!=u.d?((a=u.d)<0||6<a)&&(l=!0):null!=u.e?(a=u.e+o,(u.e<0||6<u.e)&&(l=!0)):a=o),i<1||i>T(r,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=Ze(r,i,a,o,s),d._a[S]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[S],n[S]),(e._dayOfYear>Ue(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(u,0,e._dayOfYear),e._a[F]=l.getUTCMonth(),e._a[k]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[_]&&0===e._a[E]&&0===e._a[Le]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:ze).apply(null,h),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Et(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,i=""+e._i,a=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(i.match(Me(r,e))||[])[0])&&(0<(u=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(u),i=i.slice(i.indexOf(t)+t.length),o+=t.length),ae[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),u=r,p=e,null!=(h=t)&&g(Ee,u)&&Ee[u](h,p._a,p,u)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=a-o,0<i.length&&f(e).unusedInput.push(i),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(a=e._locale,c=e._a[M],null==(d=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,d):null!=a.isPM?((a=a.isPM(d))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[S]=e._locale.erasConvertYear(d,e._a[S])),_t(e),gt(e)}else kt(e);else St(e);var c,d,u,h,p}function Tt(e){var t,n=e._i,r=e._f;{var i,a;if(e._locale=e._locale||I(e._l),null===n||void 0===r&&""===n)return W({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new J(gt(n)):(N(n)?e._d=n:o(r)?function(e){var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)a=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Et(t),U(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));j(e,n||t)}(e):r?Et(e):s(r=(n=e)._i)?n._d=new Date(m.now()):N(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(a=xt.exec(i._i))?(St(i),!1===i._isValid&&(delete i._isValid,kt(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:m.createFromInputFallback(i)))):i._d=new Date(+a[1])):o(r)?(n._a=O(r.slice(0),function(e){return parseInt(e,10)}),_t(n)):R(r)?(i=n)._d||(t=void 0===(a=ce(i._i)).day?a.date:a.day,i._a=O([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),_t(i)):H(r)?n._d=new Date(r):m.createFromInputFallback(n),U(e)||(e._d=null),e)}}function 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),(R(e)&&D(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(i=new J(gt(Tt(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function G(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(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=G.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:W()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=G.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:W()});function It(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return G();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Gt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Gt.length;for(t in e)if(g(e,t)&&(-1===$.call(Gt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Gt[n]]){if(r)return!1;parseFloat(e[Gt[n]])!==p(e[Gt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=I(),this._bubble()}function Bt(e){return e instanceof Pt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Rt(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)})}Rt("Z",":"),Rt("ZZ",""),w("Z",ke),w("ZZ",ke),C(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ht(ke,e)});var Dt=/([\+\-]|\d\d)/gi;function Ht(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Dt)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Nt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||N(e)?e:G(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):G(e).local()}function Ot(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(e,t){var n,r,i=e,a=null;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):(a=Ut.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:p(a[k])*n,h:p(a[M])*n,m:p(a[_])*n,s:p(a[E])*n,ms:p(At(1e3*a[Le]))*n}):(a=Wt.exec(e))?(n="-"===a[1]?-1:1,i={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=G(i.from),a=G(i.to),n=t.isValid()&&a.isValid()?(a=Nt(a,t),t.isBefore(a)?r=Yt(t,a):((r=Yt(a,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),a=new Pt(i),Bt(e)&&g(e,"_locale")&&(a._locale=e._locale),Bt(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Yt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(q(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,P(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))}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Be=Vt(1,"add"),Xe=Vt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||N(e)||Jt(e)||H(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!H(e)&&Jt(t)}).length),n&&r)||function(e){var t,n,r=R(e)&&!D(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],i=i||g(e,n);return r&&i}(e)||null==e;var t,n,r}function Xt(e,t){if(e.date()<t.date())return-Xt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function qt(e){return void 0===e?this._locale._abbr:(null!=(e=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(x(i[a].name)),e.push(x(i[a].abbr)),n.push(x(i[a].narrow)),r.push(x(i[a].name)),r.push(x(i[a].abbr)),r.push(x(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function sn(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var a;return null==e?Je(this,r,i).year:(t>(a=T(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=Ye(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),C(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),w("y",$e),w("yy",$e),w("yyy",$e),w("yyyy",$e),w("yo",function(e,t){return t._eraYearOrdinalRegex||$e}),C(["y","yy","yyy","yyyy"],S),C(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[S]=n._locale.eraYearOrdinalParse(e,i):t[S]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",Se),w("g",Se),w("GG",b,y),w("gg",b,y),w("GGGG",xe,fe),w("gggg",xe,fe),w("GGGGG",Ce,ye),w("ggggg",Ce,ye),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),w("Q",i),C("Q",function(e,t){t[F]=3*(p(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),C(["D","DD"],k),C("Do",function(e,t){t[k]=p(e.match(b)[0])});xe=he("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),C(["DDD","DDDD"],function(e,t,n){n._dayOfYear=p(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),C(["m","mm"],_);fe=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),C(["s","ss"],E);var cn,Ce=he("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,i),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,$e);function dn(e,t){t[Le]=p(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")C(cn,dn);ye=he("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=J.prototype;function un(e){return e}i.add=Be,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=R(e)&&!D(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||g(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||G(),n=Nt(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,G(e)))},i.clone=function(){return new J(this)},i.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=u(t)){case"year":a=Xt(this,r)/12;break;case"month":a=Xt(this,r);break;case"quarter":a=Xt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:h(a)},i.endOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||G(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(G(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||G(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(G(),e)},i.get=function(e){return d(this[e=u(e)])?this[e]():this},i.invalidAt=function(){return f(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:G(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:G(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:G(e),t=l(t)?t:G(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:G(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return U(this)},i.lang=Qe,i.locale=qt,i.localeData=Qt,i.max=ve,i.min=be,i.parsingFlags=function(){return j({},f(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)g(e,t)&&n.push({unit:t,priority:de[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(d(this[e=u(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},i.subtract=Xe,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},i.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-m(n[r].since).year())*e+n[r].offset;return this.year()},i.year=We,i.isLeapYear=function(){return ue(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 Pe(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return 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=xe,i.day=i.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},i.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},i.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},i.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},i.hour=i.hours=v,i.minute=i.minutes=fe,i.second=i.seconds=Ce,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Ot(this);if("string"==typeof e){if(null===(e=Ht(ke,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ot(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,P(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ot(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ht(Fe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?G(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=jt,i.isUTC=jt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",xe),i.months=e("months accessor is deprecated. Use month instead",Oe),i.years=e("years accessor is deprecated. Use year instead",We),i.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Tt(t))._a?(e=(t._isUTC?c:G)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&p(e[o])!==p(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function hn(e,t,n,r){var i=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 d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=un,y.postformat=un,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return d(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)g(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var n,r=this._eras||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||Re).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[Re.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=$.call(this._shortMonthsParse,e))?i:null:-1!==(i=$.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=$.call(this._shortMonthsParse,e))||-1!==(i=$.call(this._longMonthsParse,e))?i:null:-1!==(i=$.call(this._longMonthsParse,e))||-1!==(i=$.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Je(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ke(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=$.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=$.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=$.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=$.call(this._weekdaysParse,e))||-1!==(i=$.call(this._shortWeekdaysParse,e))||-1!==(i=$.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=$.call(this._shortWeekdaysParse,e))||-1!==(i=$.call(this._weekdaysParse,e))||-1!==(i=$.call(this._minWeekdaysParse,e))?i:null:-1!==(i=$.call(this._minWeekdaysParse,e))||-1!==(i=$.call(this._weekdaysParse,e))||-1!==(i=$.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},pt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===p(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",I);var gn=Math.abs;function fn(e,t,n,r){t=P(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),ge=wn("s"),Be=wn("m"),ve=wn("h"),be=wn("d"),Xe=wn("w"),v=wn("M"),fe=wn("Q"),Ce=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),We=xn("minutes"),y=xn("hours"),Cn=xn("days"),$n=xn("months"),Sn=xn("years");var Fn=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var i=P(e).abs(),a=Fn(i.as("s")),o=Fn(i.as("m")),s=Fn(i.as("h")),l=Fn(i.as("d")),c=Fn(i.as("M")),d=Fn(i.as("w")),i=Fn(i.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(a=(a=null!=n.w?a||d<=1&&["w"]||d<n.w&&["ww",d]: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(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=_n(this._milliseconds)/1e3,l=_n(this._days),c=_n(this._months),d=this.asSeconds();return d?(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(d)?"-":"",a=En(this._days)!==En(d)?"-":"",o=En(this._milliseconds)!==En(d)?"-":"",(d<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}var B=Pt.prototype;return B.isValid=function(){return this._isValid},B.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},B.add=function(e,t){return fn(this,e,t,1)},B.subtract=function(e,t){return fn(this,e,t,-1)},B.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},B.asMilliseconds=we,B.asSeconds=ge,B.asMinutes=Be,B.asHours=ve,B.asDays=be,B.asWeeks=Xe,B.asMonths=v,B.asQuarters=fe,B.asYears=Ce,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(vn(n)+t),n=t=0),r.milliseconds=e%1e3,e=h(e/1e3),r.seconds=e%60,e=h(e/60),r.minutes=e%60,e=h(e/60),r.hours=e%24,t+=h(e/24),n+=e=h(bn(t)),t-=yn(vn(e)),e=h(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},B.clone=function(){return P(this)},B.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},B.milliseconds=ye,B.seconds=xe,B.minutes=We,B.hours=y,B.days=Cn,B.weeks=function(){return h(this.days()/7)},B.months=$n,B.years=Sn,B.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},kn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Mn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},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"),w("x",Se),w("X",/[+-]?\d+(\.\d{1,3})?/),C("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),C("x",function(e,t,n){n._d=new Date(p(e))}),m.version="2.29.3",A=G,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 G(1e3*e)},m.months=function(e,t){return pn(e,t,"months")},m.isDate=N,m.locale=pt,m.invalid=W,m.duration=P,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return G.apply(null,arguments).parseZone()},m.localeData=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=u,m.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},m.prototype=i,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},m}();var Ci,$i,Si=Ci.exports;const Fi={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},ki={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Mi(e,t,n){const r=e.slice();return r[107]=t[n],r[109]=n,r}function _i(e,t,n){const r=e.slice();return r[104]=t[n],r}function Ei(e){let n,r=!yt(e[36])&&!e[0]&&e[13],i=r&&Ti(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){(r=8193&t[0]?!yt(e[36])&&!e[0]&&e[13]:r)?i?i.p(e,t):((i=Ti(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function Ti(n){let r,i,a;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Li(e){let n;return{c(){(n=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ii(n){let r,i,a;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[68]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Gi(e){let n,r,i=e[35]("gameThumbnail.new")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.new")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Pi(e){let n,r,i=e[35]("gameThumbnail.hot")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.hot")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Bi(e){let n,r,i=!e[22]&&e[20]&&e[21]&&Ai(e);function a(e){return e[22]&&e[19]&&e[19]===Zi?Di:e[22]&&e[19]&&e[19]===Ji?Ri:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ge(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=Ai(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&he(n),s&&s.d(e),e&&he(r)}}}function Ai(e){let n,r,i,a,o,s,l,c,d,u,h=e[35]("gameThumbnail.opens")+"",p=Si.utc(e[20]).local().format(e[21])+"",m=e[45](e[34])+"",g=e[44](e[26],e[27],e[25])+"";return{c(){n=pe("div"),r=pe("div"),i=me(h),a=ge(),o=pe("span"),s=me(p),l=ge(),c=new R(!1),d=ge(),u=new R(!1),fe(r,"class","ClosedGame"),fe(r,"part","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,a),de(r,o),de(o,s),de(n,l),c.m(m,n),de(n,d),u.m(g,n)},p(e,t){16&t[1]&&h!==(h=e[35]("gameThumbnail.opens")+"")&&ye(i,h),3145728&t[0]&&p!==(p=Si.utc(e[20]).local().format(e[21])+"")&&ye(s,p),8&t[1]&&m!==(m=e[45](e[34])+"")&&c.p(m),234881024&t[0]&&g!==(g=e[44](e[26],e[27],e[25])+"")&&u.p(g)},d(e){e&&he(n)}}}function Ri(n){let r,i,a,o,s,l,c=n[45](n[34])+"",d=n[44](n[26],n[27],n[25])+"",u=new Array(Xi),h=[];for(let e=0;e<u.length;e+=1)h[e]=ji(Mi(n,u,e));return{c(){r=pe("div"),i=pe("div");for(let e=0;e<h.length;e+=1)h[e].c();a=ge(),o=new R(!1),s=ge(),l=new R(!1),fe(i,"class","LiveIcons"),fe(i,"part","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[30]),fe(r,"part",n[30])},m(e,t){ue(e,r,t),de(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[69](i),de(r,a),o.m(c,r),de(r,s),l.m(d,r)},p(t,n){if(536872960&n[0]|32769&n[1]){let e;for(u=new Array(Xi),e=0;e<u.length;e+=1){const o=Mi(t,u,e);h[e]?h[e].p(o,n):(h[e]=ji(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=u.length}8&n[1]&&c!==(c=t[45](t[34])+"")&&o.p(c),234881024&n[0]&&d!==(d=t[44](t[26],t[27],t[25])+"")&&l.p(d),1073741824&n[0]&&fe(r,"class",t[30]),1073741824&n[0]&&fe(r,"part",t[30])},d(e){e&&he(r),G(h,e),n[69](null)}}}function Di(e){let n,r,i,a,o,s,l=e[45](e[34])+"",c=e[44](e[26],e[27],e[25])+"";function d(e){return e[32]?Wi:Ui}let u=d(e),h=u(e);return{c(){n=pe("div"),r=pe("div"),h.c(),i=ge(),a=new R(!1),o=ge(),s=new R(!1),fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),a.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){ue(e,n,t),de(n,r),h.m(r,null),de(n,i),a.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&h?h.p(e,t):(h.d(1),(h=u(e))&&(h.c(),h.m(r,null))),8&t[1]&&l!==(l=e[45](e[34])+"")&&a.p(l),234881024&t[0]&&c!==(c=e[44](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&he(n),h.d()}}}function Hi(e){let n;function r(e){return e[29]?Oi:Ni}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Ni(e){let n,r,i=e[46]("LatestResult "+(0===e[109]?"First":""),e[109],e[11][e[109]],e[31][e[11][e[109]]])+"";return{c(){n=new R(!1),r=c(),n.a=r},m(e,t){n.m(i,e,t),ue(e,r,t)},p(e,t){2048&t[0]|1&t[1]&&i!==(i=e[46]("LatestResult "+(0===e[109]?"First":""),e[109],e[11][e[109]],e[31][e[11][e[109]]])+"")&&n.p(i)},d(e){e&&he(r),e&&n.d()}}}function Oi(e){let n,r,i,a,o,s=e[46]("LatestResult "+(0===e[109]?"First":""),"first"+e[109]+e[11][e[109]][0],e[11][e[109]][0],e[31][e[11][e[109]][0]])+"",l=e[46]("LatestResult "+(0===e[109]?"First":""),"second"+e[109]+e[11][e[109]][1],e[11][e[109]][1],e[31][e[11][e[109]][1]])+"";return{c(){n=pe("div"),r=new R(!1),i=ge(),a=new R(!1),o=ge(),r.a=i,a.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){ue(e,n,t),r.m(s,n),de(n,i),a.m(l,n),de(n,o)},p(e,t){2048&t[0]|1&t[1]&&s!==(s=e[46]("LatestResult "+(0===e[109]?"First":""),"first"+e[109]+e[11][e[109]][0],e[11][e[109]][0],e[31][e[11][e[109]][0]])+"")&&r.p(s),2048&t[0]|1&t[1]&&l!==(l=e[46]("LatestResult "+(0===e[109]?"First":""),"second"+e[109]+e[11][e[109]][1],e[11][e[109]][1],e[31][e[11][e[109]][1]])+"")&&a.p(l)},d(e){e&&he(n)}}}function ji(e){let n,r=e[11]&&e[11][e[109]]&&Hi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[11]&&e[11][e[109]]?r?r.p(e,t):((r=Hi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Ui(t){let i,a=t[24],o=[];for(let e=0;e<a.length;e+=1)o[e]=zi(_i(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(285212672&n[0]|4096&n[1]){let e;for(a=t[24],e=0;e<a.length;e+=1){var r=_i(t,a,e);o[e]?o[e].p(r,n):(o[e]=zi(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function Wi(e){let n,r,i=e[35]("gameThumbnail.full")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.full")+"")&&ye(r,i)},d(e){e&&he(n)}}}function zi(e){let n,r,i,a,o,s,l;return{c(){n=pe("span"),r=k("svg"),i=k("path"),a=k("path"),o=ge(),fe(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"width","13"),fe(r,"height","14"),fe(r,"viewBox","0 0 13 14"),fe(n,"class",s=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,a),de(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),285212672&t[0]&&l!==(l=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&he(n)}}}function Yi(e){let n,r;return{c(){n=pe("p"),r=me(e[3]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[3])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){8&t[0]&&ye(r,e[3]),8&t[0]&&fe(n,"title",e[3])},d(e){e&&he(n)}}}function Vi(n){let r,i,a,o,s,l,D,c,d,u,h,p,H,m,g,f,y,N,b,v,O,w,x,C,$,S,j,F,k,U,M,_,W,z,E=n[35]("gameThumbnail.playNow")+"",T=(n[4]||"-")+"",Y=0<parseInt(n[7]),L=n[14]&&Ei(n);function V(e,t){return 8195&t[0]&&(w=null),8195&t[0]&&(x=null),(w=null==w?!(yt(e[36])||!e[0]||!e[13]||!e[1]):w)?Ii:(x=null==x?!!(yt(e[36])&&e[0]&&e[13]&&e[1]):x)?Li:void 0}let I=V(n,[-1,-1,-1,-1]),G=I&&I(n),P=n[6]&&Gi(n),B=Y&&Pi(n),A=n[10]&&Bi(n),R=n[9]&&Yi(n);return{c(){r=pe("div"),i=pe("div"),a=pe("img"),D=ge(),c=pe("div"),d=pe("div"),L&&L.c(),u=ge(),h=pe("p"),p=me(n[3]),H=ge(),m=pe("button"),g=me(E),N=ge(),b=pe("span"),v=me(T),O=ge(),G&&G.c(),C=ge(),$=pe("div"),P&&P.c(),S=ge(),B&&B.c(),j=ge(),A&&A.c(),U=ge(),R&&R.c(),this.c=Z,ce(a.src,o=n[2])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[8]} ${n[15]?"GameContainerHovered":""} `+(n[16]?"Loaded":"")),fe(a,"part",l="GameBg "+(n[15]?"GameContainerHovered":"")+" "+(n[16]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(h,"class","GameInfoName"),fe(h,"part","GameInfoName"),fe(h,"title",n[3]),fe(m,"class","GameInfoBtn"),fe(m,"part","GameInfoBtn"),fe(d,"class",f="GameInfo "+(n[15]?"GameHovered":"")),fe(d,"part",y="GameInfo "+(n[15]?"GameHovered":"")),fe(b,"class","GameInfoVendor"),fe(b,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe($,"class","GameExtraInfo"),fe($,"part","GameExtraInfo"),fe(i,"class",F="GameInnerContainer "+(n[10]&&!n[22]&&n[23].value||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),fe(i,"part",k="GameInnerContainer "+(n[10]&&!n[22]||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),fe(r,"class",M="GameContainer "+n[33]),fe(r,"part",_="GameContainer "+n[33])},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[65](a),de(i,D),de(i,c),de(c,d),L&&L.m(d,null),de(d,u),de(d,h),de(h,p),de(d,H),de(d,m),de(m,g),de(c,N),de(c,b),de(b,v),de(i,O),G&&G.m(i,null),de(i,C),de(i,$),P&&P.m($,null),de($,S),B&&B.m($,null),de($,j),A&&A.m($,null),de(r,U),R&&R.m(r,null),n[70](r),W||(z=[K(m,"click",n[67]),K(i,"mouseenter",n[41]),K(i,"mouseleave",n[42]),K(i,"touchstart",n[39],{passive:!0}),K(i,"touchend",n[40],{passive:!0})],W=!0)},p(e,t){4&t[0]&&!ce(a.src,o=e[2])&&fe(a,"src",o),98560&t[0]&&s!==(s=`GameBg GameBg-${e[8]} ${e[15]?"GameContainerHovered":""} `+(e[16]?"Loaded":""))&&fe(a,"class",s),98304&t[0]&&l!==(l="GameBg "+(e[15]?"GameContainerHovered":"")+" "+(e[16]?"Loaded":""))&&fe(a,"part",l),e[14]?L?L.p(e,t):((L=Ei(e)).c(),L.m(d,u)):L&&(L.d(1),L=null),8&t[0]&&ye(p,e[3]),8&t[0]&&fe(h,"title",e[3]),16&t[1]&&E!==(E=e[35]("gameThumbnail.playNow")+"")&&ye(g,E),32768&t[0]&&f!==(f="GameInfo "+(e[15]?"GameHovered":""))&&fe(d,"class",f),32768&t[0]&&y!==(y="GameInfo "+(e[15]?"GameHovered":""))&&fe(d,"part",y),16&t[0]&&T!==(T=(e[4]||"-")+"")&&ye(v,T),I===(I=V(e,t))&&G?G.p(e,t):(G&&G.d(1),(G=I&&I(e))&&(G.c(),G.m(i,C))),e[6]?P?P.p(e,t):((P=Gi(e)).c(),P.m($,S)):P&&(P.d(1),P=null),(Y=128&t[0]?0<parseInt(e[7]):Y)?B?B.p(e,t):((B=Pi(e)).c(),B.m($,j)):B&&(B.d(1),B=null),e[10]?A?A.p(e,t):((A=Bi(e)).c(),A.m($,null)):A&&(A.d(1),A=null),12583936&t[0]|2&t[1]&&F!==(F="GameInnerContainer "+(e[10]&&!e[22]&&e[23].value||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"class",F),4195328&t[0]|2&t[1]&&k!==(k="GameInnerContainer "+(e[10]&&!e[22]||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"part",k),e[9]?R?R.p(e,t):((R=Yi(e)).c(),R.m(r,null)):R&&(R.d(1),R=null),4&t[1]&&M!==(M="GameContainer "+e[33])&&fe(r,"class",M),4&t[1]&&_!==(_="GameContainer "+e[33])&&fe(r,"part",_)},i:Z,o:Z,d(e){e&&he(r),n[65](null),L&&L.d(),G&&G.d(),P&&P.d(),B&&B.d(),A&&A.d(),R&&R.d(),n[70](null),W=!1,J(z)}}}const Zi="blackjack",Ji="roulette",Ki="doubleballroulette",Xi=5;function qi(i,e,o){let t;vt(i,Kr,e=>o(35,t=e));let a,s,l,n,A,c,d,u,h,p,R,m,D,H,N,g,O,j,U,f,W,y,z,Y,{session:V=""}=e,{userid:Z=""}=e,{lang:J=""}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{favorites:w=""}=e,{gamethumbnail:K=""}=e,{gamename:X=""}=e,{gamevendor:r=""}=e,{gameid:x=""}=e,{gameisnew:q=""}=e,{gamepopularity:Q=""}=e,{gamefunmode:C=!1}=e,{searchitem:ee=!1}=e,{gamefavorite:$=!1}=e,{gamecellsize:te=""}=e,{showfavoredcategory:S=!1}=e,{showgamename:ne=!1}=e,{currency:F=""}=e,{gamepagemodalurl:k="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:_=""}=e,{connectlive:E=""}=e,{visibilityconnect:T=""}=e,{integratedgameframedesktop:L="false"}=e,{integratedgameframemobile:I="false"}=e,re=!1,ie=!1,ae=!1,G=window.navigator.userAgent,oe="HH:mm",se,le=[],ce="EUR",P="";const de=[Zi],ue=[Ji,Ki],he={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},pe={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},me=(Object.keys(Fi).forEach(e=>{Tr(e,Fi[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+x||S||o(0,$=!0),e.data.type!=="RemoveFavoriteThumbnail_"+x||S||o(0,$=!1),"UserSessionID"===e.data.type&&(o(13,re=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(10,l=null)}),ge=e=>{ee&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),yt(G)&&"true"==I?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:C,gamepagemodalurl:k,isMobile:yt(G),source:"GameThumbnail"},window.location.href):yt(G)&&"false"==I&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:yt(G)},window.location.href),yt(G)||"true"!=L?yt(G)||"false"!=L||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:yt(G)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:C,gamepagemodalurl:k,isMobile:yt(G)},window.location.href)},fe=e=>{$?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},ye=()=>{_&&EventSource&&!n&&r&&x&&(n=new EventSource(`${M}/encoder/lobby/updates/${r}/`+x)).addEventListener("message",ve)},be=()=>{n&&(n.close(),n=void 0)},ve=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:a}=r;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(28,m=i),o(10,l.currentOccupiedSeats=i,l),await xe());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(D=n,o(10,l.currentRouletteNumbers=n,l),await xe());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(H=n,o(10,l.currentDoubleBallRouletteNumbers=n,l),await xe());break;case"TableOpened":case"TableClosed":o(22,d=a),o(10,l.isOpen=a,l),await xe()}}}},we=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",B=(e,t)=>e.some(e=>e===t);return wt(()=>(window.addEventListener("message",me,!1),()=>{window.removeEventListener("message",me),n&&n.removeEventListener("message",ve)})),i.$$set=e=>{"session"in e&&o(47,V=e.session),"userid"in e&&o(48,Z=e.userid),"lang"in e&&o(49,J=e.lang),"clientstyling"in e&&o(50,b=e.clientstyling),"clientstylingurl"in e&&o(51,v=e.clientstylingurl),"favorites"in e&&o(1,w=e.favorites),"gamethumbnail"in e&&o(2,K=e.gamethumbnail),"gamename"in e&&o(3,X=e.gamename),"gamevendor"in e&&o(4,r=e.gamevendor),"gameid"in e&&o(5,x=e.gameid),"gameisnew"in e&&o(6,q=e.gameisnew),"gamepopularity"in e&&o(7,Q=e.gamepopularity),"gamefunmode"in e&&o(52,C=e.gamefunmode),"searchitem"in e&&o(53,ee=e.searchitem),"gamefavorite"in e&&o(0,$=e.gamefavorite),"gamecellsize"in e&&o(8,te=e.gamecellsize),"showfavoredcategory"in e&&o(54,S=e.showfavoredcategory),"showgamename"in e&&o(9,ne=e.showgamename),"currency"in e&&o(55,F=e.currency),"gamepagemodalurl"in e&&o(56,k=e.gamepagemodalurl),"endpoint"in e&&o(57,M=e.endpoint),"livelobbyendpoint"in e&&o(58,_=e.livelobbyendpoint),"connectlive"in e&&o(59,E=e.connectlive),"visibilityconnect"in e&&o(60,T=e.visibilityconnect),"integratedgameframedesktop"in e&&o(61,L=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(62,I=e.integratedgameframemobile)},i.$$.update=()=>{if(268435456&i.$$.dirty[1]&&E&&("disconnect"===E?be():"connect"===E&&ye()),536870912&i.$$.dirty[1]&&T&&("disconnect"===T?be():"connect"===T&&"connect"===E&&ye()),i.$$.dirty[1],67305472&i.$$.dirty[1]&&V&&Z&&M&&o(13,re=!0),4&i.$$.dirty[0]&&K&&a&&o(17,a.onload=()=>{o(16,ae=!0)},a),524288&i.$$.dirty[1]&&b){let e=document.createElement("style");e.innerHTML=b,setTimeout(()=>{s.appendChild(e)})}if(2&i.$$.dirty[0]&&w&&"true"==w&&o(14,ie=!0),256&i.$$.dirty[0]|1048576&i.$$.dirty[1]&&te&&v){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)})})}if(201326592&i.$$.dirty[1]&&M&&_){let e=new URL(""+_.split("?")[0]);e.searchParams.append("platform",bt(G)),e.searchParams.append("language",J),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(10,l=e)})}if(1024&i.$$.dirty[0]&&l&&l&&(o(22,d=l.isOpen),se=l.betLimit||{},o(23,u=l.openHours),o(24,le=(e=>{R=e.totalSeats||7,o(28,m=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=R;e++)t.push(e);return{seats:t}})(l).seats),u&&u.value&&({startTime:e,originalTimeFormat:t}=u["value"],o(20,c=e),o(21,oe=t||oe)),d&&o(19,A=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();B(de,e)?t=Zi:B(ue,e)&&(t=Ji)}}return t})(l)),o(25,ce=ki[F]),o(26,h=(se.min||{})[F]),o(27,p=(se.max||{})[F]),D=l.currentRouletteNumbers,H=l.currentDoubleBallRouletteNumbers,N=l.vendorCategory,o(29,g=N.toLowerCase()===Ki),o(11,O=(g?H:D)||[]),o(30,j="GameProp LiveProps RoulleteProps"),o(30,j+=g?" Double":""),o(31,U=B(ue,N.toLowerCase())?pe:he),W=f,o(32,f=Array.isArray(m)&&m.length===R),l.dealer&&o(34,z=l.dealer.DealerName),Y=l.numberOfPlayers,o(33,P="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(33,P+=" GameBackdrop"),d&&f&&h&&p&&l.currentOccupiedSeats?o(33,P+=" GameContainerDimmed"):!1===d&&c&&o(33,P+=" GameContainerFullyDimmed"),s&&(!W&&f?(o(33,P+=" PulsatingRedShadow"),o(33,P=P.replace(" PulsatingGreenShadow",""))):W&&!f&&(o(33,P+=" PulsatingGreenShadow"),o(33,P=P.replace(" PulsatingRedShadow",""))))),6144&i.$$.dirty[0]&&y&&O){const n="FirstElementAnimated",r=y.getElementsByClassName("First")[0];r&&(r.classList.add(n),setTimeout(()=>{r.classList.remove(n)},2e3))}var e,t},[$,w,K,X,r,x,q,Q,te,ne,l,O,y,re,ie,!1,ae,a,s,A,c,oe,d,u,le,ce,h,p,m,g,j,U,f,P,z,t,G,ge,fe,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},B,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(e){"use strict";(Ln=e)&&"object"==typeof Ln&&0 in Ln;function Z(){}const g=e=>e;function d(e){return e()}function h(){return Object.create(null)}function J(e){e.forEach(d)}function b(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let n;function ce(e,t){return n=n||document.createElement("a"),n.href=t,e===n.href}function p(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function dt(e,t,n){e.$$.on_destroy.push(p(t,n))}function v(e){return e&&b(e.destroy)?e.destroy:Z}var r="undefined"!=typeof window;let f=r?()=>window.performance.now():()=>Date.now(),y=r?e=>requestAnimationFrame(e):Z;const w=new Set;function x(t){w.forEach(e=>{e.c(t)||(w.delete(e),e.f())}),0!==w.size&&y(x)}function ue(e,t){e.appendChild(t)}function C(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function de(e,t,n){e.insertBefore(t,n||null)}function he(e){e.parentNode.removeChild(e)}function k(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function pe(e){return document.createElement(e)}function M(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function me(e){return document.createTextNode(e)}function ge(){return me(" ")}function c(){return me("")}function K(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function $(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function F(e,t){e.value=null==t?"":t}function P(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}let a;function m(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=pe("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const r=function(){if(void 0===a){a=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){a=!0}}return a}();let i;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=K(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=K(n.contentWindow,"resize",t)}),ue(e,n),()=>{(r||i&&n.contentWindow)&&i(),he(n)}}function B(e,t,n){e.classList[n?"add":"remove"](t)}class S{constructor(){this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.e=pe(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)de(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(he)}}function i(e){const t={};for(const n of e)t[n.name]=n.value;return t}const _=new Set;let E,T=0;function I(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
|
+
`}const u=c+`100% {${o(n,1-n)}}
|
|
3
|
+
}`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,h=C(e);_.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=(s=e,g=pe("style"),ue((s=C(s)).head||s,g),g.sheet)),m=h.__svelte_rules||(h.__svelte_rules={});m[d]||(m[d]=!0,p.insertRule(`@keyframes ${d} `+u,p.cssRules.length));var g=e.style.animation||"";return e.style.animation=(g?g+", ":"")+d+` ${r}ms linear ${i}ms 1 both`,T+=1,d}function L(e){E=e}function ht(e){!function(){if(!E)throw new Error("Function called outside component initialization");return E}().$$.on_mount.push(e)}const G=[],pt=[],o=[],s=[],l=Promise.resolve();let u=!1;function R(){u||(u=!0,l.then(O))}function Ce(){return R(),l}function A(e){o.push(e)}const D=new Set;let H,N=0;function O(){const e=E;do{for(;N<G.length;){const e=G[N];N++,L(e),function(e){{var t;null!==e.fragment&&(e.update(),J(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A))}}(e.$$)}for(L(null),G.length=0,N=0;pt.length;)pt.pop()();for(let e=0;e<o.length;e+=1){const t=o[e];D.has(t)||(D.add(t),t())}}while(o.length=0,G.length);for(;s.length;)s.pop()();u=!1,D.clear(),L(e)}function j(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}((t?"intro":"outro")+n))}const U=new Set;let W;function z(){W={r:0,c:[],p:W}}function Y(){W.r||J(W.c),W=W.p}function V(e,t){e&&e.i&&(U.delete(e),e.i(t))}function X(e,t,n,r){e&&e.o&&(U.has(e)||(U.add(e),W.c.push(()=>{U.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const q={duration:0};function Q(s,e,t,n){let l=e(s,t),c=n?0:1,u=null,d=null,h=null;function p(){h&&function(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),i=n.length-r.length;i&&(e.style.animation=r.join(", "),T-=i,T||y(()=>{T||(_.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),_.clear())}))}(s,h)}function m(e,t){var n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:r=g,tick:i=Z,css:a}=l||q,o={start:f()+t,b:e};e||(o.group=W,W.r+=1),u||d?d=o:(a&&(p(),h=I(s,c,e,n,t,r,a)),e&&i(0,1),u=m(o,n),A(()=>j(s,e,"start")),function(t){let n;0===w.size&&y(x),new Promise(e=>{w.add(n={c:t,f:e})})}(e=>{if(d&&e>d.start&&(u=m(d,n),d=null,j(s,u.b,"start"),a&&(p(),h=I(s,c,u.b,u.duration,0,r,l.css))),u)if(e>=u.end)i(c=u.b,1-c),j(s,u.b,"end"),d||(u.b?p():--u.group.r||J(u.group.c)),u=null;else if(e>=u.start){const s=e-u.start;c=u.a+u.d*r(s/u.duration),i(c,1-c)}return!(!u&&!d)}))}return{run(e){b(l)?(H||(H=Promise.resolve(),H.then(()=>{H=null})),H.then(()=>{l=l(),r(e)})):r(e)},end(){p(),u=d=null}}}function ee(e,t){e.d(1),t.delete(e.key)}function te(r,e,t,n,i,a,o,s=[-1]){var l=E;L(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:h(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let 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]&&(G.push(e),R(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,J(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const r=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(r),r.forEach(he)}else c.fragment&&c.fragment.c();e.intro&&V(r.$$.fragment),function(t,e,n,r){const{fragment:i,on_mount:a,on_destroy:o,after_update:s}=t.$$;i&&i.m(e,n),r||A(()=>{var e=a.map(d).filter(b);o?o.push(...e):J(e),t.$$.on_mount=[]}),s.forEach(A)}(r,e.target,e.anchor,e.customElement),O()}L(l)}let ne;"function"==typeof HTMLElement&&(ne=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(d).filter(b);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){J(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(J(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var re,ie,ae="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==ae&&ae,oe="URLSearchParams"in ae,se="Symbol"in ae&&"iterator"in Symbol,le="FileReader"in ae&&"Blob"in ae&&function(){try{return new Blob,!0}catch(e){return!1}}(),be="FormData"in ae,ve="ArrayBuffer"in ae;function we(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function xe(e){return e="string"!=typeof e?String(e):e}function $e(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return se&&(e[Symbol.iterator]=function(){return e}),e}function Se(t){this.map={},t instanceof Se?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Fe(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ke(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Me(e){var t=new FileReader,n=ke(t);return t.readAsArrayBuffer(e),n}function _e(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Ee(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:le&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:be&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:oe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ve&&le&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=_e(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ve&&(ArrayBuffer.prototype.isPrototypeOf(e)||ie(e))?this._bodyArrayBuffer=_e(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):oe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},le&&(this.blob=function(){var e=Fe(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Fe(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Me)}),this.text=function(){var e,t,n=Fe(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ke(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},be&&(this.formData=function(){return this.text().then(Le)}),this.json=function(){return this.text().then(JSON.parse)},this}ve&&(re=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ie=ArrayBuffer.isView||function(e){return e&&-1<re.indexOf(Object.prototype.toString.call(e))}),Se.prototype.append=function(e,t){e=we(e),t=xe(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},Se.prototype.delete=function(e){delete this.map[we(e)]},Se.prototype.get=function(e){return e=we(e),this.has(e)?this.map[e]:null},Se.prototype.has=function(e){return this.map.hasOwnProperty(we(e))},Se.prototype.set=function(e,t){this.map[we(e)]=xe(t)},Se.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},Se.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),$e(n)},Se.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),$e(t)},Se.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),$e(n)},se&&(Se.prototype[Symbol.iterator]=Se.prototype.entries);var Te=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ie(e,t){if(!(this instanceof Ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof Ie){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Se(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 Se(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<Te.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Le(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function Ge(e,t){if(!(this instanceof Ge))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Se(t.headers),this.url=t.url||"",this._initBody(e)}Ie.prototype.clone=function(){return new Ie(this,{body:this._bodyInit})},Ee.call(Ie.prototype),Ee.call(Ge.prototype),Ge.prototype.clone=function(){return new Ge(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Se(this.headers),url:this.url})},Ge.error=function(){var e=new Ge(null,{status:0,statusText:""});return e.type="error",e};var Pe=[301,302,303,307,308];Ge.redirect=function(e,t){if(-1===Pe.indexOf(t))throw new RangeError("Invalid status code");return new Ge(null,{status:t,headers:{location:e}})};var Be=ae.DOMException;try{new Be}catch(e){(Be=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Be.prototype.constructor=Be}function Re(r,o){return new Promise(function(i,e){var t=new Ie(r,o);if(t.signal&&t.signal.aborted)return e(new Be("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new Se,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;setTimeout(function(){i(new Ge(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new Be("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&ae.location.href?ae.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&&(le?a.responseType="blob":ve&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof Se?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,xe(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function In(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Re.polyfill=!0,ae.fetch||(ae.fetch=Re,ae.Headers=Se,ae.Request=Ie,ae.Response=Ge);var Ae=self.fetch.bind(self),De=function(e,t){return(De=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 He(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}De(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ne(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 Oe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function je(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Ue(e){return"function"==typeof e}function We(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var ze=We(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 Ye(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var Ve=(Je.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=Ne(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(Ue(a))try{a()}catch(e){i=e instanceof ze?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Ne(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{Xe(u)}catch(e){i=null!=i?i:[],e instanceof ze?i=je(je([],Oe(i)),Oe(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 ze(i)}},Je.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Xe(e);else{if(e instanceof Je){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}},Je.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Je.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Je.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ye(t,e)},Je.prototype.remove=function(e){var t=this._finalizers;t&&Ye(t,e),e instanceof Je&&e._removeParent(this)},Je.EMPTY=((_n=new Je).closed=!0,_n),Je),Ze=Ve.EMPTY;function Je(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ke(e){return e instanceof Ve||e&&"closed"in e&&Ue(e.remove)&&Ue(e.add)&&Ue(e.unsubscribe)}function Xe(e){Ue(e)?e():e.unsubscribe()}var qe=void 0,Qe=!1,et=!1,tt={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=tt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,je([e,t],Oe(n))):setTimeout.apply(void 0,je([e,t],Oe(n)))},clearTimeout:function(e){var t=tt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function nt(){}var rt=null;function it(e){if(Qe){var t=!rt;if(t&&(rt={errorThrown:!1,error:null}),e(),t){var n=rt,t=n.errorThrown,n=n.error;if(rt=null,t)throw n}}else e()}var at,ot=(He(lt,at=Ve),lt.create=function(e,t,n){return new gt(e,t,n)},lt.prototype.next=function(e){this.isStopped||this._next(e)},lt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},lt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},lt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,at.prototype.unsubscribe.call(this),this.destination=null)},lt.prototype._next=function(e){this.destination.next(e)},lt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},lt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},lt),st=Function.prototype.bind;function lt(e){var t=at.call(this)||this;return t.isStopped=!1,e?Ke(t.destination=e)&&e.add(t):t.destination=vt,t}function ct(e,t){return st.call(e,t)}var ut,mt=(yt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){bt(e)}},yt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){bt(e)}else bt(e)},yt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){bt(e)}},yt),gt=(He(ft,ut=ot),ft);function ft(e,t,n){var r=ut.call(this)||this,e=Ue(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&et?((n=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&ct(e.next,n),error:e.error&&ct(e.error,n),complete:e.complete&&ct(e.complete,n)}):e;return r.destination=new mt(e),r}function yt(e){this.partialObserver=e}function bt(e){var t=e;tt.setTimeout(function(){throw t})}var vt={closed:!0,next:nt,error:function(e){throw e},complete:nt},wt="function"==typeof Symbol&&Symbol.observable||"@@observable";function xt(e){return e}var Ct=($t.prototype.lift=function(e){var t=new $t;return t.source=this,t.operator=e,t},$t.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof ot||r&&Ue(r.next)&&Ue(r.error)&&Ue(r.complete)&&Ke(r)?e:new gt(e,t,n);return it(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},$t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},$t.prototype.forEach=function(r,e){var i=this;return new(e=St(e))(function(e,t){var n=new gt({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},$t.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},$t.prototype[wt]=function(){return this},$t.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?xt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},$t.prototype.toPromise=function(e){var r=this;return new(e=St(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},$t.create=function(e){return new $t(e)},$t);function $t(e){e&&(this._subscribe=e)}function St(e){return null!==(e=null!=e?e:qe)&&void 0!==e?e:Promise}var Ft,kt,Mt,_t=We(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Et=(He(Bt,Mt=Ct),Bt.prototype.lift=function(e){var t=new Tt(this,this);return t.operator=e,t},Bt.prototype._throwIfClosed=function(){if(this.closed)throw new _t},Bt.prototype.next=function(i){var a=this;it(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=Ne(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}}}})},Bt.prototype.error=function(t){var n=this;it(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)}})},Bt.prototype.complete=function(){var t=this;it(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Bt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Bt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Bt.prototype._trySubscribe=function(e){return this._throwIfClosed(),Mt.prototype._trySubscribe.call(this,e)},Bt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Bt.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?Ze:(this.currentObservers=null,i.push(e),new Ve(function(){t.currentObservers=null,Ye(i,e)}))},Bt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Bt.prototype.asObservable=function(){var e=new Ct;return e.source=this,e},Bt.create=function(e,t){return new Tt(e,t)},Bt),Tt=(He(Pt,kt=Et),Pt.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},Pt.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},Pt.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},Pt.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Ze},Pt),It={now:function(){return(It.delegate||Date).now()},delegate:void 0},Lt=(He(Gt,Ft=Et),Gt.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(),Ft.prototype.next.call(this,e)},Gt.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},Gt.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)}},Gt);function Gt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=It);var r=Ft.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 Pt(e,t){var n=kt.call(this)||this;return n.destination=e,n.source=t,n}function Bt(){var e=Mt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Rt=[],At={};const Dt=[];function Ht(r,i=Z){let a;const o=new Set;function s(e){if(t(r,e)&&(r=e,a)){const e=!Dt.length;for(const e of o)e[1](),Dt.push(e,r);if(e){for(let e=0;e<Dt.length;e+=2)Dt[e][0](Dt[e+1]);Dt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.add(n),1===o.size&&(a=i(s)||Z),e(r),()=>{o.delete(n),0===o.size&&(a(),a=null)}}}}function Nt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Ht(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=b(e)?e:Z)},e=c.map((e,t)=>p(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){J(e),a()}}).subscribe}}function Ot(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===jt));var t}var jt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ut(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Zt(Array.isArray(e)?[]:{},e,t):e}function Wt(e,t,n){return e.concat(t).map(function(e){return Ut(e,n)})}function zt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Yt(e,t){try{return t in e}catch(e){return!1}}function Vt(r,i,a){var o={};return a.isMergeableObject(r)&&zt(r).forEach(function(e){o[e]=Ut(r[e],a)}),zt(i).forEach(function(t){var e,n;(!Yt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Yt(r,t)&&a.isMergeableObject(i[t])?o[t]=function(e){if(!e.customMerge)return Zt;e=e.customMerge(t);return"function"==typeof e?e:Zt}(a)(r[t],i[t],a):o[t]=Ut(i[t],a))}),o}function Zt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Wt,n.isMergeableObject=n.isMergeableObject||Ot,n.cloneUnlessOtherwiseSpecified=Ut;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Vt(e,t,n):Ut(t,n)}Zt.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Zt(e,t,n)},{})};var Jt=Zt,Kt=function(e,t){return(Kt=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 Xt(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}Kt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var qt,Qt,en,tn=function(){return(tn=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 nn(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 rn(e){return e.type===Qt.literal}function an(e){return e.type===Qt.number}function on(e){return e.type===Qt.date}function sn(e){return e.type===Qt.time}function ln(e){return e.type===Qt.select}function cn(e){return e.type===Qt.plural}function un(e){return e.type===Qt.tag}function dn(e){return e&&"object"==typeof e&&e.type===en.number}function hn(e){return e&&"object"==typeof e&&e.type===en.dateTime}(En=qt=qt||{})[En.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",En[En.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",En[En.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",En[En.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",En[En.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",En[En.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",En[En.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",En[En.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",En[En.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",En[En.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",En[En.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",En[En.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",En[En.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",En[En.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",En[En.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",En[En.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",En[En.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",En[En.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",En[En.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",En[En.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",En[En.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",En[En.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",En[En.INVALID_TAG=23]="INVALID_TAG",En[En.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",En[En.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",En[En.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Tn=Qt=Qt||{})[Tn.literal=0]="literal",Tn[Tn.argument=1]="argument",Tn[Tn.number=2]="number",Tn[Tn.date=3]="date",Tn[Tn.time=4]="time",Tn[Tn.select=5]="select",Tn[Tn.plural=6]="plural",Tn[Tn.pound=7]="pound",Tn[Tn.tag=8]="tag",(Ln=en=en||{})[Ln.number=0]="number",Ln[Ln.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,pn=/(?:[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 mn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,gn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,fn=/^(@+)?(\+|#+)?[rs]?$/g,yn=/(\*)(0+)|(#+)(0+)|(0+)/g,bn=/^(0+)$/;function vn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(fn,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 wn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function xn(e){return wn(e)||{}}function Cn(e){for(var o={},t=0,n=e;t<n.length;t++){var r=n[t];switch(r.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=r.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=tn(tn(tn({},o),{notation:"scientific"}),r.options.reduce(function(e,t){return tn(tn({},e),xn(t))},{}));continue;case"engineering":o=tn(tn(tn({},o),{notation:"engineering"}),r.options.reduce(function(e,t){return tn(tn({},e),xn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(yn,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(bn.test(r.stem))o.minimumIntegerDigits=r.stem.length;else if(gn.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(gn,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 i=r.options[0];"w"===i?o=tn(tn({},o),{trailingZeroDisplay:"stripIfInteger"}):i&&(o=tn(tn({},o),vn(i)))}else fn.test(r.stem)?o=tn(tn({},o),vn(r.stem)):((i=wn(r.stem))&&(o=tn(tn({},o),i)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!bn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(o=tn(tn({},o),i)))}return o}var $n,Sn={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Fn=new RegExp("^".concat(r.source,"*")),kn=new RegExp("".concat(r.source,"*$"));function Mn(e,t){return{start:e,end:t}}var _n=!!String.prototype.startsWith,wt=!!String.fromCodePoint,Et=!!Object.fromEntries,En=!!String.prototype.codePointAt,Tn=!!String.prototype.trimStart,Ln=!!String.prototype.trimEnd,Gn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},r=!0;try{r="a"===(null===($n=jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===$n?void 0:$n[0])}catch(e){r=!1}var Pn,Bn,Rn=_n?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},An=wt?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},Dn=Et?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},Hn=En?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},Nn=Tn?function(e){return e.trimStart()}:function(e){return e.replace(Fn,"")},On=Ln?function(e){return e.trimEnd()}:function(e){return e.replace(kn,"")};function jn(e,t){return new RegExp(e,t)}Bn=r?(Pn=jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Pn.lastIndex=t,null!==(e=Pn.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=Hn(e,t);if(void 0===i||Yn(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 An.apply(void 0,r)};var Un=(Wn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Wn.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(qt.UNMATCHED_CLOSING_TAG,Mn(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&zn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:Qt.pound,location:Mn(a,this.clonePosition())})}}}return{val:r,err:null}},Wn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Qt.literal,value:"<".concat(r,"/>"),location:Mn(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!zn(this.char()))return this.error(qt.INVALID_TAG,Mn(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(qt.UNMATCHED_CLOSING_TAG,Mn(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Qt.tag,value:r,children:e,location:Mn(n,this.clonePosition())},err:null}:this.error(qt.INVALID_TAG,Mn(t,this.clonePosition())))}return this.error(qt.UNCLOSED_TAG,Mn(n,this.clonePosition()))}return this.error(qt.INVALID_TAG,Mn(n,this.clonePosition()))},Wn.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())},Wn.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=Mn(n,this.clonePosition());return{val:{type:Qt.literal,value:r,location:n},err:null}},Wn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(zn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Wn.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 An.apply(void 0,t)},Wn.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),An(n))},Wn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(qt.EXPECT_ARGUMENT_CLOSING_BRACE,Mn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(qt.EMPTY_ARGUMENT,Mn(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(qt.MALFORMED_ARGUMENT,Mn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(qt.EXPECT_ARGUMENT_CLOSING_BRACE,Mn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Qt.argument,value:r,location:Mn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(qt.EXPECT_ARGUMENT_CLOSING_BRACE,Mn(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(qt.MALFORMED_ARGUMENT,Mn(n,this.clonePosition()))}},Wn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Bn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Mn(e,this.clonePosition())}},Wn.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(qt.EXPECT_ARGUMENT_TYPE,Mn(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((p=this.parseSimpleArgStyleIfPossible()).err)return p;if(0===(h=On(p.val)).length)return this.error(qt.EXPECT_ARGUMENT_STYLE,Mn(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Mn(c,this.clonePosition())}}if((m=this.tryParseArgumentClose(r)).err)return m;var u=Mn(r,this.clonePosition());if(l&&Rn(null==l?void 0:l.style,"::",0)){var d=Nn(l.style.slice(2));if("number"===o)return(p=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?p:{val:{type:Qt.number,value:n,location:u,style:p.val},err:null};if(0===d.length)return this.error(qt.EXPECT_DATE_TIME_SKELETON,u);c=d;this.locale&&(c=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),(Sn[t||""]||Sn[n||""]||Sn["".concat(n,"-001")]||Sn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===i?"H":i}return n}(d,this.locale));var h={type:en.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(pn,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===o?Qt.date:Qt.time,value:n,location:u,style:h},err:null}}return{val:{type:"number"===o?Qt.number:"date"===o?Qt.date:Qt.time,value:n,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(qt.EXPECT_SELECT_ARGUMENT_OPTIONS,Mn(l,tn({},l)));this.bumpSpace();var p,u=this.parseIdentifierIfPossible(),l=0;if("select"!==o&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(qt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Mn(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(qt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,qt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=p.val}u=this.tryParsePluralOrSelectOptions(e,o,t,u);if(u.err)return u;if((m=this.tryParseArgumentClose(r)).err)return m;var m=Mn(r,this.clonePosition());return"select"===o?{val:{type:Qt.select,value:n,options:Dn(u.val),location:m},err:null}:{val:{type:Qt.plural,value:n,options:Dn(u.val),offset:l,pluralType:"plural"===o?"cardinal":"ordinal",location:m},err:null};default:return this.error(qt.INVALID_ARGUMENT_TYPE,Mn(a,s))}},Wn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(qt.EXPECT_ARGUMENT_CLOSING_BRACE,Mn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Wn.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(qt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Mn(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}},Wn.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(mn).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(qt.INVALID_NUMBER_SKELETON,t)}return{val:{type:en.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Cn(n):{}},err:null}},Wn.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(qt.EXPECT_PLURAL_ARGUMENT_SELECTOR,qt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Mn(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?qt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:qt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?qt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:qt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Mn(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;c=this.tryParseArgumentClose(d);if(c.err)return c;a.push([s,{value:u.val,location:Mn(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?qt.EXPECT_SELECT_ARGUMENT_SELECTOR:qt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Mn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(qt.MISSING_OTHER_CLAUSE,Mn(this.clonePosition(),this.clonePosition())):{val:a,err:null}},Wn.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=Mn(r,this.clonePosition());return i?Gn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},Wn.prototype.offset=function(){return this.position.offset},Wn.prototype.isEOF=function(){return this.offset()===this.message.length},Wn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Wn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Hn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},Wn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Wn.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))},Wn.prototype.bumpIf=function(e){if(Rn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Wn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},Wn.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}},Wn.prototype.bumpSpace=function(){for(;!this.isEOF()&&Yn(this.char());)this.bump()},Wn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},Wn);function Wn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function zn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Yn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Vn(e,t){t=tn({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Un(e,t).parse();if(n.err){e=SyntaxError(qt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,ln(e)||cn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else an(e)&&dn(e.style)||(on(e)||sn(e))&&hn(e.style)?delete e.style.location:un(e)&&n(e.children)})}(n.val),n.val}function Zn(e,t){var n=t&&t.cache?t.cache:tr,r=t&&t.serializer?t.serializer:qn;return(t&&t.strategy?t.strategy:function(e,t){return Xn(e,this,1===e.length?Jn:Kn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Jn(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function Kn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function Xn(e,t,n,r,i){return n.bind(t,e,r,i)}var qn=function(){return JSON.stringify(arguments)};function Qn(){this.cache=Object.create(null)}Qn.prototype.get=function(e){return this.cache[e]},Qn.prototype.set=function(e,t){this.cache[e]=t};var er,tr={create:function(){return new Qn}},nr={variadic:function(e,t){return Xn(e,this,Kn,t.cache.create(),t.serializer)},monadic:function(e,t){return Xn(e,this,Jn,t.cache.create(),t.serializer)}};(r=er=er||{}).MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API";var rr,ir,ar,or,sr,lr=(Xt(gr,sr=Error),gr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},gr),cr=(Xt(mr,or=lr),mr),ur=(Xt(pr,ar=lr),pr),dr=(Xt(hr,ir=lr),hr);function hr(e,t){return ir.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),er.MISSING_VALUE,t)||this}function pr(e,t,n){return ar.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),er.INVALID_VALUE,n)||this}function mr(e,t,n,r){return or.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),er.INVALID_VALUE,r)||this}function gr(e,t,n){e=sr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function fr(e,t,n,r,i,a,o){if(1===e.length&&rn(e[0]))return[{type:rr.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(rn(u))s.push({type:rr.literal,value:u.value});else if(u.type===Qt.pound)"number"==typeof a&&s.push({type:rr.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new dr(d,o);var h=i[d];if(u.type===Qt.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?rr.literal:rr.object,value:h});else if(on(u)){var p="string"==typeof u.style?r.date[u.style]:hn(u.style)?u.style.parsedOptions:void 0;s.push({type:rr.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(sn(u))p="string"==typeof u.style?r.time[u.style]:hn(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:rr.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(an(u))(p="string"==typeof u.style?r.number[u.style]:dn(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:rr.literal,value:n.getNumberFormat(t,p).format(h)});else{if(un(u)){var m=u.children,g=u.value,d=i[g];if("function"!=typeof d)throw new ur(g,"function",o);m=d(fr(m,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?rr.literal:rr.object,value:e}}))}if(ln(u)){if(!(f=u.options[h]||u.options.other))throw new cr(u.value,h,Object.keys(u.options),o);s.push.apply(s,fr(f.value,t,n,r,i))}else if(cn(u)){if(!(f=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new lr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',er.MISSING_INTL_API,o);var m=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),f=u.options[m]||u.options.other}if(!f)throw new cr(u.value,h,Object.keys(u.options),o);s.push.apply(s,fr(f.value,t,n,r,i,h-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===rr.literal&&t.type===rr.literal?n.value+=t.value:e.push(t),e},[])}function yr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(r=rr=rr||{})[r.literal=0]="literal",r[r.object=1]="object";var br=(Object.defineProperty(vr,"defaultLocale",{get:function(){return vr.memoizedDefaultLocale||(vr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),vr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),vr.memoizedDefaultLocale=null,vr.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])},vr.__parse=Vn,vr.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"}}},vr);function vr(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=vr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===rr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return fr(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=vr.resolveLocale(t),"string"==typeof e){if(this.message=e,!vr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=vr.__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=vr.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?tn(tn(tn({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=tn(tn({},n[t]),r[t]||{}),e},{})):n),e},tn({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:Zn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,nn([void 0],t,!1)))},{cache:yr((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:nr.variadic}),getDateTimeFormat:Zn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,nn([void 0],t,!1)))},{cache:yr(r.dateTime),strategy:nr.variadic}),getPluralRules:Zn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,nn([void 0],t,!1)))},{cache:yr(r.pluralRules),strategy:nr.variadic})}}const wr={},xr=(e,t,n)=>n&&(t in wr||(wr[t]={}),e in wr[t]||(wr[t][e]=n),n),Cr=(t,n)=>{if(null!=n){if(n in wr&&t in wr[n])return wr[n][t];var r=Dr(n);for(let e=0;e<r.length;e++){var i=function(e,t){if(!Fr(e))return null;e=function(e){return $r[e]||null}(e);return function(e,n){if(null!=n){if(n in e)return e[n];const 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}}(e,t)}(r[e],t);if(i)return xr(t,n,i)}}};let $r;const Sr=Ht({});function Fr(e){return e in $r}function kr(t,...n){delete wr[t],Sr.update(e=>(e[t]=Jt.all([e[t]||{},...n]),e))}Nt([Sr],([e])=>Object.keys(e)),Sr.subscribe(e=>$r=e);const Mr={};function _r(e){return Mr[e]}function Er(e){return null!=e&&Dr(e).some(e=>{return null===(e=_r(e))||void 0===e?void 0:e.size})}const Tr={};function Ir(e){if(!Er(e))return e in Tr?Tr[e]:Promise.resolve();const t=Dr(e).map(e=>{var t=_r(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Tr[e]=Promise.all(t.map(([e,t])=>function(t,e){const n=Promise.all(e.map(e=>(function(e,t){Mr[e].delete(t),0===Mr[e].size&&delete Mr[e]}(t,e),e().then(e=>e.default||e))));return n.then(e=>kr(t,...e))}(e,t))).then(()=>Er(e)?Ir(e):void delete Tr[e]),Tr[e]}function Lr(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Gr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Pr=Ht(!1);let Br;const Rr=Ht(null);function Ar(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Dr(e,t=Gr.fallbackLocale){e=Ar(e);return t?[...new Set([...e,...Ar(t)])]:e}function Hr(){return null!=Br?Br:void 0}Rr.subscribe(e=>{Br=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const Nr=Object.assign(Object.assign({},Rr),{set:t=>{if(t&&function(e){if(null!=e){var t=Dr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Fr(n))return n}}}(t)&&Er(t)){var n=Gr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Hr()&&n?e=window.setTimeout(()=>Pr.set(!0),n):Pr.set(!0),Ir(t).then(()=>{Rr.set(t)}).finally(()=>{clearTimeout(e),Pr.set(!1)})}return Rr.set(t)}}),Or=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},jr=(e,t)=>{var n=Gr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ur=Or(e=>{var{locale:t,format:n}=e,e=Lr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=jr("number",n)),new Intl.NumberFormat(t,e)}),Wr=Or(e=>{var{locale:t,format:n}=e,e=Lr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=jr("date",n):0===Object.keys(e).length&&(e=jr("date","short")),new Intl.DateTimeFormat(t,e)}),zr=Or(e=>{var{locale:t,format:n}=e,e=Lr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=jr("time",n):0===Object.keys(e).length&&(e=jr("time","short")),new Intl.DateTimeFormat(t,e)}),Yr=Or((e,t=Hr())=>new br(e,t,Gr.formats,{ignoreTag:Gr.ignoreTag})),Vr=Nt([Nr,Sr],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(i=e,e=i.id);var{values:a,locale:o=Hr(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Cr(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!==(s=null!==(r=null===(n=(r=Gr).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))&&void 0!==r?r:s)&&void 0!==s?s:e;if(!a)return l;let c=l;try{c=Yr(l,o).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c});Nt([Nr],()=>(e,t)=>((e={})=>{var{locale:t=Hr()}=e,e=Lr(e,["locale"]);return zr(Object.assign({locale:t},e))})(t).format(e)),Nt([Nr],()=>(e,t)=>((e={})=>{var{locale:t=Hr()}=e,e=Lr(e,["locale"]);return Wr(Object.assign({locale:t},e))})(t).format(e)),Nt([Nr],()=>(e,t)=>((e={})=>{var{locale:t=Hr()}=e,e=Lr(e,["locale"]);return Ur(Object.assign({locale:t},e))})(t).format(e)),Nt([Nr,Sr],()=>(e,t=Hr())=>Cr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Rt.indexOf(e)&&(t=new Lt(t),At[e]=t,Rt.push(e)),At[e]}};const Zr=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)),Jr=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 Zr(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)=>{let e=new Headers;e.append("X-SessionID",i),Ae(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function qr(e){Nr.set(e)}const Qr={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"}},zh:{headerItem:{login:"登錄",register:"登記",deposit:"訂金"}},fr:{headerItem:{login:"Connexion",register:"Registre",deposit:"Dépôt"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"}},es:{headerItem:{login:"Iniciar sesión",register:"Registro",deposit:"Depósito"}},pt:{headerItem:{login:"Entrar",register:"Registro",deposit:"Depósito"}}};function ei(e,t,n){const r=e.slice();return r[43]=t[n],r[45]=n,r}function ti(e,t,n){const r=e.slice();return r[11]=t[n],r}function ni(t){let r,i=[],n=new Map,a=t[8];const o=e=>e[43].id;for(let e=0;e<a.length;e+=1){var s=ei(t,a,e),l=o(s);n.set(l,i[e]=ui(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);de(t,r,n)},p(e,t){11211&t[0]&&(a=e[8],i=function(t,n,r,i,a,o,s,l,e,c,u,d){let h=t.length,p=o.length,m=h;const g={};for(;m--;)g[t[m].key]=m;const f=[],y=new Map,b=new Map;for(m=p;m--;){const t=d(a,o,m),l=r(t);let e=s.get(l);e?i&&e.p(t,n):(e=c(l,t),e.c()),y.set(l,f[m]=e),l in g&&b.set(l,Math.abs(m-g[l]))}const v=new Set,w=new Set;function x(e){V(e,1),e.m(l,u),s.set(e.key,e),u=e.first,p--}for(;h&&p;){const n=f[p-1],r=t[h-1],i=n.key,a=r.key;n===r?(u=n.first,h--,p--):y.has(a)?!s.has(i)||v.has(i)?x(n):w.has(a)?h--:b.get(i)>b.get(a)?(w.add(i),x(n)):(v.add(a),h--):(e(r,s),h--)}for(;h--;){const n=t[h];y.has(n.key)||e(n,s)}for(;p;)x(f[p-1]);return f}(i,t,o,1,e,a,n,r.parentNode,ee,ui,r,ei))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&he(r)}}}function ri(e){let n,r,i,a,o=e[43].name+"",s="FAVORITES"===e[43].id?"("+e[0]+")":"";return{c(){n=pe("a"),r=me(o),i=ge(),a=me(s),fe(n,"href","#")},m(e,t){de(e,n,t),ue(n,r),ue(n,i),ue(n,a)},p(e,t){256&t[0]&&o!==(o=e[43].name+"")&&ye(r,o),257&t[0]&&s!==(s="FAVORITES"===e[43].id?"("+e[0]+")":"")&&ye(a,s)},d(e){e&&he(n)}}}function ii(e){let n,r,i=e[43].label+"";return{c(){n=pe("a"),r=me(i),fe(n,"href","#")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){256&t[0]&&i!==(i=e[43].label+"")&&ye(r,i)},d(e){e&&he(n)}}}function ai(e){let n,r=0<e[11]?.count&&oi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){0<e[11]?.count?r?r.p(e,t):(r=oi(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function oi(e){let n,r=e[11]&&"true"==e[3]&&si(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[11]&&"true"==e[3]?r?r.p(e,t):(r=si(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function si(t){let i,a=t[11]?.items,o=[];for(let e=0;e<a.length;e+=1)o[e]=ci(ti(t,a,e));return{c(){i=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class","DropDown")},m(e,t){de(e,i,t);for(let e=0;e<o.length;e+=1)o[e].m(i,null)},p(t,n){if(10496&n[0]){let e;for(a=t[11]?.items,e=0;e<a.length;e+=1){var r=ti(t,a,e);o[e]?o[e].p(r,n):(o[e]=ci(r),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&he(i),k(o,e)}}}function li(n){let r,i,a,o,s,l,c=n[11]?.name+"";function u(...e){return n[28](n[11],n[45],...e)}return{c(){r=pe("li"),i=pe("a"),a=me(c),o=ge(),fe(i,"class","SubDropDown")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),s||(l=K(r,"click",u),s=!0)},p(e,t){n=e,2048&t[0]&&c!==(c=n[11]?.name+"")&&ye(a,c)},d(e){e&&he(r),s=!1,l()}}}function ci(e){let n,r=e[11].games.count&&li(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[11].games.count?r?r.p(e,t):(r=li(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ui(e,n){let r,i,a,o,s,l;function c(e){return"headerMain"===e[1]?ii:ri}let u=c(n),d=u(n),h=1==n[9][n[45]]&&ai(n);function p(...e){return n[29](n[43],n[45],...e)}return{key:e,first:null,c(){r=pe("li"),d.c(),i=ge(),h&&h.c(),a=ge(),fe(r,"class",o="CarouselItem "+(n[6]==n[45]||n[7]==n[45]?"active":"")+" "+("headerMain"==n[1]?"":"SecondaryMenu")),fe(r,"part","CarouselItem"),this.first=r},m(e,t){de(e,r,t),d.m(r,null),ue(r,i),h&&h.m(r,null),ue(r,a),s||(l=K(r,"click",p),s=!0)},p(e,t){u===(u=c(n=e))&&d?d.p(n,t):(d.d(1),d=u(n),d&&(d.c(),d.m(r,i))),1==n[9][n[45]]?h?h.p(n,t):(h=ai(n),h.c(),h.m(r,a)):h&&(h.d(1),h=null),450&t[0]&&o!==(o="CarouselItem "+(n[6]==n[45]||n[7]==n[45]?"active":"")+" "+("headerMain"==n[1]?"":"SecondaryMenu"))&&fe(r,"class",o)},d(e){e&&he(r),d.d(),h&&h.d(),s=!1,l()}}}function di(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w=0<n[8].length&&ni(n);return{c(){r=pe("div"),i=pe("div"),a=pe("div"),a.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=ge(),s=pe("div"),l=pe("ul"),c=pe("li"),c.innerHTML='<a href="#CarouselNav">Close Subs</a>',u=ge(),w&&w.c(),d=ge(),h=pe("div"),h.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',this.c=Z,fe(a,"class","CarouselLeftArrow"),fe(a,"part","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(l,"part","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(h,"class","CarouselRightArrow"),fe(h,"part","CarouselRightArrow"),fe(i,"class",p="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),fe(i,"part",m="CarouselContainer "+(n[12]?"CarouselContainerMobile":"")+" "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),fe(i,"style",g="headerMain"===n[1]?"max-width: auto":`max-width: ${n[2]}px`),fe(r,"class",f="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":"")),fe(r,"part",y="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),ue(s,l),ue(l,c),ue(l,u),w&&w.m(l,null),n[30](l),n[31](s),ue(i,d),ue(i,h),n[33](r),b||(v=[K(a,"click",n[27]),K(h,"click",n[32])],b=!0)},p(e,t){0<e[8].length?w?w.p(e,t):(w=ni(e),w.c(),w.m(l,null)):w&&(w.d(1),w=null),2&t[0]&&p!==(p="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&fe(i,"class",p),2&t[0]&&m!==(m="CarouselContainer "+(e[12]?"CarouselContainerMobile":"")+" "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&fe(i,"part",m),6&t[0]&&g!==(g="headerMain"===e[1]?"max-width: auto":`max-width: ${e[2]}px`)&&fe(i,"style",g),2&t[0]&&f!==(f="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&fe(r,"class",f),2&t[0]&&y!==(y="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&fe(r,"part",y)},i:Z,o:Z,d(e){e&&he(r),w&&w.d(),n[30](null),n[31](null),n[33](null),b=!1,J(v)}}}function hi(t,e,i){let{endpoint:a=""}=e,{datasource:o=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:s="defaultEvent"}=e,{favoritesnumber:r="0"}=e,{location:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{identity:d=""}=e,{containermaxwidth:h=""}=e,{isprimarymenu:p=!1}=e,{issecondarymenu:m=!1}=e,{lang:g=""}=e,{activeindex:f="0"}=e,{showsubgroups:y="false"}=e;var b,v;({withLocale:b,translations:v}={withLocale:"en",translations:{}}),Nr.subscribe(e=>{null==e&&(Sr.set(v),Nr.set(b))}),Object.keys(Qr).forEach(e=>{kr(e,Qr[e])});let w,x,C,$,S,F,k=window.navigator.userAgent,M="PC"!==Jr(k),_=[],E=[],T=(e,t)=>{B(),i(6,x=t),i(6,x),i(7,C=x),P(e,t,"navigation")},I=()=>{F.scrollBy({left:-250,behavior:"smooth"}),"true"==y&&R()},L=()=>{F.scrollBy({left:250,behavior:"smooth"}),"true"==y&&R()};const G=e=>{"SliderData"==e.data.type&&e.data.identity==d&&(i(8,_=e.data.data),i(9,E=new Array(_.length).fill(!1)),"true"==y&&R()),"GoToHomepage"==e.data.type&&_.forEach((e,t)=>{e.path.endsWith("/casino")&&(i(6,x=t),i(6,x),i(7,C=x))})},P=(t,n,r)=>{var e;"secondaryMenu"==l&&a&&o&&g&&t.id&&(e=new URL(`${a}/casino/groups/${o}/${t.id}/subGroups?language=`+g),fetch(e.href).then(e=>e.json()).then(e=>{i(11,S=e),("false"==y||"navigation"==r&&S.count<=0)&&window.postMessage({type:s,itemId:t.id,index:n,item:t},window.location.href)}).then(()=>{w.querySelectorAll(".DropDown")&&B()})),"headerMain"==l&&window.postMessage({type:s,item:t},window.location.href)},B=()=>{const t=w.querySelectorAll(".DropDown");document.activeElement.blur(),F.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+F.scrollLeft+"px)";F.classList.remove("isScrolling")},R=()=>{_.forEach((e,t)=>{var n;0<(null===(n=null==e?void 0:e.subGroups)||void 0===n?void 0:n.count)&&(i(9,E[t]=!0,E),P(e,t))})};return ht(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",G,!1),setTimeout(()=>{F.addEventListener("scroll",B)},500),()=>{window.removeEventListener("message",G),w.removeEventListener("scroll",B)})),t.$$set=e=>{"endpoint"in e&&i(16,a=e.endpoint),"datasource"in e&&i(17,o=e.datasource),"onclickeventname"in e&&i(18,n=e.onclickeventname),"actionevent"in e&&i(19,s=e.actionevent),"favoritesnumber"in e&&i(0,r=e.favoritesnumber),"location"in e&&i(1,l=e.location),"clientstyling"in e&&i(20,c=e.clientstyling),"clientstylingurl"in e&&i(21,u=e.clientstylingurl),"identity"in e&&i(22,d=e.identity),"containermaxwidth"in e&&i(2,h=e.containermaxwidth),"isprimarymenu"in e&&i(23,p=e.isprimarymenu),"issecondarymenu"in e&&i(24,m=e.issecondarymenu),"lang"in e&&i(25,g=e.lang),"activeindex"in e&&i(26,f=e.activeindex),"showsubgroups"in e&&i(3,y=e.showsubgroups)},t.$$.update=()=>{var e;67108864&t.$$.dirty[0]&&f&&(i(6,x=parseInt(f,10)),C||i(7,C=x),"true"==y&&R()),1048592&t.$$.dirty[0]&&c&&$&&(()=>{let e=document.createElement("style");e.innerHTML=c,$.appendChild(e)})(),2097168&t.$$.dirty[0]&&u&&$&&(()=>{let t=document.createElement("style"),e=new URL(u);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})})(),33554432&t.$$.dirty[0]&&g&&(e=g,Nr.set(e))},[r,l,h,y,$,w,x,C,_,E,F,S,M,T,I,L,a,o,n,s,c,u,d,p,m,g,f,()=>I(),(e,t,n)=>{T(e,t),n.stopPropagation()},(e,t,n)=>{T(e,t),n.preventDefault()},function(e){pt[e?"unshift":"push"](()=>{w=e,i(5,w)})},function(e){pt[e?"unshift":"push"](()=>{F=e,i(10,F)})},()=>L(),function(e){pt[e?"unshift":"push"](()=>{$=e,i(4,$)})}]}function pi(n){let r,i,a,o;return{c(){r=pe("div"),i=pe("casino-slider"),$(i,"lang",n[2]),$(i,"datasource",n[1]),$(i,"endpoint",n[0]),$(i,"identity",yi),$(i,"favoritesnumber",n[13]),$(i,"showsubgroups",n[8]),$(i,"clientstyling",n[3]),$(i,"clientstylingurl",n[4]),$(i,"containermaxwidth",n[5]),$(i,"activeindex",n[11]),$(i,"actionevent",n[6]),$(i,"location",n[7]),fe(r,"class","CasinoCategoriesContainer"),fe(r,"part","CasinoCategoriesContainer")},m(e,t){de(e,r,t),ue(r,i),a||(o=v(n[16].call(null,i)),a=!0)},p(e,t){4&t[0]&&$(i,"lang",e[2]),2&t[0]&&$(i,"datasource",e[1]),1&t[0]&&$(i,"endpoint",e[0]),8192&t[0]&&$(i,"favoritesnumber",e[13]),256&t[0]&&$(i,"showsubgroups",e[8]),8&t[0]&&$(i,"clientstyling",e[3]),16&t[0]&&$(i,"clientstylingurl",e[4]),32&t[0]&&$(i,"containermaxwidth",e[5]),2048&t[0]&&$(i,"activeindex",e[11]),64&t[0]&&$(i,"actionevent",e[6]),128&t[0]&&$(i,"location",e[7])},d(e){e&&he(r),a=!1,o()}}}function mi(e){let n;return{c(){n=pe("p"),n.textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function gi(e){let n;return{c(){n=pe("div"),fe(n,"class","CasinoCategoriesLoading"),fe(n,"part","CasinoCategoriesLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function fi(n){let r;function i(e){return e[9]||e[14]||e[15]?gi:e[12]?mi:pi}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),o.m(r,null),n[28](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[28](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;padding:7px 10px;color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-color-contrast, #07072A)}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-color-primary, #D0046C)}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown{background:var(--emfe-w-color-contrast, #07072A);background:-webkit-linear-gradient(var(--emfe-w-color-contrast, #07072A), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(var(--emfe-w-color-contrast, #07072A), var(--emfe-w-color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:\"\";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},hi,di,t,{endpoint:16,datasource:17,onclickeventname:18,actionevent:19,favoritesnumber:0,location:1,clientstyling:20,clientstylingurl:21,identity:22,containermaxwidth:2,isprimarymenu:23,issecondarymenu:24,lang:25,activeindex:26,showsubgroups:3},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups"]}get endpoint(){return this.$$.ctx[16]}set endpoint(e){this.$$set({endpoint:e}),O()}get datasource(){return this.$$.ctx[17]}set datasource(e){this.$$set({datasource:e}),O()}get onclickeventname(){return this.$$.ctx[18]}set onclickeventname(e){this.$$set({onclickeventname:e}),O()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),O()}get favoritesnumber(){return this.$$.ctx[0]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),O()}get location(){return this.$$.ctx[1]}set location(e){this.$$set({location:e}),O()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}get identity(){return this.$$.ctx[22]}set identity(e){this.$$set({identity:e}),O()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),O()}get isprimarymenu(){return this.$$.ctx[23]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),O()}get issecondarymenu(){return this.$$.ctx[24]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),O()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),O()}get activeindex(){return this.$$.ctx[26]}set activeindex(e){this.$$set({activeindex:e}),O()}get showsubgroups(){return this.$$.ctx[3]}set showsubgroups(e){this.$$set({showsubgroups:e}),O()}});let yi="CasinoSliderData";function bi(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,{lastplayed:p="false"}=e,{lastplayedperiod:m=""}=e,{favorites:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{containermaxwidth:b=""}=e,{activecategory:v=""}=e,{actionevent:w=""}=e,{sessioncheck:x=""}=e,{location:C="secondaryMenu"}=e,{showsubgroups:$="false"}=e,{filteredcategories:S=""}=e,F=0,k="",M=!0,_=[],E=!1,T=window.navigator.userAgent,I=!1,L=!1,G=!1,P=!1,B=!1,R=!1;const A=e=>{if(e.data)switch(e.data.type){case"UpdateCategoryFavoriteGames":case"ShowFavoriteSection":var t=Kr(e.data.receivedFavoriteResults.items);n(13,a=t.length)}};return ht(()=>(window.addEventListener("message",A,!1),()=>{window.removeEventListener("message",A)})),t.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"lang"in e&&n(2,l=e.lang),"userid"in e&&n(18,c=e.userid),"session"in e&&n(19,u=e.session),"mostplayed"in e&&n(20,d=e.mostplayed),"mostplayedrounds"in e&&n(21,h=e.mostplayedrounds),"lastplayed"in e&&n(22,p=e.lastplayed),"lastplayedperiod"in e&&n(23,m=e.lastplayedperiod),"favorites"in e&&n(24,g=e.favorites),"clientstyling"in e&&n(3,f=e.clientstyling),"clientstylingurl"in e&&n(4,y=e.clientstylingurl),"containermaxwidth"in e&&n(5,b=e.containermaxwidth),"activecategory"in e&&n(17,v=e.activecategory),"actionevent"in e&&n(6,w=e.actionevent),"sessioncheck"in e&&n(25,x=e.sessioncheck),"location"in e&&n(7,C=e.location),"showsubgroups"in e&&n(8,$=e.showsubgroups),"filteredcategories"in e&&n(26,S=e.filteredcategories)},t.$$.update=()=>{var e;7&t.$$.dirty[0]&&o&&s&&l&&(()=>{if((e=Jr(T))&&(k="PC"===e?"dk":"iPad"===e||"iPhone"===e?"ios":"mtWeb"),o||(r="Endpoint is missing! Please provide a valid endpointURL.",n(12,E=!0),n(9,M=!1),console.error(r)),s||(r="Datasource is missing! Please provide a valid datasource.",n(12,E=!0),n(9,M=!1),console.error(r)),(!l||l.length<2)&&(r="Language is missing! Please provide a valid language (alpha2code)",n(12,E=!0),n(9,M=!1),console.error(r)),!E){let e=new URL(o+"/casino/groups/"+s);e.searchParams.append("datasource",s),e.searchParams.append("language",l),e.searchParams.append("device",k),fetch(e).then(e=>e.json()).then(e=>{let r=S.split(","),t=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,S))for(var n of r)e.flags==n&&(t=!1);return t});_=[],_=_.concat(t),_.unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(9,M=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(12,E=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(12,E=!0),console.error("There was an error while fetching the categories",e)})}var e})(),524289&t.$$.dirty[0]&&u&&o&&"true"==x&&Xr(o,u).then(e=>{},e=>{console.error("err on session",e)}),17302016&t.$$.dirty[0]&&u&&g&&!M&&(0==I&&"true"==g&&_.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),I=!0),4719105&t.$$.dirty[0]&&u&&o&&!M&&p&&("true"==p&&(n(15,B=!0),new Promise((n,r)=>{if(p){let e=new URL(`${o}/player/${c}/games/last-played`),t=Jr(T);t?"PC"===t?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),e.searchParams.append("period",m),fetch(e.href).then(e=>e.json()).then(e=>{0==e.count&&n(!1),n(e)}).catch(e=>{console.error("err",e),r(!1)})}}).then(e=>{0==G&&"true"==p&&e&&_.splice(3,0,{id:"LASTPLAYED",name:"Last Played",href:"",games:[],triggerFetch:!1}),n(15,B=!1),Ce(),G=!0})),n(27,R=!0)),1835521&t.$$.dirty[0]&&u&&o&&!M&&c&&d&&(d&&(n(14,P=!0),(()=>{if(d){let e=new URL(`${o}/player/${c}/games/most-played`),t=Jr(T);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==L&&"true"==d&&e&&_.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(14,P=!1),Ce(),L=!0})),n(27,R=!0)),134873600&t.$$.dirty[0]&&!M&&v&&(!u||R)&&(e=v.split("$"),n(17,v=2<e.length?v.split("$").slice(0,2).join("$"):v),n(11,F=_.map(e=>e.id).indexOf(decodeURI(v)))),1032&t.$$.dirty[0]&&f&&i&&(()=>{let e=document.createElement("style");e.innerHTML=f,i.appendChild(e)})(),1040&t.$$.dirty[0]&&y&&i&&(()=>{let t=document.createElement("style"),e=new URL(y);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},n(13,a=0),[o,s,l,f,y,b,w,C,$,M,i,F,E,a,P,B,e=>{window.postMessage({type:"SliderData",identity:yi,data:_},window.location.href)},v,c,u,d,h,p,m,g,x,S,R,function(e){pt[e?"unshift":"push"](()=>{i=e,n(10,i)})}]}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var(--emfe-w-color-black, #000000)}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},bi,fi,t,{endpoint:0,datasource:1,lang:2,userid:18,session:19,mostplayed:20,mostplayedrounds:21,lastplayed:22,lastplayedperiod:23,favorites:24,clientstyling:3,clientstylingurl:4,containermaxwidth:5,activecategory:17,actionevent:6,sessioncheck:25,location:7,showsubgroups:8,filteredcategories:26},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),O()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),O()}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),O()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),O()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),O()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),O()}get mostplayedrounds(){return this.$$.ctx[21]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),O()}get lastplayed(){return this.$$.ctx[22]}set lastplayed(e){this.$$set({lastplayed:e}),O()}get lastplayedperiod(){return this.$$.ctx[23]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),O()}get favorites(){return this.$$.ctx[24]}set favorites(e){this.$$set({favorites:e}),O()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}get containermaxwidth(){return this.$$.ctx[5]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),O()}get activecategory(){return this.$$.ctx[17]}set activecategory(e){this.$$set({activecategory:e}),O()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),O()}get sessioncheck(){return this.$$.ctx[25]}set sessioncheck(e){this.$$set({sessioncheck:e}),O()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),O()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),O()}get filteredcategories(){return this.$$.ctx[26]}set filteredcategories(e){this.$$set({filteredcategories:e}),O()}});const vi={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},zh:{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"Error 500 - Error Interno del Servidor",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tómate un descanso de 1 día del juego.",breakButton:"Tómese un descanso de 24 horas del juego",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Limpio",noGamesPlayed:"No has probado ningún juego!"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}},wi={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};var xi,Ci,$i=(Ci=xi={path:void 0,exports:{},require:function(e,t){return In(null==t&&xi.path)}},xi.exports,Ci.exports=function(){var e;function m(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function d(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 h(e,t,n,r){return Et(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 p(e){if(null==e._isValid){var t=f(e),n=y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function a(e){var t=h(NaN);return null!=e?d(f(t),e):f(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},b=m.momentProperties=[],t=!1;function v(e,t){var n,r,i,a=b.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=f(t)),c(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)c(i=t[r=b[n]])||(e[r]=i);return e}function w(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function x(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function C(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(a,o){var s=!0;return d(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)}C(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var $={};function S(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),$[e]||(C(t),$[e]=!0)}function F(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function k(e,t){var n,r=d({},e);for(n in t)g(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)g(e,n)&&!g(t,n)&&s(e[n])&&(r[n]=d({},r[n]));return r}function M(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var _=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function E(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var T=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},G={};function P(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(G[e]=i),t&&(G[t[0]]=function(){return E(i.apply(this,arguments),t[1],t[2])}),n&&(G[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e,t){return e.isValid()?(t=R(t,e.localeData()),L[t]=L[t]||function(r){for(var e,i=r.match(T),t=0,a=i.length;t<a;t++)G[i[t]]?i[t]=G[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=F(i[n])?i[n].call(e,r):i[n];return t}}(t),L[t](e)):e.localeData().invalidDate()}function R(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(I.lastIndex=0;0<=n&&I.test(e);)e=e.replace(I,r),I.lastIndex=0,--n;return e}var A={};function D(e,t){var n=e.toLowerCase();A[n]=A[n+"s"]=A[t]=e}function H(e){return"string"==typeof e?A[e]||A[e.toLowerCase()]:void 0}function N(e){var t,n,r={};for(n in e)g(e,n)&&(t=H(n))&&(r[t]=e[n]);return r}var O={};function j(e,t){O[e]=t}function U(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function z(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?W(t):e}function Y(t,n){return function(e){return null!=e?(Z(this,t,e),m.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&U(e.year())&&1===e.month()&&29===e.date()?(n=z(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),_e(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var J=/\d/,K=/\d\d/,X=/\d{3}/,q=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ie=/\d{1,4}/,ae=/[+-]?\d{1,6}/,oe=/\d+/,se=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function de(e,n,r){me[e]=F(n)?n:function(e,t){return e&&r?r:n}}function he(e,t){return g(me,e)?me[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},ge={};function fe(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),u(n)&&(i=function(e,t){t[n]=z(e)}),r=e.length,t=0;t<r;t++)ge[e[t]]=i}function ye(e,i){fe(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var be,ve=0,we=1,xe=2,Ce=3,$e=4,Se=5,Fe=6,ke=7,Me=8;function _e(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?U(e)?29:28:31-n%7%2}be=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),P("MMMM",0,0,function(e){return this.localeData().months(this,e)}),D("month","M"),j("month",8),de("M",ee),de("MM",ee,K),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),fe(["M","MM"],function(e,t){t[we]=z(e)-1}),fe(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[we]=r:f(n).invalidMonth=e});var Ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Te="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Le=ue,Ge=ue;function Pe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=z(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),_e(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Be(e){return null!=e?(Pe(this,e),m.updateOffset(this,!0),this):V(this,"Month")}function Re(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=h([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=pe(n[a]),r[a]=pe(r[a]);for(a=0;a<24;a++)i[a]=pe(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ae(e){return U(e)?366:365}P("Y",0,0,function(){var e=this.year();return e<=9999?E(e,4):"+"+e}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),D("year","y"),j("year",1),de("Y",se),de("YY",ee,K),de("YYYY",ie,q),de("YYYYY",ae,Q),de("YYYYYY",ae,Q),fe(["YYYYY","YYYYYY"],ve),fe("YYYY",function(e,t){t[ve]=2===e.length?m.parseTwoDigitYear(e):z(e)}),fe("YY",function(e,t){t[ve]=m.parseTwoDigitYear(e)}),fe("Y",function(e,t){t[ve]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return z(e)+(68<z(e)?1900:2e3)};var De=Y("FullYear",!0);function He(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 Ne(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 Oe(e,t,n){n=7+t-n;return-(7+Ne(e,0,n).getUTCDay()-t)%7+n-1}function je(e,t,n,r,i){var a,i=1+7*(t-1)+(7+n-r)%7+Oe(e,r,i),i=i<=0?Ae(a=e-1)+i:i>Ae(e)?(a=e+1,i-Ae(e)):(a=e,i);return{year:a,dayOfYear:i}}function Ue(e,t,n){var r,i,a=Oe(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+We(i=e.year()-1,t,n):a>We(e.year(),t,n)?(r=a-We(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function We(e,t,n){var r=Oe(e,t,n),n=Oe(e+1,t,n);return(Ae(e)-r+n)/7}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),D("week","w"),D("isoWeek","W"),j("week",5),j("isoWeek",5),de("w",ee),de("ww",ee,K),de("W",ee),de("WW",ee,K),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=z(e)});function ze(e,t){return e.slice(t,7).concat(e.slice(0,t))}P("d",0,"do","day"),P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),D("day","d"),D("weekday","e"),D("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),de("d",ee),de("e",ee),de("E",ee),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,r){t[r]=z(e)});var Ye="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Je=ue,Ke=ue,Xe=ue;function qe(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=h([2e3,1]).day(l),t=pe(this.weekdaysMin(r,"")),n=pe(this.weekdaysShort(r,"")),r=pe(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,Qe),P("k",["kk",2],0,function(){return this.hours()||24}),P("hmm",0,0,function(){return""+Qe.apply(this)+E(this.minutes(),2)}),P("hmmss",0,0,function(){return""+Qe.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+E(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)}),et("a",!0),et("A",!1),D("hour","h"),j("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,K),de("hh",ee,K),de("kk",ee,K),de("hmm",te),de("hmmss",ne),de("Hmm",te),de("Hmmss",ne),fe(["H","HH"],Ce),fe(["k","kk"],function(e,t,n){e=z(e);t[Ce]=24===e?0:e}),fe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),fe(["h","hh"],function(e,t,n){t[Ce]=z(e),f(n).bigHour=!0}),fe("hmm",function(e,t,n){var r=e.length-2;t[Ce]=z(e.substr(0,r)),t[$e]=z(e.substr(r)),f(n).bigHour=!0}),fe("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ce]=z(e.substr(0,r)),t[$e]=z(e.substr(r,2)),t[Se]=z(e.substr(i)),f(n).bigHour=!0}),fe("Hmm",function(e,t,n){var r=e.length-2;t[Ce]=z(e.substr(0,r)),t[$e]=z(e.substr(r))}),fe("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ce]=z(e.substr(0,r)),t[$e]=z(e.substr(r,2)),t[Se]=z(e.substr(i))});var nt=Y("Hours",!0);var rt,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ee,monthsShort:Te,week:{dow:0,doy:6},weekdays:Ye,weekdaysMin:Ze,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},at={},ot={};function st(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=st(e[a]).split("-")).length,n=(n=st(e[a+1]))?n.split("-"):null;0<t;){if(r=ct(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return rt}function ct(t){var e;if(void 0===at[t]&&Ci&&Ci.exports&&null!=t.match("^[^/\\\\]*$"))try{e=rt._abbr,In(),ut(e)}catch(e){at[t]=null}return at[t]}function ut(e,t){return e&&((t=c(t)?ht(e):dt(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function dt(e,t){if(null===t)return delete at[e],null;var n,r=it;if(t.abbr=e,null!=at[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])r=at[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;r=n._config}return at[e]=new M(k(r,t)),ot[e]&&ot[e].forEach(function(e){dt(e.name,e.config)}),ut(e),at[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!o(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function pt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[we]<0||11<t[we]?we:t[xe]<1||t[xe]>_e(t[ve],t[we])?xe:t[Ce]<0||24<t[Ce]||24===t[Ce]&&(0!==t[$e]||0!==t[Se]||0!==t[Fe])?Ce:t[$e]<0||59<t[$e]?$e:t[Se]<0||59<t[Se]?Se:t[Fe]<0||999<t[Fe]?Fe:-1,f(e)._overflowDayOfYear&&(t<ve||xe<t)&&(t=xe),f(e)._overflowWeeks&&-1===t&&(t=ke),f(e)._overflowWeekday&&-1===t&&(t=Me),f(e).overflow=t),e}var mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],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/]],vt=/^\/?Date\((-?\d+)/i,wt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ct(e){var t,n,r,i,a,o,s=e._i,l=mt.exec(s)||gt.exec(s),c=yt.length,s=bt.length;if(l){for(f(e).iso=!0,t=0,n=c;t<n;t++)if(yt[t][1].exec(l[1])){i=yt[t][0],r=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=s;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(!ft.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Mt(e)}else e._isValid=!1}function $t(e,t,n,r,i,a){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Te.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&i.push(parseInt(a,10)),i}function St(e){var t,n,r,i,a=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=$t(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&Ve.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=a[8],t=a[9],a=a[10],i?xt[i]:t?0:((t=parseInt(a,10))-(a=t%100))/100*60+a),e._d=Ne.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Ft(e,t,n){return null!=e?e:null!=t?t:n}function kt(e){var t,n,r,i,a,o,s,l,c,u,d,h,p=[];if(!e._d){for(d=e,h=new Date(m.now()),n=d._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[xe]&&null==e._a[we]&&(null!=(d=(i=e)._w).GG||null!=d.W||null!=d.E?(l=1,c=4,a=Ft(d.GG,i._a[ve],Ue(Tt(),1,4).year),o=Ft(d.W,1),((s=Ft(d.E,1))<1||7<s)&&(u=!0)):(l=i._locale._week.dow,c=i._locale._week.doy,h=Ue(Tt(),l,c),a=Ft(d.gg,i._a[ve],h.year),o=Ft(d.w,h.week),null!=d.d?((s=d.d)<0||6<s)&&(u=!0):null!=d.e?(s=d.e+l,(d.e<0||6<d.e)&&(u=!0)):s=l),o<1||o>We(a,l,c)?f(i)._overflowWeeks=!0:null!=u?f(i)._overflowWeekday=!0:(c=je(a,o,s,l,c),i._a[ve]=c.year,i._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(r=Ft(e._a[ve],n[ve]),(e._dayOfYear>Ae(r)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),r=Ne(r,0,e._dayOfYear),e._a[we]=r.getUTCMonth(),e._a[xe]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ce]&&0===e._a[$e]&&0===e._a[Se]&&0===e._a[Fe]&&(e._nextDay=!0,e._a[Ce]=0),e._d=(e._useUTC?Ne:He).apply(null,p),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ce]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Mt(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=R(e._f,e._locale).match(T)||[]).length,l=0;l<s;l++)r=n[l],(t=(i.match(he(r,e))||[])[0])&&(0<(h=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(h),i=i.slice(i.indexOf(t)+t.length),o+=t.length),G[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),d=r,p=e,null!=(h=t)&&g(ge,d)&&ge[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[Ce]<=12&&!0===f(e).bigHour&&0<e._a[Ce]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[Ce]=(c=e._locale,u=e._a[Ce],null==(a=e._meridiem)?u:null!=c.meridiemHour?c.meridiemHour(u,a):null!=c.isPM?((a=c.isPM(a))&&u<12&&(u+=12),u=a||12!==u?u:0):u),null!==(u=f(e).era)&&(e._a[ve]=e._locale.erasConvertYear(u,e._a[ve])),kt(e),pt(e)}else St(e);else Ct(e);var c,u,d,h,p}function _t(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?a({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new w(pt(t)):(i(t)?e._d=t:o(n)?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=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Mt(t),p(t)&&(o=!0),a+=f(t).charsLeftOver,a+=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));d(e,n||t)}(e):n?Mt(e):c(n=(t=e)._i)?t._d=new Date(m.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=vt.exec(e._i);null===t?(Ct(e),!1===e._isValid&&(delete e._isValid,St(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),kt(t)):s(n)?function(e){var t,n;e._d||(n=void 0===(t=N(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),kt(e))}(t):u(n)?t._d=new Date(n):m.createFromInputFallback(t),p(e)||(e._d=null),e))}function Et(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(a=new w(pt(_t(a=a))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Tt(e,t,n,r){return Et(e,t,n,r,!1)}m.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};var It=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:a()}),Lt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:a()});function Gt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return Tt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Bt(e){var t=N(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Pt.length;for(t in e)if(g(e,t)&&(-1===be.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]])!==z(e[Pt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=ht(),this._bubble()}function Rt(e){return e instanceof Bt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Dt(e,n){P(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+E(~~(e/60),2)+n+E(~~e%60,2)})}Dt("Z",":"),Dt("ZZ",""),de("Z",ce),de("ZZ",ce),fe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(ce,e)});var Ht=/([\+\-]|\d\d)/gi;function Nt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ht)||["-",0,0])[1]+z(e[2]))?0:"+"===e[0]?t:-t}function Ot(e,t){var n;return t._isUTC?(n=t.clone(),t=(x(e)||i(e)?e:Tt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),m.updateOffset(n,!1),n):Tt(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Wt=/^(-|\+)?(?:(\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 Yt(e,t){var n,r,i=e,a=null;return Rt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Wt.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:z(a[xe])*n,h:z(a[Ce])*n,m:z(a[$e])*n,s:z(a[Se])*n,ms:z(At(1e3*a[Fe]))*n}):(a=zt.exec(e))?(n="-"===a[1]?-1:1,i={y:Vt(a[2],n),M:Vt(a[3],n),w:Vt(a[4],n),d:Vt(a[5],n),h:Vt(a[6],n),m:Vt(a[7],n),s:Vt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=Tt(i.from),n=Tt(i.to),r=a.isValid()&&n.isValid()?(n=Ot(n,a),a.isBefore(n)?r=Zt(a,n):((r=Zt(n,a)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Bt(i),Rt(e)&&g(e,"_locale")&&(i._locale=e._locale),Rt(e)&&g(e,"_isValid")&&(i._isValid=e._isValid),i}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Jt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(S(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),Kt(this,Yt(e,t),r),this}}function Kt(e,t,n,r){var i=t._milliseconds,a=At(t._days),t=At(t._months);e.isValid()&&(r=null==r||r,t&&Pe(e,V(e,"Month")+t*n),a&&Z(e,"Date",V(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&m.updateOffset(e,a||t))}Yt.fn=Bt.prototype,Yt.invalid=function(){return Yt(NaN)};var Xt=Jt(1,"add"),ue=Jt(-1,"subtract");function qt(e){return"string"==typeof e||e instanceof String}function Qt(e){return x(e)||i(e)||qt(e)||u(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!u(e)&&qt(t)}).length),n&&r)||function(e){var t,n,r=s(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],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 en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var rn=126227808e5;function an(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(pe(i[a].name)),e.push(pe(i[a].abbr)),n.push(pe(i[a].narrow)),r.push(pe(i[a].name)),r.push(pe(i[a].abbr)),r.push(pe(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function un(e,t){P(0,[e,e.length],0,t)}function dn(e,t,n,r,i){var a;return null==e?Ue(this,r,i).year:(t>(a=We(e,r,i))&&(t=a),function(e,t,n,r,i){i=je(e,t,n,r,i),i=Ne(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,i))}P("N",0,0,"eraAbbr"),P("NN",0,0,"eraAbbr"),P("NNN",0,0,"eraAbbr"),P("NNNN",0,0,"eraName"),P("NNNNN",0,0,"eraNarrow"),P("y",["y",1],"yo","eraYear"),P("y",["yy",2],0,"eraYear"),P("y",["yyy",3],0,"eraYear"),P("y",["yyyy",4],0,"eraYear"),de("N",ln),de("NN",ln),de("NNN",ln),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),fe(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),de("y",oe),de("yy",oe),de("yyy",oe),de("yyyy",oe),de("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),fe(["y","yy","yyy","yyyy"],ve),fe(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ve]=n._locale.eraYearOrdinalParse(e,i):t[ve]=parseInt(e,10)}),P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100}),un("gggg","weekYear"),un("ggggg","weekYear"),un("GGGG","isoWeekYear"),un("GGGGG","isoWeekYear"),D("weekYear","gg"),D("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),de("G",se),de("g",se),de("GG",ee,K),de("gg",ee,K),de("GGGG",ie,q),de("gggg",ie,q),de("GGGGG",ae,Q),de("ggggg",ae,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=z(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),P("Q",0,"Qo","quarter"),D("quarter","Q"),j("quarter",7),de("Q",J),fe("Q",function(e,t){t[we]=3*(z(e)-1)}),P("D",["DD",2],"Do","date"),D("date","D"),j("date",9),de("D",ee),de("DD",ee,K),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),fe(["D","DD"],xe),fe("Do",function(e,t){t[xe]=z(e.match(ee)[0])});ne=Y("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),D("dayOfYear","DDD"),j("dayOfYear",4),de("DDD",re),de("DDDD",X),fe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=z(e)}),P("m",["mm",2],0,"minute"),D("minute","m"),j("minute",14),de("m",ee),de("mm",ee,K),fe(["m","mm"],$e);Ee=Y("Minutes",!1);P("s",["ss",2],0,"second"),D("second","s"),j("second",15),de("s",ee),de("ss",ee,K),fe(["s","ss"],Se);var hn,Ye=Y("Seconds",!1);for(P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,function(){return 10*this.millisecond()}),P(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),P(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),P(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),P(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),P(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),D("millisecond","ms"),j("millisecond",16),de("S",re,J),de("SS",re,K),de("SSS",re,X),hn="SSSS";hn.length<=9;hn+="S")de(hn,oe);function pn(e,t){t[Fe]=z(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")fe(hn,pn);Ze=Y("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");ie=w.prototype;function mn(e){return e}ie.add=Xt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=s(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||g(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Tt(),e=Ot(n,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(F(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Tt(n)))},ie.clone=function(){return new w(this)},ie.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Ot(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=H(t)){case"year":a=en(this,r)/12;break;case"month":a=en(this,r);break;case"quarter":a=en(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:W(a)},ie.endOf=function(e){var t,n;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-an(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-an(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=B(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Tt(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Tt(),e)},ie.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Tt(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Tt(),e)},ie.get=function(e){return F(this[e=H(e)])?this[e]():this},ie.invalidAt=function(){return f(this).overflow},ie.isAfter=function(e,t){return e=x(e)?e:Tt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=x(e)?e:Tt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,r){return e=x(e)?e:Tt(e),t=x(t)?t:Tt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},ie.isSame=function(e,t){var e=x(e)?e:Tt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return p(this)},ie.lang=te,ie.locale=tn,ie.localeData=nn,ie.max=Lt,ie.min=It,ie.parsingFlags=function(){return d({},f(this))},ie.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:O[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=N(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(F(this[e=H(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=an(t,6e4);break;case"second":t=this._d.valueOf(),t-=an(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.subtract=ue,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?B(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):F(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",B(e,"Z")):B(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},ie.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},ie.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},ie.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-m(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=De,ie.isLeapYear=function(){return U(this.year())},ie.weekYear=function(e){return dn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return dn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Be,ie.daysInMonth=function(){return _e(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=Ue(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return We(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return We(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return We(this.isoWeekYear(),1,4)},ie.date=ne,ie.day=ie.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},ie.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ie.hour=ie.hours=nt,ie.minute=ie.minutes=Ee,ie.second=ie.seconds=Ye,ie.millisecond=ie.milliseconds=Ze,ie.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:jt(this);if("string"==typeof e){if(null===(e=Nt(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Kt(this,Yt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Nt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=Ut,ie.isUTC=Ut,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=n("dates accessor is deprecated. Use date instead.",ne),ie.months=n("months accessor is deprecated. Use month instead",Be),ie.years=n("years accessor is deprecated. Use year instead",De),ie.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),ie.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=_t(t))._a?(e=(t._isUTC?h:Tt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&z(e[o])!==z(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});q=M.prototype;function gn(e,t,n,r){var i=ht(),t=h().set(r,t);return i[n](t,e)}function fn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return gn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=gn(e,i,n,"month");return r}function yn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),u(t)&&(n=t,t=void 0),t||"");var i,a=ht(),o=e?a._week.dow:0,s=[];if(null!=n)return gn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=gn(t,(i+o)%7,r,"day");return s}q.calendar=function(e,t,n){return F(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},q.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(T).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},q.invalidDate=function(){return this._invalidDate},q.ordinal=function(e){return this._ordinal.replace("%d",e)},q.preparse=mn,q.postformat=mn,q.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return F(i)?i(e,t,n,r):i.replace(/%d/i,e)},q.pastFuture=function(e,t){return F(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},q.set=function(e){var t,n;for(n in e)g(e,n)&&(F(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)},q.eras=function(e,t){for(var n,r=this._eras||ht("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=m(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},q.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]},q.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},q.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},q.erasNameRegex=function(e){return g(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},q.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},q.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},q.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Ie.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},q.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=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=be.call(this._shortMonthsParse,e))?i:null:-1!==(i=be.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=be.call(this._shortMonthsParse,e))||-1!==(i=be.call(this._longMonthsParse,e))?i:null:-1!==(i=be.call(this._longMonthsParse,e))||-1!==(i=be.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=h([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}},q.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ge),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},q.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},q.week=function(e){return Ue(e,this._week.dow,this._week.doy).week},q.firstDayOfYear=function(){return this._week.doy},q.firstDayOfWeek=function(){return this._week.dow},q.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?ze(t,this._week.dow):e?t[e.day()]:t},q.weekdaysMin=function(e){return!0===e?ze(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},q.weekdaysShort=function(e){return!0===e?ze(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},q.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=h([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=be.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=be.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=be.call(this._weekdaysParse,e))||-1!==(i=be.call(this._shortWeekdaysParse,e))||-1!==(i=be.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=be.call(this._shortWeekdaysParse,e))||-1!==(i=be.call(this._weekdaysParse,e))||-1!==(i=be.call(this._minWeekdaysParse,e))?i:null:-1!==(i=be.call(this._minWeekdaysParse,e))||-1!==(i=be.call(this._weekdaysParse,e))||-1!==(i=be.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=h([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}},q.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},q.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},q.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Xe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},q.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},q.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ut("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===z(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=n("moment.lang is deprecated. Use moment.locale instead.",ut),m.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var bn=Math.abs;function vn(e,t,n,r){n=Yt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function xn(e){return 4800*e/146097}function Cn(e){return 146097*e/4800}function $n(e){return function(){return this.as(e)}}ae=$n("ms"),Q=$n("s"),J=$n("m"),K=$n("h"),re=$n("d"),X=$n("w"),Xt=$n("M"),Lt=$n("Q"),It=$n("y");function Sn(e){return function(){return this.isValid()?this._data[e]:NaN}}ue=Sn("milliseconds"),nt=Sn("seconds"),Ee=Sn("minutes"),Ye=Sn("hours"),Ze=Sn("days"),ne=Sn("months"),De=Sn("years");var Fn=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var i=Yt(e).abs(),a=Fn(i.as("s")),o=Fn(i.as("m")),s=Fn(i.as("h")),l=Fn(i.as("d")),c=Fn(i.as("M")),u=Fn(i.as("w")),i=Fn(i.as("y")),l=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||u<=1&&["w"]||u<n.w&&["ww",u]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}var _n=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Tn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=_n(this._milliseconds)/1e3,l=_n(this._days),c=_n(this._months),u=this.asSeconds();return u?(e=W(s/60),t=W(e/60),s%=60,e%=60,n=W(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"}q=Bt.prototype;return q.isValid=function(){return this._isValid},q.abs=function(){var e=this._data;return this._milliseconds=bn(this._milliseconds),this._days=bn(this._days),this._months=bn(this._months),e.milliseconds=bn(e.milliseconds),e.seconds=bn(e.seconds),e.minutes=bn(e.minutes),e.hours=bn(e.hours),e.months=bn(e.months),e.years=bn(e.years),this},q.add=function(e,t){return vn(this,e,t,1)},q.subtract=function(e,t){return vn(this,e,t,-1)},q.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=H(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+xn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Cn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},q.asMilliseconds=ae,q.asSeconds=Q,q.asMinutes=J,q.asHours=K,q.asDays=re,q.asWeeks=X,q.asMonths=Xt,q.asQuarters=Lt,q.asYears=It,q.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*z(this._months/12):NaN},q._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*wn(Cn(n)+t),n=t=0),r.milliseconds=e%1e3,e=W(e/1e3),r.seconds=e%60,e=W(e/60),r.minutes=e%60,e=W(e/60),r.hours=e%24,t+=W(e/24),n+=e=W(xn(t)),t-=wn(Cn(e)),e=W(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},q.clone=function(){return Yt(this)},q.get=function(e){return e=H(e),this.isValid()?this[e+"s"]():NaN},q.milliseconds=ue,q.seconds=nt,q.minutes=Ee,q.hours=Ye,q.days=Ze,q.weeks=function(){return W(this.days()/7)},q.months=ne,q.years=De,q.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},kn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),r=Mn(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},q.toISOString=Tn,q.toString=Tn,q.toJSON=Tn,q.locale=tn,q.localeData=nn,q.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Tn),q.lang=te,P("X",0,0,"unix"),P("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),fe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),fe("x",function(e,t,n){n._d=new Date(z(e))}),m.version="2.29.3",e=Tt,m.fn=ie,m.min=function(){return Gt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Gt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=h,m.unix=function(e){return Tt(1e3*e)},m.months=function(e,t){return fn(e,t,"months")},m.isDate=i,m.locale=ut,m.invalid=a,m.duration=Yt,m.isMoment=x,m.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},m.parseZone=function(){return Tt.apply(null,arguments).parseZone()},m.localeData=ht,m.isDuration=Rt,m.monthsShort=function(e,t){return fn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},m.defineLocale=dt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=at[e]&&null!=at[e].parentLocale?at[e].set(k(at[e]._config,t)):(t=k(r=null!=(n=ct(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new M(t)).parentLocale=at[e],at[e]=t),ut(e)):null!=at[e]&&(null!=at[e].parentLocale?(at[e]=at[e].parentLocale,e===ut()&&ut(e)):null!=at[e]&&delete at[e]),at[e]},m.locales=function(){return _(at)},m.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},m.normalizeUnits=H,m.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=ie,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},m}(),xi.exports);const Si={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Fi={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 ki(e,t,n){const r=e.slice();return r[107]=t[n],r[109]=n,r}function Mi(e,t,n){const r=e.slice();return r[104]=t[n],r}function _i(e){let n,r=!Zr(e[36])&&!e[0]&&e[14],i=r&&Ei(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),de(e,n,t)},p(e,t){16385&t[0]&&(r=!Zr(e[36])&&!e[0]&&e[14]),r?i?i.p(e,t):(i=Ei(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function Ei(n){let r,i,a;return{c(){r=pe("div"),r.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ti(e){let n;return{c(){n=pe("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ii(n){let r,i,a;return{c(){r=pe("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[68]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Li(e){let n,r,i=e[35]("gameThumbnail.new")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.new")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Gi(e){let n,r,i=e[35]("gameThumbnail.hot")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.hot")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Pi(e){let n,r,i=!e[22]&&e[20]&&e[21]&&Bi(e);function a(e){return e[22]&&e[19]&&e[19]===Vi?Ai:e[22]&&e[19]&&e[19]===Zi?Ri:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ge(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),de(e,n,t),s&&s.m(e,t),de(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):(i=Bi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&he(n),s&&s.d(e),e&&he(r)}}}function Bi(e){let n,r,i,a,o,s,l,c,u,d,h=e[35]("gameThumbnail.opens")+"",p=$i.utc(e[20]).local().format(e[21])+"",m=e[45](e[34])+"",g=e[44](e[26],e[27],e[25])+"";return{c(){n=pe("div"),r=pe("div"),i=me(h),a=ge(),o=pe("span"),s=me(p),l=ge(),c=new S,u=ge(),d=new S,fe(r,"class","ClosedGame"),fe(r,"part","ClosedGame"),c.a=u,d.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(n,l),c.m(m,n),ue(n,u),d.m(g,n)},p(e,t){16&t[1]&&h!==(h=e[35]("gameThumbnail.opens")+"")&&ye(i,h),3145728&t[0]&&p!==(p=$i.utc(e[20]).local().format(e[21])+"")&&ye(s,p),8&t[1]&&m!==(m=e[45](e[34])+"")&&c.p(m),234881024&t[0]&&g!==(g=e[44](e[26],e[27],e[25])+"")&&d.p(g)},d(e){e&&he(n)}}}function Ri(n){let r,i,a,o,s,l,c=n[45](n[34])+"",u=n[44](n[26],n[27],n[25])+"",d=new Array(Ki),h=[];for(let e=0;e<d.length;e+=1)h[e]=Oi(ki(n,d,e));return{c(){r=pe("div"),i=pe("div");for(let e=0;e<h.length;e+=1)h[e].c();a=ge(),o=new S,s=ge(),l=new S,fe(i,"class","LiveIcons"),fe(i,"part","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[30]),fe(r,"part",n[30])},m(e,t){de(e,r,t),ue(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[69](i),ue(r,a),o.m(c,r),ue(r,s),l.m(u,r)},p(t,n){if(536875008&n[0]|32769&n[1]){let e;for(d=new Array(Ki),e=0;e<d.length;e+=1){const o=ki(t,d,e);h[e]?h[e].p(o,n):(h[e]=Oi(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}8&n[1]&&c!==(c=t[45](t[34])+"")&&o.p(c),234881024&n[0]&&u!==(u=t[44](t[26],t[27],t[25])+"")&&l.p(u),1073741824&n[0]&&fe(r,"class",t[30]),1073741824&n[0]&&fe(r,"part",t[30])},d(e){e&&he(r),k(h,e),n[69](null)}}}function Ai(e){let n,r,i,a,o,s,l=e[45](e[34])+"",c=e[44](e[26],e[27],e[25])+"";function u(e){return e[32]?Ui:ji}let d=u(e),h=d(e);return{c(){n=pe("div"),r=pe("div"),h.c(),i=ge(),a=new S,o=ge(),s=new S,fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),a.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){de(e,n,t),ue(n,r),h.m(r,null),ue(n,i),a.m(l,n),ue(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),h=d(e),h&&(h.c(),h.m(r,null))),8&t[1]&&l!==(l=e[45](e[34])+"")&&a.p(l),234881024&t[0]&&c!==(c=e[44](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&he(n),h.d()}}}function Di(e){let n;function r(e){return e[29]?Ni:Hi}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Hi(e){let n,r,i=e[46]("LatestResult "+(0===e[109]?"First":""),e[109],e[12][e[109]],e[31][e[12][e[109]]])+"";return{c(){n=new S,r=c(),n.a=r},m(e,t){n.m(i,e,t),de(e,r,t)},p(e,t){4096&t[0]|1&t[1]&&i!==(i=e[46]("LatestResult "+(0===e[109]?"First":""),e[109],e[12][e[109]],e[31][e[12][e[109]]])+"")&&n.p(i)},d(e){e&&he(r),e&&n.d()}}}function Ni(e){let n,r,i,a,o,s=e[46]("LatestResult "+(0===e[109]?"First":""),"first"+e[109]+e[12][e[109]][0],e[12][e[109]][0],e[31][e[12][e[109]][0]])+"",l=e[46]("LatestResult "+(0===e[109]?"First":""),"second"+e[109]+e[12][e[109]][1],e[12][e[109]][1],e[31][e[12][e[109]][1]])+"";return{c(){n=pe("div"),r=new S,i=ge(),a=new S,o=ge(),r.a=i,a.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){de(e,n,t),r.m(s,n),ue(n,i),a.m(l,n),ue(n,o)},p(e,t){4096&t[0]|1&t[1]&&s!==(s=e[46]("LatestResult "+(0===e[109]?"First":""),"first"+e[109]+e[12][e[109]][0],e[12][e[109]][0],e[31][e[12][e[109]][0]])+"")&&r.p(s),4096&t[0]|1&t[1]&&l!==(l=e[46]("LatestResult "+(0===e[109]?"First":""),"second"+e[109]+e[12][e[109]][1],e[12][e[109]][1],e[31][e[12][e[109]][1]])+"")&&a.p(l)},d(e){e&&he(n)}}}function Oi(e){let n,r=e[12]&&e[12][e[109]]&&Di(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[12]&&e[12][e[109]]?r?r.p(e,t):(r=Di(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ji(t){let i,a=t[24],o=[];for(let e=0;e<a.length;e+=1)o[e]=Wi(Mi(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);de(t,i,n)},p(t,n){if(285212672&n[0]|4096&n[1]){let e;for(a=t[24],e=0;e<a.length;e+=1){var r=Mi(t,a,e);o[e]?o[e].p(r,n):(o[e]=Wi(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){k(o,e),e&&he(i)}}}function Ui(e){let n,r,i=e[35]("gameThumbnail.full")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.full")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Wi(e){let n,r,i,a,o,s,l;return{c(){n=pe("span"),r=M("svg"),i=M("path"),a=M("path"),o=ge(),fe(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"width","13"),fe(r,"height","14"),fe(r,"viewBox","0 0 13 14"),fe(n,"class",s=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),285212672&t[0]&&l!==(l=e[43](e[28],e[104].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&he(n)}}}function zi(e){let n,r;return{c(){n=pe("p"),r=me(e[3]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[3])},m(e,t){de(e,n,t),ue(n,r)},p(e,t){8&t[0]&&ye(r,e[3]),8&t[0]&&fe(n,"title",e[3])},d(e){e&&he(n)}}}function Yi(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M,_,E,T,I,L,G,P,B,R,A=n[35]("gameThumbnail.playNow")+"",D=(n[4]||"-")+"",H=0<parseInt(n[7]),N=n[15]&&_i(n);function O(e,t){return 16387&t[0]&&(S=null),16387&t[0]&&(F=null),null==S&&(S=!(Zr(e[36])||!e[0]||!e[14]||!e[1])),S?Ii:(null==F&&(F=!!(Zr(e[36])&&e[0]&&e[14]&&e[1])),F?Ti:void 0)}let j=O(n,[-1,-1,-1,-1]),U=j&&j(n),W=n[6]&&Li(n),z=H&&Gi(n),Y=n[11]&&Pi(n),V=n[9]&&zi(n);return{c(){r=pe("div"),i=pe("div"),a=pe("img"),c=ge(),u=pe("div"),d=pe("div"),N&&N.c(),h=ge(),p=pe("p"),m=me(n[3]),g=ge(),f=pe("button"),y=me(A),w=ge(),x=pe("span"),C=me(D),$=ge(),U&&U.c(),k=ge(),M=pe("div"),W&&W.c(),_=ge(),z&&z.c(),E=ge(),Y&&Y.c(),L=ge(),V&&V.c(),this.c=Z,ce(a.src,o=n[2])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[8]} ${n[16]?"GameContainerHovered":""} `+(n[17]?"Loaded":"")),fe(a,"part",l="GameBg "+(n[16]?"GameContainerHovered":"")+" "+(n[17]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(p,"class","GameInfoName"),fe(p,"part","GameInfoName"),fe(p,"title",n[3]),fe(f,"class","GameInfoBtn"),fe(f,"part","GameInfoBtn"),fe(d,"class",b="GameInfo "+(n[16]?"GameHovered":"")),fe(d,"part",v="GameInfo "+(n[16]?"GameHovered":"")),fe(x,"class","GameInfoVendor"),fe(x,"part","GameInfoVendor"),fe(u,"class","GameInfoWrapper"),fe(u,"part","GameInfoWrapper"),fe(M,"class","GameExtraInfo"),fe(M,"part","GameExtraInfo"),fe(i,"class",T="GameInnerContainer "+(n[11]&&!n[22]&&n[23].value||n[11]&&n[32]?"GameInnerContainerUnavailable":"")),fe(i,"part",I="GameInnerContainer "+(n[11]&&!n[22]||n[11]&&n[32]?"GameInnerContainerUnavailable":"")),fe(r,"class",G="GameContainer "+n[33]),fe(r,"part",P="GameContainer "+n[33])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[65](a),ue(i,c),ue(i,u),ue(u,d),N&&N.m(d,null),ue(d,h),ue(d,p),ue(p,m),ue(d,g),ue(d,f),ue(f,y),ue(u,w),ue(u,x),ue(x,C),ue(i,$),U&&U.m(i,null),ue(i,k),ue(i,M),W&&W.m(M,null),ue(M,_),z&&z.m(M,null),ue(M,E),Y&&Y.m(M,null),ue(r,L),V&&V.m(r,null),n[70](r),B||(R=[K(f,"click",n[67]),K(i,"mouseenter",n[41]),K(i,"mouseleave",n[42]),K(i,"touchstart",n[39],{passive:!0}),K(i,"touchend",n[40],{passive:!0})],B=!0)},p(e,t){4&t[0]&&!ce(a.src,o=e[2])&&fe(a,"src",o),196864&t[0]&&s!==(s=`GameBg GameBg-${e[8]} ${e[16]?"GameContainerHovered":""} `+(e[17]?"Loaded":""))&&fe(a,"class",s),196608&t[0]&&l!==(l="GameBg "+(e[16]?"GameContainerHovered":"")+" "+(e[17]?"Loaded":""))&&fe(a,"part",l),e[15]?N?N.p(e,t):(N=_i(e),N.c(),N.m(d,h)):N&&(N.d(1),N=null),8&t[0]&&ye(m,e[3]),8&t[0]&&fe(p,"title",e[3]),16&t[1]&&A!==(A=e[35]("gameThumbnail.playNow")+"")&&ye(y,A),65536&t[0]&&b!==(b="GameInfo "+(e[16]?"GameHovered":""))&&fe(d,"class",b),65536&t[0]&&v!==(v="GameInfo "+(e[16]?"GameHovered":""))&&fe(d,"part",v),16&t[0]&&D!==(D=(e[4]||"-")+"")&&ye(C,D),j===(j=O(e,t))&&U?U.p(e,t):(U&&U.d(1),U=j&&j(e),U&&(U.c(),U.m(i,k))),e[6]?W?W.p(e,t):(W=Li(e),W.c(),W.m(M,_)):W&&(W.d(1),W=null),128&t[0]&&(H=0<parseInt(e[7])),H?z?z.p(e,t):(z=Gi(e),z.c(),z.m(M,E)):z&&(z.d(1),z=null),e[11]?Y?Y.p(e,t):(Y=Pi(e),Y.c(),Y.m(M,null)):Y&&(Y.d(1),Y=null),12584960&t[0]|2&t[1]&&T!==(T="GameInnerContainer "+(e[11]&&!e[22]&&e[23].value||e[11]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"class",T),4196352&t[0]|2&t[1]&&I!==(I="GameInnerContainer "+(e[11]&&!e[22]||e[11]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"part",I),e[9]?V?V.p(e,t):(V=zi(e),V.c(),V.m(r,null)):V&&(V.d(1),V=null),4&t[1]&&G!==(G="GameContainer "+e[33])&&fe(r,"class",G),4&t[1]&&P!==(P="GameContainer "+e[33])&&fe(r,"part",P)},i:Z,o:Z,d(e){e&&he(r),n[65](null),N&&N.d(),U&&U.d(),W&&W.d(),z&&z.d(),Y&&Y.d(),V&&V.d(),n[70](null),B=!1,J(R)}}}const Vi="blackjack",Zi="roulette",Ji="doubleballroulette",Ki=5;function Xi(n,e,o){let t;dt(n,Vr,e=>o(35,t=e));let r,i,a,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M,_,{session:E=""}=e,{userid:T=""}=e,{lang:I=""}=e,{clientstyling:L=""}=e,{clientstylingurl:G=""}=e,{favorites:P=""}=e,{gamethumbnail:B=""}=e,{gamename:R=""}=e,{gamevendor:A=""}=e,{gameid:D=""}=e,{gameisnew:H=""}=e,{gamepopularity:N=""}=e,{gamefunmode:O=!1}=e,{searchitem:j=!1}=e,{gamefavorite:U=!1}=e,{gamecellsize:W=""}=e,{showfavoredcategory:z=!1}=e,{showgamename:Y=!1}=e,{currency:V=""}=e,{gamepagemodalurl:Z="false"}=e,{endpoint:J=""}=e,{livelobbyendpoint:K=""}=e,{connectlive:X=""}=e,{visibilityconnect:q=""}=e,{integratedgameframedesktop:Q="false"}=e,{integratedgameframemobile:ee="false"}=e,te=!1,ne=!1,re=!1,ie=window.navigator.userAgent,ae="HH:mm",oe,se=[],le="EUR",ce="";const ue=[Vi],de=[Zi,Ji],he={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},pe={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(Si).forEach(e=>{kr(e,Si[e])});const me=e=>{e.data.type!=="AddFavoriteThumbnail_"+D||z||o(0,U=!0),e.data.type!=="RemoveFavoriteThumbnail_"+D||z||o(0,U=!1),"UserSessionID"===e.data.type&&(o(14,te=!0),e.data.session,r=e.data.userID),"CategoryUpdate"===e.data.type&&o(11,s=null)},ge=e=>{j?(window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(r||"Not logged in")})):"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail",gameId:""+e,userId:""+(r||"Not logged in")}),Zr(ie)&&"true"==ee?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:O,gamepagemodalurl:Z,isMobile:Zr(ie),source:"GameThumbnail"},window.location.href):Zr(ie)&&"false"==ee&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Zr(ie)},window.location.href),Zr(ie)||"true"!=Q?Zr(ie)||"false"!=Q||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Zr(ie)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:O,gamepagemodalurl:Z,isMobile:Zr(ie)},window.location.href)},fe=e=>{U?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},ye=()=>{K&&EventSource&&!l&&A&&D&&(l=new EventSource(`${J}/encoder/lobby/updates/${A}/`+D),l.addEventListener("message",ve))},be=()=>{l&&(l.close(),l=void 0)},ve=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:a}=r;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(28,f=i),o(11,s.currentOccupiedSeats=i,s),await Ce());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(y=n,o(11,s.currentRouletteNumbers=n,s),await Ce());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(b=n,o(11,s.currentDoubleBallRouletteNumbers=n,s),await Ce());break;case"TableOpened":case"TableClosed":o(22,d=a),o(11,s.isOpen=a,s),await Ce()}}}},we=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",xe=(e,t)=>e.some(e=>e===t);return ht(()=>(window.addEventListener("message",me,!1),()=>{window.removeEventListener("message",me),l&&l.removeEventListener("message",ve)})),n.$$set=e=>{"session"in e&&o(47,E=e.session),"userid"in e&&o(48,T=e.userid),"lang"in e&&o(49,I=e.lang),"clientstyling"in e&&o(50,L=e.clientstyling),"clientstylingurl"in e&&o(51,G=e.clientstylingurl),"favorites"in e&&o(1,P=e.favorites),"gamethumbnail"in e&&o(2,B=e.gamethumbnail),"gamename"in e&&o(3,R=e.gamename),"gamevendor"in e&&o(4,A=e.gamevendor),"gameid"in e&&o(5,D=e.gameid),"gameisnew"in e&&o(6,H=e.gameisnew),"gamepopularity"in e&&o(7,N=e.gamepopularity),"gamefunmode"in e&&o(52,O=e.gamefunmode),"searchitem"in e&&o(53,j=e.searchitem),"gamefavorite"in e&&o(0,U=e.gamefavorite),"gamecellsize"in e&&o(8,W=e.gamecellsize),"showfavoredcategory"in e&&o(54,z=e.showfavoredcategory),"showgamename"in e&&o(9,Y=e.showgamename),"currency"in e&&o(55,V=e.currency),"gamepagemodalurl"in e&&o(56,Z=e.gamepagemodalurl),"endpoint"in e&&o(57,J=e.endpoint),"livelobbyendpoint"in e&&o(58,K=e.livelobbyendpoint),"connectlive"in e&&o(59,X=e.connectlive),"visibilityconnect"in e&&o(60,q=e.visibilityconnect),"integratedgameframedesktop"in e&&o(61,Q=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(62,ee=e.integratedgameframemobile)},n.$$.update=()=>{var e,t;268435456&n.$$.dirty[1]&&X&&("disconnect"===X?be():"connect"===X&&ye()),536870912&n.$$.dirty[1]&&q&&("disconnect"===q?be():"connect"===q&&"connect"===X&&ye()),n.$$.dirty[1],67305472&n.$$.dirty[1]&&E&&T&&J&&(o(14,te=!0),r=T),4&n.$$.dirty[0]&&B&&i&&o(18,i.onload=()=>{o(17,re=!0)},i),1024&n.$$.dirty[0]|524288&n.$$.dirty[1]&&L&&a&&(()=>{let e=document.createElement("style");e.innerHTML=L,a.appendChild(e)})(),1024&n.$$.dirty[0]|1048576&n.$$.dirty[1]&&G&&a&&(()=>{let e=new URL(G),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})})(),2&n.$$.dirty[0]&&P&&"true"==P&&o(15,ne=!0),201326592&n.$$.dirty[1]&&J&&K&&(()=>{let e=new URL(""+K.split("?")[0]);e.searchParams.append("platform",Jr(ie)),e.searchParams.append("language",I),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(11,s=e)})})(),2048&n.$$.dirty[0]&&s&&s&&(o(22,d=s.isOpen),oe=s.betLimit||{},o(23,h=s.openHours),o(24,se=(e=>{g=e.totalSeats||7,o(28,f=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=g;e++)t.push(e);return{seats:t}})(s).seats),h&&h.value&&({startTime:e,originalTimeFormat:t}=h["value"],o(20,u=e),o(21,ae=t||ae)),d&&o(19,c=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();xe(ue,e)?t=Vi:xe(de,e)&&(t=Zi)}}return t})(s)),o(25,le=Fi[V]),o(26,p=(oe.min||{})[V]),o(27,m=(oe.max||{})[V]),y=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,v=s.vendorCategory,o(29,w=v.toLowerCase()===Ji),o(12,x=(w?b:y)||[]),o(30,C="GameProp LiveProps RoulleteProps"),o(30,C+=w?" Double":""),o(31,$=xe(de,v.toLowerCase())?pe:he),F=S,o(32,S=Array.isArray(f)&&f.length===g),s.dealer&&o(34,M=s.dealer.DealerName),_=s.numberOfPlayers,o(33,ce="ListGame"),s.isOpen&&s.currentRouletteNumbers&&o(33,ce+=" GameBackdrop"),d&&S&&p&&m&&s.currentOccupiedSeats?o(33,ce+=" GameContainerDimmed"):!1===d&&u&&o(33,ce+=" GameContainerFullyDimmed"),a&&(!F&&S?(o(33,ce+=" PulsatingRedShadow"),o(33,ce=ce.replace(" PulsatingGreenShadow",""))):F&&!S&&(o(33,ce+=" PulsatingGreenShadow"),o(33,ce=ce.replace(" PulsatingRedShadow",""))))),12288&n.$$.dirty[0]&&k&&x&&(()=>{const e="FirstElementAnimated",t=k.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))})()},[U,P,B,R,A,D,H,N,W,Y,a,s,x,k,te,ne,!1,re,i,c,u,ae,d,h,se,le,p,m,f,w,C,$,S,ce,M,t,ie,ge,fe,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},xe,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
|
|
4
4
|
<span>
|
|
5
5
|
${n}
|
|
6
6
|
</span>
|
|
7
|
-
${we(e)}-`+we(t)),(r
|
|
7
|
+
${we(e)}-`+we(t)),_&&(r=`
|
|
8
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">${
|
|
9
|
+
<span class="NrOfPlayers">${_}</span>`),r||i?`
|
|
10
10
|
<p class="LiveLimits">
|
|
11
11
|
<span class="BetLimitLeft">
|
|
12
12
|
${i||""}
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
<span id=${t} class="${e}">
|
|
30
30
|
${n}
|
|
31
31
|
</span>
|
|
32
|
-
`},V,Z,J,b,v,C,ee,S,F,k,M,_,E,T,L,I,he,pe,function(e){gt[e?"unshift":"push"](()=>{a=e,o(17,a)})},()=>fe(x),()=>ge(x),()=>fe(x),function(e){gt[e?"unshift":"push"](()=>{y=e,o(12,y)})},function(e){gt[e?"unshift":"push"](()=>{s=e,o(18,s)})}]}function Qi(e,t,n){const r=e.slice();return r[75]=t[n],r[77]=n,r}function ea(e,t,n){const r=e.slice();return r[75]=t[n],r[78]=t,r[77]=n,r}function ta(e,t,n){const r=e.slice();return r[75]=t[n],r[77]=n,r}function na(e){let n;function r(e){return e[14]?oa:e[24]?aa:void 0}let i=r(e),a=i&&i(e);return{c(){n=pe("div"),a&&a.c()},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(n,null)))},d(e){e&&he(n),a&&a.d()}}}function ra(e){let n,r,i;function a(e){return e[18]?Sa:e[15].length?Ca:$a}let o=a(e),s=o(e);function l(e){return e[15]?ka:Fa}let c=l(e),d=c(e);return{c(){n=pe("div"),r=pe("div"),s.c(),i=ge(),d.c(),fe(r,"class","CasinoGamesHeader Searched "+(yt(e[30])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(yt(e[30])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,r),s.m(r,null),de(n,i),d.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&he(n),s.d(),d.d()}}}function ia(e){let n;function r(e){return e[20]?Ta:Ea}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function aa(n){let r,i,a,o,s,l,c,d,u=n[29]("gamesCategorySection.favorites")+"";function h(e){return e[28]?la:sa}let p=h(n),m=p(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(u),s=ge(),l=pe("ul"),m.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(l,"class",c=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(l,"part",d=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),n[47](a),de(r,s),de(r,l),m.m(l,null),n[48](l)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.favorites")+"")&&ye(o,u),p===(p=h(e))&&m?m.p(e,t):(m.d(1),(m=p(e))&&(m.c(),m.m(l,null))),268435456&t[0]&&c!==(c=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"class",c),268435456&t[0]&&d!==(d=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"part",d)},d(e){e&&he(r),n[47](null),m.d(),n[48](null)}}}function oa(n){let r,i,a,o,s,l,c=n[14].name+"",d=n[16]&&ba(n);function u(e){return 0!==e[15].length?wa:va}let h=u(n),p=h(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(c),s=ge(),d&&d.c(),l=ge(),p.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),n[43](a),de(i,s),d&&d.m(i,null),de(r,l),p.m(r,null)},p(e,t){16384&t[0]&&c!==(c=e[14].name+"")&&ye(o,c),e[16]?d?d.p(e,t):((d=ba(e)).c(),d.m(i,null)):d&&(d.d(1),d=null),h===(h=u(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(r,null)))},d(e){e&&he(r),n[43](null),d&&d.d(),p.d()}}}function sa(e){let n,r,i=e[29]("gamesCategorySection.waiting")+"";return{c(){n=pe("p"),r=me(i)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.waiting")+"")&&ye(r,i)},d(e){e&&he(n)}}}function la(t){let r,i=t[28].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=ya(Qi(t,i,e));let o=null;return i.length||(o=ca(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);ue(t,r,n),o&&o.m(t,n)},p(t,n){if(2097156095&n[0]){let e;for(i=t[28].items,e=0;e<i.length;e+=1){const o=Qi(t,i,e);a[e]?a[e].p(o,n):(a[e]=ya(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):((o=ca(t)).c(),o.m(r.parentNode,r))}},d(e){G(a,e),e&&he(r),o&&o.d(e)}}}function ca(e){let n,r,i,a,o,s,l,c,t,d,u=e[29]("gamesCategorySection.noFavoritesTitle")+"",h=(m=e,yt(m[30])?ua:da),p=h(e);var m;return{c(){n=pe("p"),r=k("svg"),i=k("path"),a=ge(),o=pe("span"),s=me(u),l=ge(),p.c(),c=ge(),P(i,"fill","white"),fe(i,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","50px"),fe(r,"y","50px"),fe(r,"viewBox","0 0 512.001 512.001"),P(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(yt(e[30])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(yt(e[30])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(n,a),de(n,o),de(o,s),de(n,l),p.m(n,null),de(n,c)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,u),p.p(e,t)},d(e){e&&he(n),p.d()}}}function da(e){let n,r,i=e[29]("gamesCategorySection.noFavorites")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavorites")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ua(e){let n,r,i=e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ha(e){let n,r=e[75].gameModel.isFavorite&&pa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[75].gameModel.isFavorite?r?r.p(e,t):((r=pa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function pa(e){let n,r=function(e){let n,r,i;function a(e,t){return 268435456&t[0]&&(r=null),(n=null==n?!!yt(e[30]):n)?ga:(r=null==r?!!e[75].gameModel.platform.includes("PC"):r)?ma:void 0}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),ue(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&he(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function ma(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(x+(e[75].cellSize||"1x1"))),w(n,"part",i=""+(x+(e[75].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[75].gameModel.thumbnail),w(n,"gamename",o=e[75].gameModel.name),w(n,"gamevendor",s=e[75].gameModel.vendor.name),w(n,"gameisnew",l=e[75].gameModel.isNew),w(n,"gamepopularity",c=e[75].gameModel.popularity),w(n,"gamecellsize",d=e[75].cellSize),w(n,"gameid",u=e[75].gameModel.id),w(n,"gamefunmode",h=e[75].gameModel.hasFunMode),w(n,"gamefavorite",p=e[75].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",m=1==e[26][e[75].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[75].gameModel.details?e[75].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(x+(e[75].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&i!==(i=""+(x+(e[75].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[75].gameModel.thumbnail)&&w(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[75].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[75].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[75].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[75].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&d!==(d=e[75].cellSize)&&w(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[75].gameModel.id)&&w(n,"gameid",u),268435456&t[0]&&h!==(h=e[75].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[75].gameModel.isFavorite)&&w(n,"gamefavorite",p),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&m!==(m=1==e[26][e[75].id]?"connect":"disconnect")&&w(n,"connectlive",m),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[75].gameModel.details?e[75].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function ga(e){let n,r=e[75].gameModel.platform.includes("iPad")||e[75].gameModel.platform.includes("iPhone")||e[75].gameModel.platform.includes("Android"),i=r&&fa(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){(r=268435456&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=fa(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function fa(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(x+(e[75].cellSize||"1x1"))),w(n,"part",i=""+(x+(e[75].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[75].gameModel.thumbnail),w(n,"gamename",o=e[75].gameModel.name),w(n,"gamevendor",s=e[75].gameModel.vendor.name),w(n,"gameisnew",l=e[75].gameModel.isNew),w(n,"gamepopularity",c=e[75].gameModel.popularity),w(n,"gamecellsize",d=e[75].cellSize),w(n,"gameid",u=e[75].gameModel.id),w(n,"gamefunmode",h=e[75].gameModel.hasFunMode),w(n,"gamefavorite",p=e[75].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",m=1==e[26][e[75].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[75].gameModel.details?e[75].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(x+(e[75].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&i!==(i=""+(x+(e[75].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[75].gameModel.thumbnail)&&w(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[75].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[75].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[75].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[75].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&d!==(d=e[75].cellSize)&&w(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[75].gameModel.id)&&w(n,"gameid",u),268435456&t[0]&&h!==(h=e[75].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[75].gameModel.isFavorite)&&w(n,"gamefavorite",p),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&m!==(m=1==e[26][e[75].id]?"connect":"disconnect")&&w(n,"connectlive",m),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[75].gameModel.details?e[75].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function ya(e){let n,r=e[75].gameModel&&ha(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[75].gameModel?r?r.p(e,t):((r=ha(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ba(n){let r,i,a,o,s,l,c,d,u=n[29]("gamesCategorySection.viewAll")+"",h=n[14].games.total+"";return{c(){r=pe("a"),i=pe("span"),a=me(u),o=me(" ("),s=me(h),l=me(")"),fe(i,"class","CategoryLoadMore"),fe(i,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),de(i,l),c||(d=K(r,"click",n[44]),c=!0)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.viewAll")+"")&&ye(a,u),16384&t[0]&&h!==(h=e[14].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,d()}}}function va(e){let n;return{c(){(n=pe("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function wa(n){let r,e,i,a=n[15],o=[];for(let e=0;e<a.length;e+=1)o[e]=xa(ea(n,a,e));return{c(){r=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",i=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[46](r)},p(t,n){if(201367551&n[0]){let e;for(a=t[15],e=0;e<a.length;e+=1){const i=ea(t,a,e);o[e]?o[e].p(i,n):(o[e]=xa(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}285212672&n[0]&&e!==(e=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),285212672&n[0]&&i!==(i=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",i)},d(e){e&&he(r),G(o,e),n[46](null)}}}function xa(e){let n,r=function(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y=n[77];const b=()=>n[45](r,y),v=()=>n[45](null,y);return{c(){w(r=pe("casino-game-thumbnail"),"session",n[2]),w(r,"userid",n[3]),w(r,"lang",n[1]),w(r,"class",i=""+(x+(n[75].cellSize||"1x1"))),w(r,"part",a=""+(x+(n[75].cellSize||"1x1"))),w(r,"favorites",n[4]),w(r,"gamethumbnail",o=n[75].thumbnail),w(r,"gamename",s=n[75].name),w(r,"gamevendor",l=n[75].vendor.name),w(r,"gameisnew",c=n[75].isNew),w(r,"gamepopularity",d=n[75].popularity),w(r,"gamecellsize",u=n[75].cellSize),w(r,"gameid",h=n[75].id),w(r,"gamefunmode",p=n[75].hasFunMode),w(r,"gamefavorite",m=n[75].isFavorite),w(r,"connectlive",g=1==n[26][n[75].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[27]),w(r,"currency",n[7]),w(r,"livelobbyendpoint",f=n[75].details?n[75].href:""),w(r,"clientstyling",n[5]),w(r,"clientstylingurl",n[6]),w(r,"endpoint",n[0]),w(r,"livecasino",n[8]),w(r,"gamepagemodalurl",n[9]),w(r,"integratedgameframedesktop",n[10]),w(r,"integratedgameframemobile",n[11])},m(e,t){ue(e,r,t),b()},p(e,t){n=e,4&t[0]&&w(r,"session",n[2]),8&t[0]&&w(r,"userid",n[3]),2&t[0]&&w(r,"lang",n[1]),32768&t[0]&&i!==(i=""+(x+(n[75].cellSize||"1x1")))&&w(r,"class",i),32768&t[0]&&a!==(a=""+(x+(n[75].cellSize||"1x1")))&&w(r,"part",a),16&t[0]&&w(r,"favorites",n[4]),32768&t[0]&&o!==(o=n[75].thumbnail)&&w(r,"gamethumbnail",o),32768&t[0]&&s!==(s=n[75].name)&&w(r,"gamename",s),32768&t[0]&&l!==(l=n[75].vendor.name)&&w(r,"gamevendor",l),32768&t[0]&&c!==(c=n[75].isNew)&&w(r,"gameisnew",c),32768&t[0]&&d!==(d=n[75].popularity)&&w(r,"gamepopularity",d),32768&t[0]&&u!==(u=n[75].cellSize)&&w(r,"gamecellsize",u),32768&t[0]&&h!==(h=n[75].id)&&w(r,"gameid",h),32768&t[0]&&p!==(p=n[75].hasFunMode)&&w(r,"gamefunmode",p),32768&t[0]&&m!==(m=n[75].isFavorite)&&w(r,"gamefavorite",m),67141632&t[0]&&g!==(g=1==n[26][n[75].id]?"connect":"disconnect")&&w(r,"connectlive",g),134217728&t[0]&&w(r,"visibilityconnect",n[27]),128&t[0]&&w(r,"currency",n[7]),32768&t[0]&&f!==(f=n[75].details?n[75].href:"")&&w(r,"livelobbyendpoint",f),32&t[0]&&w(r,"clientstyling",n[5]),64&t[0]&&w(r,"clientstylingurl",n[6]),1&t[0]&&w(r,"endpoint",n[0]),256&t[0]&&w(r,"livecasino",n[8]),512&t[0]&&w(r,"gamepagemodalurl",n[9]),1024&t[0]&&w(r,"integratedgameframedesktop",n[10]),2048&t[0]&&w(r,"integratedgameframemobile",n[11]),y!==n[77]&&(v(),y=n[77],b())},d(e){e&&he(r),v()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function Ca(e){let n,r,i=e[29]("gamesCategorySection.searchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.searchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function $a(e){let n,r,i=e[29]("gamesCategorySection.noResults")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noResults")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Sa(e){let n,r,i=e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Fa(e){let n;return{c(){(n=pe("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function ka(t){let r,i,a=!t[21]&&Ma(t),o=t[15],s=[];for(let e=0;e<o.length;e+=1)s[e]=_a(ta(t,o,e));return{c(){a&&a.c(),r=ge(),i=pe("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),ue(e,r,t),ue(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[21]?a&&(a.d(1),a=null):a?a.p(t,n):((a=Ma(t)).c(),a.m(r.parentNode,r)),561151&n[0]){let e;for(o=t[15],e=0;e<o.length;e+=1){const a=ta(t,o,e);s[e]?s[e].p(a,n):(s[e]=_a(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&he(r),e&&he(i),G(s,e)}}}function Ma(e){let n,r,t,i,a=e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){n=pe("p"),r=me(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(yt(e[30])?"NoRecentSearchesMobile":"")),fe(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(yt(e[30])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noRecentSearch")+"")&&ye(r,a)},d(e){e&&he(n)}}}function _a(e){let n,r,i,a,o,s,l,c,d,u,h,p,m;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(x+(e[75].cellSize||"1x1"))),w(n,"part",i=""+(x+(e[75].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"searchitem",e[19]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[75].thumbnail),w(n,"gamename",o=e[75].name),w(n,"gamevendor",s=e[75].vendor.name),w(n,"gameisnew",l=e[75].isNew),w(n,"gamepopularity",c=e[75].popularity),w(n,"gamecellsize",d=e[75].cellSize),w(n,"gameid",u=e[75].id),w(n,"gamefunmode",h=e[75].hasFunMode),w(n,"gamefavorite",p=e[75].isFavorite),w(n,"currency",e[7]),w(n,"livelobbyendpoint",m=e[75].details?e[75].href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){32768&t[0]&&r!==(r=""+(x+(e[75].cellSize||"1x1")))&&w(n,"class",r),32768&t[0]&&i!==(i=""+(x+(e[75].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),524288&t[0]&&w(n,"searchitem",e[19]),16&t[0]&&w(n,"favorites",e[4]),32768&t[0]&&a!==(a=e[75].thumbnail)&&w(n,"gamethumbnail",a),32768&t[0]&&o!==(o=e[75].name)&&w(n,"gamename",o),32768&t[0]&&s!==(s=e[75].vendor.name)&&w(n,"gamevendor",s),32768&t[0]&&l!==(l=e[75].isNew)&&w(n,"gameisnew",l),32768&t[0]&&c!==(c=e[75].popularity)&&w(n,"gamepopularity",c),32768&t[0]&&d!==(d=e[75].cellSize)&&w(n,"gamecellsize",d),32768&t[0]&&u!==(u=e[75].id)&&w(n,"gameid",u),32768&t[0]&&h!==(h=e[75].hasFunMode)&&w(n,"gamefunmode",h),32768&t[0]&&p!==(p=e[75].isFavorite)&&w(n,"gamefavorite",p),128&t[0]&&w(n,"currency",e[7]),32768&t[0]&&m!==(m=e[75].details?e[75].href:"")&&w(n,"livelobbyendpoint",m),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ea(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Ta(e){let n;return{c(){(n=pe("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function La(n){let r;function i(e){return e[13]?ia:e[17]?ra:na}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[49](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[49](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},qi,Vi,t,{session:47,userid:48,lang:49,clientstyling:50,clientstylingurl:51,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:52,searchitem:53,gamefavorite:0,gamecellsize:8,showfavoredcategory:54,showgamename:9,currency:55,gamepagemodalurl:56,endpoint:57,livelobbyendpoint:58,connectlive:59,visibilityconnect:60,integratedgameframedesktop:61,integratedgameframemobile:62,MONEY_WHEEL_COLOR_MAP:63,ROULETTE_COLOR_MAP:64},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[49]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),f()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[53]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[54]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[56]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[57]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[58]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[59]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[60]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[61]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[62]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[63]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[64]}});const x="game-tile-";function Ia(e,t,s){let A;vt(e,Kr,e=>s(29,A=e));let n,i,a,r,R,o,l,c,d,u,{categoryindex:D=""}=t,{endpoint:h=""}=t,{datasource:p=""}=t,{lang:m=""}=t,{session:H=""}=t,{userid:N=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{currency:O=""}=t,{categoryid:b=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:W=""}=t,{gamepagemodalurl:z="false"}=t,{integratedgameframedesktop:Y="false"}=t,{integratedgameframemobile:V="false"}=t,{once:Z=!0}=t,{top:J=0}=t,{bottom:K=0}=t,{left:X=0}=t,{right:q=0}=t,v=!1,w=!0,Q=window.navigator.userAgent,x=[],C=!0,$=40,S=!1,F=!1,ee=!1,k=!1,M=!1,_=!0,E=!1,T=!1,L=!1,I=new Array(1e4),G={},te="",P={items:[],count:0,name:""},ne=(Object.keys(xi).forEach(e=>{Tr(e,xi[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>$&&ae(b),s(26,G[t]=1,G)):s(26,G[t]=0,G)})}));const re=(e,r,i,t=0)=>{let n,a="",o=(a=1<(b.match(/\$/g)||[]).length?(n=b.split("$").slice(0,2).join("$"),new URL(`${h}/casino/groups/${p}/${n}/subGroups`)):new URL(`${h}/casino/groups/${p}/`+b),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",bt(Q)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",m),window.postMessage({type:"CategoryVendors",categoryid:b},window.location.href),o&&o[b])if(o[b].length&&!1===w&&!1===E){let t="";s(20,M=!0),o[b].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(20,M=!1);fetch(a).then(e=>e.json()).then(e=>{1<(b.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==b)return e})[0]),s(42,u=!0),s(13,v=!1),R=e.games.total,t(e)},e=>{s(13,v=!0),console.error(e),n(e)})})},ie=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(17,S=!1),w=!1,s(16,C=!1),T=!0,s(15,x=t.data.mostPlayedGames),s(14,a={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"LastPlayedData":s(17,S=!1),w=!1,s(16,C=!1),T=!1,s(15,x=t.data.lastPlayedGames),s(14,a={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(17,S=!0),T=!1,s(18,F=!0),0<t.data.searchData.length?(s(15,x=t.data.searchData),s(21,_=!0),x&&x.forEach(e=>{e.isFavorite=B(e.id)})):(s(15,x=[]),s(21,_=!1));break;case"OutOfRecentSearches":s(17,S=!1),s(18,F=!1);break;case"SearchData":s(17,S=!0),T=!1,s(18,F=!1),s(15,x=t.data.searchData.items||[]),s(19,k=!0),t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)});break;case"CategoryData_"+b:s(17,S=!1),w=!0,s(16,C=!0),s(19,k=!1),T=!1,L=!1,t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),re(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(14,a=e),s(15,x=a.games.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)})});break;case"CategoryChange":$=20;break;case"CategoryUpdate":s(17,S=!1),w=!1,s(19,k=!1),T=!1,L=!0,s(32,b=t.data.itemId),"MOSTPLAYED"!==b&&s(16,C=!1),re(0,0,$).then(e=>{s(14,a=e),a.games.items.forEach(e=>{e.isFavorite=B(e.id)}),s(15,x=a.games.items),s(16,C=!1),x.length<10&&(ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},500))});break;case"FavoriteUpdate":T=!1,w=!0,s(15,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)});break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items,E?w||T||window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(28,P.items=Xr(e,P.items),P),s(28,P.name="Favorites",P),s(24,E=!0));break;case"UserSessionID":if(n=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&n&&0<n.length){var r=`${h}/player/${i}/favorites/`;let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{l=e?e.items:[],x.forEach(e=>{e.isFavorite=B(e.id)});e=x;s(15,x=void 0),s(15,x=e),t(l)}).catch(e=>{console.error(e),n(e)})})}}},ae=e=>{($+=1)<=R&&re(0,0,$).then(e=>{s(14,a=e),a.games.items.length>x.length&&(s(15,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)}))})},B=t=>!!l&&-1!==l.findIndex(e=>e.id==t),oe=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return wt(()=>(window.addEventListener("visibilitychange",e=>{document[d]?s(27,te="disconnect"):s(27,te="connect")}),window.addEventListener("message",ie,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ie),window.removeEventListener("visibilitychange",ie)})),e.$$set=e=>{"categoryindex"in e&&s(33,D=e.categoryindex),"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(34,p=e.datasource),"lang"in e&&s(1,m=e.lang),"session"in e&&s(2,H=e.session),"userid"in e&&s(3,N=e.userid),"favorites"in e&&s(4,g=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"currency"in e&&s(7,O=e.currency),"categoryid"in e&&s(32,b=e.categoryid),"categorygames"in e&&s(35,j=e.categorygames),"livecasino"in e&&s(8,U=e.livecasino),"visiblegames"in e&&s(36,W=e.visiblegames),"gamepagemodalurl"in e&&s(9,z=e.gamepagemodalurl),"integratedgameframedesktop"in e&&s(10,Y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,V=e.integratedgameframemobile),"once"in e&&s(37,Z=e.once),"top"in e&&s(38,J=e.top),"bottom"in e&&s(39,K=e.bottom),"left"in e&&s(40,X=e.left),"right"in e&&s(41,q=e.right)},e.$$.update=()=>{if(4096&e.$$.dirty[0]|2048&e.$$.dirty[1]&&u&&I&&L&&I.forEach((e,t)=>{e&&(e.elems_index=t,ne.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&f){let e=document.createElement("style");e.innerHTML=f,setTimeout(()=>{c.appendChild(e)})}if(64&e.$$.dirty[0]&&y){let t=document.createElement("style");fetch(new URL(y)).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&setTimeout(()=>{c.appendChild(t)},1)})}},[h,m,H,N,g,f,y,O,U,z,Y,V,I,v,a,x,C,S,F,k,M,_,r,o,E,c,G,te,P,A,Q,oe,b,D,p,j,W,Z,J,K,X,q,u,function(e){gt[e?"unshift":"push"](()=>{o=e,s(23,o)})},e=>oe(a.id),function(e,t){gt[e?"unshift":"push"](()=>{I[t]=e,s(12,I)})},function(e){gt[e?"unshift":"push"](()=>{r=e,s(22,r)})},function(e){gt[e?"unshift":"push"](()=>{o=e,s(23,o)})},function(e){gt[e?"unshift":"push"](()=>{r=e,s(22,r)})},function(e){gt[e?"unshift":"push"](()=>{c=e,s(25,c)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ia,La,t,{categoryindex:33,endpoint:0,datasource:34,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:32,categorygames:35,livecasino:8,visiblegames:36,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,once:37,top:38,bottom:39,left:40,right:41},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[33]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[34]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[32]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[35]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[36]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get once(){return this.$$.ctx[37]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[38]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[39]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[40]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[41]}set right(e){this.$$set({right:e}),f()}});const Ga={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Pa(e,t,n){const r=e.slice();return r[24]=t[n],r[26]=n,r}function Ba(n){let r,i,a,o,s,l,c,d=!n[6]&&Aa(n),u=n[6]&&Da(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),d&&d.c(),s=ge(),u&&u.c(),fe(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),d&&d.m(i,null),de(i,s),u&&u.m(i,null),l||(c=K(a,"click",n[10]),l=!0)},p(e,t){e[6]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Aa(e)).c(),d.m(i,s)),e[6]?u?u.p(e,t):((u=Da(e)).c(),u.m(i,null)):u&&(u.d(1),u=null)},d(e){e&&he(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Aa(t){let n,r,i,a,o,s,e=t[7]("randomGame.randomGameLoading")+"",l=t[3],c=[];for(let e=0;e<l.length;e+=1)c[e]=Ra(Pa(t,l,e));return{c(){n=pe("div"),r=pe("main"),i=pe("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ge(),o=pe("p"),s=me(e),fe(i,"class","items"),fe(i,"part","items"),P(i,"transform","translateY("+t[5]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);de(n,a),de(n,o),de(o,s)},p(t,n){if(8&n){let e;for(l=t[3],e=0;e<l.length;e+=1){var r=Pa(t,l,e);c[e]?c[e].p(r,n):(c[e]=Ra(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}32&n&&P(i,"transform","translateY("+t[5]+"px)"),128&n&&e!==(e=t[7]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),G(c,e)}}}function Ra(e){let n,r,i,a,o,s;return{c(){n=pe("div"),r=pe("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,i=e[24].thumbnail)||fe(r,"src",i),fe(r,"alt",a=e[24].name),fe(r,"title",o=e[24].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,r),de(n,s)},p(e,t){8&t&&!ce(r.src,i=e[24].thumbnail)&&fe(r,"src",i),8&t&&a!==(a=e[24].name)&&fe(r,"alt",a),8&t&&o!==(o=e[24].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function Da(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$=n[2].name+"",S=n[2].vendor.name+"",F=n[7]("randomGame.playNowRandomGame")+"";return{c(){r=pe("div"),i=pe("div"),a=pe("img"),c=ge(),(d=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ge(),h=pe("div"),p=pe("p"),m=me($),g=ge(),f=pe("p"),y=me(S),b=ge(),v=pe("button"),w=me(F),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[2].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[2].name),fe(a,"title",l=n[2].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(i,"class","item"),fe(i,"part","item"),fe(p,"class","RandomGameTitle"),fe(p,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,c),de(i,d),de(r,u),de(r,h),de(h,p),de(p,m),de(h,g),de(h,f),de(f,y),de(h,b),de(h,v),de(v,w),x||(C=[K(d,"click",n[15]),K(v,"click",n[16])],x=!0)},p(e,t){4&t&&!ce(a.src,o=e[2].thumbnail)&&fe(a,"src",o),4&t&&s!==(s=e[2].name)&&fe(a,"alt",s),4&t&&l!==(l=e[2].name)&&fe(a,"title",l),4&t&&$!==($=e[2].name+"")&&ye(m,$),4&t&&S!==(S=e[2].vendor.name+"")&&ye(y,S),128&t&&F!==(F=e[7]("randomGame.playNowRandomGame")+"")&&ye(w,F)},d(e){e&&he(r),x=!1,J(C)}}}function Ha(e){let n,r,i=e[7]("randomGame.playRandomGame")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){128&t&&i!==(i=e[7]("randomGame.playRandomGame")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Na(e){let n,r;return{c(){n=pe("span"),r=me(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2&t&&ye(r,e[1])},d(e){e&&he(n)}}}function Oa(n){let r,i,a,o,s,l,c,d,u,h=n[4]&&Ba(n);function p(e){return e[1]?Na:e[1]?void 0:Ha}let m=p(n),g=m&&m(n);return{c(){r=pe("div"),i=pe("div"),h&&h.c(),a=ge(),o=pe("div"),s=pe("button"),g&&g.c(),l=ge(),c=pe("span"),this.c=Z,fe(c,"class","RandomButtonIcon"),fe(c,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(o,"class","RandomButtonWrapper"),fe(o,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),de(r,i),h&&h.m(i,null),de(i,a),de(i,o),de(o,s),g&&g.m(s,null),de(s,l),de(s,c),c.innerHTML=n[0],d||(u=K(s,"click",n[17]),d=!0)},p(e,[t]){e[4]?h?h.p(e,t):((h=Ba(e)).c(),h.m(i,a)):h&&(h.d(1),h=null),m===(m=p(e))&&g?g.p(e,t):(g&&g.d(1),(g=m&&m(e))&&(g.c(),g.m(s,l))),1&t&&(c.innerHTML=e[0])},i:Z,o:Z,d(e){e&&he(r),h&&h.d(),g&&g.d(),d=!1,u()}}}function ja(t,e,n){let r;vt(t,Kr,e=>n(7,r=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,{randombuttonicon:c=""}=e,{buttontext:d=""}=e,u=[],h="",p=!1,m=0,g=0,f=!1,y=window.navigator.userAgent;var b,v;({withLocale:b,translations:v}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(v),ft.set(b))}),Object.keys(Ga).forEach(e=>{Tr(e,Ga[e])});const w=()=>{n(3,i=(e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e})(i)),n(5,m=0),g=0,n(6,f=!1),n(2,h=u[Math.floor(Math.random()*u.length)]),n(4,p=!0);let e=setInterval(()=>{n(5,m-=100),20==++g&&(n(6,f=!0),clearInterval(e))},100)},x=()=>{window.postMessage({type:s,gameId:h.gId||h.id},window.location.href),n(4,p=!1)};return t.$$set=e=>{"endpoint"in e&&n(11,a=e.endpoint),"datasource"in e&&n(12,o=e.datasource),"gameevent"in e&&n(13,s=e.gameevent),"lang"in e&&n(14,l=e.lang),"randombuttonicon"in e&&n(0,c=e.randombuttonicon),"buttontext"in e&&n(1,d=e.buttontext)},t.$$.update=()=>{if(16384&t.$$.dirty&&l&&(e=l,ft.set(e)),6144&t.$$.dirty&&a&&o){let e=new URL(a+"/casino/games");e.searchParams.append("platform",bt(y)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{u=e.items,n(3,i=u.slice(0,19))})}var e},[c,d,h,i,p,m,f,r,w,x,()=>{n(4,p=!1)},a,o,s,l,()=>w(),()=>x(),()=>w()]}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ja,Oa,t,{endpoint:11,datasource:12,gameevent:13,lang:14,randombuttonicon:0,buttontext:1},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext"]}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[13]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}});const Ua={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function Wa(e,t,n){const r=e.slice();return r[57]=t[n],r}function za(e,t,n){const r=e.slice();return r[60]=t[n],r}function Ya(n){let i,r,a,o,s,l,c,d,e,u,h,p,m,g,f,y,b,v,w,x,C=n[14],$=[];for(let e=0;e<C.length;e+=1)$[e]=Ka(za(n,C,e));let S=n[7],F=[];for(let e=0;e<S.length;e+=1)F[e]=Xa(Wa(n,S,e));return{c(){i=pe("div"),r=pe("div"),a=pe("div");for(let e=0;e<$.length;e+=1)$[e].c();o=ge(),s=pe("div"),l=pe("button"),c=k("svg"),d=k("path"),u=ge(),h=pe("button"),p=k("svg"),m=k("path"),y=ge(),b=pe("div");for(let e=0;e<F.length;e+=1)F[e].c();fe(a,"class","WinnerButtonsContainer"),fe(d,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(m,"style",g=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(m,"id","Path_36"),fe(m,"data-name","Path 36"),fe(m,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(m,"transform","translate(0 24.656) rotate(-90)"),fe(m,"fill","#fff"),fe(p,"id","Component_46_2"),fe(p,"data-name","Component 46 – 2"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(p,"width","15"),fe(p,"height","15"),fe(p,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a);for(let e=0;e<$.length;e+=1)$[e].m(a,null);de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,h),de(h,p),de(p,m),de(i,y),de(i,b);for(let e=0;e<F.length;e+=1)F[e].m(b,null);n[38](b),w||(x=[K(l,"click",n[35]),K(h,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for(C=t[14],e=0;e<C.length;e+=1){var r=za(t,C,e);$[e]?$[e].p(r,n):($[e]=Ka(r),$[e].c(),$[e].m(a,null))}for(;e<$.length;e+=1)$[e].d(1);$.length=C.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),384&n[0]&&g!==(g=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(m,"style",g),8&n[0]&&f!==(f="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&fe(s,"class",f),435348&n[0]){let e;for(S=t[7],e=0;e<S.length;e+=1){const a=Wa(t,S,e);F[e]?F[e].p(a,n):(F[e]=Xa(a),F[e].c(),F[e].m(b,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=S.length}512&n[0]&&v!==(v="CasinoWinners "+(t[9]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),G($,e),G(F,e),n[38](null),w=!1,J(x)}}}function Va(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function Za(n){let r,i,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=pe("button"),i=me(l),fe(r,"class",a="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,r,t),de(r,i),o||(s=K(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(i,l),65&t[0]&&a!==(a="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",a)},d(e){e&&he(r),o=!1,s()}}}function Ja(n){let r,i,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=pe("button"),i=me(c),a=ge(),fe(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,r,t),de(r,i),de(r,a),s||(l=K(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(i,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function Ka(e){let n,r,i="recent"==e[60]&&Za(e),a="top"==e[60]&&Ja(e);return{c(){i&&i.c(),n=ge(),a&&a.c(),r=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),a&&a.m(e,t),ue(e,r,t)},p(e,t){"recent"==e[60]?i?i.p(e,t):((i=Za(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[60]?a?a.p(e,t):((a=Ja(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){i&&i.d(e),e&&he(n),a&&a.d(e),e&&he(r)}}}function Xa(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M=n[57].gameName+"",_=n[17](n[57].username)+"",E=n[15]("Translations.won")+"",T=n[57].specifiedCurrencyAmount.toFixed(2)+"",L=(n[4]?n[10]:n[2])+"";function I(){return n[37](n[57])}return{c(){r=pe("div"),i=pe("div"),a=pe("img"),l=ge(),c=pe("p"),d=me(M),u=ge(),h=pe("p"),p=me(_),m=ge(),g=pe("p"),f=me(E),y=ge(),b=pe("p"),v=me(T),w=ge(),x=pe("span"),C=me(L),$=ge(),ce(a.src,o=n[57]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[57]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(i,"class","WinnerCard"),fe(r,"class",S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,l),de(i,c),de(c,d),de(i,u),de(i,h),de(h,p),de(i,m),de(i,g),de(g,f),de(i,y),de(i,b),de(b,v),de(b,w),de(b,x),de(x,C),de(r,$),F||(k=K(a,"click",I),F=!0)},p(e,t){n=e,128&t[0]&&!ce(a.src,o=n[57]?.gameModel?.thumbnail)&&fe(a,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&fe(a,"alt",s),128&t[0]&&M!==(M=n[57].gameName+"")&&ye(d,M),128&t[0]&&_!==(_=n[17](n[57].username)+"")&&ye(p,_),32768&t[0]&&E!==(E=n[15]("Translations.won")+"")&&ye(f,E),128&t[0]&&T!==(T=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,T),1044&t[0]&&L!==(L=(n[4]?n[10]:n[2])+"")&&ye(C,L),8192&t[0]&&S!==(S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",S)},d(e){e&&he(r),F=!1,k()}}}function qa(n){let r;function i(e){return e[12]?Va:Ya}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){ue(e,r,t),o.m(r,null),n[39](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[39](null)}}}function Qa(t,e,r){let n;vt(t,Kr,e=>r(15,n=e));let i,a,o,s,l,c,d,u,h,p,{endpoint:m=""}=e,{session:g=""}=e,{periodrecent:f="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:b="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:w="1"}=e,{lang:x="en"}=e,{isrecentavailable:C="true"}=e,{istopavailable:$="true"}=e,{defaultcurrency:S=""}=e,{clientstyling:F=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:M=""}=e,{tabsorder:_=""}=e,E=[],T=0,L=0,A=window.navigator.userAgent,I=!0,G=!1;Object.keys(Ua).forEach(e=>{Tr(e,Ua[e])});const R=()=>{const e=new URL(`${m}/casino/${a}-winners`);e.searchParams.append("limit","recent"==a?b:v),e.searchParams.append("specifiedCurrency",p),e.searchParams.append("period","recent"==a?f:y),e.searchParams.append("language",x),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{r(7,E=[]),r(7,E=e.items.map(e=>e)),r(12,I=!1),setTimeout(()=>{r(8,L=Math.round(i.offsetWidth/225)),H(),"true"==M&&(T=0,L<d?u=setInterval(()=>{B()},3e3):clearInterval(u))})})},P=e=>{a!==e&&(r(6,a=e),r(7,E=[]),R())},D=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},H=n=>{const e=[...i.children];d=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==a?setTimeout(()=>{r(13,G=!0)},10):r(13,G=!1)},N=()=>{H(T)},O=()=>{var e=E.length;L>=E.length||(0===T?T=e-L:T-L<0?T=0:T-=L,N())},B=()=>{var e=E.length;L>=E.length||("true"==M&&(T===e-L?T=0:T++),"false"==M&&(T===e-L?T=0:e-L<T+L?T=e-L:T+=L),N())};return wt(()=>(r(9,o=yt(A)),()=>{clearInterval(u)})),t.$$set=e=>{"endpoint"in e&&r(22,m=e.endpoint),"session"in e&&r(23,g=e.session),"periodrecent"in e&&r(24,f=e.periodrecent),"periodtop"in e&&r(25,y=e.periodtop),"numberusersrecent"in e&&r(26,b=e.numberusersrecent),"numberuserstop"in e&&r(27,v=e.numberuserstop),"amountlimit"in e&&r(21,w=e.amountlimit),"lang"in e&&r(28,x=e.lang),"isrecentavailable"in e&&r(0,C=e.isrecentavailable),"istopavailable"in e&&r(1,$=e.istopavailable),"defaultcurrency"in e&&r(2,S=e.defaultcurrency),"clientstyling"in e&&r(29,F=e.clientstyling),"clientstylingurl"in e&&r(30,k=e.clientstylingurl),"enableautoscroll"in e&&r(3,M=e.enableautoscroll),"tabsorder"in e&&r(31,_=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&C&&$&&f&&y&&b&&v&&w&&x&&_&&null!=s&&(r(14,h=_.split(",")),r(6,a=h[0]),"false"==C&&r(21,w=""),r(32,p=s?l:S)),4194304&t.$$.dirty[0]&&m&&qr(m,g).then(e=>{e.Guid,r(10,l=e.Currency),r(4,s=!0)},e=>{r(4,s=!1)}),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&m&&p&&M&&R(),268435456&t.$$.dirty[0]&&x&&(e=x,ft.set(e)),536870912&t.$$.dirty[0]&&F){let e=document.createElement("style");e.innerHTML=F,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&k){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e},[C,$,S,M,s,i,a,E,L,o,l,c,I,G,h,n,P,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),D,O,B,w,m,g,f,y,b,v,x,F,k,_,p,()=>P("recent"),()=>P("top"),()=>O(),()=>B(),e=>D(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){gt[e?"unshift":"push"](()=>{i=e,r(5,i)})},function(e){gt[e?"unshift":"push"](()=>{c=e,r(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Qa,qa,t,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),f()}});const eo={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando por favor espere..."}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function to(e,t,n){const r=e.slice();return r[47]=t[n],r[49]=n,r}function no(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v;function w(e){return e[5]?ao:oo}let x=w(n),C=x(n);return{c(){r=pe("div"),i=pe("div"),a=pe("div"),o=pe("div"),s=pe("img"),c=ge(),d=pe("div"),C.c(),u=ge(),h=pe("div"),p=pe("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(p.src,m=n[11])||fe(p,"src",m),fe(p,"alt",""),fe(h,"class","title"),fe(a,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),P(a,"background","url("+n[10]+")"),fe(i,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(o,s),de(a,c),de(a,d),C.m(d,null),de(a,u),de(a,h),de(h,p),n[32](r),b||(v=K(i,"click",n[31]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&C?C.p(e,t):(C.d(1),(C=x(e))&&(C.c(),C.m(d,null))),2048&t[0]&&!ce(p.src,m=e[11])&&fe(p,"src",m),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(a,"class",g),1024&t[0]&&P(a,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&he(r),C.d(),n[32](null),b=!1,v()}}}function ro(e){let n,r,i=e[14]("jackpotBanners.loadingText")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16384&t[0]&&i!==(i=e[14]("jackpotBanners.loadingText")+"")&&ye(r,i)},d(e){e&&he(n)}}}function io(e){let n;return{c(){(n=pe("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function ao(e){let n,r,i,a,o,s,R,l,c,D,H,d,N,O,u,h,p,m,g,j,f,y,U,W,b,z,Y,v,w,x,C,$,S,V,F,k,Z,J,M,K,X,_,E,T,L,I,q,G,P,Q,ee,B,te,A=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ie=e[7][1]+"",ae=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=pe("img"),s=pe("span"),R=me(A),l=pe("span"),c=pe("span"),D=me(ne),H=ge(),d=pe("span"),N=me(e[1]),O=ge(),u=pe("div"),h=pe("div"),p=pe("img"),g=pe("span"),j=me(re),f=pe("span"),y=pe("span"),U=me(ie),W=ge(),b=pe("span"),z=me(e[1]),Y=ge(),v=pe("div"),w=pe("div"),x=pe("div"),C=pe("img"),S=pe("span"),V=me(ae),F=pe("span"),k=pe("span"),Z=me(oe),J=ge(),M=pe("span"),K=me(e[1]),X=ge(),_=pe("div"),E=pe("div"),T=pe("img"),I=pe("span"),q=me(se),G=pe("span"),P=pe("span"),Q=me(le),ee=ge(),B=pe("span"),te=me(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[9][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(p,"class","displayCardIcon"),ce(p.src,m=e[9][1])||fe(p,"src",m),fe(p,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(C,"class","displayCardIcon"),ce(C.src,$=e[9][2])||fe(C,"src",$),fe(C,"alt",""),fe(S,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(k,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(F,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(T,"class","displayCardIcon"),ce(T.src,L=e[9][3])||fe(T,"src",L),fe(T,"alt",""),fe(I,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(P,"class","jackpotValue"),fe(B,"class","jackpot-currency"),fe(G,"class","cardTextWrapper"),fe(_,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(i,a),de(i,s),de(s,R),de(r,l),de(l,c),de(c,D),de(l,H),de(l,d),de(d,N),de(n,O),de(n,u),de(u,h),de(h,p),de(h,g),de(g,j),de(u,f),de(f,y),de(y,U),de(f,W),de(f,b),de(b,z),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,x),de(x,C),de(x,S),de(S,V),de(w,F),de(F,k),de(k,Z),de(F,J),de(F,M),de(M,K),de(v,X),de(v,_),de(_,E),de(E,T),de(E,I),de(I,q),de(_,G),de(G,P),de(P,Q),de(G,ee),de(G,B),de(B,te)},p(e,t){512&t[0]&&!ce(a.src,o=e[9][0])&&fe(a,"src",o),256&t[0]&&A!==(A=e[8][0]+"")&&ye(R,A),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(D,ne),2&t[0]&&ye(N,e[1]),512&t[0]&&!ce(p.src,m=e[9][1])&&fe(p,"src",m),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ie!==(ie=e[7][1]+"")&&ye(U,ie),2&t[0]&&ye(z,e[1]),512&t[0]&&!ce(C.src,$=e[9][2])&&fe(C,"src",$),256&t[0]&&ae!==(ae=e[8][2]+"")&&ye(V,ae),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(K,e[1]),512&t[0]&&!ce(T.src,L=e[9][3])&&fe(T,"src",L),256&t[0]&&se!==(se=e[8][3]+"")&&ye(q,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&he(n),e&&he(Y),e&&he(v)}}}function oo(t){let i,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=so(to(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(898&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var r=to(t,a,e);o[e]?o[e].p(r,n):(o[e]=so(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&&he(i)}}}function so(e){let n,r,i,a,o,s,l,c,d,u,h,p,m=e[8][e[49]]+"",g=(e[7][e[49]]??"")+"";return{c(){n=pe("div"),r=pe("div"),i=pe("img"),o=pe("span"),s=me(m),l=pe("span"),c=pe("span"),d=me(g),u=ge(),h=pe("span"),p=me(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,a=e[9][e[49]])||fe(i,"src",a),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(h,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,p)},p(e,t){512&t[0]&&!ce(i.src,a=e[9][e[49]])&&fe(i,"src",a),256&t[0]&&m!==(m=e[8][e[49]]+"")&&ye(s,m),128&t[0]&&g!==(g=(e[7][e[49]]??"")+"")&&ye(d,g),2&t[0]&&ye(p,e[1])},d(e){e&&he(n)}}}function lo(e){let n;function r(e){return e[13]?io:e[3]?ro:no}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function co(n,e,r){let t;vt(n,Kr,e=>r(14,t=e));let i,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:h=""}=e,{backgroundsrc:p=""}=e,{currency:m=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{endpoint:w=""}=e,{gameid:x=""}=e,A=window.navigator.userAgent,C=!1,$=!1,S="",F=[],k=[],M=[],_=[],E=[],T="",L="",I=!1,G=!0,P=!1;Object.keys(eo).forEach(e=>{Tr(e,eo[e])});const B=["typeSpread","typeLeft"],R=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href)};return n.$$set=e=>{"visualstructure"in e&&r(0,o=e.visualstructure),"title"in e&&r(16,s=e.title),"caticon0"in e&&r(17,l=e.caticon0),"caticon1"in e&&r(18,c=e.caticon1),"caticon2"in e&&r(19,d=e.caticon2),"caticon3"in e&&r(20,u=e.caticon3),"iconlabels"in e&&r(21,h=e.iconlabels),"backgroundsrc"in e&&r(22,p=e.backgroundsrc),"currency"in e&&r(1,m=e.currency),"backgroundsrcmobile"in e&&r(23,g=e.backgroundsrcmobile),"titlelogopath"in e&&r(24,f=e.titlelogopath),"lang"in e&&r(25,y=e.lang),"clientstyling"in e&&r(26,b=e.clientstyling),"clientstylingurl"in e&&r(27,v=e.clientstylingurl),"endpoint"in e&&r(28,w=e.endpoint),"gameid"in e&&r(29,x=e.gameid)},n.$$.update=()=>{if(268435456&n.$$.dirty[0]&&w&&(t=new URL(w+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{r(30,k=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&i&&b){let e=document.createElement("style");e.innerHTML=b,i.appendChild(e)}if(134217732&n.$$.dirty[0]&&i&&v){r(12,I=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&(setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{r(12,I=!1)},500))})}if(1375731714&n.$$.dirty[0]&&w&&y&&m&&0<k.length&&(w&&y&&m)){let e=new URL(w+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",m),fetch(e.href).then(e=>e.json().then(e=>{r(3,G=!1),a=e,k.includes(x)&&((e=null==(e=null==(e=a)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),r(6,S=a.items[0].vendorLogo))}).catch(e=>{r(13,P=!0),r(3,G=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&m&&y&&!G&&(r(4,C=yt(A)&&1<window.innerHeight/window.innerWidth),r(5,$=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==F.length&&r(7,M=F.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),r(8,_=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),B.includes(o.trim())?r(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${B[0]}"`),r(0,o=B[0])),r(10,T=g&&C&&!$?g:p),r(11,L=f),r(9,E=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,ft.set(e))},[o,m,i,G,C,$,S,M,_,E,T,L,I,P,t,R,s,l,c,d,u,h,p,g,f,y,b,v,w,x,k,()=>R(),function(e){gt[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends i{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},co,lo,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),f()}});const uo={en:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},zh:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},de:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},it:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},fr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},es:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},el:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},tr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ru:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ro:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hu:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pt:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}}};function ho(e,t,n){const r=e.slice();return r[37]=t[n],r}function po(e,t,n){const r=e.slice();return r[40]=t[n],r}function mo(n){let i,r,a,o,s,l,c,d,u,h,p,m,g,e,f,y,b=n[7]("Translations.game")+"",v=("vendor"==n[0]?n[7]("Translations.providers"):n[7]("Translations.collections"))+"",w=n[2],x=[];for(let e=0;e<w.length;e+=1)x[e]=vo(ho(n,w,e));return{c(){i=pe("div"),r=pe("div"),a=pe("p"),o=me(b),s=ge(),l=me(v),c=ge(),d=pe("div"),(u=pe("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',h=ge(),(p=pe("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',m=ge(),g=pe("div");for(let e=0;e<x.length;e+=1)x[e].c();fe(a,"class","Title"),fe(d,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(g,"class","CategoriesSlider"),fe(i,"class",e="CasinoCollectionsProviders "+(n[6]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(a,s),de(a,l),de(r,c),de(r,d),de(d,u),de(d,h),de(d,p),de(i,m),de(i,g);for(let e=0;e<x.length;e+=1)x[e].m(g,null);n[21](g),f||(y=[K(u,"click",n[17]),K(p,"click",n[18])],f=!0)},p(t,n){if(128&n[0]&&b!==(b=t[7]("Translations.game")+"")&&ye(o,b),129&n[0]&&v!==(v=("vendor"==t[0]?t[7]("Translations.providers"):t[7]("Translations.collections"))+"")&&ye(l,v),3078&n[0]){let e;for(w=t[2],e=0;e<w.length;e+=1){var r=ho(t,w,e);x[e]?x[e].p(r,n):(x[e]=vo(r),x[e].c(),x[e].m(g,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}64&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[6]?"Mobile":""))&&fe(i,"class",e)},d(e){e&&he(i),G(x,e),n[21](null),f=!1,J(y)}}}function go(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function fo(e){let n,r,i=e[37].name+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){4&t[0]&&i!==(i=e[37].name+"")&&ye(r,i)},d(e){e&&he(n)}}}function yo(e){let n,r,i;return{c(){fe(n=pe("img"),"class","CategorySlideLogo"),ce(n.src,r=e[37].icon)||fe(n,"src",r),fe(n,"alt",i=e[37].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&!ce(n.src,r=e[37].icon)&&fe(n,"src",r),4&t[0]&&i!==(i=e[37].name+" icon")&&fe(n,"alt",i)},d(e){e&&he(n)}}}function bo(n){let r,i,a,o,s;function l(){return n[19](n[40])}return{c(){fe(r=pe("img"),"class","CategorySlideGameImage"),ce(r.src,i=n[40].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",a=n[40].name)},m(e,t){var n;ue(e,r,t),o||(s=K(r,"click",(n=l,function(e){return e.stopPropagation(),n.call(this,e)})),o=!0)},p(e,t){n=e,4&t[0]&&!ce(r.src,i=n[40].defaultThumbnail)&&fe(r,"src",i),4&t[0]&&a!==(a=n[40].name)&&fe(r,"alt",a)},d(e){e&&he(r),o=!1,s()}}}function vo(n){let r,i,a,o,s,l,c,d,u;function h(e){return"logo"==e[1]?yo:"title"==e[1]?fo:void 0}let p=h(n),m=p&&p(n),g=n[37].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=bo(po(n,g,e));function y(){return n[20](n[37])}return{c(){r=pe("div"),i=pe("div"),a=pe("div"),m&&m.c(),o=ge(),s=pe("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(a,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(i,"class",l="CategorySlide "+("vendor"==n[37]?.flag[0]?"CategorySlideNoHighlight":"")),P(i,"background-image","url("+n[37]?.background+")"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,r,t),de(r,i),de(i,a),m&&m.m(a,null),de(i,o),de(i,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);de(r,c),d||(u=K(i,"click",y),d=!0)},p(e,t){if(p===(p=h(n=e))&&m?m.p(n,t):(m&&m.d(1),(m=p&&p(n))&&(m.c(),m.m(a,null))),1028&t[0]){let e;for(g=n[37].games,e=0;e<g.length;e+=1){const i=po(n,g,e);f[e]?f[e].p(i,t):(f[e]=bo(i),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}4&t[0]&&l!==(l="CategorySlide "+("vendor"==n[37]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(i,"class",l),4&t[0]&&P(i,"background-image","url("+n[37]?.background+")")},d(e){e&&he(r),m&&m.d(),G(f,e),d=!1,u()}}}function wo(n){let r;function i(e){return e[5]?go:mo}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){ue(e,r,t),o.m(r,null),n[22](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[22](null)}}}function xo(n,e,r){let t;vt(n,Kr,e=>r(7,t=e));let i,a,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:h=""}=e,{titletype:p=""}=e,{clientstyling:m=""}=e,{clientstylingurl:g=""}=e,f=[],y=!0,b=0,v=0,w=0,x=window.navigator.userAgent;Object.keys(uo).forEach(e=>{Tr(e,uo[e])});const C=n=>{(o=[...i.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>a=e.getBoundingClientRect().width),w=Math.round(i.offsetWidth/a)},$=()=>{C(b)},S=()=>{w>=v||(0===b?b=v-w:b-w<-1?b=0:b--,$())},F=()=>{w>=v||(b===v-w?b=0:v-w<b+1?b=v-w:b++,$())},k=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return wt(()=>{r(6,l=yt(x))}),n.$$set=e=>{"endpoint"in e&&r(12,c=e.endpoint),"datasource"in e&&r(13,d=e.datasource),"lang"in e&&r(14,u=e.lang),"type"in e&&r(0,h=e.type),"titletype"in e&&r(1,p=e.titletype),"clientstyling"in e&&r(15,m=e.clientstyling),"clientstylingurl"in e&&r(16,g=e.clientstylingurl)},n.$$.update=()=>{if(28672&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(5,y=!1);let t=e.items.filter(e=>e.flags==h);r(2,f=t.map(e=>({id:e.id,name:e.name,icon:e.icon,games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}))),v=f.length})}if(12&n.$$.dirty[0]&&f&&i&&C(),16384&n.$$.dirty[0]&&u&&(e=u,ft.set(e)),32784&n.$$.dirty[0]&&m&&s){let e=document.createElement("style");e.innerHTML=m,s.appendChild(e)}if(65552&n.$$.dirty[0]&&g&&s){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,s&&(setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500))})}var e},[h,p,f,i,s,y,l,t,S,F,k,M,c,d,u,m,g,()=>S(),()=>F(),e=>k(e.gameId,e.launchUrl,e.name),e=>M(e.id),function(e){gt[e?"unshift":"push"](()=>{i=e,r(3,i)})},function(e){gt[e?"unshift":"push"](()=>{s=e,r(4,s)})}]}function Co(e,t,n){const r=e.slice();return r[164]=t[n],r[166]=n,r}function $o(n){let r,i,a,o,s,l="PC"!==bt(n[73])&&"false"===n[10]&&n[69],c=l&&Fo();function d(e){return"false"===e[10]?Mo:ko}let u=d(n),h=u(n),p="true"==n[15]&&0==n[57]&&Oo(n);function m(e){return e[47]?Vo:e[55]?Yo:e[58]?zo:e[53]?Wo:e[59]?Uo:e[54]?void 0:jo}let g=m(n),f=g&&g(n),y=n[49]&&"true"==n[13]&&is(n);return{c(){r=pe("section"),c&&c.c(),i=ge(),h.c(),a=ge(),p&&p.c(),o=ge(),f&&f.c(),s=ge(),y&&y.c(),fe(r,"class","CategoriesLobby"),fe(r,"part","CategoriesLobby"),P(r,"max-width",n[12]+"px")},m(e,t){ue(e,r,t),c&&c.m(r,null),de(r,i),h.m(r,null),de(r,a),p&&p.m(r,null),de(r,o),f&&f.m(r,null),de(r,s),y&&y.m(r,null),n[105](r)},p(e,t){(l=1024&t[0]|128&t[2]?"PC"!==bt(e[73])&&"false"===e[10]&&e[69]:l)?c||((c=Fo()).c(),c.m(r,i)):c&&(c.d(1),c=null),u===(u=d(e))&&h?h.p(e,t):(h.d(1),(h=u(e))&&(h.c(),h.m(r,a))),"true"==e[15]&&0==e[57]?p?p.p(e,t):((p=Oo(e)).c(),p.m(r,o)):p&&(p.d(1),p=null),g===(g=m(e))&&f?f.p(e,t):(f&&f.d(1),(f=g&&g(e))&&(f.c(),f.m(r,s))),e[49]&&"true"==e[13]?y?y.p(e,t):((y=is(e)).c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&P(r,"max-width",e[12]+"px")},d(e){e&&he(r),c&&c.d(),h.d(),p&&p.d(),f&&f.d(),y&&y.d(),n[105](null)}}}function So(e){let n,r,i=e[72]("casinoPage.500")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[2]&&i!==(i=e[72]("casinoPage.500")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Fo(){let n;return{c(){fe(n=pe("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function ko(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w=n[72]("casinoPage.searchGames")+"",x="PC"===bt(n[73])&&n[45].length||"PC"!==bt(n[73]),C=!n[69]&&_o(),$=x&&Eo(n),S=!n[53]&&!n[58]&&!n[69]&&!n[59]&&!n[61]&&!n[54]&&!n[57]&&!n[55]&&!n[56]&&To(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),d=pe("input"),h=ge(),$&&$.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===bt(n[73])?n[72]("casinoPage.search"):n[72]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!os?"CategoriesHeaderSearchActive":"")+(n[63]&&n[69]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!os?"CategoriesHeaderSearchActive":"")+(n[63]&&n[69]?"SearchStickTop":"")),P(r,"top",n[63]&&n[69]?ss+"px":"")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),C&&C.m(l,null),de(l,c),de(l,d),n[98](d),A(d,n[45]),de(l,h),$&&$.m(l,null),de(r,g),S&&S.m(r,null),n[103](r),b||(v=[K(d,"focus",n[75]),K(d,"blur",n[76]),K(d,"input",n[99]),K(d,"focus",n[77])],b=!0)},p(e,t){1024&t[2]&&w!==(w=e[72]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?C&&(C.d(1),C=null):C||((C=_o()).c(),C.m(l,c)),1024&t[2]&&u!==(u="PC"===bt(e[73])?e[72]("casinoPage.search"):e[72]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),16384&t[1]&&A(d,e[45]),(x=16384&t[1]?"PC"===bt(e[73])&&e[45].length||"PC"!==bt(e[73]):x)?$?$.p(e,t):(($=Eo(e)).c(),$.m(l,null)):$&&($.d(1),$=null),1514143744&t[1]&&p!==(p="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(i,"class",p),1514143744&t[1]&&m!==(m="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(i,"part",m),e[53]||e[58]||e[69]||e[59]||e[61]||e[54]||e[57]||e[55]||e[56]?S&&(S.d(1),S=null):S?S.p(e,t):((S=To(e)).c(),S.m(r,null)),16777216&t[1]|130&t[2]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!os?"CategoriesHeaderSearchActive":"")+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),16777216&t[1]|130&t[2]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!os?"CategoriesHeaderSearchActive":"")+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y),130&t[2]&&P(r,"top",e[63]&&e[69]?ss+"px":"")},d(e){e&&he(r),C&&C.d(),n[98](null),$&&$.d(),S&&S.d(),n[103](null),b=!1,J(v)}}}function Mo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w=n[72]("casinoPage.searchGames")+"",x="PC"===bt(n[73])&&n[45].length||"PC"!==bt(n[73]),C=!n[69]&&Bo(),$=x&&Ao(n),S=!n[53]&&!n[58]&&!n[69]&&!n[59]&&!n[61]&&!n[54]&&!n[55]&&!n[57]&&!n[56]&&Ro(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),d=pe("input"),h=ge(),$&&$.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===bt(n[73])?n[72]("casinoPage.search"):n[72]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!os?"CategoriesHeaderSearchActive":"")+" "+(n[63]&&n[69]?"SearchStickTop":"")),P(r,"top",n[63]&&n[69]?ss+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!os?"CategoriesHeaderSearchActive":"")+" "+(n[63]&&n[69]?"SearchStickTop":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),C&&C.m(l,null),de(l,c),de(l,d),n[92](d),A(d,n[45]),de(l,h),$&&$.m(l,null),de(r,g),S&&S.m(r,null),n[97](r),b||(v=[K(d,"focus",n[75]),K(d,"blur",n[76]),K(d,"input",n[93]),K(d,"focus",n[77])],b=!0)},p(e,t){1024&t[2]&&w!==(w=e[72]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?C&&(C.d(1),C=null):C||((C=Bo()).c(),C.m(l,c)),1024&t[2]&&u!==(u="PC"===bt(e[73])?e[72]("casinoPage.search"):e[72]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),16384&t[1]&&A(d,e[45]),(x=16384&t[1]?"PC"===bt(e[73])&&e[45].length||"PC"!==bt(e[73]):x)?$?$.p(e,t):(($=Ao(e)).c(),$.m(l,null)):$&&($.d(1),$=null),1514143744&t[1]&&p!==(p="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(i,"class",p),1514143744&t[1]&&m!==(m="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(i,"part",m),e[53]||e[58]||e[69]||e[59]||e[61]||e[54]||e[55]||e[57]||e[56]?S&&(S.d(1),S=null):S?S.p(e,t):((S=Ro(e)).c(),S.m(r,null)),16777216&t[1]|130&t[2]&&f!==(f="CategoriesHeaderSection "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!os?"CategoriesHeaderSearchActive":"")+" "+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),130&t[2]&&P(r,"top",e[63]&&e[69]?ss+"px":""),16777216&t[1]|130&t[2]&&y!==(y="CategoriesHeaderSection "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!os?"CategoriesHeaderSearchActive":"")+" "+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),C&&C.d(),n[92](null),$&&$.d(),S&&S.d(),n[97](null),b=!1,J(v)}}}function _o(){let n;return{c(){(n=pe("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchWrapper")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Eo(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,i),a||(o=K(r,"click",n[100]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function To(e){let n,r,i=e[70]&&Lo(e),a=(!e[55]||!e[54])&&Io(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),a&&a.m(n,null)},p(e,t){e[70]?i?i.p(e,t):((i=Lo(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[55]&&e[54]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Io(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function Lo(n){let r,i,a,o,s,l,c,d,u,h=n[72]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(h),o=ge(),(s=pe("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),d||(u=K(r,"click",n[101]),d=!0)},p(e,t){1024&t[2]&&h!==(h=e[72]("casinoPage.clear")+"")&&ye(a,h),256&t[2]&&l!==(l="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"class",l),256&t[2]&&c!==(c="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"part",c)},d(e){e&&he(r),d=!1,u()}}}function Io(e){let n,r=!e[59]&&Go(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[59]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Go(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function Go(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f=n[72]("casinoPage.filters")+"",y=0<n[70]&&Po(n);return{c(){r=pe("div"),i=pe("div"),a=me(f),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),d=k("style"),u=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),y&&y.c(),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,p),y&&y.m(s,null),m||(g=K(r,"click",n[102]),m=!0)},p(e,t){1024&t[2]&&f!==(f=e[72]("casinoPage.filters")+"")&&ye(a,f),0<e[70]?y?y.p(e,t):((y=Po(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),m=!1,g()}}}function Po(e){let n,r,i;return{c(){n=pe("div"),r=pe("span"),i=me(e[70]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){ue(e,n,t),de(n,r),de(r,i)},p(e,t){256&t[2]&&ye(i,e[70])},d(e){e&&he(n)}}}function Bo(){let n;return{c(){(n=pe("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchIcon")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Ao(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,i),a||(o=K(r,"click",n[94]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function Ro(e){let n,r,i=e[70]&&Do(e),a=(!e[55]||!e[54])&&Ho(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),a&&a.m(n,null)},p(e,t){e[70]?i?i.p(e,t):((i=Do(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[55]&&e[54]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Ho(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function Do(n){let r,i,a,o,s,l,c,d=n[72]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(d),o=ge(),(s=pe("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),l||(c=K(r,"click",n[95]),l=!0)},p(e,t){1024&t[2]&&d!==(d=e[72]("casinoPage.clear")+"")&&ye(a,d)},d(e){e&&he(r),l=!1,c()}}}function Ho(e){let n,r=(!e[59]||!e[61])&&No(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[59]&&e[61]?r&&(r.d(1),r=null):r?r.p(e,t):((r=No(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function No(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v=n[72]("casinoPage.filters")+"";return{c(){r=pe("div"),i=pe("div"),a=me(v),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),d=k("style"),u=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),m=pe("div"),g=pe("span"),f=me(n[70]),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(g,"class","NumberOfFilters"),fe(g,"part","NumberOfFilters"),fe(m,"class","NumberOfFiltersContainer"),fe(m,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,p),de(s,m),de(m,g),de(g,f),y||(b=K(r,"click",n[96]),y=!0)},p(e,t){1024&t[2]&&v!==(v=e[72]("casinoPage.filters")+"")&&ye(a,v),256&t[2]&&ye(f,e[70])},d(e){e&&he(r),y=!1,b()}}}function Oo(e){let n;return{c(){w(n=pe("casino-random-game"),"datasource",e[1]),w(n,"endpoint",e[0]),w(n,"lang",e[3]),w(n,"gameevent",e[46]),w(n,"randombuttonicon",e[43])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&w(n,"datasource",e[1]),1&t[0]&&w(n,"endpoint",e[0]),8&t[0]&&w(n,"lang",e[3]),32768&t[1]&&w(n,"gameevent",e[46]),4096&t[1]&&w(n,"randombuttonicon",e[43])},d(e){e&&he(n)}}}function jo(e){let n;return{c(){w(n=pe("casino-games-category-section"),"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"favorites",e[11]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"session",e[4]),w(n,"categoryid",e[66]),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"integratedgameframedesktop",e[22]),w(n,"integratedgameframemobile",e[23])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),2048&t[0]&&w(n,"favorites",e[11]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),16&t[0]&&w(n,"session",e[4]),16&t[2]&&w(n,"categoryid",e[66]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),4194304&t[0]&&w(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function Uo(e){let n;function r(e){return e[60]?Ko:e[61]?Jo:Zo}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Wo(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"favorites",n[11]),w(r,"categoryid","FAVORITES"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"integratedgameframedesktop",n[22]),w(r,"integratedgameframemobile",n[23])},m(e,t){ue(e,r,t),a||(o=M(i=n[74].call(null,r,(n[0],n[50],n[51],n[50]))),a=!0)},p(e,t){16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),i&&F(i.update)&&1&t[0]|1572864&t[1]&&i.update.call(null,(e[0],e[50],e[51],e[50]))},d(e){e&&he(r),a=!1,o()}}}function zo(t){let i,a=t[65],o=[];for(let e=0;e<a.length;e+=1)o[e]=rs(Co(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(2147437567&n[0]|4095&n[1]|8&n[2]){let e;for(a=t[65],e=0;e<a.length;e+=1){var r=Co(t,a,e);o[e]?o[e].p(r,n):(o[e]=rs(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&&he(i)}}}function Yo(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"categoryid","Search"),w(r,"favorites",n[11]),w(r,"categoryindex","0"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"integratedgameframedesktop",n[22]),w(r,"integratedgameframemobile",n[23])},m(e,t){ue(e,r,t),a||(o=M(i=n[82].call(null,r,n[64])),a=!0)},p(e,t){1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),i&&F(i.update)&&4&t[2]&&i.update.call(null,e[64])},d(e){e&&he(r),a=!1,o()}}}function Vo(e){let n,r,i=e[72]("casinoPage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[2]&&i!==(i=e[72]("casinoPage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Zo(e){let n;return{c(){w(n=pe("casino-games-category-section"),"session",e[4]),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"favorites",e[11]),w(n,"categoryid","MOSTPLAYED"),w(n,"categoryindex","1"),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"integratedgameframedesktop",e[22]),w(n,"integratedgameframemobile",e[23])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&w(n,"session",e[4]),32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),2048&t[0]&&w(n,"favorites",e[11]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),4194304&t[0]&&w(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function Jo(e){let n,r=e[62]&&Xo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[62]?r?r.p(e,t):((r=Xo(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Ko(e){let n,r,i=e[72]("casinoPage.noGamesPlayed")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[2]&&i!==(i=e[72]("casinoPage.noGamesPlayed")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Xo(e){let n,r,i=e[72]("casinoPage.noGamesPlayed")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[2]&&i!==(i=e[72]("casinoPage.noGamesPlayed")+"")&&ye(r,i)},d(e){e&&he(n)}}}function qo(e){let n,r;return{c(){n=pe("div"),w(r=pe("casino-winners"),"session",e[4]),w(r,"periodrecent",e[24]),w(r,"periodtop",e[25]),w(r,"numberusersrecent",e[26]),w(r,"numberuserstop",e[27]),w(r,"amountlimit",e[28]),w(r,"isrecentavailable",e[21]),w(r,"istopavailable",e[20]),w(r,"defaultcurrency",e[29]),w(r,"enableautoscroll",e[19]),w(r,"tabsorder",e[18]),w(r,"lang",e[3]),w(r,"clientstyling",e[6]),w(r,"clientstylingurl",e[7]),w(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&w(r,"session",e[4]),16777216&t[0]&&w(r,"periodrecent",e[24]),33554432&t[0]&&w(r,"periodtop",e[25]),67108864&t[0]&&w(r,"numberusersrecent",e[26]),134217728&t[0]&&w(r,"numberuserstop",e[27]),268435456&t[0]&&w(r,"amountlimit",e[28]),2097152&t[0]&&w(r,"isrecentavailable",e[21]),1048576&t[0]&&w(r,"istopavailable",e[20]),536870912&t[0]&&w(r,"defaultcurrency",e[29]),524288&t[0]&&w(r,"enableautoscroll",e[19]),262144&t[0]&&w(r,"tabsorder",e[18]),8&t[0]&&w(r,"lang",e[3]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),1&t[0]&&w(r,"endpoint",e[0])},d(e){e&&he(n)}}}function Qo(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),w(i=pe("jackpot-banner"),"title","Jackpot Cards"),w(i,"currency",a=e[2]||"RON"),w(i,"gameid","998"),w(i,"endpoint",e[0]),w(i,"lang",e[3]),w(i,"backgroundsrc","/assets/background0.jpg"),w(i,"backgroundsrcmobile","/assets/background0.jpg"),w(i,"titlelogopath","/assets/jackpots_logo.svg"),w(i,"caticon0","/assets/icon0.svg"),w(i,"caticon1","/assets/icon1.svg"),w(i,"caticon2","/assets/icon2.svg"),w(i,"caticon3","/assets/icon3.svg"),w(i,"iconlabels",e[38]),w(i,"visualstructure","typeSpread")},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&w(i,"currency",a),1&t[0]&&w(i,"endpoint",e[0]),8&t[0]&&w(i,"lang",e[3]),128&t[1]&&w(i,"iconlabels",e[38])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function es(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),w(i=pe("jackpot-banner"),"title","Egypt Quest"),w(i,"currency",a=e[2]||"RON"),w(i,"gameid","999"),w(i,"endpoint",e[0]),w(i,"lang",e[3]),w(i,"backgroundsrc",e[35]),w(i,"backgroundsrcmobile",e[36]),w(i,"titlelogopath",e[37]),w(i,"caticon0",e[31]),w(i,"caticon1",e[32]),w(i,"caticon2",e[33]),w(i,"caticon3",e[34]),w(i,"iconlabels",e[38]),w(i,"visualstructure",e[39])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&w(i,"currency",a),1&t[0]&&w(i,"endpoint",e[0]),8&t[0]&&w(i,"lang",e[3]),16&t[1]&&w(i,"backgroundsrc",e[35]),32&t[1]&&w(i,"backgroundsrcmobile",e[36]),64&t[1]&&w(i,"titlelogopath",e[37]),1&t[1]&&w(i,"caticon0",e[31]),2&t[1]&&w(i,"caticon1",e[32]),4&t[1]&&w(i,"caticon2",e[33]),8&t[1]&&w(i,"caticon3",e[34]),128&t[1]&&w(i,"iconlabels",e[38]),256&t[1]&&w(i,"visualstructure",e[39])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function ts(e){let n,r;return{c(){w(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"type","vendor"),w(n,"titletype","logo"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&w(n,"endpoint",r),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function ns(e){let n,r;return{c(){w(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"type",e[41]),w(n,"titletype",e[42]),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&w(n,"endpoint",r),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),1024&t[1]&&w(n,"type",e[41]),2048&t[1]&&w(n,"titletype",e[42]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function rs(n){let r,i,a,o,s,e,l,c,d,u="true"===n[17]&&1===n[166]&&qo(n);function h(e){return 4===e[166]&&"true"==e[30]?es:6===e[166]&&"true"==e[30]?Qo:void 0}let p=h(n),m=p&&p(n);function g(e){return 7==e[166]&&"true"==e[40]?ns:e[166]==e[65].length-1&&"true"==e[40]?ts:void 0}let f=g(n),y=f&&f(n);return{c(){u&&u.c(),r=ge(),m&&m.c(),i=ge(),y&&y.c(),a=ge(),w(o=pe("casino-games-category-section"),"session",n[4]),w(o,"userid",n[5]),w(o,"endpoint",n[0]),w(o,"datasource",n[1]),w(o,"lang",n[3]),w(o,"currency",n[2]),w(o,"categoryid",s=n[164]),w(o,"categoryindex",e=n[166]),w(o,"categorygames","9"),w(o,"favorites",n[11]),w(o,"class","CategoryContainer"),P(o,"background-color",n[166]%2!=0?n[8]:"transparent"),w(o,"clientstyling",n[6]),w(o,"clientstylingurl",n[7]),w(o,"livecasino",n[14]),w(o,"visiblegames",n[9]),w(o,"gamepagemodalurl",n[16]),w(o,"integratedgameframedesktop",n[22]),w(o,"integratedgameframemobile",n[23])},m(e,t){u&&u.m(e,t),ue(e,r,t),m&&m.m(e,t),ue(e,i,t),y&&y.m(e,t),ue(e,a,t),ue(e,o,t),c||(d=M(l=n[81].call(null,o,n[164])),c=!0)},p(e,t){"true"===(n=e)[17]&&1===n[166]?u?u.p(n,t):((u=qo(n)).c(),u.m(r.parentNode,r)):u&&(u.d(1),u=null),p===(p=h(n))&&m?m.p(n,t):(m&&m.d(1),(m=p&&p(n))&&(m.c(),m.m(i.parentNode,i))),f===(f=g(n))&&y?y.p(n,t):(y&&y.d(1),(y=f&&f(n))&&(y.c(),y.m(a.parentNode,a))),16&t[0]&&w(o,"session",n[4]),32&t[0]&&w(o,"userid",n[5]),1&t[0]&&w(o,"endpoint",n[0]),2&t[0]&&w(o,"datasource",n[1]),8&t[0]&&w(o,"lang",n[3]),4&t[0]&&w(o,"currency",n[2]),8&t[2]&&s!==(s=n[164])&&w(o,"categoryid",s),2048&t[0]&&w(o,"favorites",n[11]),256&t[0]&&P(o,"background-color",n[166]%2!=0?n[8]:"transparent"),64&t[0]&&w(o,"clientstyling",n[6]),128&t[0]&&w(o,"clientstylingurl",n[7]),16384&t[0]&&w(o,"livecasino",n[14]),512&t[0]&&w(o,"visiblegames",n[9]),65536&t[0]&&w(o,"gamepagemodalurl",n[16]),4194304&t[0]&&w(o,"integratedgameframedesktop",n[22]),8388608&t[0]&&w(o,"integratedgameframemobile",n[23]),l&&F(l.update)&&8&t[2]&&l.update.call(null,n[164])},d(e){u&&u.d(e),e&&he(r),m&&m.d(e),e&&he(i),y&&y.d(e),e&&he(a),e&&he(o),c=!1,d()}}}function is(n){let r,i,a,e,t,o,s,l=n[72]("casinoPage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==bt(n[73])?"PanicButtonMobile ":"")),fe(i,"part",t="PanicButton "+("PC"!==bt(n[73])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[52]),fe(r,"class",o="PanicSection "+("PC"!==bt(n[73])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==bt(n[73])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[104](i)},p(e,t){1024&t[2]&&l!==(l=e[72]("casinoPage.breakButton")+"")&&ye(a,l),2097152&t[1]&&B(i,"PanicButtonAnimation",e[52])},d(e){e&&he(r),n[104](null)}}}function as(e){let n;function r(e){return e[48]?So:$o}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:70px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:22%;height:55px;object-fit:cover}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},xo,wo,t,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});let os=!1;const ss=0;function ls(e,t,c){let i;vt(e,Kr,e=>c(72,i=e));let R,{endpoint:d=""}=t,{datasource:a=""}=t,{currency:D=""}=t,{lang:o=""}=t,{session:s=""}=t,{userid:n=""}=t,{clientstyling:l=""}=t,{clientstylingurl:u=""}=t,{categorybackground:H=""}=t,N=t["visiblegames"],{alternativesearch:O="false"}=t,{favorites:h=""}=t,{mostplayed:j=""}=t,{lastplayed:U=""}=t,{containermaxwidth:W="1300"}=t,{lobbyid:p="casinodefault"}=t,{haspanicbutton:z="false"}=t,{mostplayedrounds:Y=""}=t,{lastplayedperiod:V=""}=t,{filteredcategories:Z=""}=t,{activecategory:J=""}=t,{livecasino:K="false"}=t,{playrandomgame:X="false"}=t,{gamepagemodalurl:q="false"}=t,{enablecasinowinners:Q=""}=t,{tabsorder:ee=""}=t,{enableautoscroll:te=""}=t,{istopavailable:ne=""}=t,{isrecentavailable:re=""}=t,{integratedgameframedesktop:ie="false"}=t,{integratedgameframemobile:ae="false"}=t,{periodrecent:oe=""}=t,{periodtop:se=""}=t,{numberusersrecent:le=""}=t,{numberuserstop:ce=""}=t,{amountlimit:de=""}=t,{defaultcurrency:ue=""}=t,{enablejackpotbanner:he=""}=t,{caticon0:pe=""}=t,{caticon1:me=""}=t,{caticon2:ge=""}=t,{caticon3:fe=""}=t,{backgroundsrc:ye=""}=t,{backgroundsrcmobile:be=""}=t,{titlelogopath:ve=""}=t,{iconlabels:we=""}=t,{visualstructure:xe=""}=t,{enablecollections:Ce=""}=t,{type:$e=""}=t,{titletype:Se=""}=t,{randombuttonicon:Fe=""}=t,m=window.navigator.userAgent;R=yt(m)?"OpenGameFrame":"ShowGameModal";let g,f,y,ke,b,v,w,Me,_e,Ee,r,x,C,Te,$=!1,S=!1,Le=!1,F="",Ie=!1,Ge=0,k=!1,Pe=!1,Be=!0,Ae=!1,Re=!1,De=!1,He=!1,M=!0,_=!1,Ne=!1,E=!1,Oe=!1,je=!1,T=!0,Ue=[],L="",We={},ze,Ye,Ve,I=[],Ze=!1,G=[],Je=0,P="",Ke=!1;var Xe,qe;({withLocale:Xe,translations:qe}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(qe),ft.set(Xe))}),Object.keys(wi).forEach(e=>{Tr(e,wi[e])});const Qe=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(51,f=n.data.session),c(50,g=n.data.userID),g&&g.length&&f&&0<f.length&&B(d,f,g);break;case"SetUnfavoredGame":o=`${d}/player/${g}/favorites`,s=f,g,l=n.data.id,n.data.triggerFactor,I.includes(l)&&(I=I.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),et(o,s)});break;case"SetFavoredGame":{var r=`${d}/player/${g}/favorites`;var i=f;g;var a=n.data.id;n.data.triggerFactor;I.includes(a)||I.push(a);let e={items:I},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),et(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":g&&g.length&&f&&0<f.length&&B(d,f,g);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(G=(G=rt(`searchedGamesWds_${p}`))?G.split(","):[]).indexOf(t)){let e;G.push(t),e=G.join(","),document.cookie=`searchedGamesWds_${p}=`+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:P},window.location.href),A();break;case"CategoryVendors":P=n.data.categoryid,A();break;case"GameHovered":Re=!0;break;case"GameBlur":Re=!1}var e,o,s,l};let B=(e,t,n)=>{"true"==h&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),tt(r.items)),r)).then(e=>(k&&nt(),e)).catch(e=>{console.error(e)})},et=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,k&&nt(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const tt=(e=[])=>(I=[],0<e.length&&e.forEach(e=>{I.push(e.id)}),I);const nt=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},rt=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},it=()=>{if(d&&a&&o&&(c(57,He=!0),L.length<2)){let e=rt("searchedGamesWds_"+p),t=[],n=(e&&(t=e.split(",")),1!=M||Be||(c(56,De=M),c(58,M=!1)),[]),r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(d+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",a),e.searchParams.append("platform",bt(m)),n.push(((e,r)=>new Promise((t,n)=>{c(47,$=!0),r&&0<=Object.keys(We).indexOf(r)?(c(47,$=!1),t(We[r])):fetch(e).then(e=>e.json()).then(e=>{c(47,$=!1),We[e[0].id]=e[0],t(e[0])}).catch(e=>{c(48,S=!0),c(47,$=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(64,b=e),st(0,b)})}else st(0,{})}},at=()=>{c(57,He=!1),L.length<2&&!Re&&(c(55,Ae=!1),c(64,b=[]),c(54,Pe=!1),c(58,M=De),c(56,De=!1),!1===M&&window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},A=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&P&&(e[P]?c(70,Je=e[P].length):c(70,Je=0))},ot=()=>{c(91,T=!0),c(45,L=""),c(64,b=[]),c(54,Pe=!1),at()},st=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},lt=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},ct=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},dt=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},ut=()=>{Me&&(_e=Me.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>_e||130<_e?c(63,je=!0):c(63,je=!1)},ht=()=>{c(66,v=J);var i,e={data:{itemId:v}};switch(c(55,Ae=!1),c(45,L=""),ze=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(58,M=!0),c(53,k=!1),c(66,v=""),c(59,_=!1),c(61,E=!1);break;case"FAVORITES":c(58,M=!1),c(53,k=!0),c(59,_=!1),c(61,E=!1),c(66,v="");break;case"MOSTPLAYED":"true"==j&&(c(47,$=!0),(e=>{let t=new URL(`${d}/player/${g}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games");var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),Te=K?t:t.href,new Promise((t,n)=>{fetch(Te).then(e=>e.json()).then(e=>{t(e)}).catch(e=>{console.error(e),n(e)})})})({limit:100,device:bt(m),rounds:10}).then(e=>{if(c(47,$=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(d+"/casino/games/"+e.gameId);t.searchParams.append("datasource",a),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{Ye=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:Ye},window.location.href)})}else c(60,Ne=!0)}),c(66,v=""),c(58,M=!1),c(53,k=!1),c(59,_=!0));break;case"LASTPLAYED":"true"==U&&(c(47,$=!0),i={device:bt(m),period:V||"Last30Days"},new Promise((t,n)=>{let e=new URL(`${d}/player/${g}/games/last-played`);i.limit&&e.searchParams.append("limit",i.limit),i.order&&e.searchParams.append("order",i.order);var r=i.device;r?"PC"===r?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),i.period&&e.searchParams.append("period",i.period),Te=K?e:e.href,fetch(Te).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})}).then(e=>{if(c(47,$=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(d+"/casino/games/"+e.gameId);t.searchParams.append("datasource",a),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{Ve=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:Ve},window.location.href)})}else c(62,Oe=!0)}),c(66,v=""),c(58,M=!1),c(61,E=!0),c(53,k=!1),c(59,_=!1));break;default:c(58,M=!1),c(53,k=!1),c(59,_=!1),c(61,E=!1),c(66,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},pt=e=>{Ge=0,ke=setInterval(()=>{Ge+=1,c(52,Ie=!0),3<=Ge&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(ke))},1e3)},mt=e=>{Ge<3&&c(52,Ie=!1),clearInterval(ke)};return wt(()=>(window.addEventListener("scroll",ut,!1),window.addEventListener("message",Qe,!1),()=>{window.removeEventListener("scroll",ut),window.removeEventListener("message",Qe),c(52,Ie=!1),null!=y&&y.removeEventListener("mousedown",pt),null!=y&&y.removeEventListener("touchstart",pt),null!=y&&y.removeEventListener("mouseup",mt),null!=y&&y.removeEventListener("touchend",mt)})),e.$$set=e=>{"endpoint"in e&&c(0,d=e.endpoint),"datasource"in e&&c(1,a=e.datasource),"currency"in e&&c(2,D=e.currency),"lang"in e&&c(3,o=e.lang),"session"in e&&c(4,s=e.session),"userid"in e&&c(5,n=e.userid),"clientstyling"in e&&c(6,l=e.clientstyling),"clientstylingurl"in e&&c(7,u=e.clientstylingurl),"categorybackground"in e&&c(8,H=e.categorybackground),"visiblegames"in e&&c(9,N=e.visiblegames),"alternativesearch"in e&&c(10,O=e.alternativesearch),"favorites"in e&&c(11,h=e.favorites),"mostplayed"in e&&c(83,j=e.mostplayed),"lastplayed"in e&&c(84,U=e.lastplayed),"containermaxwidth"in e&&c(12,W=e.containermaxwidth),"lobbyid"in e&&c(85,p=e.lobbyid),"haspanicbutton"in e&&c(13,z=e.haspanicbutton),"mostplayedrounds"in e&&c(86,Y=e.mostplayedrounds),"lastplayedperiod"in e&&c(87,V=e.lastplayedperiod),"filteredcategories"in e&&c(88,Z=e.filteredcategories),"activecategory"in e&&c(89,J=e.activecategory),"livecasino"in e&&c(14,K=e.livecasino),"playrandomgame"in e&&c(15,X=e.playrandomgame),"gamepagemodalurl"in e&&c(16,q=e.gamepagemodalurl),"enablecasinowinners"in e&&c(17,Q=e.enablecasinowinners),"tabsorder"in e&&c(18,ee=e.tabsorder),"enableautoscroll"in e&&c(19,te=e.enableautoscroll),"istopavailable"in e&&c(20,ne=e.istopavailable),"isrecentavailable"in e&&c(21,re=e.isrecentavailable),"integratedgameframedesktop"in e&&c(22,ie=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(23,ae=e.integratedgameframemobile),"periodrecent"in e&&c(24,oe=e.periodrecent),"periodtop"in e&&c(25,se=e.periodtop),"numberusersrecent"in e&&c(26,le=e.numberusersrecent),"numberuserstop"in e&&c(27,ce=e.numberuserstop),"amountlimit"in e&&c(28,de=e.amountlimit),"defaultcurrency"in e&&c(29,ue=e.defaultcurrency),"enablejackpotbanner"in e&&c(30,he=e.enablejackpotbanner),"caticon0"in e&&c(31,pe=e.caticon0),"caticon1"in e&&c(32,me=e.caticon1),"caticon2"in e&&c(33,ge=e.caticon2),"caticon3"in e&&c(34,fe=e.caticon3),"backgroundsrc"in e&&c(35,ye=e.backgroundsrc),"backgroundsrcmobile"in e&&c(36,be=e.backgroundsrcmobile),"titlelogopath"in e&&c(37,ve=e.titlelogopath),"iconlabels"in e&&c(38,we=e.iconlabels),"visualstructure"in e&&c(39,xe=e.visualstructure),"enablecollections"in e&&c(40,Ce=e.enablecollections),"type"in e&&c(41,$e=e.type),"titletype"in e&&c(42,Se=e.titletype),"randombuttonicon"in e&&c(43,Fe=e.randombuttonicon)},e.$$.update=()=>{if(16384&e.$$.dirty[1]&&L&&(2<=L.length?c(91,T=!0):c(91,T=!1)),11&e.$$.dirty[0]|16384&e.$$.dirty[1]|805306368&e.$$.dirty[2])if(2<=L.length){c(55,Ae=!0);let e=new URL(d+"/casino/games");e.searchParams.append("datasource",a),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",bt(m)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+L),r=e,new Promise((t,n)=>{c(47,$=!0),fetch(r).then(e=>e.json()).then(e=>{c(47,$=!1),t(e)}).catch(e=>{c(48,S=!0),c(47,$=!1),console.error(e),n(e)})}).then(e=>{c(64,b=e),dt(0,e)})}else T||it(),Be&&c(90,Be=!1);var r,i,t;if((8&e.$$.dirty[0]|134217728&e.$$.dirty[2]&&o&&J&&ht(),49&e.$$.dirty[0]&&s&&n&&d&&(c(49,Le=!0),c(51,f=s),c(50,g=n),g&&g.length&&f&&0<f.length&&B(d,f,g)),1035&e.$$.dirty[0]&&d&&a&&o&&O)&&(d||(F="Endpoint is missing! Please provide a valid endpointURL.",c(48,S=!0),c(47,$=!1),console.error(F)),a||(F="Datasource is missing! Please provide a valid datasource.",c(48,S=!0),c(47,$=!1),console.error(F)),(!o||o.length<2)&&(F="Language is missing! Please provide a valid language (alpha2code)",c(48,S=!0),c(47,$=!1),console.error(F)),!S)){c(47,$=!0),"true"==h&&B(d,f,g),t=o,ft.set(t);let e=new URL(d+"/casino/groups/"+a);e.searchParams.append("language",o),e.searchParams.append("platform",bt(m)),i=e,new Promise((t,n)=>{c(47,$=!0),fetch(i).then(e=>e.json()).then(e=>{c(47,$=!1),t(e)}).catch(e=>{c(48,S=!0),c(47,$=!1),console.error(e),n(e)})}).then(e=>{let r=Z.split(",");e&&(Ee=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,Z))for(var n of r)e.flags==n&&(t=!1);return t}),c(65,Ue=Ee.map(e=>e.id)),c(47,$=!1))}),"PC"!==bt(m)&&(x.addEventListener("focusin",e=>{c(69,Ze=!0)}),x.addEventListener("focusout",e=>{c(69,Ze=!1)})),A(),(Me=w)&&(_e=Me.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&e.$$.dirty[0]&&o&&(Ke&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Ke=!1),64&e.$$.dirty[0]&&l){let e=document.createElement("style");e.innerHTML=l,C.appendChild(e)}if(128&e.$$.dirty[0]&&u){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,C&&setTimeout(()=>{C.appendChild(t)},1)})}8192&e.$$.dirty[1]&&y&&(null!=y&&y.addEventListener("mousedown",pt,!1),null!=y&&y.addEventListener("touchstart",pt,!1),null!=y&&y.addEventListener("mouseup",mt,!1),null!=y&&y.addEventListener("touchend",mt,!1))},[d,a,D,o,s,n,l,u,H,N,O,h,W,z,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,de,ue,he,pe,me,ge,fe,ye,be,ve,we,xe,Ce,$e,Se,Fe,y,L,R,$,S,Le,g,f,Ie,k,Pe,Ae,De,He,M,_,Ne,E,Oe,je,b,Ue,v,w,x,Ze,Je,C,i,m,B,it,at,()=>{window.postMessage({type:"scroll"},window.location.href)},ot,lt,ct,(e,t)=>{P=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:N,receivedFavoriteResults:r},window.location.href)},dt,j,U,p,Y,V,Z,J,Be,T,function(e){gt[e?"unshift":"push"](()=>{x=e,c(68,x)})},function(){L=this.value,c(45,L)},()=>ot(),()=>ct(),()=>{lt()},function(e){gt[e?"unshift":"push"](()=>{w=e,c(67,w)})},function(e){gt[e?"unshift":"push"](()=>{x=e,c(68,x)})},function(){L=this.value,c(45,L)},()=>ot(),()=>ct(),()=>{lt()},function(e){gt[e?"unshift":"push"](()=>{w=e,c(67,w)})},function(e){gt[e?"unshift":"push"](()=>{y=e,c(44,y)})},function(e){gt[e?"unshift":"push"](()=>{C=e,c(71,C)})}]}function cs(e,{delay:t=0,duration:n=400,easing:r=C}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function ds(n){let r,i,a,o,s,l,c,t,d,u,h;return{c(){r=pe("div"),(i=pe("div")).innerHTML="<slot></slot>",a=ge(),o=pe("span"),(s=pe("slot")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(s,"name","close"),fe(o,"class",l="ModalCloseBtn "+("true"==n[1]&&n[2]?"ModalPanicCloseButton":"")),fe(o,"part","ModalCloseBtn"),fe(o,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),q(()=>n[17].call(r))},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),n[16](r),c=m(r,n[17].bind(r)),d=!0,u||(h=K(o,"click",n[8]),u=!0)},p(e,t){n=e,(!d||6&t&&l!==(l="ModalCloseBtn "+("true"==n[1]&&n[2]?"ModalPanicCloseButton":"")))&&fe(o,"class",l)},i(e){d||(q(()=>{(t=t||ve(r,cs,{transitionDuration:n[0]},!0)).run(1)}),d=!0)},o(e){(t=t||ve(r,cs,{transitionDuration:n[0]},!1)).run(0),d=!1},d(e){e&&he(r),n[16](null),c(),e&&t&&t.end(),u=!1,h()}}}function us(n){let r,i,a=n[7]&&ds(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),a&&a.m(r,null),n[18](r),i=!0},p(e,[t]){e[7]?a?(a.p(e,t),128&t&&se(a,1)):((a=ds(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[18](null)}}}function hs(e,t,n){let r,i,a,o,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:h=""}=t,{haspanicbutton:p="false"}=t,{gamepagemodalurl:m="false"}=t,{sessioncheck:g="true"}=t,f=window.navigator.userAgent,y=!1,b=!1,v=!1;const w=e=>{var t;"ModalClosed"==e.data.type&&n(7,v=!1),"ShowGameModal"===e.data.type&&(n(7,v=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,v=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:r?getComputedStyle(r).width:null,modalHeight:r?getComputedStyle(r).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(b=e.data.detailsObtained)},x=e=>{var t;b&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return wt(()=>(n(2,y=yt(f)),window.addEventListener("message",w,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",w),window.removeEventListener("resize",w)})),e.$$set=e=>{"duration"in e&&n(0,s=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,u=e.clientstylingurl),"endpoint"in e&&n(13,h=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,m=e.gamepagemodalurl),"sessioncheck"in e&&n(15,g=e.sessioncheck)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&h&&"true"==g&&qr(h,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2048&e.$$.dirty&&d){let e=document.createElement("style");e.innerHTML=d,v&&setTimeout(()=>{r.appendChild(e)})}if(4096&e.$$.dirty&&u){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[s,p,y,r,i,void 0,void 0,v,()=>{n(7,v=!1),n(2,y=yt(f)),window.postMessage({type:"ModalClosed",gamepagemodalurl:m,mobileView:y},window.location.href)},l,c,d,u,h,m,g,function(e){gt[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){gt[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ls,as,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:83,lastplayed:84,containermaxwidth:12,lobbyid:85,haspanicbutton:13,mostplayedrounds:86,lastplayedperiod:87,filteredcategories:88,activecategory:89,livecasino:14,playrandomgame:15,gamepagemodalurl:16,enablecasinowinners:17,tabsorder:18,enableautoscroll:19,istopavailable:20,isrecentavailable:21,integratedgameframedesktop:22,integratedgameframemobile:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:28,defaultcurrency:29,enablejackpotbanner:30,caticon0:31,caticon1:32,caticon2:33,caticon3:34,backgroundsrc:35,backgroundsrcmobile:36,titlelogopath:37,iconlabels:38,visualstructure:39,enablecollections:40,type:41,titletype:42,randombuttonicon:43},null,[-1,-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","gamepagemodalurl","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","enablejackpotbanner","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","enablecollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[83]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[84]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[85]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[86]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayedperiod(){return this.$$.ctx[87]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get filteredcategories(){return this.$$.ctx[88]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[89]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get gamepagemodalurl(){return this.$$.ctx[16]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[17]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[18]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[19]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[20]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[21]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[22]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[23]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[28]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[29]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get enablejackpotbanner(){return this.$$.ctx[30]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get caticon0(){return this.$$.ctx[31]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[32]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[33]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[34]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[35]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[36]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[37]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[38]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[39]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get enablecollections(){return this.$$.ctx[40]}set enablecollections(e){this.$$set({enablecollections:e}),f()}get type(){return this.$$.ctx[41]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[42]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[43]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},hs,us,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const ps={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter ..."}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function ms(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var gs=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},fs=function(e,...t){try{return ms(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function ys(n){let r,i,a=n[10]&&ws(n);return{c(){r=pe("div"),i=pe("div"),a&&a.c(),fe(i,"class","CasinoGamePageContainer"),fe(i,"part","CasinoGamePageContainer"),P(i,"background","rgba(0, 0, 0, 0.5)"),fe(r,"class","GamePageBackground"),P(r,"background",n[13]?"":`url(${n[9].backgroundImageUrl})`),P(r,"background-size","cover")},m(e,t){ue(e,r,t),de(r,i),a&&a.m(i,null),n[82](i),n[83](r)},p(e,t){e[10]?a?a.p(e,t):((a=ws(e)).c(),a.m(i,null)):a&&(a.d(1),a=null),8704&t[0]&&P(r,"background",e[13]?"":`url(${e[9].backgroundImageUrl})`)},d(e){e&&he(r),a&&a.d(),n[82](null),n[83](null)}}}function bs(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function vs(e){let n,r,i=e[25]("gamePage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){33554432&t[0]&&i!==(i=e[25]("gamePage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ws(e){let n;function r(e){return e[20]?Ss:e[5]?$s:e[11]?Cs:xs}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function xs(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x=n[9].name+"",C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me($),f=ge(),y=pe("p"),b=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(r,f),de(r,y),de(y,b),v||(w=[K(u,"click",n[80]),K(m,"click",n[81])],v=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(h,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(g,$),8&t[0]&&ye(b,e[3])},d(e){e&&he(r),v=!1,J(w)}}}function Cs(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";function S(e){return e[17]?ks:Fs}let F=S(n),k=F(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("div"),d=pe("button"),u=me(C),h=ge(),p=pe("button"),m=me($),g=ge(),f=pe("p"),y=pe("span"),b=me(n[3]),v=ge(),k.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(p,"class","RegisterButton"),fe(p,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),P(r,"width",n[18]),P(r,"height",n[19]),B(r,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[71](a),de(i,s),de(i,l),de(l,c),de(c,d),de(d,u),de(c,h),de(c,p),de(p,m),de(l,g),de(l,f),de(f,y),de(y,b),n[74](f),de(l,v),k.m(l,null),n[77](l),n[78](i),n[79](r),w||(x=[K(d,"click",n[72]),K(p,"click",n[73])],w=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(u,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(m,$),8&t[0]&&ye(b,e[3]),F===(F=S(e))&&k?k.p(e,t):(k.d(1),(k=F(e))&&(k.c(),k.m(l,null))),16777216&t[0]&&fe(i,"style",e[24]),262144&t[0]&&P(r,"width",e[18]),524288&t[0]&&P(r,"height",e[19]),131072&t[0]&&B(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[71](null),n[74](null),k.d(),n[77](null),n[78](null),n[79](null),w=!1,J(x)}}}function $s(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x=n[25]("gamePage.deposit")+"",C="true"===n[1]&&Ms(n);function $(e){return e[17]?Es:_s}let S=$(n),F=S(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("button"),d=me(x),u=ge(),h=pe("p"),p=pe("span"),m=me(n[3]),g=ge(),C&&C.c(),f=ge(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(h,"class","Time"),fe(h,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),P(r,"width",n[18]),P(r,"height",n[19]),B(r,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[62](a),de(i,s),de(i,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,p),de(p,m),n[64](h),de(l,g),C&&C.m(l,null),de(l,f),F.m(l,null),n[68](l),n[69](i),n[70](r),v||(w=K(c,"click",n[63]),v=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),33554432&t[0]&&x!==(x=e[25]("gamePage.deposit")+"")&&ye(d,x),8&t[0]&&ye(m,e[3]),"true"===e[1]?C?C.p(e,t):((C=Ms(e)).c(),C.m(l,f)):C&&(C.d(1),C=null),S===(S=$(e))&&F?F.p(e,t):(F.d(1),(F=S(e))&&(F.c(),F.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),16777216&t[0]&&fe(i,"style",e[24]),262144&t[0]&&P(r,"width",e[18]),524288&t[0]&&P(r,"height",e[19]),131072&t[0]&&B(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[62](null),n[64](null),C&&C.d(),F.d(),n[68](null),n[69](null),n[70](null),v=!1,w()}}}function Ss(e){let n;function r(e){return e[5]?Is:e[12]?Ls:Ts}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Fs(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[76]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ks(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[75]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ms(n){let r,i,a,o=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class","Button"),fe(i,"part","Button"),B(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[65](i)},p(e,t){33554432&t[0]&&o!==(o=e[25]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[65](null)}}}function _s(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[67]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Es(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ts(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x=n[9].name+"",C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me($),f=ge(),y=pe("p"),b=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(r,f),de(r,y),de(y,b),v||(w=[K(u,"click",n[60]),K(m,"click",n[61])],v=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(h,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(g,$),8&t[0]&&ye(b,e[3])},d(e){e&&he(r),v=!1,J(w)}}}function Ls(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S=n[9].name+"",F=n[25]("gamePage.signIn")+"",k=n[25]("gamePage.register")+"",M=n[25]("gamePage.playForFun")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(S),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(F),p=ge(),m=pe("button"),g=me(k),f=ge(),y=pe("button"),b=me(M),v=ge(),w=pe("p"),x=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(d,f),de(d,y),de(y,b),de(r,v),de(r,w),de(w,x),C||($=[K(u,"click",n[57]),K(m,"click",n[58]),K(y,"click",n[59])],C=!0)},p(e,t){512&t[0]&&S!==(S=e[9].name+"")&&ye(a,S),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&F!==(F=e[25]("gamePage.signIn")+"")&&ye(h,F),33554432&t[0]&&k!==(k=e[25]("gamePage.register")+"")&&ye(g,k),33554432&t[0]&&M!==(M=e[25]("gamePage.playForFun")+"")&&ye(b,M),8&t[0]&&ye(x,e[3])},d(e){e&&he(r),C=!1,J($)}}}function Is(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$=n[9].name+"",S=n[25]("gamePage.deposit")+"",F=n[25]("gamePage.playNow")+"",k="true"==n[0]&&Gs(n),M="true"===n[1]&&As(n);return{c(){k&&k.c(),r=ge(),i=pe("div"),a=pe("h3"),o=me($),s=ge(),l=pe("img"),d=ge(),u=pe("div"),h=pe("button"),p=me(S),m=ge(),g=pe("button"),f=me(F),y=ge(),M&&M.c(),b=ge(),v=pe("p"),w=me(n[3]),ce(l.src,c=n[9].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(h,"class","DepositButton"),fe(h,"part","DepositButton"),fe(g,"class","PlayNowButton"),fe(g,"part","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){k&&k.m(e,t),ue(e,r,t),ue(e,i,t),de(i,a),de(a,o),de(i,s),de(i,l),de(i,d),de(i,u),de(u,h),de(h,p),de(u,m),de(u,g),de(g,f),de(i,y),M&&M.m(i,null),de(i,b),de(i,v),de(v,w),x||(C=[K(h,"click",n[54]),K(g,"click",n[55])],x=!0)},p(e,t){"true"==e[0]?k?k.p(e,t):((k=Gs(e)).c(),k.m(r.parentNode,r)):k&&(k.d(1),k=null),512&t[0]&&$!==($=e[9].name+"")&&ye(o,$),512&t[0]&&!ce(l.src,c=e[9].thumbnail)&&fe(l,"src",c),33554432&t[0]&&S!==(S=e[25]("gamePage.deposit")+"")&&ye(p,S),33554432&t[0]&&F!==(F=e[25]("gamePage.playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):((M=As(e)).c(),M.m(i,b)):M&&(M.d(1),M=null),8&t[0]&&ye(w,e[3])},d(e){k&&k.d(e),e&&he(r),e&&he(i),M&&M.d(),x=!1,J(C)}}}function Gs(e){let n;function r(e){return e[9].isFavored?Bs:Ps}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Ps(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),P(a=k("path"),"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","20px"),fe(i,"y","20px"),fe(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),l||(c=K(r,"click",n[53]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function Bs(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),P(a=k("path"),"fill","white"),fe(a,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),fe(i,"version","1.1"),fe(i,"class","FavoredIcon"),fe(i,"part","FavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"viewBox","0 0 19.481 19.481"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"enable-background","new 0 0 19.481 19.481"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),l||(c=K(r,"click",n[52]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function As(n){let r,i,a,e,t,o,s,l=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==bt(n[26])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==bt(n[26])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[8]),fe(r,"class",o="PanicSection "+("PC"!==bt(n[26])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==bt(n[26])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[56](i)},p(e,t){33554432&t[0]&&l!==(l=e[25]("gamePage.breakButton")+"")&&ye(a,l),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[56](null)}}}function Rs(e){let n;function r(e){return e[7]?vs:e[6]?bs:ys}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function Ds(t,e,i){let A;vt(t,Kr,e=>i(25,A=e));let R,n,r,a,D,o,s,l,c,H,N,d,u,O,j,h,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:U=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{favorites:W=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:$=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:z=""}=e,{haspanicbutton:Y="false"}=e,{playforfun:M="true"}=e,{checksession:V="true"}=e,{integratedgameframedesktop:Z="false"}=e,{integratedgameframemobile:J="false"}=e,{gameid:K=""}=e,_=!1,X=!1,q=!0,Q=!1,ee=0,E=!1,te=!1,ne=!1,T=!0,L=!1,I=window.navigator.userAgent,re=!1,ie=[],ae=!1,oe="false",se;var le,ce;({withLocale:le,translations:ce}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(ce),ft.set(le))}),Object.keys(ps).forEach(e=>{Tr(e,ps[e])});const de=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i(7,q=!1),r&&0<r.length&&(i(5,_=!0),i(7,q=!1),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,e},ue=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),i(13,T=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(9,o=de(e[0])),o.launchUrl&&(i(10,E=!0),i(11,te="true"==M&&o.hasFunMode),i(12,ne="true"==M&&o.hasAnonymousFunMode))},e=>{console.error("There was an error",e),i(6,X=!0)}).then(()=>{s&&(T||(i(18,H=o.width),i(19,N=o.height),O=o.width+"px",j=o.height+"px",d=o.width,u=o.height),ye())}),window.postMessage({type:"RequestModalSize"},window.location.href)},he=()=>{null!=a&&a.addEventListener("mousedown",Se,!1),null!=a&&a.addEventListener("touchstart",Se,!1),null!=a&&a.addEventListener("mouseup",Fe,!1),null!=a&&a.addEventListener("touchend",Fe,!1)},pe=()=>{i(8,Q=!1),null!=a&&a.removeEventListener("mousedown",Se),null!=a&&a.removeEventListener("touchstart",Se),null!=a&&a.removeEventListener("mouseup",Fe),null!=a&&a.removeEventListener("touchend",Fe)},me=e=>{switch(e.data.type){case"GameLaunchID":ue(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":i(51,oe="true");break;case"LaunchGameFrame":fe(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),i(51,oe="false"),pe(),yt(I)?setTimeout(()=>{i(10,E="true"===J)},500):setTimeout(()=>{i(10,E="true"===Z)},500);break;case"UserSessionID":if(0<e.data.session.length){r=e.data.session,e.data.userID,i(5,_=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",r),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),i(9,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":i(18,H=e.data.modalContainerSize.modalWidth),i(19,N=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ie=e.data.receivedFavoriteResults.items)}},ge=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!0,o))},fe=(e,r)=>{let t=new URL(f+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;i(9,o=de(e[0])),o.launchUrl&&i(9,o.isFavored=(e=o,t=r,i(12,ne="true"==M&&e.hasAnonymousFunMode),i(11,te="true"==M&&t),i(10,E=!0),n=e.id,-1!==ie.findIndex(e=>e.id==n)),o)})},ye=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width),u=parseInt(o.height),d=t*n,O=d?Math.floor(d)+"px":"1280px",j=u?Math.floor(u)+"px":"720px",ke()},be=e=>{if(!ae)return yt(I)?ve(J):ve(Z);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};fs("OPEN_GAME",e)},ve=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:o.id},window.location.href)},we=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:E},window.location.href),E&&(s&&ye(),window.addEventListener("ModalSize",me,!1))},G=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},P=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},xe=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)};function Ce(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!L||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Ce,!1),document.addEventListener("mozfullscreenchange",Ce,!1),document.addEventListener("fullscreenchange",Ce,!1),document.addEventListener("MSFullscreenChange",Ce,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(L?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(17,L=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(17,L=!0)))},$e=(setInterval(()=>{i(3,R=z?Si().format(z):Si().format("LTS"))},100),()=>{"true"==V?qr(f,b).then(e=>{r=e.Guid,e.UserID,i(5,_=!0)},e=>{i(5,_=!1),console.error("err on session",e)}):(r=b,i(5,_=!0))}),Se=e=>{ee=0,D=setInterval(()=>{ee+=1,i(8,Q=!0),3<=ee&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(D))},1e3)},Fe=e=>{ee<3&&i(8,Q=!1),clearInterval(D)},ke=()=>{var e=L?"100%":O,t=L?"100%":j,n=L||!T?"none":o.width?Math.floor(o.width)+"px":"1280px",r=L||!T?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(24,se=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),L||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,r=parseInt(getComputedStyle(s).height);g=g||r*Math.max(n,.5),i(14,s.style.height=g+"px",s),i(15,l.style.height=g+"px",l),e&&i(16,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return wt(()=>(window.addEventListener("resize",we,!1),window.addEventListener("message",me,!1),ae=!!gs(I),()=>{pe(),window.removeEventListener("resize",we),window.removeEventListener("message",me)})),t.$$set=e=>{"endpoint"in e&&i(33,f=e.endpoint),"lang"in e&&i(34,y=e.lang),"session"in e&&i(35,b=e.session),"userid"in e&&i(36,U=e.userid),"clientstyling"in e&&i(37,v=e.clientstyling),"clientstylingurl"in e&&i(38,w=e.clientstylingurl),"favorites"in e&&i(0,W=e.favorites),"loginurl"in e&&i(39,x=e.loginurl),"registerurl"in e&&i(40,C=e.registerurl),"depositurl"in e&&i(41,$=e.depositurl),"loginevent"in e&&i(42,S=e.loginevent),"registerevent"in e&&i(43,F=e.registerevent),"depositevent"in e&&i(44,k=e.depositevent),"clockformat"in e&&i(45,z=e.clockformat),"haspanicbutton"in e&&i(1,Y=e.haspanicbutton),"playforfun"in e&&i(46,M=e.playforfun),"checksession"in e&&i(47,V=e.checksession),"integratedgameframedesktop"in e&&i(48,Z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(49,J=e.integratedgameframemobile),"gameid"in e&&i(50,K=e.gameid)},t.$$.update=()=>{if(8&t.$$.dirty[1]&&y&&(e=y,ft.set(e),i(20,re=yt(I))),524300&t.$$.dirty[1]&&f&&K&&y&&ue(K,!0),52&t.$$.dirty[1]&&b&&U&&f&&$e(),65556&t.$$.dirty[1]&&"false"==V&&b&&f&&$e(),64&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,h.appendChild(e)}if(128&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==oe&&a&&he(),4&t.$$.dirty[0]&&a&&he()},[W,Y,a,R,n,_,X,q,Q,o,E,te,ne,T,s,l,c,L,H,N,re,h,p,m,"",A,I,ge,be,G,P,xe,B,f,y,b,U,v,w,x,C,$,S,F,k,z,M,V,Z,J,K,oe,()=>ge(o.id),()=>ge(o.id),()=>xe(),()=>{be(o)},function(e){gt[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>G(),()=>P(),()=>{be(o)},()=>G(),()=>P(),function(e){gt[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>xe(),function(e){gt[e?"unshift":"push"](()=>{m=e,i(23,m)})},function(e){gt[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>B(),()=>B(),function(e){gt[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){gt[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){gt[e?"unshift":"push"](()=>{s=e,i(14,s)})},function(e){gt[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>G(),()=>P(),function(e){gt[e?"unshift":"push"](()=>{m=e,i(23,m)})},()=>B(),()=>B(),function(e){gt[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){gt[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){gt[e?"unshift":"push"](()=>{s=e,i(14,s)})},()=>G(),()=>P(),function(e){gt[e?"unshift":"push"](()=>{h=e,i(21,h)})},function(e){gt[e?"unshift":"push"](()=>{c=e,i(16,c)})}]}function Hs(n){let r,i,a,o,s,l,c,d,t,u,h,p;return{c(){r=pe("div"),i=pe("div"),(a=pe("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),s=pe("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(r,"class","FilterModalWindow"),fe(r,"id","FilterModal"),fe(r,"part","FilterModalWindow"),q(()=>n[15].call(r))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),n[14](r),d=m(r,n[15].bind(r)),u=!0,h||(p=K(a,"click",n[7]),h=!0)},p(e,t){n=e,(!u||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"class",l),(!u||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"part",c)},i(e){u||(q(()=>{(t=t||ve(r,cs,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||ve(r,cs,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&he(r),n[14](null),d(),e&&t&&t.end(),h=!1,p()}}}function Ns(n){let r,i,a=n[0]&&Hs(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),a&&a.m(r,null),n[16](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&se(a,1)):((a=Hs(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[16](null)}}}function Os(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,{sessioncheck:m="true"}=t,g=window.navigator.userAgent,f=!1;const y=()=>{n(0,s=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href)},b=e=>{"ShowFilterModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(y(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))},v=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return wt(()=>(window.addEventListener("message",b,!1),yt(g)&&n(2,f=!0),()=>{window.removeEventListener("message",b)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(8,c=e.session),"userid"in e&&n(9,d=e.userid),"clientstyling"in e&&n(10,u=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint),"sessioncheck"in e&&n(13,m=e.sessioncheck)},e.$$.update=()=>{if(4864&e.$$.dirty&&c&&d&&p&&"true"==m&&qr(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&u){let e=document.createElement("style");e.innerHTML=u,s&&setTimeout(()=>{r.appendChild(e)})}2048&e.$$.dirty&&h&&v(),2049&e.$$.dirty&&s&&h&&v()},[s,l,f,r,i,void 0,void 0,y,c,d,u,h,p,m,function(e){gt[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){gt[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ds,Rs,t,{endpoint:33,lang:34,session:35,userid:36,clientstyling:37,clientstylingurl:38,favorites:0,loginurl:39,registerurl:40,depositurl:41,loginevent:42,registerevent:43,depositevent:44,clockformat:45,haspanicbutton:1,playforfun:46,checksession:47,integratedgameframedesktop:48,integratedgameframemobile:49,gameid:50},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[35]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[36]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[37]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[38]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[39]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[40]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[41]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[42]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[43]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[44]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[45]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[46]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[47]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[48]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[49]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Os,Ns,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12,sessioncheck:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[13]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const js={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},zh:{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement",filterModalTitle:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtrar",filterModalSubtitle:"Puedes seleccionar varias opciones",filterClear:"Restablecer filtro",filterApply:"Terminado"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function Us(e,t,n){const r=e.slice();return r[32]=t[n],r}function Ws(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S=n[6]("filters.filterModalTitle")+"",F=n[6]("filters.filterModalSubtitle")+"",k=n[6]("filters.filterApply")+"",M=n[0]&&Ys(n),_=n[3]&&Js(n);return{c(){r=pe("div"),i=pe("section"),a=pe("div"),o=pe("h4"),s=me(S),l=ge(),c=pe("h5"),d=me(F),u=ge(),h=pe("section"),M&&M.c(),p=ge(),m=pe("section"),_&&_.c(),g=ge(),f=pe("div"),y=me(k),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(i,"class","FilterHeaderSection"),fe(i,"part","FilterHeaderSection"),fe(h,"class","FilterContentSection"),fe(h,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(m,"class","FilterFooterSection"),fe(m,"part","FilterFooterSection"),fe(r,"class",w="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),fe(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(r,u),de(r,h),M&&M.m(h,null),de(r,p),de(r,m),_&&_.m(m,null),de(m,g),de(m,f),de(f,y),C||($=K(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&S!==(S=e[6]("filters.filterModalTitle")+"")&&ye(s,S),64&t[0]&&F!==(F=e[6]("filters.filterModalSubtitle")+"")&&ye(d,F),e[0]?M?M.p(e,t):((M=Ys(e)).c(),M.m(h,null)):M&&(M.d(1),M=null),e[3]?_?_.p(e,t):((_=Js(e)).c(),_.m(m,g)):_&&(_.d(1),_=null),64&t[0]&&k!==(k=e[6]("filters.filterApply")+"")&&ye(y,k),4&t[0]&&b!==(b="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),2&t[0]&&w!==(w="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"class",w),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"part",x)},d(e){e&&he(r),M&&M.d(),_&&_.d(),C=!1,$()}}}function zs(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ys(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Zs(Us(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(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=Us(t,a,e);o[e]?o[e].p(r,n):(o[e]=Zs(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&&he(i)}}}function Vs(){let n;return{c(){(n=pe("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Zs(n){let r,i,a,o,s,l,c,d,u,h,p=n[32].isFilterSelected&&Vs();function m(){return n[17](n[32])}return{c(){r=pe("div"),i=pe("img"),s=ge(),p&&p.c(),l=ge(),fe(i,"class","VendorImage"),fe(i,"part","VendorImage"),ce(i.src,a=n[32].image)||fe(i,"src",a),fe(i,"alt",o=n[32].name),fe(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),fe(r,"part",d="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){ue(e,r,t),de(r,i),de(r,s),p&&p.m(r,null),de(r,l),u||(h=K(r,"click",m),u=!0)},p(e,t){n=e,1&t[0]&&!ce(i.src,a=n[32].image)&&fe(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&fe(i,"alt",o),n[32].isFilterSelected?p||((p=Vs()).c(),p.m(r,l)):p&&(p.d(1),p=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"class",c),1&t[0]&&d!==(d="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"part",d)},d(e){e&&he(r),p&&p.d(),u=!1,h()}}}function Js(e){let n,r=e[3].length&&Ks(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):((r=Ks(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Ks(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=pe("div"),i=me(s),fe(r,"class","ClearFiltersButton"),fe(r,"part","ClearFiltersButton")},m(e,t){ue(e,r,t),de(r,i),a||(o=K(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ye(i,s)},d(e){e&&he(r),a=!1,o()}}}function Xs(n){let r;function i(e){return e[4]?zs:Ws}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[20](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[20](null)}}}function qs(e,t,i){let n;vt(e,Kr,e=>i(6,n=e));let r,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),b=[],v={},w=!1,x=(v[f]&&(v={[f]:[]}),[]);var C,$;({withLocale:C,translations:$}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set($),ft.set(C))}),Object.keys(js).forEach(e=>{Tr(e,js[e])});const S=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(f&&((y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")))&&i(3,b=y[f])),!b){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${a}/casino/vendors?filter=games(groups=${f})&datasource=${o}&platform=`+bt(m),new Promise((t,n)=>{fetch(r).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},f&&t[f]&&(e.isFilterSelected=0<=t[f].indexOf(e.id))}),i(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=b;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),i(3,b=x),i(2,g=!1);break;case"AvailableVendors":i(0,h=t.data.venArray),i(3,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(0,h=t.data.venArray),h&&i(3,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":M(),window.postMessage({type:"ApplyFilters"},window.location.href),i(2,g=!1);break;case"FiltersModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":f=t.data.categoryid,y&&f&&i(3,b=y[f]);break;case"ModalLoader":i(4,w=!1)}var r},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(b.push(t.id),i(2,g=!k(b,x))):(b.includes(t.id)&&i(3,b=b.filter(e=>e!==t.id)),i(2,g=!(!b.length&&k(b,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},k=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},M=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=k(b,x)),i(3,b=[]),null!==e&&((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},_=()=>{i(4,w=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return wt(()=>(window.addEventListener("message",S,!1),yt(m)&&i(1,p=!0),()=>{window.removeEventListener("message",S)})),e.$$set=e=>{"endpoint"in e&&i(10,a=e.endpoint),"datasource"in e&&i(11,o=e.datasource),"lang"in e&&i(12,s=e.lang),"session"in e&&i(13,l=e.session),"userid"in e&&i(14,c=e.userid),"clientstyling"in e&&i(15,d=e.clientstyling),"clientstylingurl"in e&&i(16,u=e.clientstylingurl)},e.$$.update=()=>{if(32768&e.$$.dirty[0]&&d){let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)}if(65536&e.$$.dirty[0]&&u){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})}},[h,p,g,b,w,r,n,F,M,_,a,o,s,l,c,d,u,e=>F(e),()=>M(),()=>_(),function(e){gt[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;height:127px;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:120px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},qs,Xs,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});const Qs={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function el(n){let r;function i(e){return e[5]?il:e[10]?rl:void 0}let a=i(n),o=a&&a(n);return{c(){r=pe("div"),o&&o.c(),fe(r,"class","CasinoIntegratedGamePage"),fe(r,"part","CasinoIntegratedGamePage")},m(e,t){ue(e,r,t),o&&o.m(r,null),n[65](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(r,null)))},d(e){e&&he(r),o&&o.d(),n[65](null)}}}function tl(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function nl(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function rl(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M,_=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function T(e){return e[16]?ol:al}let L=T(n),I=L(n),G="true"==n[1]&&!n[16]&&sl();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),d=pe("div"),u=ge(),h=pe("div"),p=pe("div"),m=pe("iframe"),f=ge(),y=pe("div"),b=pe("div"),v=pe("button"),w=me(_),x=ge(),C=pe("button"),$=me(E),S=ge(),I.c(),F=ge(),G&&G.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(m,"title","Games"),fe(m,"class","GamesContainer"),fe(m,"part","GamesContainer"),fe(m,"aria-hidden","false"),ce(m.src,g=n[9].launchUrl)||fe(m,"src",g),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe(C,"class","RegisterButton"),fe(C,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(p,"id","IframeGame"),fe(p,"part","IframeGame"),P(p,"width",n[16]?"100%":n[17]),P(p,"height",n[16]?"100%":n[18]),P(p,"max-width",n[16]||!n[11]?"none":n[9].width?Math.floor(n[9].width)+"px":"1280px"),P(p,"max-height",n[16]||!n[11]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),fe(h,"part","IframeContainer"),B(h,"FullsScreenLayout",n[16])},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),de(s,l),n[56](o),de(r,c),de(r,d),ue(e,u,t),ue(e,h,t),de(h,p),de(p,m),n[57](m),de(p,f),de(p,y),de(y,b),de(b,v),de(v,w),de(b,x),de(b,C),de(C,$),de(y,S),I.m(y,null),n[62](y),n[63](p),de(h,F),G&&G.m(h,null),n[64](h),k||(M=[K(i,"click",n[55]),K(v,"click",n[58]),K(C,"click",n[59])],k=!0)},p(e,t){8&t[0]&&ye(l,e[3]),512&t[0]&&!ce(m.src,g=e[9].launchUrl)&&fe(m,"src",g),4194304&t[0]&&_!==(_=e[22]("gamePage.signIn")+"")&&ye(w,_),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ye($,E),L===(L=T(e))&&I?I.p(e,t):(I.d(1),(I=L(e))&&(I.c(),I.m(y,null))),196608&t[0]&&P(p,"width",e[16]?"100%":e[17]),327680&t[0]&&P(p,"height",e[16]?"100%":e[18]),68096&t[0]&&P(p,"max-width",e[16]||!e[11]?"none":e[9].width?Math.floor(e[9].width)+"px":"1280px"),68096&t[0]&&P(p,"max-height",e[16]||!e[11]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?G&&(G.d(1),G=null):G||((G=sl()).c(),G.m(h,null)),65536&t[0]&&B(h,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[56](null),e&&he(u),e&&he(h),n[57](null),I.d(),n[62](null),n[63](null),G&&G.d(),n[64](null),k=!1,J(M)}}}function il(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S,F=n[22]("gamePage.deposit")+"",k="true"===n[0]&&ll(n);function M(e){return e[16]?dl:cl}let _=M(n),E=_(n),T="true"==n[1]&&!n[16]&&ul();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),d=pe("button"),u=me(F),h=ge(),p=pe("div"),m=pe("div"),g=pe("iframe"),v=ge(),w=pe("div"),k&&k.c(),x=ge(),E.c(),C=ge(),T&&T.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(d,"class","DepositButton"),fe(d,"part","DepositButton"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"id","IframeGame"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,f=n[9].launchUrl)||fe(g,"src",f),fe(g,"width",y=n[13]+"px"),fe(g,"height",b=n[14]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(m,"id","IframeGame"),fe(m,"part","IframeGame"),P(m,"width",n[16]?"100%":n[17]),P(m,"height",n[16]?"100%":n[18]),P(m,"max-width",n[16]?"none":n[9].width?n[9].width+"px":"1280px"),P(m,"max-height",n[16]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(p,"id","IframeContainer"),fe(p,"part","IframeContainer"),B(p,"FullsScreenLayout",n[16])},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),de(s,l),n[46](o),de(r,c),de(r,d),de(d,u),ue(e,h,t),ue(e,p,t),de(p,m),de(m,g),n[48](g),de(m,v),de(m,w),k&&k.m(w,null),de(w,x),E.m(w,null),n[52](w),n[53](m),de(p,C),T&&T.m(p,null),n[54](p),$||(S=[K(i,"click",n[45]),K(d,"click",n[47])],$=!0)},p(e,t){8&t[0]&&ye(l,e[3]),4194304&t[0]&&F!==(F=e[22]("gamePage.deposit")+"")&&ye(u,F),512&t[0]&&!ce(g.src,f=e[9].launchUrl)&&fe(g,"src",f),8192&t[0]&&y!==(y=e[13]+"px")&&fe(g,"width",y),16384&t[0]&&b!==(b=e[14]+"px")&&fe(g,"height",b),"true"===e[0]?k?k.p(e,t):((k=ll(e)).c(),k.m(w,x)):k&&(k.d(1),k=null),_===(_=M(e))&&E?E.p(e,t):(E.d(1),(E=_(e))&&(E.c(),E.m(w,null))),196608&t[0]&&P(m,"width",e[16]?"100%":e[17]),327680&t[0]&&P(m,"height",e[16]?"100%":e[18]),66048&t[0]&&P(m,"max-width",e[16]?"none":e[9].width?e[9].width+"px":"1280px"),66048&t[0]&&P(m,"max-height",e[16]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?T&&(T.d(1),T=null):T||((T=ul()).c(),T.m(p,null)),65536&t[0]&&B(p,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[46](null),e&&he(h),e&&he(p),n[48](null),k&&k.d(),E.d(),n[52](null),n[53](null),T&&T.d(),n[54](null),$=!1,J(S)}}}function al(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[61]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ol(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[60]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function sl(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function ll(n){let r,i,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class",e="PanicButton "+("PC"!==bt(n[23])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==bt(n[23])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[49](i)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[49](null)}}}function cl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[51]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function dl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[50]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ul(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function hl(e){let n;function r(e){return e[7]?nl:e[6]?tl:el}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function pl(t,e,r){let A;vt(t,Kr,e=>r(22,A=e));let R,n,i,a,D,o,s,l,c,d,u,h,H,N,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:O=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:$=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:M=""}=e,{haspanicbutton:j="false"}=e,{playforfun:_="true"}=e,{checksession:U="true"}=e,{gamebanneractive:W="false"}=e,{gameid:E=""}=e,T=!1,z=!1,Y=!0,L=!1,I=0,V=!1,Z=!1,J=!0,G=!1,P=window.navigator.userAgent;var K,X;({withLocale:K,translations:X}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(X),ft.set(K))}),Object.keys(Qs).forEach(e=>{Tr(e,Qs[e])});const q=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),r(11,J=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{r(9,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(r(5,T=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,p.scrollIntoView(),e})(e[0])),o.launchUrl&&(V=!0,r(10,Z="true"==_&&o.hasFunMode),"true"==_&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),r(6,z=!0)}).then(()=>{s&&(Q(),J||(r(17,H=o.width),r(18,N=o.height),u=o.width,h=o.height))})},Q=()=>{let e=getComputedStyle(s),t=getComputedStyle(d);r(13,l=parseInt(e.width.slice(0,-2))),r(14,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);u=parseInt(t.width),h=parseInt(t.height),l/n>c-m.clientHeight-g.clientHeight?(h=c-m.clientHeight-g.clientHeight,u=c*n):(u=l,h=l/n),r(17,H=u?Math.floor(u)+"px":"1280px"),r(18,N=h?Math.floor(h)+"px":"720px")},ee=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:V},window.location.href),V&&s&&"PC"==bt(P)&&Q()},te=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},ne=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},re=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)};function ie(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!G||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ie,!1),document.addEventListener("mozfullscreenchange",ie,!1),document.addEventListener("fullscreenchange",ie,!1),document.addEventListener("MSFullscreenChange",ie,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(G?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(16,G=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(16,G=!0)))},ae=setInterval(()=>{r(3,R=M?Si().format(M):Si().format("LTS"))},100),oe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},se=e=>{I=0,D=setInterval(()=>{I+=1,r(8,L=!0),3<=I&&clearInterval(D)},1e3)},le=e=>{I<3&&r(8,L=!1),clearInterval(D)};return wt(()=>(window.addEventListener("resize",ee,!1),gs(P),()=>{r(8,L=!1),null!=a&&a.removeEventListener("mousedown",se),null!=a&&a.removeEventListener("touchstart",se),null!=a&&a.removeEventListener("mouseup",le),null!=a&&a.removeEventListener("touchend",le),window.removeEventListener("resize",ee),clearInterval(ae)})),t.$$set=e=>{"endpoint"in e&&r(29,f=e.endpoint),"lang"in e&&r(30,y=e.lang),"session"in e&&r(31,b=e.session),"userid"in e&&r(32,O=e.userid),"clientstyling"in e&&r(33,v=e.clientstyling),"clientstylingurl"in e&&r(34,w=e.clientstylingurl),"loginurl"in e&&r(35,x=e.loginurl),"registerurl"in e&&r(36,C=e.registerurl),"depositurl"in e&&r(37,$=e.depositurl),"loginevent"in e&&r(38,S=e.loginevent),"registerevent"in e&&r(39,F=e.registerevent),"depositevent"in e&&r(40,k=e.depositevent),"clockformat"in e&&r(41,M=e.clockformat),"haspanicbutton"in e&&r(0,j=e.haspanicbutton),"playforfun"in e&&r(42,_=e.playforfun),"checksession"in e&&r(43,U=e.checksession),"gamebanneractive"in e&&r(1,W=e.gamebanneractive),"gameid"in e&&r(44,E=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,ft.set(e),yt(P),r(7,Y=!1)),1610612736&t.$$.dirty[0]|8192&t.$$.dirty[1]&&f&&E&&y&&q(E),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&b&&O&&f&&("true"==U?qr(f,b).then(e=>{i=e.Guid,e.UserID,r(5,T=!0)},e=>{r(5,T=!1),console.error("err on session",e)}):i=b),4&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,p.appendChild(e)}if(8&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,p&&setTimeout(()=>{p.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&a&&(null!=a&&a.addEventListener("mousedown",se,!1),null!=a&&a.addEventListener("touchstart",se,!1),null!=a&&a.addEventListener("mouseup",le,!1),null!=a&&a.addEventListener("touchend",le,!1))},[j,W,a,R,n,T,z,Y,L,o,Z,J,s,l,c,d,G,H,N,p,m,g,A,P,te,ne,re,B,oe,f,y,b,O,v,w,x,C,$,S,F,k,M,_,U,E,()=>oe(),function(e){gt[e?"unshift":"push"](()=>{g=e,r(21,g)})},()=>re(),function(e){gt[e?"unshift":"push"](()=>{n=e,r(4,n)})},function(e){gt[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>B(),()=>B(),function(e){gt[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){gt[e?"unshift":"push"](()=>{d=e,r(15,d)})},function(e){gt[e?"unshift":"push"](()=>{s=e,r(12,s)})},()=>oe(),function(e){gt[e?"unshift":"push"](()=>{g=e,r(21,g)})},function(e){gt[e?"unshift":"push"](()=>{n=e,r(4,n)})},()=>te(),()=>ne(),()=>B(),()=>B(),function(e){gt[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){gt[e?"unshift":"push"](()=>{d=e,r(15,d)})},function(e){gt[e?"unshift":"push"](()=>{s=e,r(12,s)})},function(e){gt[e?"unshift":"push"](()=>{p=e,r(19,p)})}]}function ml(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g="true"==e[22]&&fl(e);return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=ge(),o=pe("div"),s=ge(),l=pe("casino-categories-slider"),c=ge(),d=pe("casino-page"),u=ge(),g&&g.c(),h=ge(),p=pe("casino-filter-modal"),m=pe("casino-filter-page"),fe(i,"class","HeaderPlaceholder"),fe(i,"part","HeaderPlaceholder"),P(i,"height",e[60]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),w(l,"endpoint",e[53]),w(l,"datasource",e[54]),w(l,"lang",e[55]),w(l,"session",e[59]),w(l,"userid",e[2]),w(l,"sessioncheck","false"),w(l,"actionevent",e[19]),w(l,"filteredcategories",e[7]),w(l,"mostplayed",e[11]),w(l,"mostplayedrounds",e[12]),w(l,"lastplayed",e[13]),w(l,"lastplayedperiod",e[14]),w(l,"favorites",e[15]),w(l,"activecategory",e[1]),w(l,"clientstyling",e[3]),w(l,"clientstylingurl",e[4]),w(l,"containermaxwidth",e[17]),w(l,"location","secondaryMenu"),w(l,"showsubgroups",e[48]),w(d,"session",e[59]),w(d,"userid",e[2]),w(d,"endpoint",e[53]),w(d,"datasource",e[54]),w(d,"lang",e[55]),w(d,"visiblegames",e[24]),w(d,"playrandomgame",e[23]),w(d,"activecategory",e[1]),w(d,"alternativesearch",e[16]),w(d,"favorites",e[15]),w(d,"mostplayedrounds",e[12]),w(d,"mostplayed",e[11]),w(d,"lastplayed",e[13]),w(d,"lastplayedperiod",e[14]),w(d,"clientstyling",e[3]),w(d,"clientstylingurl",e[4]),w(d,"lobbyid",e[6]),w(d,"containermaxwidth",e[17]),w(d,"haspanicbutton",e[18]),w(d,"livecasino",e[20]),w(d,"currency",e[0]),w(d,"filteredcategories",e[7]),w(d,"gamepagemodalurl",e[27]),w(d,"randombuttonicon",e[52]),w(d,"enablejackpotbanner",e[39]),w(d,"enablecasinowinners",e[28]),w(d,"periodrecent",e[33]),w(d,"periodtop",e[34]),w(d,"numberusersrecent",e[35]),w(d,"numberuserstop",e[36]),w(d,"amountlimit",e[37]),w(d,"isrecentavailable",e[32]),w(d,"istopavailable",e[31]),w(d,"integratedgameframedesktop",e[25]),w(d,"integratedgameframemobile",e[26]),w(d,"defaultcurrency",e[38]),w(d,"enableautoscroll",e[30]),w(d,"tabsorder",e[29]),w(d,"backgroundsrc",e[44]),w(d,"backgroundsrcmobile",e[45]),w(d,"titlelogopath",e[46]),w(d,"caticon0",e[40]),w(d,"caticon1",e[41]),w(d,"caticon2",e[42]),w(d,"caticon3",e[43]),w(d,"iconlabels",e[47]),w(d,"enablecollections",e[49]),w(d,"type",e[50]),w(d,"titletype",e[51]),w(m,"session",e[59]),w(m,"userid",e[2]),w(m,"endpoint",e[53]),w(m,"datasource",e[54]),w(m,"lang",e[55]),w(m,"clientstylingurl",e[4]),w(m,"clientstyling",e[3]),w(p,"clientstylingurl",e[4]),w(p,"session",e[59]),w(p,"userid",e[2]),w(p,"endpoint",e[53]),w(p,"datasource",e[54]),w(p,"lang",e[55]),w(p,"sessioncheck","false"),w(p,"clientstyling",e[3]),fe(r,"class","WidgetsSection"),fe(r,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,a),de(r,o),de(r,s),de(r,l),de(r,c),de(r,d),de(r,u),g&&g.m(r,null),de(r,h),de(r,p),de(p,m)},p(e,t){536870912&t[1]&&P(i,"height",e[60]+"px"),4194304&t[1]&&w(l,"endpoint",e[53]),8388608&t[1]&&w(l,"datasource",e[54]),16777216&t[1]&&w(l,"lang",e[55]),268435456&t[1]&&w(l,"session",e[59]),4&t[0]&&w(l,"userid",e[2]),524288&t[0]&&w(l,"actionevent",e[19]),128&t[0]&&w(l,"filteredcategories",e[7]),2048&t[0]&&w(l,"mostplayed",e[11]),4096&t[0]&&w(l,"mostplayedrounds",e[12]),8192&t[0]&&w(l,"lastplayed",e[13]),16384&t[0]&&w(l,"lastplayedperiod",e[14]),32768&t[0]&&w(l,"favorites",e[15]),2&t[0]&&w(l,"activecategory",e[1]),8&t[0]&&w(l,"clientstyling",e[3]),16&t[0]&&w(l,"clientstylingurl",e[4]),131072&t[0]&&w(l,"containermaxwidth",e[17]),131072&t[1]&&w(l,"showsubgroups",e[48]),268435456&t[1]&&w(d,"session",e[59]),4&t[0]&&w(d,"userid",e[2]),4194304&t[1]&&w(d,"endpoint",e[53]),8388608&t[1]&&w(d,"datasource",e[54]),16777216&t[1]&&w(d,"lang",e[55]),16777216&t[0]&&w(d,"visiblegames",e[24]),8388608&t[0]&&w(d,"playrandomgame",e[23]),2&t[0]&&w(d,"activecategory",e[1]),65536&t[0]&&w(d,"alternativesearch",e[16]),32768&t[0]&&w(d,"favorites",e[15]),4096&t[0]&&w(d,"mostplayedrounds",e[12]),2048&t[0]&&w(d,"mostplayed",e[11]),8192&t[0]&&w(d,"lastplayed",e[13]),16384&t[0]&&w(d,"lastplayedperiod",e[14]),8&t[0]&&w(d,"clientstyling",e[3]),16&t[0]&&w(d,"clientstylingurl",e[4]),64&t[0]&&w(d,"lobbyid",e[6]),131072&t[0]&&w(d,"containermaxwidth",e[17]),262144&t[0]&&w(d,"haspanicbutton",e[18]),1048576&t[0]&&w(d,"livecasino",e[20]),1&t[0]&&w(d,"currency",e[0]),128&t[0]&&w(d,"filteredcategories",e[7]),134217728&t[0]&&w(d,"gamepagemodalurl",e[27]),2097152&t[1]&&w(d,"randombuttonicon",e[52]),256&t[1]&&w(d,"enablejackpotbanner",e[39]),268435456&t[0]&&w(d,"enablecasinowinners",e[28]),4&t[1]&&w(d,"periodrecent",e[33]),8&t[1]&&w(d,"periodtop",e[34]),16&t[1]&&w(d,"numberusersrecent",e[35]),32&t[1]&&w(d,"numberuserstop",e[36]),64&t[1]&&w(d,"amountlimit",e[37]),2&t[1]&&w(d,"isrecentavailable",e[32]),1&t[1]&&w(d,"istopavailable",e[31]),33554432&t[0]&&w(d,"integratedgameframedesktop",e[25]),67108864&t[0]&&w(d,"integratedgameframemobile",e[26]),128&t[1]&&w(d,"defaultcurrency",e[38]),1073741824&t[0]&&w(d,"enableautoscroll",e[30]),536870912&t[0]&&w(d,"tabsorder",e[29]),8192&t[1]&&w(d,"backgroundsrc",e[44]),16384&t[1]&&w(d,"backgroundsrcmobile",e[45]),32768&t[1]&&w(d,"titlelogopath",e[46]),512&t[1]&&w(d,"caticon0",e[40]),1024&t[1]&&w(d,"caticon1",e[41]),2048&t[1]&&w(d,"caticon2",e[42]),4096&t[1]&&w(d,"caticon3",e[43]),65536&t[1]&&w(d,"iconlabels",e[47]),262144&t[1]&&w(d,"enablecollections",e[49]),524288&t[1]&&w(d,"type",e[50]),1048576&t[1]&&w(d,"titletype",e[51]),"true"==e[22]?g?g.p(e,t):((g=fl(e)).c(),g.m(r,h)):g&&(g.d(1),g=null),268435456&t[1]&&w(m,"session",e[59]),4&t[0]&&w(m,"userid",e[2]),4194304&t[1]&&w(m,"endpoint",e[53]),8388608&t[1]&&w(m,"datasource",e[54]),16777216&t[1]&&w(m,"lang",e[55]),16&t[0]&&w(m,"clientstylingurl",e[4]),8&t[0]&&w(m,"clientstyling",e[3]),16&t[0]&&w(p,"clientstylingurl",e[4]),268435456&t[1]&&w(p,"session",e[59]),4&t[0]&&w(p,"userid",e[2]),4194304&t[1]&&w(p,"endpoint",e[53]),8388608&t[1]&&w(p,"datasource",e[54]),16777216&t[1]&&w(p,"lang",e[55]),8&t[0]&&w(p,"clientstyling",e[3])},d(e){e&&he(n),g&&g.d()}}}function gl(e){let n,r;return{c(){n=pe("p"),r=me(e[58]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){134217728&t[1]&&ye(r,e[58])},d(e){e&&he(n)}}}function fl(e){let n,r;return{c(){n=pe("casino-modal"),w(r=pe("casino-game-page"),"session",e[59]),w(r,"userid",e[2]),w(r,"endpoint",e[53]),w(r,"datasource",e[54]),w(r,"lang",e[55]),w(r,"loginevent",e[8]),w(r,"registerevent",e[9]),w(r,"depositevent",e[10]),w(r,"checksession","false"),w(r,"playforfun",e[21]),w(r,"favorites",e[15]),w(r,"clientstyling",e[3]),w(r,"clientstylingurl",e[4]),w(r,"clockformat",e[5]),w(r,"haspanicbutton",e[18]),w(r,"currency",e[0]),w(r,"integratedgameframedesktop",e[25]),w(r,"integratedgameframemobile",e[26]),w(n,"session",e[59]),w(n,"userid",e[2]),w(n,"endpoint",e[53]),w(n,"datasource",e[54]),w(n,"lang",e[55]),w(n,"sessioncheck","false"),w(n,"clientstyling",e[3]),w(n,"clientstylingurl",e[4]),w(n,"gamepagemodalurl",e[27]),w(n,"haspanicbutton",e[18])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){268435456&t[1]&&w(r,"session",e[59]),4&t[0]&&w(r,"userid",e[2]),4194304&t[1]&&w(r,"endpoint",e[53]),8388608&t[1]&&w(r,"datasource",e[54]),16777216&t[1]&&w(r,"lang",e[55]),256&t[0]&&w(r,"loginevent",e[8]),512&t[0]&&w(r,"registerevent",e[9]),1024&t[0]&&w(r,"depositevent",e[10]),2097152&t[0]&&w(r,"playforfun",e[21]),32768&t[0]&&w(r,"favorites",e[15]),8&t[0]&&w(r,"clientstyling",e[3]),16&t[0]&&w(r,"clientstylingurl",e[4]),32&t[0]&&w(r,"clockformat",e[5]),262144&t[0]&&w(r,"haspanicbutton",e[18]),1&t[0]&&w(r,"currency",e[0]),33554432&t[0]&&w(r,"integratedgameframedesktop",e[25]),67108864&t[0]&&w(r,"integratedgameframemobile",e[26]),268435456&t[1]&&w(n,"session",e[59]),4&t[0]&&w(n,"userid",e[2]),4194304&t[1]&&w(n,"endpoint",e[53]),8388608&t[1]&&w(n,"datasource",e[54]),16777216&t[1]&&w(n,"lang",e[55]),8&t[0]&&w(n,"clientstyling",e[3]),16&t[0]&&w(n,"clientstylingurl",e[4]),134217728&t[0]&&w(n,"gamepagemodalurl",e[27]),262144&t[0]&&w(n,"haspanicbutton",e[18])},d(e){e&&he(n)}}}function yl(n){let r,i,a;function o(e){return e[57]?gl:ml}let s=o(n),l=s(n);return{c(){r=pe("div"),l.c(),this.c=Z,fe(r,"class",i=n[56]?"DisplayNone":""),fe(r,"part",a=n[56]?"DisplayNone":"")},m(e,t){ue(e,r,t),l.m(r,null),n[73](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))),33554432&t[1]&&i!==(i=e[56]?"DisplayNone":"")&&fe(r,"class",i),33554432&t[1]&&a!==(a=e[56]?"DisplayNone":"")&&fe(r,"part",a)},i:Z,o:Z,d(e){e&&he(r),l.d(),n[73](null)}}}function bl(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:d=""}=t,{userid:u=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y=""}=t,{filteredcategories:b=""}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:x=""}=t,{loginevent:C=""}=t,{registerevent:$=""}=t,{depositevent:S=""}=t,{mostplayed:F=""}=t,{mostplayedrounds:A=""}=t,{lastplayed:k="false"}=t,{lastplayedperiod:R="Last30Days"}=t,{favorites:M=""}=t,{desktopoffset:_="0"}=t,{mobileoffset:E="0"}=t,{alternativesearch:D="false"}=t,{containermaxwidth:H=""}=t,{haspanicbutton:N="false"}=t,{activecategory:T="LOBBY"}=t,{actionevent:O="CategoryChange"}=t,{livecasino:j="false"}=t,{playforfun:U="true"}=t,{gamemodal:W="true"}=t,{playrandomgame:z="false"}=t,{visiblegames:Y="10"}=t,{integratedgameframedesktop:V="false"}=t,{integratedgameframemobile:Z="false"}=t,{gamepagemodalurl:J="false"}=t,{enablecasinowinners:K=""}=t,{tabsorder:X=""}=t,{enableautoscroll:q=""}=t,{istopavailable:Q=""}=t,{isrecentavailable:ee=""}=t,{periodrecent:te=""}=t,{periodtop:ne=""}=t,{numberusersrecent:re=""}=t,{numberuserstop:ie=""}=t,{amountlimit:ae=""}=t,{defaultcurrency:oe=""}=t,{enablejackpotbanner:se=""}=t,{caticon0:le=""}=t,{caticon1:ce=""}=t,{caticon2:de=""}=t,{caticon3:ue=""}=t,{backgroundsrc:he=""}=t,{backgroundsrcmobile:pe=""}=t,{titlelogopath:me=""}=t,{iconlabels:ge=""}=t,{visualstructure:fe=""}=t,{showsubgroups:ye="false"}=t,{enablecollections:be=""}=t,{type:ve=""}=t,{titletype:we=""}=t,{randombuttonicon:xe=""}=t,L=!1,I=!1,G="Loading, please wait ...",P="",Ce=window.navigator.userAgent,B=0,$e=!1;var Se,Fe;({withLocale:Se,translations:Fe}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(Fe),ft.set(Se))});const ke=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":($e=e.data.scrollTop)&&(B||n(60,B="PC"===bt(Ce)?parseInt(_):parseInt(E)),window.scrollTo({top:B}));break;case"UserSessionID":n(59,P=e.data.session),e.data.userID;break;case"CategoryChange":n(1,T=e.data.itemId)}};return wt(()=>(window.addEventListener("message",ke,!1),n(60,B="PC"===bt(Ce)?parseInt(_):parseInt(E)),()=>{window.removeEventListener("message",ke)})),e.$$set=e=>{"endpoint"in e&&n(62,s=e.endpoint),"datasource"in e&&n(63,l=e.datasource),"lang"in e&&n(64,c=e.lang),"session"in e&&n(65,d=e.session),"userid"in e&&n(2,u=e.userid),"opsession"in e&&n(66,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,g=e.clockformat),"lobbyid"in e&&n(6,f=e.lobbyid),"currency"in e&&n(0,y=e.currency),"filteredcategories"in e&&n(7,b=e.filteredcategories),"loginurl"in e&&n(67,v=e.loginurl),"registerurl"in e&&n(68,w=e.registerurl),"depositurl"in e&&n(69,x=e.depositurl),"loginevent"in e&&n(8,C=e.loginevent),"registerevent"in e&&n(9,$=e.registerevent),"depositevent"in e&&n(10,S=e.depositevent),"mostplayed"in e&&n(11,F=e.mostplayed),"mostplayedrounds"in e&&n(12,A=e.mostplayedrounds),"lastplayed"in e&&n(13,k=e.lastplayed),"lastplayedperiod"in e&&n(14,R=e.lastplayedperiod),"favorites"in e&&n(15,M=e.favorites),"desktopoffset"in e&&n(70,_=e.desktopoffset),"mobileoffset"in e&&n(71,E=e.mobileoffset),"alternativesearch"in e&&n(16,D=e.alternativesearch),"containermaxwidth"in e&&n(17,H=e.containermaxwidth),"haspanicbutton"in e&&n(18,N=e.haspanicbutton),"activecategory"in e&&n(1,T=e.activecategory),"actionevent"in e&&n(19,O=e.actionevent),"livecasino"in e&&n(20,j=e.livecasino),"playforfun"in e&&n(21,U=e.playforfun),"gamemodal"in e&&n(22,W=e.gamemodal),"playrandomgame"in e&&n(23,z=e.playrandomgame),"visiblegames"in e&&n(24,Y=e.visiblegames),"integratedgameframedesktop"in e&&n(25,V=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(26,Z=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(27,J=e.gamepagemodalurl),"enablecasinowinners"in e&&n(28,K=e.enablecasinowinners),"tabsorder"in e&&n(29,X=e.tabsorder),"enableautoscroll"in e&&n(30,q=e.enableautoscroll),"istopavailable"in e&&n(31,Q=e.istopavailable),"isrecentavailable"in e&&n(32,ee=e.isrecentavailable),"periodrecent"in e&&n(33,te=e.periodrecent),"periodtop"in e&&n(34,ne=e.periodtop),"numberusersrecent"in e&&n(35,re=e.numberusersrecent),"numberuserstop"in e&&n(36,ie=e.numberuserstop),"amountlimit"in e&&n(37,ae=e.amountlimit),"defaultcurrency"in e&&n(38,oe=e.defaultcurrency),"enablejackpotbanner"in e&&n(39,se=e.enablejackpotbanner),"caticon0"in e&&n(40,le=e.caticon0),"caticon1"in e&&n(41,ce=e.caticon1),"caticon2"in e&&n(42,de=e.caticon2),"caticon3"in e&&n(43,ue=e.caticon3),"backgroundsrc"in e&&n(44,he=e.backgroundsrc),"backgroundsrcmobile"in e&&n(45,pe=e.backgroundsrcmobile),"titlelogopath"in e&&n(46,me=e.titlelogopath),"iconlabels"in e&&n(47,ge=e.iconlabels),"visualstructure"in e&&n(72,fe=e.visualstructure),"showsubgroups"in e&&n(48,ye=e.showsubgroups),"enablecollections"in e&&n(49,be=e.enablecollections),"type"in e&&n(50,ve=e.type),"titletype"in e&&n(51,we=e.titletype),"randombuttonicon"in e&&n(52,xe=e.randombuttonicon)},e.$$.update=()=>{if(4&e.$$.dirty[2]&&c&&Qr(c),4&e.$$.dirty[0]|9&e.$$.dirty[2]&&d&&u&&s&&qr(s,d).then(e=>{n(59,P=e.Guid),e.UserID,n(0,y=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),43008&e.$$.dirty[0]|7&e.$$.dirty[2]&&s&&l&&c&&F&&k&&M&&(s||(n(58,G="Endpoint is missing! Please provide a valid endpointURL."),n(57,I=!0),console.error(G)),l||(n(58,G="Datasource is missing! Please provide a valid datasource."),n(57,I=!0),console.error(G)),(!c||c.length<2)&&(n(58,G="Language is missing! Please provide a valid language (alpha2code)"),n(57,I=!0),console.error(G)),Qr(c),n(53,r=s),n(54,i=l),n(55,a=c),n(57,I=!1)),16&e.$$.dirty[2]&&h&&n(59,P=h),8&e.$$.dirty[0]&&p){let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)}if(16&e.$$.dirty[0]&&m){n(56,L=!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(56,L=!1)},500))})}},[y,T,u,p,m,g,f,b,C,$,S,F,A,k,R,M,D,H,N,O,j,U,W,z,Y,V,Z,J,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,de,ue,he,pe,me,ge,ye,be,ve,we,xe,r,i,a,L,I,G,P,B,o,s,l,c,d,h,v,w,x,_,E,fe,function(e){gt[e?"unshift":"push"](()=>{o=e,n(61,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},pl,hl,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,loginurl:35,registerurl:36,depositurl:37,loginevent:38,registerevent:39,depositevent:40,clockformat:41,haspanicbutton:0,playforfun:42,checksession:43,gamebanneractive:1,gameid:44},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get loginurl(){return this.$$.ctx[35]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[36]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[37]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[38]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[39]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[40]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[41]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[42]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[43]}set checksession(e){this.$$set({checksession:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[44]}set gameid(e){this.$$set({gameid:e}),f()}});class vl extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},bl,yl,t,{endpoint:62,datasource:63,lang:64,session:65,userid:2,opsession:66,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:0,filteredcategories:7,loginurl:67,registerurl:68,depositurl:69,loginevent:8,registerevent:9,depositevent:10,mostplayed:11,mostplayedrounds:12,lastplayed:13,lastplayedperiod:14,favorites:15,desktopoffset:70,mobileoffset:71,alternativesearch:16,containermaxwidth:17,haspanicbutton:18,activecategory:1,actionevent:19,livecasino:20,playforfun:21,gamemodal:22,playrandomgame:23,visiblegames:24,integratedgameframedesktop:25,integratedgameframemobile:26,gamepagemodalurl:27,enablecasinowinners:28,tabsorder:29,enableautoscroll:30,istopavailable:31,isrecentavailable:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,enablejackpotbanner:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:72,showsubgroups:48,enablecollections:49,type:50,titletype:51,randombuttonicon:52},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","enablejackpotbanner","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","showsubgroups","enablecollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[62]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[63]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[64]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[65]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[66]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get filteredcategories(){return this.$$.ctx[7]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get loginurl(){return this.$$.ctx[67]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[68]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[69]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[8]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[9]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[10]}set depositevent(e){this.$$set({depositevent:e}),f()}get mostplayed(){return this.$$.ctx[11]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[12]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[13]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[14]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[70]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[71]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[16]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[17]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[18]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[21]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[24]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[25]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[26]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[27]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[28]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[29]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[30]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[31]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[32]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get enablejackpotbanner(){return this.$$.ctx[39]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[72]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get showsubgroups(){return this.$$.ctx[48]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get enablecollections(){return this.$$.ctx[49]}set enablecollections(e){this.$$set({enablecollections:e}),f()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[52]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",vl),vl});
|
|
32
|
+
`},E,T,I,L,G,O,j,z,V,Z,J,K,X,q,Q,ee,he,pe,function(e){pt[e?"unshift":"push"](()=>{i=e,o(18,i)})},()=>fe(D),()=>ge(D),()=>fe(D),function(e){pt[e?"unshift":"push"](()=>{k=e,o(13,k)})},function(e){pt[e?"unshift":"push"](()=>{a=e,o(10,a)})}]}function qi(e,t,n){const r=e.slice();return r[75]=t[n],r[77]=n,r}function Qi(e,t,n){const r=e.slice();return r[75]=t[n],r[78]=t,r[77]=n,r}function ea(e,t,n){const r=e.slice();return r[75]=t[n],r[77]=n,r}function ta(e){let n;function r(e){return e[15]?aa:e[25]?ia:void 0}let i=r(e),a=i&&i(e);return{c(){n=pe("div"),a&&a.c()},m(e,t){de(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),a=i&&i(e),a&&(a.c(),a.m(n,null)))},d(e){e&&he(n),a&&a.d()}}}function na(e){let n,r,i;function a(e){return e[19]?$a:e[16].length?xa:Ca}let o=a(e),s=o(e);function l(e){return e[16]?Fa:Sa}let c=l(e),u=c(e);return{c(){n=pe("div"),r=pe("div"),s.c(),i=ge(),u.c(),fe(r,"class","CasinoGamesHeader Searched "+(Zr(e[30])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(Zr(e[30])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){de(e,n,t),ue(n,r),s.m(r,null),ue(n,i),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),u=c(e),u&&(u.c(),u.m(n,null)))},d(e){e&&he(n),s.d(),u.d()}}}function ra(e){let n;function r(e){return e[21]?Ea:_a}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function ia(n){let r,i,a,o,s,l,c,u,d=n[29]("gamesCategorySection.favorites")+"";function h(e){return e[28]?sa:oa}let p=h(n),m=p(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(d),s=ge(),l=pe("ul"),m.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(l,"class",c=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(l,"part",u=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),n[47](a),ue(r,s),ue(r,l),m.m(l,null),n[48](l)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.favorites")+"")&&ye(o,d),p===(p=h(e))&&m?m.p(e,t):(m.d(1),m=p(e),m&&(m.c(),m.m(l,null))),268435456&t[0]&&c!==(c=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"class",c),268435456&t[0]&&u!==(u=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"part",u)},d(e){e&&he(r),n[47](null),m.d(),n[48](null)}}}function aa(n){let r,i,a,o,s,l,c=n[15].name+"",u=n[17]&&ya(n);function d(e){return 0!==e[16].length?va:ba}let h=d(n),p=h(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(c),s=ge(),u&&u.c(),l=ge(),p.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),n[43](a),ue(i,s),u&&u.m(i,null),ue(r,l),p.m(r,null)},p(e,t){32768&t[0]&&c!==(c=e[15].name+"")&&ye(o,c),e[17]?u?u.p(e,t):(u=ya(e),u.c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(r,null)))},d(e){e&&he(r),n[43](null),u&&u.d(),p.d()}}}function oa(e){let n,r,i=e[29]("gamesCategorySection.waiting")+"";return{c(){n=pe("p"),r=me(i)},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.waiting")+"")&&ye(r,i)},d(e){e&&he(n)}}}function sa(t){let r,i=t[28].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=fa(qi(t,i,e));let o=null;return i.length||(o=la(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);de(t,r,n),o&&o.m(t,n)},p(t,n){if(2113933311&n[0]){let e;for(i=t[28].items,e=0;e<i.length;e+=1){const o=qi(t,i,e);a[e]?a[e].p(o,n):(a[e]=fa(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=la(t),o.c(),o.m(r.parentNode,r))}},d(e){k(a,e),e&&he(r),o&&o.d(e)}}}function la(e){let n,r,i,a,o,s,l,c,t,u,d=e[29]("gamesCategorySection.noFavoritesTitle")+"",h=(m=e,Zr(m[30])?ua:ca),p=h(e);var m;return{c(){n=pe("p"),r=M("svg"),i=M("path"),a=ge(),o=pe("span"),s=me(d),l=ge(),p.c(),c=ge(),P(i,"fill","white"),fe(i,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","50px"),fe(r,"y","50px"),fe(r,"viewBox","0 0 512.001 512.001"),P(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(Zr(e[30])?"NoFavoriteGamesMobile":"")),fe(n,"part",u="NoFavoriteGames "+(Zr(e[30])?"NoFavoriteGamesMobile":""))},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(n,a),ue(n,o),ue(o,s),ue(n,l),p.m(n,null),ue(n,c)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,d),p.p(e,t)},d(e){e&&he(n),p.d()}}}function ca(e){let n,r,i=e[29]("gamesCategorySection.noFavorites")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavorites")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ua(e){let n,r,i=e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,i)},d(e){e&&he(n)}}}function da(e){let n,r=e[75].gameModel.isFavorite&&ha(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[75].gameModel.isFavorite?r?r.p(e,t):(r=ha(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ha(e){let n,r=function(e){let n,r,i;function a(e,t){return 268435456&t[0]&&(r=null),null==n&&(n=!!Zr(e[30])),n?ma:(null==r&&(r=!!e[75].gameModel.platform.includes("PC")),r?pa:void 0)}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),de(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&he(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function pa(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){n=pe("casino-game-thumbnail"),$(n,"class",r=""+(Ia+(e[75].cellSize||"1x1"))),$(n,"part",i=""+(Ia+(e[75].cellSize||"1x1"))),$(n,"session",e[2]),$(n,"userid",e[3]),$(n,"lang",e[1]),$(n,"favorites",e[4]),$(n,"gamethumbnail",a=e[75].gameModel.thumbnail),$(n,"gamename",o=e[75].gameModel.name),$(n,"gamevendor",s=e[75].gameModel.vendor.name),$(n,"gameisnew",l=e[75].gameModel.isNew),$(n,"gamepopularity",c=e[75].gameModel.popularity),$(n,"gamecellsize",u=e[75].cellSize),$(n,"gameid",d=e[75].gameModel.id),$(n,"gamefunmode",h=e[75].gameModel.hasFunMode),$(n,"gamefavorite",p=e[75].gameModel.isFavorite),$(n,"showfavoredcategory",e[25]),$(n,"connectlive",m=1==e[26][e[75].id]?"connect":"disconnect"),$(n,"visibilityconnect",e[27]),$(n,"currency",e[7]),$(n,"livelobbyendpoint",g=e[75].gameModel.details?e[75].gameModel.launchUrl:""),$(n,"clientstyling",e[5]),$(n,"clientstylingurl",e[6]),$(n,"endpoint",e[0]),$(n,"livecasino",e[8]),$(n,"gamepagemodalurl",e[9]),$(n,"integratedgameframedesktop",e[10]),$(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(Ia+(e[75].cellSize||"1x1")))&&$(n,"class",r),268435456&t[0]&&i!==(i=""+(Ia+(e[75].cellSize||"1x1")))&&$(n,"part",i),4&t[0]&&$(n,"session",e[2]),8&t[0]&&$(n,"userid",e[3]),2&t[0]&&$(n,"lang",e[1]),16&t[0]&&$(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[75].gameModel.thumbnail)&&$(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[75].gameModel.name)&&$(n,"gamename",o),268435456&t[0]&&s!==(s=e[75].gameModel.vendor.name)&&$(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[75].gameModel.isNew)&&$(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[75].gameModel.popularity)&&$(n,"gamepopularity",c),268435456&t[0]&&u!==(u=e[75].cellSize)&&$(n,"gamecellsize",u),268435456&t[0]&&d!==(d=e[75].gameModel.id)&&$(n,"gameid",d),268435456&t[0]&&h!==(h=e[75].gameModel.hasFunMode)&&$(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[75].gameModel.isFavorite)&&$(n,"gamefavorite",p),33554432&t[0]&&$(n,"showfavoredcategory",e[25]),335544320&t[0]&&m!==(m=1==e[26][e[75].id]?"connect":"disconnect")&&$(n,"connectlive",m),134217728&t[0]&&$(n,"visibilityconnect",e[27]),128&t[0]&&$(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[75].gameModel.details?e[75].gameModel.launchUrl:"")&&$(n,"livelobbyendpoint",g),32&t[0]&&$(n,"clientstyling",e[5]),64&t[0]&&$(n,"clientstylingurl",e[6]),1&t[0]&&$(n,"endpoint",e[0]),256&t[0]&&$(n,"livecasino",e[8]),512&t[0]&&$(n,"gamepagemodalurl",e[9]),1024&t[0]&&$(n,"integratedgameframedesktop",e[10]),2048&t[0]&&$(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function ma(e){let n,r=e[75].gameModel.platform.includes("iPad")||e[75].gameModel.platform.includes("iPhone")||e[75].gameModel.platform.includes("Android"),i=r&&ga(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),de(e,n,t)},p(e,t){268435456&t[0]&&(r=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=ga(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function ga(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){n=pe("casino-game-thumbnail"),$(n,"class",r=""+(Ia+(e[75].cellSize||"1x1"))),$(n,"part",i=""+(Ia+(e[75].cellSize||"1x1"))),$(n,"session",e[2]),$(n,"userid",e[3]),$(n,"lang",e[1]),$(n,"favorites",e[4]),$(n,"gamethumbnail",a=e[75].gameModel.thumbnail),$(n,"gamename",o=e[75].gameModel.name),$(n,"gamevendor",s=e[75].gameModel.vendor.name),$(n,"gameisnew",l=e[75].gameModel.isNew),$(n,"gamepopularity",c=e[75].gameModel.popularity),$(n,"gamecellsize",u=e[75].cellSize),$(n,"gameid",d=e[75].gameModel.id),$(n,"gamefunmode",h=e[75].gameModel.hasFunMode),$(n,"gamefavorite",p=e[75].gameModel.isFavorite),$(n,"showfavoredcategory",e[25]),$(n,"connectlive",m=1==e[26][e[75].id]?"connect":"disconnect"),$(n,"visibilityconnect",e[27]),$(n,"currency",e[7]),$(n,"livelobbyendpoint",g=e[75].gameModel.details?e[75].gameModel.launchUrl:""),$(n,"clientstyling",e[5]),$(n,"clientstylingurl",e[6]),$(n,"endpoint",e[0]),$(n,"livecasino",e[8]),$(n,"gamepagemodalurl",e[9]),$(n,"integratedgameframedesktop",e[10]),$(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(Ia+(e[75].cellSize||"1x1")))&&$(n,"class",r),268435456&t[0]&&i!==(i=""+(Ia+(e[75].cellSize||"1x1")))&&$(n,"part",i),4&t[0]&&$(n,"session",e[2]),8&t[0]&&$(n,"userid",e[3]),2&t[0]&&$(n,"lang",e[1]),16&t[0]&&$(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[75].gameModel.thumbnail)&&$(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[75].gameModel.name)&&$(n,"gamename",o),268435456&t[0]&&s!==(s=e[75].gameModel.vendor.name)&&$(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[75].gameModel.isNew)&&$(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[75].gameModel.popularity)&&$(n,"gamepopularity",c),268435456&t[0]&&u!==(u=e[75].cellSize)&&$(n,"gamecellsize",u),268435456&t[0]&&d!==(d=e[75].gameModel.id)&&$(n,"gameid",d),268435456&t[0]&&h!==(h=e[75].gameModel.hasFunMode)&&$(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[75].gameModel.isFavorite)&&$(n,"gamefavorite",p),33554432&t[0]&&$(n,"showfavoredcategory",e[25]),335544320&t[0]&&m!==(m=1==e[26][e[75].id]?"connect":"disconnect")&&$(n,"connectlive",m),134217728&t[0]&&$(n,"visibilityconnect",e[27]),128&t[0]&&$(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[75].gameModel.details?e[75].gameModel.launchUrl:"")&&$(n,"livelobbyendpoint",g),32&t[0]&&$(n,"clientstyling",e[5]),64&t[0]&&$(n,"clientstylingurl",e[6]),1&t[0]&&$(n,"endpoint",e[0]),256&t[0]&&$(n,"livecasino",e[8]),512&t[0]&&$(n,"gamepagemodalurl",e[9]),1024&t[0]&&$(n,"integratedgameframedesktop",e[10]),2048&t[0]&&$(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function fa(e){let n,r=e[75].gameModel&&da(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[75].gameModel?r?r.p(e,t):(r=da(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ya(n){let r,i,a,o,s,l,c,u,d=n[29]("gamesCategorySection.viewAll")+"",h=n[15].games.total+"";return{c(){r=pe("a"),i=pe("span"),a=me(d),o=me(" ("),s=me(h),l=me(")"),fe(i,"class","CategoryLoadMore"),fe(i,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),ue(i,l),c||(u=K(r,"click",n[44]),c=!0)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.viewAll")+"")&&ye(a,d),32768&t[0]&&h!==(h=e[15].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,u()}}}function ba(e){let n;return{c(){n=pe("p"),n.textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function va(n){let r,e,i,a=n[16],o=[];for(let e=0;e<a.length;e+=1)o[e]=wa(Qi(n,a,e));return{c(){r=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[28].items.length&&n[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",i=(0===n[28].items.length&&n[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){de(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[46](r)},p(t,n){if(201404415&n[0]){let e;for(a=t[16],e=0;e<a.length;e+=1){const i=Qi(t,a,e);o[e]?o[e].p(i,n):(o[e]=wa(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}301989888&n[0]&&e!==(e=(0===t[28].items.length&&t[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),301989888&n[0]&&i!==(i=(0===t[28].items.length&&t[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",i)},d(e){e&&he(r),k(o,e),n[46](null)}}}function wa(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 b=()=>n[45](r,y),v=()=>n[45](null,y);return{c(){r=pe("casino-game-thumbnail"),$(r,"session",n[2]),$(r,"userid",n[3]),$(r,"lang",n[1]),$(r,"class",i=""+(Ia+(n[75].cellSize||"1x1"))),$(r,"part",a=""+(Ia+(n[75].cellSize||"1x1"))),$(r,"favorites",n[4]),$(r,"gamethumbnail",o=n[75].thumbnail),$(r,"gamename",s=n[75].name),$(r,"gamevendor",l=n[75].vendor.name),$(r,"gameisnew",c=n[75].isNew),$(r,"gamepopularity",u=n[75].popularity),$(r,"gamecellsize",d=n[75].cellSize),$(r,"gameid",h=n[75].id),$(r,"gamefunmode",p=n[75].hasFunMode),$(r,"gamefavorite",m=n[75].isFavorite),$(r,"connectlive",g=1==n[26][n[75].id]?"connect":"disconnect"),$(r,"visibilityconnect",n[27]),$(r,"currency",n[7]),$(r,"livelobbyendpoint",f=n[75].details?n[75].href:""),$(r,"clientstyling",n[5]),$(r,"clientstylingurl",n[6]),$(r,"endpoint",n[0]),$(r,"livecasino",n[8]),$(r,"gamepagemodalurl",n[9]),$(r,"integratedgameframedesktop",n[10]),$(r,"integratedgameframemobile",n[11])},m(e,t){de(e,r,t),b()},p(e,t){n=e,4&t[0]&&$(r,"session",n[2]),8&t[0]&&$(r,"userid",n[3]),2&t[0]&&$(r,"lang",n[1]),65536&t[0]&&i!==(i=""+(Ia+(n[75].cellSize||"1x1")))&&$(r,"class",i),65536&t[0]&&a!==(a=""+(Ia+(n[75].cellSize||"1x1")))&&$(r,"part",a),16&t[0]&&$(r,"favorites",n[4]),65536&t[0]&&o!==(o=n[75].thumbnail)&&$(r,"gamethumbnail",o),65536&t[0]&&s!==(s=n[75].name)&&$(r,"gamename",s),65536&t[0]&&l!==(l=n[75].vendor.name)&&$(r,"gamevendor",l),65536&t[0]&&c!==(c=n[75].isNew)&&$(r,"gameisnew",c),65536&t[0]&&u!==(u=n[75].popularity)&&$(r,"gamepopularity",u),65536&t[0]&&d!==(d=n[75].cellSize)&&$(r,"gamecellsize",d),65536&t[0]&&h!==(h=n[75].id)&&$(r,"gameid",h),65536&t[0]&&p!==(p=n[75].hasFunMode)&&$(r,"gamefunmode",p),65536&t[0]&&m!==(m=n[75].isFavorite)&&$(r,"gamefavorite",m),67174400&t[0]&&g!==(g=1==n[26][n[75].id]?"connect":"disconnect")&&$(r,"connectlive",g),134217728&t[0]&&$(r,"visibilityconnect",n[27]),128&t[0]&&$(r,"currency",n[7]),65536&t[0]&&f!==(f=n[75].details?n[75].href:"")&&$(r,"livelobbyendpoint",f),32&t[0]&&$(r,"clientstyling",n[5]),64&t[0]&&$(r,"clientstylingurl",n[6]),1&t[0]&&$(r,"endpoint",n[0]),256&t[0]&&$(r,"livecasino",n[8]),512&t[0]&&$(r,"gamepagemodalurl",n[9]),1024&t[0]&&$(r,"integratedgameframedesktop",n[10]),2048&t[0]&&$(r,"integratedgameframemobile",n[11]),y!==n[77]&&(v(),y=n[77],b())},d(e){e&&he(r),v()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function xa(e){let n,r,i=e[29]("gamesCategorySection.searchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.searchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ca(e){let n,r,i=e[29]("gamesCategorySection.noResults")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noResults")+"")&&ye(r,i)},d(e){e&&he(n)}}}function $a(e){let n,r,i=e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Sa(e){let n;return{c(){n=pe("p"),n.textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Fa(t){let r,i,a=!t[22]&&ka(t),o=t[16],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ma(ea(t,o,e));return{c(){a&&a.c(),r=ge(),i=pe("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),de(e,r,t),de(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[22]?a&&(a.d(1),a=null):a?a.p(t,n):(a=ka(t),a.c(),a.m(r.parentNode,r)),1118207&n[0]){let e;for(o=t[16],e=0;e<o.length;e+=1){const a=ea(t,o,e);s[e]?s[e].p(a,n):(s[e]=Ma(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&he(r),e&&he(i),k(s,e)}}}function ka(e){let n,r,t,i,a=e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){n=pe("p"),r=me(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Zr(e[30])?"NoRecentSearchesMobile":"")),fe(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Zr(e[30])?"NoRecentSearchesMobile":""))},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noRecentSearch")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ma(e){let n,r,i,a,o,s,l,c,u,d,h,p,m;return{c(){n=pe("casino-game-thumbnail"),$(n,"class",r=""+(Ia+(e[75].cellSize||"1x1"))),$(n,"part",i=""+(Ia+(e[75].cellSize||"1x1"))),$(n,"session",e[2]),$(n,"userid",e[3]),$(n,"lang",e[1]),$(n,"searchitem",e[20]),$(n,"favorites",e[4]),$(n,"gamethumbnail",a=e[75].thumbnail),$(n,"gamename",o=e[75].name),$(n,"gamevendor",s=e[75].vendor.name),$(n,"gameisnew",l=e[75].isNew),$(n,"gamepopularity",c=e[75].popularity),$(n,"gamecellsize",u=e[75].cellSize),$(n,"gameid",d=e[75].id),$(n,"gamefunmode",h=e[75].hasFunMode),$(n,"gamefavorite",p=e[75].isFavorite),$(n,"currency",e[7]),$(n,"livelobbyendpoint",m=e[75].details?e[75].href:""),$(n,"clientstyling",e[5]),$(n,"clientstylingurl",e[6]),$(n,"endpoint",e[0]),$(n,"livecasino",e[8]),$(n,"gamepagemodalurl",e[9]),$(n,"integratedgameframedesktop",e[10]),$(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){65536&t[0]&&r!==(r=""+(Ia+(e[75].cellSize||"1x1")))&&$(n,"class",r),65536&t[0]&&i!==(i=""+(Ia+(e[75].cellSize||"1x1")))&&$(n,"part",i),4&t[0]&&$(n,"session",e[2]),8&t[0]&&$(n,"userid",e[3]),2&t[0]&&$(n,"lang",e[1]),1048576&t[0]&&$(n,"searchitem",e[20]),16&t[0]&&$(n,"favorites",e[4]),65536&t[0]&&a!==(a=e[75].thumbnail)&&$(n,"gamethumbnail",a),65536&t[0]&&o!==(o=e[75].name)&&$(n,"gamename",o),65536&t[0]&&s!==(s=e[75].vendor.name)&&$(n,"gamevendor",s),65536&t[0]&&l!==(l=e[75].isNew)&&$(n,"gameisnew",l),65536&t[0]&&c!==(c=e[75].popularity)&&$(n,"gamepopularity",c),65536&t[0]&&u!==(u=e[75].cellSize)&&$(n,"gamecellsize",u),65536&t[0]&&d!==(d=e[75].id)&&$(n,"gameid",d),65536&t[0]&&h!==(h=e[75].hasFunMode)&&$(n,"gamefunmode",h),65536&t[0]&&p!==(p=e[75].isFavorite)&&$(n,"gamefavorite",p),128&t[0]&&$(n,"currency",e[7]),65536&t[0]&&m!==(m=e[75].details?e[75].href:"")&&$(n,"livelobbyendpoint",m),32&t[0]&&$(n,"clientstyling",e[5]),64&t[0]&&$(n,"clientstylingurl",e[6]),1&t[0]&&$(n,"endpoint",e[0]),256&t[0]&&$(n,"livecasino",e[8]),512&t[0]&&$(n,"gamepagemodalurl",e[9]),1024&t[0]&&$(n,"integratedgameframedesktop",e[10]),2048&t[0]&&$(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function _a(e){let n;return{c(){n=pe("p"),n.textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ea(e){let n;return{c(){n=pe("p"),n.textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ta(n){let r;function i(e){return e[14]?ra:e[18]?na:ta}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){de(e,r,t),o.m(r,null),n[49](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[49](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Xi,Yi,t,{session:47,userid:48,lang:49,clientstyling:50,clientstylingurl:51,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:52,searchitem:53,gamefavorite:0,gamecellsize:8,showfavoredcategory:54,showgamename:9,currency:55,gamepagemodalurl:56,endpoint:57,livelobbyendpoint:58,connectlive:59,visibilityconnect:60,integratedgameframedesktop:61,integratedgameframemobile:62,MONEY_WHEEL_COLOR_MAP:63,ROULETTE_COLOR_MAP:64},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),O()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),O()}get lang(){return this.$$.ctx[49]}set lang(e){this.$$set({lang:e}),O()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),O()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),O()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),O()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),O()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),O()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),O()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),O()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),O()}get searchitem(){return this.$$.ctx[53]}set searchitem(e){this.$$set({searchitem:e}),O()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),O()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),O()}get showfavoredcategory(){return this.$$.ctx[54]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),O()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),O()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),O()}get gamepagemodalurl(){return this.$$.ctx[56]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),O()}get endpoint(){return this.$$.ctx[57]}set endpoint(e){this.$$set({endpoint:e}),O()}get livelobbyendpoint(){return this.$$.ctx[58]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),O()}get connectlive(){return this.$$.ctx[59]}set connectlive(e){this.$$set({connectlive:e}),O()}get visibilityconnect(){return this.$$.ctx[60]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),O()}get integratedgameframedesktop(){return this.$$.ctx[61]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),O()}get integratedgameframemobile(){return this.$$.ctx[62]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),O()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[63]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[64]}});const Ia="game-tile-";function La(e,t,s){let n;dt(e,Vr,e=>s(29,n=e));let i,r,a,o,l,c,u,d,h,p,{categoryindex:m=""}=t,{endpoint:g=""}=t,{datasource:f=""}=t,{lang:y=""}=t,{session:b=""}=t,{userid:v=""}=t,{favorites:w=""}=t,{clientstyling:x=""}=t,{clientstylingurl:C=""}=t,{currency:$=""}=t,{categoryid:S=""}=t,{categorygames:F=0}=t,{livecasino:k="false"}=t,{visiblegames:M=""}=t,{gamepagemodalurl:_="false"}=t,{integratedgameframedesktop:E="false"}=t,{integratedgameframemobile:T="false"}=t,{once:I=!0}=t,{top:L=0}=t,{bottom:G=0}=t,{left:P=0}=t,{right:B=0}=t,R=!1,A=!0,D=window.navigator.userAgent,H=[],N=!0,O=40,j=!1,U=!1,W=!1,z=!1,Y=!1,V=!0,Z=!1,J=!1,K=!1,X=new Array(1e4),q={},Q="",ee={items:[],count:0,name:""};Object.keys(wi).forEach(e=>{kr(e,wi[e])}),void 0!==document.hidden?h="hidden":void 0!==document.msHidden?h="msHidden":void 0!==document.webkitHidden&&(h="webkitHidden");let te=new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>O&&ie(S),s(26,q[t]=1,q)):s(26,q[t]=0,q)})});const ne=(e,r,i,t=0)=>{let n,a="";a=1<(S.match(/\$/g)||[]).length?(n=S.split("$").slice(0,2).join("$"),new URL(`${g}/casino/groups/${f}/${n}/subGroups`)):new URL(`${g}/casino/groups/${f}/`+S);let 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",Jr(D)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",y),window.postMessage({type:"CategoryVendors",categoryid:S},window.location.href),o&&o[S])if(o[S].length&&!1===A&&!1===Z){let t="";s(21,Y=!0),o[S].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(21,Y=!1);fetch(a).then(e=>e.json()).then(e=>{1<(S.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==S)return e})[0]),s(42,p=!0),s(14,R=!1),l=e.games.total,t(e)},e=>{s(14,R=!0),console.error(e),n(e)})})},re=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(18,j=!1),A=!1,s(17,N=!1),J=!0,s(16,H=t.data.mostPlayedGames),s(15,a={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"LastPlayedData":s(18,j=!1),A=!1,s(17,N=!1),J=!1,s(16,H=t.data.lastPlayedGames),s(15,a={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(18,j=!0),J=!1,s(19,U=!0),0<t.data.searchData.length?(s(16,H=t.data.searchData),s(22,V=!0),H&&H.forEach(e=>{e.isFavorite=ae(e.id)})):(s(16,H=[]),s(22,V=!1));break;case"OutOfRecentSearches":s(18,j=!1),s(19,U=!1);break;case"SearchData":s(18,j=!0),J=!1,s(19,U=!1),s(16,H=t.data.searchData.items||[]),s(20,z=!0),t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items),H&&H.forEach(e=>{e.isFavorite=ae(e.id)});break;case"CategoryData_"+S:s(18,j=!1),A=!0,s(17,N=!0),s(20,z=!1),J=!1,K=!1,t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items),ne(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(15,a=e),s(16,H=a.games.items),H&&H.forEach(e=>{e.isFavorite=ae(e.id)})});break;case"CategoryChange":O=20;break;case"CategoryUpdate":s(18,j=!1),A=!1,s(20,z=!1),J=!1,K=!0,s(32,S=t.data.itemId),"MOSTPLAYED"!==S&&s(17,N=!1),ne(0,0,O).then(e=>{s(15,a=e),a.games.items.forEach(e=>{e.isFavorite=ae(e.id)}),s(16,H=a.games.items),s(17,N=!1),H.length<10&&(W=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:W},window.location.href)},500))});break;case"FavoriteUpdate":J=!1,A=!0,s(16,H=a.games.items),H.forEach(e=>{e.isFavorite=ae(e.id)});break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items,Z?A||J||window.postMessage({type:"CategoryUpdate",itemId:S},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(28,ee.items=Kr(e,ee.items),ee),s(28,ee.name="Favorites",ee),s(25,Z=!0));break;case"UserSessionID":i=t.data.session,r=t.data.userID,"true"==w&&r&&r.length&&i&&0<i.length&&(e=>{let r={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(e,r).then(e=>e.json()).then(e=>{u=e?e.items:[],H.forEach(e=>{e.isFavorite=ae(e.id)});e=H;s(16,H=void 0),s(16,H=e),t(u)}).catch(e=>{console.error(e),n(e)})})})(`${g}/player/${r}/favorites/`)}},ie=e=>{O+=1,O<=l&&ne(0,0,O).then(e=>{s(15,a=e),a.games.items.length>H.length&&(s(16,H=a.games.items),H.forEach(e=>{e.isFavorite=ae(e.id)}))})},ae=t=>!!u&&-1!==u.findIndex(e=>e.id==t),oe=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return ht(()=>(window.addEventListener("visibilitychange",e=>{document[h]?s(27,Q="disconnect"):s(27,Q="connect")}),window.addEventListener("message",re,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",re),window.removeEventListener("visibilitychange",re)})),e.$$set=e=>{"categoryindex"in e&&s(33,m=e.categoryindex),"endpoint"in e&&s(0,g=e.endpoint),"datasource"in e&&s(34,f=e.datasource),"lang"in e&&s(1,y=e.lang),"session"in e&&s(2,b=e.session),"userid"in e&&s(3,v=e.userid),"favorites"in e&&s(4,w=e.favorites),"clientstyling"in e&&s(5,x=e.clientstyling),"clientstylingurl"in e&&s(6,C=e.clientstylingurl),"currency"in e&&s(7,$=e.currency),"categoryid"in e&&s(32,S=e.categoryid),"categorygames"in e&&s(35,F=e.categorygames),"livecasino"in e&&s(8,k=e.livecasino),"visiblegames"in e&&s(36,M=e.visiblegames),"gamepagemodalurl"in e&&s(9,_=e.gamepagemodalurl),"integratedgameframedesktop"in e&&s(10,E=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,T=e.integratedgameframemobile),"once"in e&&s(37,I=e.once),"top"in e&&s(38,L=e.top),"bottom"in e&&s(39,G=e.bottom),"left"in e&&s(40,P=e.left),"right"in e&&s(41,B=e.right)},e.$$.update=()=>{8192&e.$$.dirty[0]|2048&e.$$.dirty[1]&&p&&X&&K&&X.forEach((e,t)=>{e&&(e.elems_index=t,te.observe(e))}),e.$$.dirty[0],4128&e.$$.dirty[0]&&x&&d&&(()=>{let e=document.createElement("style");e.innerHTML=x,d.appendChild(e)})(),4160&e.$$.dirty[0]&&C&&d&&(()=>{let e=new URL(C),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{d.appendChild(t)},1)})})()},[g,y,b,v,w,x,C,$,k,_,E,T,d,X,R,a,H,N,j,U,z,Y,V,o,c,Z,q,Q,ee,n,D,oe,S,m,f,F,M,I,L,G,P,B,p,function(e){pt[e?"unshift":"push"](()=>{c=e,s(24,c)})},e=>oe(a.id),function(e,t){pt[e?"unshift":"push"](()=>{X[t]=e,s(13,X)})},function(e){pt[e?"unshift":"push"](()=>{o=e,s(23,o)})},function(e){pt[e?"unshift":"push"](()=>{c=e,s(24,c)})},function(e){pt[e?"unshift":"push"](()=>{o=e,s(23,o)})},function(e){pt[e?"unshift":"push"](()=>{d=e,s(12,d)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},La,Ta,t,{categoryindex:33,endpoint:0,datasource:34,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:32,categorygames:35,livecasino:8,visiblegames:36,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,once:37,top:38,bottom:39,left:40,right:41},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[33]}set categoryindex(e){this.$$set({categoryindex:e}),O()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),O()}get datasource(){return this.$$.ctx[34]}set datasource(e){this.$$set({datasource:e}),O()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),O()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),O()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),O()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),O()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),O()}get categoryid(){return this.$$.ctx[32]}set categoryid(e){this.$$set({categoryid:e}),O()}get categorygames(){return this.$$.ctx[35]}set categorygames(e){this.$$set({categorygames:e}),O()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),O()}get visiblegames(){return this.$$.ctx[36]}set visiblegames(e){this.$$set({visiblegames:e}),O()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),O()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),O()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),O()}get once(){return this.$$.ctx[37]}set once(e){this.$$set({once:e}),O()}get top(){return this.$$.ctx[38]}set top(e){this.$$set({top:e}),O()}get bottom(){return this.$$.ctx[39]}set bottom(e){this.$$set({bottom:e}),O()}get left(){return this.$$.ctx[40]}set left(e){this.$$set({left:e}),O()}get right(){return this.$$.ctx[41]}set right(e){this.$$set({right:e}),O()}});const Ga={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Pa(e,t,n){const r=e.slice();return r[30]=t[n],r[32]=n,r}function Ba(n){let r,i,a,o,s,l,c,u=!n[7]&&Ra(n),d=n[7]&&Da(n);return{c(){r=pe("div"),i=pe("div"),a=pe("span"),a.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),u&&u.c(),s=ge(),d&&d.c(),fe(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),u&&u.m(i,null),ue(i,s),d&&d.m(i,null),l||(c=K(a,"click",n[11]),l=!0)},p(e,t){e[7]?u&&(u.d(1),u=null):u?u.p(e,t):(u=Ra(e),u.c(),u.m(i,s)),e[7]?d?d.p(e,t):(d=Da(e),d.c(),d.m(i,null)):d&&(d.d(1),d=null)},d(e){e&&he(r),u&&u.d(),d&&d.d(),l=!1,c()}}}function Ra(t){let n,r,i,a,o,s,e=t[8]("randomGame.randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Aa(Pa(t,l,e));return{c(){n=pe("div"),r=pe("main"),i=pe("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ge(),o=pe("p"),s=me(e),fe(i,"class","items"),fe(i,"part","items"),P(i,"transform","translateY("+t[6]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);ue(n,a),ue(n,o),ue(o,s)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var r=Pa(t,l,e);c[e]?c[e].p(r,n):(c[e]=Aa(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&P(i,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),k(c,e)}}}function Aa(e){let n,r,i,a,o,s;return{c(){n=pe("div"),r=pe("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,i=e[30].thumbnail)||fe(r,"src",i),fe(r,"alt",a=e[30].name),fe(r,"title",o=e[30].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){de(e,n,t),ue(n,r),ue(n,s)},p(e,t){16&t[0]&&!ce(r.src,i=e[30].thumbnail)&&fe(r,"src",i),16&t[0]&&a!==(a=e[30].name)&&fe(r,"alt",a),16&t[0]&&o!==(o=e[30].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function Da(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$=n[3].name+"",S=n[3].vendor.name+"",F=n[8]("randomGame.playNowRandomGame")+"";return{c(){r=pe("div"),i=pe("div"),a=pe("img"),c=ge(),u=pe("button"),u.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',d=ge(),h=pe("div"),p=pe("p"),m=me($),g=ge(),f=pe("p"),y=me(S),b=ge(),v=pe("button"),w=me(F),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[3].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[3].name),fe(a,"title",l=n[3].name),fe(u,"class","RandomTryAgain"),fe(u,"part","RandomTryAgain"),fe(i,"class","item"),fe(i,"part","item"),fe(p,"class","RandomGameTitle"),fe(p,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,c),ue(i,u),ue(r,d),ue(r,h),ue(h,p),ue(p,m),ue(h,g),ue(h,f),ue(f,y),ue(h,b),ue(h,v),ue(v,w),x||(C=[K(u,"click",n[18]),K(v,"click",n[19])],x=!0)},p(e,t){8&t[0]&&!ce(a.src,o=e[3].thumbnail)&&fe(a,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(a,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(a,"title",l),8&t[0]&&$!==($=e[3].name+"")&&ye(m,$),8&t[0]&&S!==(S=e[3].vendor.name+"")&&ye(y,S),256&t[0]&&F!==(F=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,F)},d(e){e&&he(r),x=!1,J(C)}}}function Ha(e){let n,r,i=e[8]("randomGame.playRandomGame")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){256&t[0]&&i!==(i=e[8]("randomGame.playRandomGame")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Na(e){let n,r;return{c(){n=pe("span"),r=me(e[1]),fe(n,"class","RandomButtonText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2&t[0]&&ye(r,e[1])},d(e){e&&he(n)}}}function Oa(n){let r,i,a,o,s,l,c,u,d,h=n[5]&&Ba(n);function p(e){return e[1]?Na:e[1]?void 0:Ha}let m=p(n),g=m&&m(n);return{c(){r=pe("div"),i=pe("div"),h&&h.c(),a=ge(),o=pe("div"),s=pe("button"),g&&g.c(),l=ge(),c=pe("span"),this.c=Z,fe(c,"class","RandomButtonIcon"),fe(c,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(o,"class","RandomButtonWrapper"),fe(o,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),ue(r,i),h&&h.m(i,null),ue(i,a),ue(i,o),ue(o,s),g&&g.m(s,null),ue(s,l),ue(s,c),c.innerHTML=n[0],n[21](r),u||(d=K(s,"click",n[20]),u=!0)},p(e,t){e[5]?h?h.p(e,t):(h=Ba(e),h.c(),h.m(i,a)):h&&(h.d(1),h=null),m===(m=p(e))&&g?g.p(e,t):(g&&g.d(1),g=m&&m(e),g&&(g.c(),g.m(s,l))),1&t[0]&&(c.innerHTML=e[0])},i:Z,o:Z,d(e){e&&he(r),h&&h.d(),g&&g.d(),n[21](null),u=!1,d()}}}function ja(t,e,n){let r;dt(t,Vr,e=>n(8,r=e));let i,a,{endpoint:o=""}=e,{datasource:s=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:u=""}=e,{buttontext:d=""}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,m=[],g="",f=!1,y=0,b=0,v=!1,w=window.navigator.userAgent;var x,C;({withLocale:x,translations:C}={withLocale:"en",translations:{}}),Nr.subscribe(e=>{null==e&&(Sr.set(C),Nr.set(x))}),Object.keys(Ga).forEach(e=>{kr(e,Ga[e])});const $=e=>{n(4,i=(e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e})(i)),n(6,y=0),b=0,n(7,v=!1),n(3,g=m[Math.floor(Math.random()*m.length)]),n(5,f=!0);let t=setInterval(()=>{n(6,y-=100),b++,20==b&&(n(7,v=!0),clearInterval(t))},100);e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(g.gId||g.id)})},S=()=>{window.postMessage({type:l,gameId:g.gId||g.id},window.location.href),n(5,f=!1),"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(g.gId||g.id)})};return t.$$set=e=>{"endpoint"in e&&n(12,o=e.endpoint),"datasource"in e&&n(13,s=e.datasource),"gameevent"in e&&n(14,l=e.gameevent),"lang"in e&&n(15,c=e.lang),"randombuttonicon"in e&&n(0,u=e.randombuttonicon),"buttontext"in e&&n(1,d=e.buttontext),"clientstyling"in e&&n(16,h=e.clientstyling),"clientstylingurl"in e&&n(17,p=e.clientstylingurl)},t.$$.update=()=>{var e;32768&t.$$.dirty[0]&&c&&(e=c,Nr.set(e)),12288&t.$$.dirty[0]&&o&&s&&(()=>{let e=new URL(o+"/casino/games");e.searchParams.append("platform",Jr(w)),e.searchParams.append("datasource",s),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{m=e.items,n(4,i=m.slice(0,19))})})(),65540&t.$$.dirty[0]&&h&&a&&(()=>{let e=document.createElement("style");e.innerHTML=h,a.appendChild(e)})(),131076&t.$$.dirty[0]&&p&&a&&(()=>{let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})})()},[u,d,a,g,i,f,y,v,r,$,S,()=>{n(5,f=!1)},o,s,l,c,h,p,()=>$(!0),()=>S(),()=>$(),function(e){pt[e?"unshift":"push"](()=>{a=e,n(2,a)})}]}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ja,Oa,t,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,clientstyling:16,clientstylingurl:17},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),O()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),O()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),O()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),O()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),O()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),O()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}});const Ua={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function Wa(e,t,n){const r=e.slice();return r[58]=t[n],r}function za(e,t,n){const r=e.slice();return r[61]=t[n],r}function Ya(n){let i,r,a,o,s,l,c,u,e,d,h,p,m,g,f,y,b,v,w,x,C=n[14],$=[];for(let e=0;e<C.length;e+=1)$[e]=Ka(za(n,C,e));let S=n[8],F=[];for(let e=0;e<S.length;e+=1)F[e]=Xa(Wa(n,S,e));return{c(){i=pe("div"),r=pe("div"),a=pe("div");for(let e=0;e<$.length;e+=1)$[e].c();o=ge(),s=pe("div"),l=pe("button"),c=M("svg"),u=M("path"),d=ge(),h=pe("button"),p=M("svg"),m=M("path"),y=ge(),b=pe("div");for(let e=0;e<F.length;e+=1)F[e].c();fe(a,"class","WinnerButtonsContainer"),fe(u,"style",e=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(u,"id","Path_36"),fe(u,"data-name","Path 36"),fe(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(u,"transform","translate(14.656 0) rotate(90)"),fe(u,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(m,"style",g=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(m,"id","Path_36"),fe(m,"data-name","Path 36"),fe(m,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(m,"transform","translate(0 24.656) rotate(-90)"),fe(m,"fill","#fff"),fe(p,"id","Component_46_2"),fe(p,"data-name","Component 46 – 2"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(p,"width","15"),fe(p,"height","15"),fe(p,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[10]?"Mobile":""))},m(e,t){de(e,i,t),ue(i,r),ue(r,a);for(let e=0;e<$.length;e+=1)$[e].m(a,null);ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(s,d),ue(s,h),ue(h,p),ue(p,m),ue(i,y),ue(i,b);for(let e=0;e<F.length;e+=1)F[e].m(b,null);n[38](b),w||(x=[K(l,"click",n[35]),K(h,"click",n[36])],w=!0)},p(t,n){if(114819&n[0]){let e;for(C=t[14],e=0;e<C.length;e+=1){var r=za(t,C,e);$[e]?$[e].p(r,n):($[e]=Ka(r),$[e].c(),$[e].m(a,null))}for(;e<$.length;e+=1)$[e].d(1);$.length=C.length}if(768&n[0]&&e!==(e=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(u,"style",e),768&n[0]&&g!==(g=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(m,"style",g),8&n[0]&&f!==(f="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&fe(s,"class",f),436500&n[0]){let e;for(S=t[8],e=0;e<S.length;e+=1){const a=Wa(t,S,e);F[e]?F[e].p(a,n):(F[e]=Xa(a),F[e].c(),F[e].m(b,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=S.length}1024&n[0]&&v!==(v="CasinoWinners "+(t[10]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),k($,e),k(F,e),n[38](null),w=!1,J(x)}}}function Va(e){let n;return{c(){n=pe("p"),n.textContent="Loading, please wait ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Za(n){let r,i,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=pe("button"),i=me(l),fe(r,"class",a="WinnersButton "+("recent"==n[7]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){de(e,r,t),ue(r,i),o||(s=K(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(i,l),129&t[0]&&a!==(a="WinnersButton "+("recent"==e[7]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",a)},d(e){e&&he(r),o=!1,s()}}}function Ja(n){let r,i,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=pe("button"),i=me(c),a=ge(),fe(r,"class",o="WinnersButton "+("top"==n[7]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){de(e,r,t),ue(r,i),ue(r,a),s||(l=K(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(i,c),130&t[0]&&o!==(o="WinnersButton "+("top"==e[7]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function Ka(e){let n,r,i="recent"==e[61]&&Za(e),a="top"==e[61]&&Ja(e);return{c(){i&&i.c(),n=ge(),a&&a.c(),r=c()},m(e,t){i&&i.m(e,t),de(e,n,t),a&&a.m(e,t),de(e,r,t)},p(e,t){"recent"==e[61]?i?i.p(e,t):(i=Za(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[61]?a?a.p(e,t):(a=Ja(e),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){i&&i.d(e),e&&he(n),a&&a.d(e),e&&he(r)}}}function Xa(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M=n[58].gameName+"",_=n[17](n[58].username)+"",E=n[15]("Translations.won")+"",T=n[58].specifiedCurrencyAmount.toFixed(2)+"",I=(n[4]?n[11]:n[2])+"";function L(){return n[37](n[58])}return{c(){r=pe("div"),i=pe("div"),a=pe("img"),l=ge(),c=pe("p"),u=me(M),d=ge(),h=pe("p"),p=me(_),m=ge(),g=pe("p"),f=me(E),y=ge(),b=pe("p"),v=me(T),w=ge(),x=pe("span"),C=me(I),$=ge(),ce(a.src,o=n[58]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[58]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(i,"class","WinnerCard"),fe(r,"class",S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,l),ue(i,c),ue(c,u),ue(i,d),ue(i,h),ue(h,p),ue(i,m),ue(i,g),ue(g,f),ue(i,y),ue(i,b),ue(b,v),ue(b,w),ue(b,x),ue(x,C),ue(r,$),F||(k=K(a,"click",L),F=!0)},p(e,t){n=e,256&t[0]&&!ce(a.src,o=n[58]?.gameModel?.thumbnail)&&fe(a,"src",o),256&t[0]&&s!==(s=n[58]?.gameModel?.thumbnail)&&fe(a,"alt",s),256&t[0]&&M!==(M=n[58].gameName+"")&&ye(u,M),256&t[0]&&_!==(_=n[17](n[58].username)+"")&&ye(p,_),32768&t[0]&&E!==(E=n[15]("Translations.won")+"")&&ye(f,E),256&t[0]&&T!==(T=n[58].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,T),2068&t[0]&&I!==(I=(n[4]?n[11]:n[2])+"")&&ye(C,I),8192&t[0]&&S!==(S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",S)},d(e){e&&he(r),F=!1,k()}}}function qa(n){let r;function i(e){return e[12]?Va:Ya}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[39](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[39](null)}}}function Qa(t,e,r){let n;dt(t,Vr,e=>r(15,n=e));let i,a,o,s,l,c,u,d,h,p,m,{endpoint:g=""}=e,{session:f=""}=e,{periodrecent:y="Today"}=e,{periodtop:b="Last7Days"}=e,{numberusersrecent:v="20"}=e,{numberuserstop:w="20"}=e,{amountlimit:x="1"}=e,{lang:C="en"}=e,{isrecentavailable:$="true"}=e,{istopavailable:S="true"}=e,{defaultcurrency:F=""}=e,{clientstyling:k=""}=e,{clientstylingurl:M=""}=e,{enableautoscroll:_=""}=e,{tabsorder:E=""}=e,T=[],I=0,L=0,G=window.navigator.userAgent,P=!0,B=!1;Object.keys(Ua).forEach(e=>{kr(e,Ua[e])});const R=()=>{const e=new URL(`${g}/casino/${a}-winners`);e.searchParams.append("limit","recent"==a?v:w),e.searchParams.append("specifiedCurrency",m),e.searchParams.append("period","recent"==a?y:b),e.searchParams.append("language",C),e.searchParams.append("amountLimit",x),fetch(e.href).then(e=>e.json()).then(e=>{r(8,T=[]),r(8,T=e.items.map(e=>e)),r(12,P=!1),setTimeout(()=>{r(9,L=Math.round(i.offsetWidth/225)),H(),"true"==_&&(I=0,L<d?h=setInterval(()=>{j()},3e3):clearInterval(h))})})},A=e=>{a!==e&&(r(7,a=e),r(8,T=[]),R())},D=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(l||"Not logged in")})},H=n=>{const e=[...i.children];d=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==a?setTimeout(()=>{r(13,B=!0)},10):r(13,B=!1)},N=()=>{H(I)},O=()=>{var e=T.length;L>=T.length||(0===I?I=e-L:I-L<0?I=0:I-=L,N())},j=()=>{var e=T.length;L>=T.length||("true"==_&&(I===e-L?I=0:I++),"false"==_&&(I===e-L?I=0:e-L<I+L?I=e-L:I+=L),N())};return ht(()=>(r(10,o=Zr(G)),()=>{clearInterval(h)})),t.$$set=e=>{"endpoint"in e&&r(22,g=e.endpoint),"session"in e&&r(23,f=e.session),"periodrecent"in e&&r(24,y=e.periodrecent),"periodtop"in e&&r(25,b=e.periodtop),"numberusersrecent"in e&&r(26,v=e.numberusersrecent),"numberuserstop"in e&&r(27,w=e.numberuserstop),"amountlimit"in e&&r(21,x=e.amountlimit),"lang"in e&&r(28,C=e.lang),"isrecentavailable"in e&&r(0,$=e.isrecentavailable),"istopavailable"in e&&r(1,S=e.istopavailable),"defaultcurrency"in e&&r(2,F=e.defaultcurrency),"clientstyling"in e&&r(29,k=e.clientstyling),"clientstylingurl"in e&&r(30,M=e.clientstylingurl),"enableautoscroll"in e&&r(3,_=e.enableautoscroll),"tabsorder"in e&&r(31,E=e.tabsorder)},t.$$.update=()=>{var e;522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&$&&S&&y&&b&&v&&w&&x&&C&&E&&null!=s&&(r(14,p=E.split(",")),r(7,a=p[0]),"false"==$&&r(21,x=""),r(32,m=s?c:F)),4194304&t.$$.dirty[0]&&g&&Xr(g,f).then(e=>{r(11,c=e.Currency),l=e.UserID,r(4,s=!0)},e=>{r(4,s=!1)}),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&g&&m&&_&&R(),268435456&t.$$.dirty[0]&&C&&(e=C,Nr.set(e)),536870944&t.$$.dirty[0]&&k&&u&&(()=>{let e=document.createElement("style");e.innerHTML=k,u.appendChild(e)})(),1073741856&t.$$.dirty[0]&&M&&u&&(()=>{let e=new URL(M),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,u&&(setTimeout(()=>{u.appendChild(t)},1),setTimeout(()=>{},500))})})()},[$,S,F,_,s,u,i,a,T,L,o,c,P,B,p,n,A,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),D,O,j,x,g,f,y,b,v,w,C,k,M,E,m,()=>A("recent"),()=>A("top"),()=>O(),()=>j(),e=>D(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){pt[e?"unshift":"push"](()=>{i=e,r(6,i)})},function(e){pt[e?"unshift":"push"](()=>{u=e,r(5,u)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Qa,qa,t,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),O()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),O()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),O()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),O()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),O()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),O()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),O()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),O()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),O()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),O()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),O()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),O()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),O()}});const eo={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando por favor espere..."}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function to(e,t,n){const r=e.slice();return r[47]=t[n],r[49]=n,r}function no(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v;function w(e){return e[5]?ao:oo}let x=w(n),C=x(n);return{c(){r=pe("div"),i=pe("div"),a=pe("div"),o=pe("div"),s=pe("img"),c=ge(),u=pe("div"),C.c(),d=ge(),h=pe("div"),p=pe("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(u,"class","displayContainer"),ce(p.src,m=n[11])||fe(p,"src",m),fe(p,"alt",""),fe(h,"class","title"),fe(a,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),P(a,"background","url("+n[10]+")"),fe(i,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(o,s),ue(a,c),ue(a,u),C.m(u,null),ue(a,d),ue(a,h),ue(h,p),n[32](r),b||(v=K(i,"click",n[31]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&C?C.p(e,t):(C.d(1),C=x(e),C&&(C.c(),C.m(u,null))),2048&t[0]&&!ce(p.src,m=e[11])&&fe(p,"src",m),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(a,"class",g),1024&t[0]&&P(a,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&he(r),C.d(),n[32](null),b=!1,v()}}}function ro(e){let n,r,i=e[14]("jackpotBanners.loadingText")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","loadingPrompt")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16384&t[0]&&i!==(i=e[14]("jackpotBanners.loadingText")+"")&&ye(r,i)},d(e){e&&he(n)}}}function io(e){let n;return{c(){n=pe("p"),n.textContent="500 Server error"},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function ao(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M,_,E,T,I,L,G,P,B,R,A,D,H,N,O,j,U,W,z,Y,V,Z,J,K,X,q,Q,ee,te=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ie=e[7][1]+"",ae=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=pe("img"),s=pe("span"),l=me(te),c=pe("span"),u=pe("span"),d=me(ne),h=ge(),p=pe("span"),m=me(e[1]),g=ge(),f=pe("div"),y=pe("div"),b=pe("img"),w=pe("span"),x=me(re),C=pe("span"),$=pe("span"),S=me(ie),F=ge(),k=pe("span"),M=me(e[1]),_=ge(),E=pe("div"),T=pe("div"),I=pe("div"),L=pe("img"),P=pe("span"),B=me(ae),R=pe("span"),A=pe("span"),D=me(oe),H=ge(),N=pe("span"),O=me(e[1]),j=ge(),U=pe("div"),W=pe("div"),z=pe("img"),V=pe("span"),Z=me(se),J=pe("span"),K=pe("span"),X=me(le),q=ge(),Q=pe("span"),ee=me(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[9][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(u,"class","jackpotValue"),fe(p,"class","jackpot-currency"),fe(c,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(b,"class","displayCardIcon"),ce(b.src,v=e[9][1])||fe(b,"src",v),fe(b,"alt",""),fe(w,"class","cardLabel"),fe(y,"class","iconWrapper"),fe($,"class","jackpotValue"),fe(k,"class","jackpot-currency"),fe(C,"class","cardTextWrapper"),fe(f,"class","displayCard"),fe(n,"class","pairWrapper"),fe(L,"class","displayCardIcon"),ce(L.src,G=e[9][2])||fe(L,"src",G),fe(L,"alt",""),fe(P,"class","cardLabel"),fe(I,"class","iconWrapper"),fe(A,"class","jackpotValue"),fe(N,"class","jackpot-currency"),fe(R,"class","cardTextWrapper"),fe(T,"class","displayCard"),fe(z,"class","displayCardIcon"),ce(z.src,Y=e[9][3])||fe(z,"src",Y),fe(z,"alt",""),fe(V,"class","cardLabel"),fe(W,"class","iconWrapper"),fe(K,"class","jackpotValue"),fe(Q,"class","jackpot-currency"),fe(J,"class","cardTextWrapper"),fe(U,"class","displayCard"),fe(E,"class","pairWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(i,a),ue(i,s),ue(s,l),ue(r,c),ue(c,u),ue(u,d),ue(c,h),ue(c,p),ue(p,m),ue(n,g),ue(n,f),ue(f,y),ue(y,b),ue(y,w),ue(w,x),ue(f,C),ue(C,$),ue($,S),ue(C,F),ue(C,k),ue(k,M),de(e,_,t),de(e,E,t),ue(E,T),ue(T,I),ue(I,L),ue(I,P),ue(P,B),ue(T,R),ue(R,A),ue(A,D),ue(R,H),ue(R,N),ue(N,O),ue(E,j),ue(E,U),ue(U,W),ue(W,z),ue(W,V),ue(V,Z),ue(U,J),ue(J,K),ue(K,X),ue(J,q),ue(J,Q),ue(Q,ee)},p(e,t){512&t[0]&&!ce(a.src,o=e[9][0])&&fe(a,"src",o),256&t[0]&&te!==(te=e[8][0]+"")&&ye(l,te),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(d,ne),2&t[0]&&ye(m,e[1]),512&t[0]&&!ce(b.src,v=e[9][1])&&fe(b,"src",v),256&t[0]&&re!==(re=e[8][1]+"")&&ye(x,re),128&t[0]&&ie!==(ie=e[7][1]+"")&&ye(S,ie),2&t[0]&&ye(M,e[1]),512&t[0]&&!ce(L.src,G=e[9][2])&&fe(L,"src",G),256&t[0]&&ae!==(ae=e[8][2]+"")&&ye(B,ae),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(D,oe),2&t[0]&&ye(O,e[1]),512&t[0]&&!ce(z.src,Y=e[9][3])&&fe(z,"src",Y),256&t[0]&&se!==(se=e[8][3]+"")&&ye(Z,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(X,le),2&t[0]&&ye(ee,e[1])},d(e){e&&he(n),e&&he(_),e&&he(E)}}}function oo(t){let i,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=so(to(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);de(t,i,n)},p(t,n){if(898&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var r=to(t,a,e);o[e]?o[e].p(r,n):(o[e]=so(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){k(o,e),e&&he(i)}}}function so(e){let n,r,i,a,o,s,l,c,u,d,h,p,m=e[8][e[49]]+"",g=(e[7][e[49]]??"")+"";return{c(){n=pe("div"),r=pe("div"),i=pe("img"),o=pe("span"),s=me(m),l=pe("span"),c=pe("span"),u=me(g),d=ge(),h=pe("span"),p=me(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,a=e[9][e[49]])||fe(i,"src",a),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(h,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,o),ue(o,s),ue(n,l),ue(l,c),ue(c,u),ue(l,d),ue(l,h),ue(h,p)},p(e,t){512&t[0]&&!ce(i.src,a=e[9][e[49]])&&fe(i,"src",a),256&t[0]&&m!==(m=e[8][e[49]]+"")&&ye(s,m),128&t[0]&&g!==(g=(e[7][e[49]]??"")+"")&&ye(u,g),2&t[0]&&ye(p,e[1])},d(e){e&&he(n)}}}function lo(e){let n;function r(e){return e[13]?io:e[3]?ro:no}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function co(n,e,r){let t;dt(n,Vr,e=>r(14,t=e));let i,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:u=""}=e,{caticon3:d=""}=e,{iconlabels:h=""}=e,{backgroundsrc:p=""}=e,{currency:m=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{endpoint:w=""}=e,{gameid:x=""}=e,C=window.navigator.userAgent,$=!1,S=!1,F="",k=[],M=[],_=[],E=[],T=[],I="",L="",G=!1,P=!0,B=!1;Object.keys(eo).forEach(e=>{kr(e,eo[e])});const R=["typeSpread","typeLeft"],A=()=>{if(w&&y&&m){let e=new URL(w+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",m),fetch(e.href).then(e=>e.json().then(e=>{r(3,P=!1),a=e,M.includes(x)&&((e=>{e=null===(e=null==e?void 0:e.items[0])||void 0===e?void 0:e.additionalData;e&&Object.values(e).forEach(e=>k.push(+e))})(a),r(6,F=a.items[0].vendorLogo))}).catch(e=>{r(13,B=!0),r(3,P=!1),console.error(e)}))}},D=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+x})};return n.$$set=e=>{"visualstructure"in e&&r(0,o=e.visualstructure),"title"in e&&r(16,s=e.title),"caticon0"in e&&r(17,l=e.caticon0),"caticon1"in e&&r(18,c=e.caticon1),"caticon2"in e&&r(19,u=e.caticon2),"caticon3"in e&&r(20,d=e.caticon3),"iconlabels"in e&&r(21,h=e.iconlabels),"backgroundsrc"in e&&r(22,p=e.backgroundsrc),"currency"in e&&r(1,m=e.currency),"backgroundsrcmobile"in e&&r(23,g=e.backgroundsrcmobile),"titlelogopath"in e&&r(24,f=e.titlelogopath),"lang"in e&&r(25,y=e.lang),"clientstyling"in e&&r(26,b=e.clientstyling),"clientstylingurl"in e&&r(27,v=e.clientstylingurl),"endpoint"in e&&r(28,w=e.endpoint),"gameid"in e&&r(29,x=e.gameid)},n.$$.update=()=>{var e,t;268435456&n.$$.dirty[0]&&w&&(t=new URL(w+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{r(30,M=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&i&&b&&(()=>{let e=document.createElement("style");e.innerHTML=b,i.appendChild(e)})(),134217732&n.$$.dirty[0]&&i&&v&&(()=>{r(12,G=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&(setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{r(12,G=!1)},500))})})(),1375731714&n.$$.dirty[0]&&w&&y&&m&&0<M.length&&A(),33554442&n.$$.dirty[0]&&m&&y&&!P&&(r(4,$=Zr(C)&&1<window.innerHeight/window.innerWidth),r(5,S=.75<(e=window.innerHeight/window.innerWidth)&&e<1.6),0!==k.length&&r(7,_=k.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),r(8,E=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),R.includes(o.trim())?r(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${R[0]}"`),r(0,o=R[0])),r(10,I=g&&$&&!S?g:p),r(11,L=f),r(9,T=[l,c,u,d])),33554432&n.$$.dirty[0]&&y&&(e=y,Nr.set(e))},[o,m,i,P,$,S,F,_,E,T,I,L,G,B,t,D,s,l,c,u,d,h,p,g,f,y,b,v,w,x,M,()=>D(),function(e){pt[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},co,lo,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),O()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),O()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),O()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),O()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),O()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),O()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),O()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),O()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),O()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),O()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),O()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),O()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),O()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),O()}});const uo={en:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},zh:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},de:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},it:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},fr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},es:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},el:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},tr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ru:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ro:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hu:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pt:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}}};function ho(e,t,n){const r=e.slice();return r[37]=t[n],r}function po(e,t,n){const r=e.slice();return r[40]=t[n],r}function mo(n){let i,r,a,o,s,l,c,u,d,h,p,m,g,e,f,y,b=n[7]("Translations.game")+"",v=("vendor"==n[0]?n[7]("Translations.providers"):n[7]("Translations.collections"))+"",w=n[2],x=[];for(let e=0;e<w.length;e+=1)x[e]=vo(ho(n,w,e));return{c(){i=pe("div"),r=pe("div"),a=pe("p"),o=me(b),s=ge(),l=me(v),c=ge(),u=pe("div"),d=pe("button"),d.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',h=ge(),p=pe("button"),p.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',m=ge(),g=pe("div");for(let e=0;e<x.length;e+=1)x[e].c();fe(a,"class","Title"),fe(u,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(g,"class","CategoriesSlider"),fe(i,"class",e="CasinoCollectionsProviders "+(n[6]?"Mobile":""))},m(e,t){de(e,i,t),ue(i,r),ue(r,a),ue(a,o),ue(a,s),ue(a,l),ue(r,c),ue(r,u),ue(u,d),ue(u,h),ue(u,p),ue(i,m),ue(i,g);for(let e=0;e<x.length;e+=1)x[e].m(g,null);n[21](g),f||(y=[K(d,"click",n[17]),K(p,"click",n[18])],f=!0)},p(t,n){if(128&n[0]&&b!==(b=t[7]("Translations.game")+"")&&ye(o,b),129&n[0]&&v!==(v=("vendor"==t[0]?t[7]("Translations.providers"):t[7]("Translations.collections"))+"")&&ye(l,v),3078&n[0]){let e;for(w=t[2],e=0;e<w.length;e+=1){var r=ho(t,w,e);x[e]?x[e].p(r,n):(x[e]=vo(r),x[e].c(),x[e].m(g,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}64&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[6]?"Mobile":""))&&fe(i,"class",e)},d(e){e&&he(i),k(x,e),n[21](null),f=!1,J(y)}}}function go(e){let n;return{c(){n=pe("p"),n.textContent="Loading, please wait ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function fo(e){let n,r,i=e[37].name+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","CategorySlideTitle")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){4&t[0]&&i!==(i=e[37].name+"")&&ye(r,i)},d(e){e&&he(n)}}}function yo(e){let n,r,i;return{c(){n=pe("img"),fe(n,"class","CategorySlideLogo"),ce(n.src,r=e[37].icon)||fe(n,"src",r),fe(n,"alt",i=e[37].name+" icon")},m(e,t){de(e,n,t)},p(e,t){4&t[0]&&!ce(n.src,r=e[37].icon)&&fe(n,"src",r),4&t[0]&&i!==(i=e[37].name+" icon")&&fe(n,"alt",i)},d(e){e&&he(n)}}}function bo(n){let r,i,a,o,s;function l(){return n[19](n[40])}return{c(){r=pe("img"),fe(r,"class","CategorySlideGameImage"),ce(r.src,i=n[40].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",a=n[40].name)},m(e,t){var n;de(e,r,t),o||(s=K(r,"click",(n=l,function(e){return e.stopPropagation(),n.call(this,e)})),o=!0)},p(e,t){n=e,4&t[0]&&!ce(r.src,i=n[40].defaultThumbnail)&&fe(r,"src",i),4&t[0]&&a!==(a=n[40].name)&&fe(r,"alt",a)},d(e){e&&he(r),o=!1,s()}}}function vo(n){let r,i,a,o,s,l,c,u,d;function h(e){return"logo"==e[1]?yo:"title"==e[1]?fo:void 0}let p=h(n),m=p&&p(n),g=n[37].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=bo(po(n,g,e));function y(){return n[20](n[37])}return{c(){r=pe("div"),i=pe("div"),a=pe("div"),m&&m.c(),o=ge(),s=pe("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(a,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(i,"class",l="CategorySlide "+("vendor"==n[37]?.flag[0]?"CategorySlideNoHighlight":"")),P(i,"background-image","url("+n[37]?.background+")"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),m&&m.m(a,null),ue(i,o),ue(i,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);ue(r,c),u||(d=K(i,"click",y),u=!0)},p(e,t){if(p===(p=h(n=e))&&m?m.p(n,t):(m&&m.d(1),m=p&&p(n),m&&(m.c(),m.m(a,null))),1028&t[0]){let e;for(g=n[37].games,e=0;e<g.length;e+=1){const i=po(n,g,e);f[e]?f[e].p(i,t):(f[e]=bo(i),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}4&t[0]&&l!==(l="CategorySlide "+("vendor"==n[37]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(i,"class",l),4&t[0]&&P(i,"background-image","url("+n[37]?.background+")")},d(e){e&&he(r),m&&m.d(),k(f,e),u=!1,d()}}}function wo(n){let r;function i(e){return e[5]?go:mo}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[22](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[22](null)}}}function xo(t,e,n){let r;dt(t,Vr,e=>n(7,r=e));let i,a,o,s,l,{endpoint:c=""}=e,{datasource:u=""}=e,{lang:d=""}=e,{type:h=""}=e,{titletype:p=""}=e,{clientstyling:m=""}=e,{clientstylingurl:g=""}=e,f=[],y=!0,b=0,v=0,w=0,x=window.navigator.userAgent;Object.keys(uo).forEach(e=>{kr(e,uo[e])});const C=n=>{o=[...i.children],o.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>a=e.getBoundingClientRect().width),w=Math.round(i.offsetWidth/a)},$=()=>{C(b)},S=()=>{w>=v||(0===b?b=v-w:b-w<-1?b=0:b--,$())},F=()=>{w>=v||(b===v-w?b=0:v-w<b+1?b=v-w:b++,$())},k=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return ht(()=>{n(6,l=Zr(x))}),t.$$set=e=>{"endpoint"in e&&n(12,c=e.endpoint),"datasource"in e&&n(13,u=e.datasource),"lang"in e&&n(14,d=e.lang),"type"in e&&n(0,h=e.type),"titletype"in e&&n(1,p=e.titletype),"clientstyling"in e&&n(15,m=e.clientstyling),"clientstylingurl"in e&&n(16,g=e.clientstylingurl)},t.$$.update=()=>{var e;28672&t.$$.dirty[0]&&c&&u&&d&&(()=>{const e=new URL(c+"/v2/casino/groups/"+u);e.searchParams.append("language",d),e.searchParams.append("expand","games"),fetch(e.href).then(e=>e.json()).then(e=>{n(5,y=!1);let t=e.items.filter(e=>e.flags==h);n(2,f=t.map(e=>({id:e.id,name:e.name,icon:e.icon,games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}))),v=f.length})})(),12&t.$$.dirty[0]&&f&&i&&C(),16384&t.$$.dirty[0]&&d&&(e=d,Nr.set(e)),32784&t.$$.dirty[0]&&m&&s&&(()=>{let e=document.createElement("style");e.innerHTML=m,s.appendChild(e)})(),65552&t.$$.dirty[0]&&g&&s&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,s&&(setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500))})})()},[h,p,f,i,s,y,l,r,S,F,k,M,c,u,d,m,g,()=>S(),()=>F(),e=>k(e.gameId,e.launchUrl,e.name),e=>M(e.id),function(e){pt[e?"unshift":"push"](()=>{i=e,n(3,i)})},function(e){pt[e?"unshift":"push"](()=>{s=e,n(4,s)})}]}function Co(e,t,n){const r=e.slice();return r[157]=t[n],r[159]=n,r}function $o(n){let r,i,a,o,s,l="PC"!==Jr(n[71])&&"false"===n[10]&&n[68],c=l&&Fo();function u(e){return"false"===e[10]?Mo:ko}let d=u(n),h=d(n),p="true"==n[15]&&0==n[58]&&Oo(n);function m(e){return e[48]?Zo:e[56]?Vo:e[59]?Yo:e[54]?zo:e[60]?Wo:e[61]?Uo:jo}let g=m(n),f=g(n),y=n[50]&&"true"==n[13]&&ts(n);return{c(){r=pe("section"),c&&c.c(),i=ge(),h.c(),a=ge(),p&&p.c(),o=ge(),f.c(),s=ge(),y&&y.c(),fe(r,"class","CategoriesLobby"),fe(r,"part","CategoriesLobby"),P(r,"max-width",n[12]+"px")},m(e,t){de(e,r,t),c&&c.m(r,null),ue(r,i),h.m(r,null),ue(r,a),p&&p.m(r,null),ue(r,o),f.m(r,null),ue(r,s),y&&y.m(r,null),n[103](r)},p(e,t){1024&t[0]|64&t[2]&&(l="PC"!==Jr(e[71])&&"false"===e[10]&&e[68]),l?c||(c=Fo(),c.c(),c.m(r,i)):c&&(c.d(1),c=null),d===(d=u(e))&&h?h.p(e,t):(h.d(1),h=d(e),h&&(h.c(),h.m(r,a))),"true"==e[15]&&0==e[58]?p?p.p(e,t):(p=Oo(e),p.c(),p.m(r,o)):p&&(p.d(1),p=null),g===(g=m(e))&&f?f.p(e,t):(f.d(1),f=g(e),f&&(f.c(),f.m(r,s))),e[50]&&"true"==e[13]?y?y.p(e,t):(y=ts(e),y.c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&P(r,"max-width",e[12]+"px")},d(e){e&&he(r),c&&c.d(),h.d(),p&&p.d(),f.d(),y&&y.d(),n[103](null)}}}function So(e){let n,r,i=e[70]("casinoPage.500")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){256&t[2]&&i!==(i=e[70]("casinoPage.500")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Fo(){let n;return{c(){n=pe("div"),fe(n,"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function ko(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w=n[70]("casinoPage.searchGames")+"",x="PC"===Jr(n[71])&&n[45].length||"PC"!==Jr(n[71]),C=!n[68]&&_o(),$=x&&Eo(n),S=!n[54]&&!n[59]&&!n[68]&&!n[60]&&!n[61]&&!n[55]&&!n[58]&&!n[56]&&!n[57]&&To(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),u=pe("input"),h=ge(),$&&$.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===Jr(n[71])?n[70]("casinoPage.search"):n[70]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[59]||n[54]||n[60]||n[61]||n[57]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[59]||n[54]||n[60]||n[61]||n[57]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Jr(n[71])?"CategoriesHeaderMobileSection":"")+" "+(n[68]?"SearchMobileActive":"")+" "+(n[68]||n[56]&&"PC"!==Jr(n[71])&&!rs?"CategoriesHeaderSearchActive":"")+(n[62]&&n[68]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Jr(n[71])?"CategoriesHeaderMobileSection":"")+" "+(n[68]?"SearchMobileActive":"")+" "+(n[68]||n[56]&&"PC"!==Jr(n[71])&&!rs?"CategoriesHeaderSearchActive":"")+(n[62]&&n[68]?"SearchStickTop":"")),P(r,"top",n[62]&&n[68]?is+"px":"")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(i,s),ue(i,l),C&&C.m(l,null),ue(l,c),ue(l,u),n[96](u),F(u,n[45]),ue(l,h),$&&$.m(l,null),ue(r,g),S&&S.m(r,null),n[101](r),b||(v=[K(u,"focus",n[73]),K(u,"blur",n[74]),K(u,"input",n[97]),K(u,"focus",n[75])],b=!0)},p(e,t){256&t[2]&&w!==(w=e[70]("casinoPage.searchGames")+"")&&ye(o,w),e[68]?C&&(C.d(1),C=null):C||(C=_o(),C.c(),C.m(l,c)),256&t[2]&&d!==(d="PC"===Jr(e[71])?e[70]("casinoPage.search"):e[70]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),16384&t[1]&&F(u,e[45]),16384&t[1]&&(x="PC"===Jr(e[71])&&e[45].length||"PC"!==Jr(e[71])),x?$?$.p(e,t):($=Eo(e),$.c(),$.m(l,null)):$&&($.d(1),$=null),1954545664&t[1]&&p!==(p="SearchContainer "+(e[59]||e[54]||e[60]||e[61]||e[57]?"":"SearchTruncated"))&&fe(i,"class",p),1954545664&t[1]&&m!==(m="SearchContainer "+(e[59]||e[54]||e[60]||e[61]||e[57]?"":"SearchTruncated"))&&fe(i,"part",m),e[54]||e[59]||e[68]||e[60]||e[61]||e[55]||e[58]||e[56]||e[57]?S&&(S.d(1),S=null):S?S.p(e,t):(S=To(e),S.c(),S.m(r,null)),33554432&t[1]|65&t[2]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Jr(e[71])?"CategoriesHeaderMobileSection":"")+" "+(e[68]?"SearchMobileActive":"")+" "+(e[68]||e[56]&&"PC"!==Jr(e[71])&&!rs?"CategoriesHeaderSearchActive":"")+(e[62]&&e[68]?"SearchStickTop":""))&&fe(r,"class",f),33554432&t[1]|65&t[2]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Jr(e[71])?"CategoriesHeaderMobileSection":"")+" "+(e[68]?"SearchMobileActive":"")+" "+(e[68]||e[56]&&"PC"!==Jr(e[71])&&!rs?"CategoriesHeaderSearchActive":"")+(e[62]&&e[68]?"SearchStickTop":""))&&fe(r,"part",y),65&t[2]&&P(r,"top",e[62]&&e[68]?is+"px":"")},d(e){e&&he(r),C&&C.d(),n[96](null),$&&$.d(),S&&S.d(),n[101](null),b=!1,J(v)}}}function Mo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w=n[70]("casinoPage.searchGames")+"",x="PC"===Jr(n[71])&&n[45].length||"PC"!==Jr(n[71]),C=!n[68]&&Bo(),$=x&&Ro(n),S=!n[54]&&!n[59]&&!n[68]&&!n[60]&&!n[61]&&!n[55]&&!n[56]&&!n[58]&&!n[57]&&Ao(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),u=pe("input"),h=ge(),$&&$.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===Jr(n[71])?n[70]("casinoPage.search"):n[70]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[59]||n[54]||n[60]||n[61]||n[57]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[59]||n[54]||n[60]||n[61]||n[57]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==Jr(n[71])?"CategoriesHeaderMobileSection":"")+" "+(n[68]?"SearchMobileActive":"")+" "+(n[68]||n[56]&&"PC"!==Jr(n[71])&&!rs?"CategoriesHeaderSearchActive":"")+" "+(n[62]&&n[68]?"SearchStickTop":"")),P(r,"top",n[62]&&n[68]?is+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==Jr(n[71])?"CategoriesHeaderMobileSection":"")+" "+(n[68]?"SearchMobileActive":"")+" "+(n[68]||n[56]&&"PC"!==Jr(n[71])&&!rs?"CategoriesHeaderSearchActive":"")+" "+(n[62]&&n[68]?"SearchStickTop":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(i,s),ue(i,l),C&&C.m(l,null),ue(l,c),ue(l,u),n[90](u),F(u,n[45]),ue(l,h),$&&$.m(l,null),ue(r,g),S&&S.m(r,null),n[95](r),b||(v=[K(u,"focus",n[73]),K(u,"blur",n[74]),K(u,"input",n[91]),K(u,"focus",n[75])],b=!0)},p(e,t){256&t[2]&&w!==(w=e[70]("casinoPage.searchGames")+"")&&ye(o,w),e[68]?C&&(C.d(1),C=null):C||(C=Bo(),C.c(),C.m(l,c)),256&t[2]&&d!==(d="PC"===Jr(e[71])?e[70]("casinoPage.search"):e[70]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),16384&t[1]&&F(u,e[45]),16384&t[1]&&(x="PC"===Jr(e[71])&&e[45].length||"PC"!==Jr(e[71])),x?$?$.p(e,t):($=Ro(e),$.c(),$.m(l,null)):$&&($.d(1),$=null),1954545664&t[1]&&p!==(p="SearchContainer "+(e[59]||e[54]||e[60]||e[61]||e[57]?"":"SearchTruncated"))&&fe(i,"class",p),1954545664&t[1]&&m!==(m="SearchContainer "+(e[59]||e[54]||e[60]||e[61]||e[57]?"":"SearchTruncated"))&&fe(i,"part",m),e[54]||e[59]||e[68]||e[60]||e[61]||e[55]||e[56]||e[58]||e[57]?S&&(S.d(1),S=null):S?S.p(e,t):(S=Ao(e),S.c(),S.m(r,null)),33554432&t[1]|65&t[2]&&f!==(f="CategoriesHeaderSection "+("PC"!==Jr(e[71])?"CategoriesHeaderMobileSection":"")+" "+(e[68]?"SearchMobileActive":"")+" "+(e[68]||e[56]&&"PC"!==Jr(e[71])&&!rs?"CategoriesHeaderSearchActive":"")+" "+(e[62]&&e[68]?"SearchStickTop":""))&&fe(r,"class",f),65&t[2]&&P(r,"top",e[62]&&e[68]?is+"px":""),33554432&t[1]|65&t[2]&&y!==(y="CategoriesHeaderSection "+("PC"!==Jr(e[71])?"CategoriesHeaderMobileSection":"")+" "+(e[68]?"SearchMobileActive":"")+" "+(e[68]||e[56]&&"PC"!==Jr(e[71])&&!rs?"CategoriesHeaderSearchActive":"")+" "+(e[62]&&e[68]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),C&&C.d(),n[90](null),$&&$.d(),S&&S.d(),n[95](null),b=!1,J(v)}}}function _o(){let n;return{c(){n=pe("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchWrapper")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Eo(n){let r,i,a,o;return{c(){r=pe("span"),i=pe("div"),i.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===Jr(n[71])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===Jr(n[71])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[98]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function To(e){let n,r,i=e[69]&&Io(e),a=(!e[56]||!e[55])&&Lo(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),i&&i.m(n,null),ue(n,r),a&&a.m(n,null)},p(e,t){e[69]?i?i.p(e,t):(i=Io(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[56]&&e[55]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Lo(e),a.c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function Io(n){let r,i,a,o,s,l,c,u,d,h=n[70]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(h),o=ge(),s=pe("span"),s.innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[69]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[69]?"FiltersActive":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),u||(d=K(r,"click",n[99]),u=!0)},p(e,t){256&t[2]&&h!==(h=e[70]("casinoPage.clear")+"")&&ye(a,h),128&t[2]&&l!==(l="ClearFilterButtonWrapper "+(e[69]?"FiltersActive":""))&&fe(r,"class",l),128&t[2]&&c!==(c="ClearFilterButtonWrapper "+(e[69]?"FiltersActive":""))&&fe(r,"part",c)},d(e){e&&he(r),u=!1,d()}}}function Lo(e){let n,r=!e[60]&&Go(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[60]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Go(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function Go(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f=n[70]("casinoPage.filters")+"",y=0<n[69]&&Po(n);return{c(){r=pe("div"),i=pe("div"),a=me(f),o=ge(),s=pe("div"),l=M("svg"),c=M("defs"),u=M("style"),d=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=M("path"),p=ge(),y&&y.c(),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,p),y&&y.m(s,null),m||(g=K(r,"click",n[100]),m=!0)},p(e,t){256&t[2]&&f!==(f=e[70]("casinoPage.filters")+"")&&ye(a,f),0<e[69]?y?y.p(e,t):(y=Po(e),y.c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),m=!1,g()}}}function Po(e){let n,r,i;return{c(){n=pe("div"),r=pe("span"),i=me(e[69]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){de(e,n,t),ue(n,r),ue(r,i)},p(e,t){128&t[2]&&ye(i,e[69])},d(e){e&&he(n)}}}function Bo(){let n;return{c(){n=pe("div"),n.innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchIcon")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ro(n){let r,i,a,o;return{c(){r=pe("span"),i=pe("div"),i.innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===Jr(n[71])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===Jr(n[71])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[92]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function Ao(e){let n,r,i=e[69]&&Do(e),a=(!e[56]||!e[55])&&Ho(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),i&&i.m(n,null),ue(n,r),a&&a.m(n,null)},p(e,t){e[69]?i?i.p(e,t):(i=Do(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[56]&&e[55]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Ho(e),a.c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function Do(n){let r,i,a,o,s,l,c,u=n[70]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(u),o=ge(),s=pe("span"),s.innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),l||(c=K(r,"click",n[93]),l=!0)},p(e,t){256&t[2]&&u!==(u=e[70]("casinoPage.clear")+"")&&ye(a,u)},d(e){e&&he(r),l=!1,c()}}}function Ho(e){let n,r=(!e[60]||!e[61])&&No(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[60]&&e[61]?r&&(r.d(1),r=null):r?r.p(e,t):(r=No(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function No(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v=n[70]("casinoPage.filters")+"";return{c(){r=pe("div"),i=pe("div"),a=me(v),o=ge(),s=pe("div"),l=M("svg"),c=M("defs"),u=M("style"),d=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=M("path"),p=ge(),m=pe("div"),g=pe("span"),f=me(n[69]),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(g,"class","NumberOfFilters"),fe(g,"part","NumberOfFilters"),fe(m,"class","NumberOfFiltersContainer"),fe(m,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,p),ue(s,m),ue(m,g),ue(g,f),y||(b=K(r,"click",n[94]),y=!0)},p(e,t){256&t[2]&&v!==(v=e[70]("casinoPage.filters")+"")&&ye(a,v),128&t[2]&&ye(f,e[69])},d(e){e&&he(r),y=!1,b()}}}function Oo(e){let n;return{c(){n=pe("casino-random-game"),$(n,"datasource",e[1]),$(n,"endpoint",e[0]),$(n,"lang",e[3]),$(n,"gameevent",e[47]),$(n,"randombuttonicon",e[43]),$(n,"clientstyling",e[6]),$(n,"clientstylingurl",e[7])},m(e,t){de(e,n,t)},p(e,t){2&t[0]&&$(n,"datasource",e[1]),1&t[0]&&$(n,"endpoint",e[0]),8&t[0]&&$(n,"lang",e[3]),65536&t[1]&&$(n,"gameevent",e[47]),4096&t[1]&&$(n,"randombuttonicon",e[43]),64&t[0]&&$(n,"clientstyling",e[6]),128&t[0]&&$(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function jo(e){let n;return{c(){n=pe("casino-games-category-section"),$(n,"userid",e[5]),$(n,"endpoint",e[0]),$(n,"datasource",e[1]),$(n,"favorites",e[11]),$(n,"lang",e[3]),$(n,"currency",e[2]),$(n,"session",e[4]),$(n,"categoryid",e[65]),$(n,"categorygames","9"),$(n,"class","CategoryContainer"),$(n,"clientstyling",e[6]),$(n,"clientstylingurl",e[7]),$(n,"livecasino",e[14]),$(n,"visiblegames",e[9]),$(n,"gamepagemodalurl",e[16]),$(n,"integratedgameframedesktop",e[22]),$(n,"integratedgameframemobile",e[23])},m(e,t){de(e,n,t)},p(e,t){32&t[0]&&$(n,"userid",e[5]),1&t[0]&&$(n,"endpoint",e[0]),2&t[0]&&$(n,"datasource",e[1]),2048&t[0]&&$(n,"favorites",e[11]),8&t[0]&&$(n,"lang",e[3]),4&t[0]&&$(n,"currency",e[2]),16&t[0]&&$(n,"session",e[4]),8&t[2]&&$(n,"categoryid",e[65]),64&t[0]&&$(n,"clientstyling",e[6]),128&t[0]&&$(n,"clientstylingurl",e[7]),16384&t[0]&&$(n,"livecasino",e[14]),512&t[0]&&$(n,"visiblegames",e[9]),65536&t[0]&&$(n,"gamepagemodalurl",e[16]),4194304&t[0]&&$(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&$(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function Uo(e){let n;return{c(){n=pe("casino-last-played-section"),$(n,"userid",e[5]),$(n,"endpoint",e[0]),$(n,"datasource",e[1]),$(n,"favorites",e[11]),$(n,"lang",e[3]),$(n,"currency",e[2]),$(n,"session",e[4]),$(n,"class","CategoryContainer"),$(n,"clientstyling",e[6]),$(n,"clientstylingurl",e[7]),$(n,"livecasino",e[14]),$(n,"visiblegames",e[9]),$(n,"gamepagemodalurl",e[16]),$(n,"integratedgameframedesktop",e[22]),$(n,"integratedgameframemobile",e[23])},m(e,t){de(e,n,t)},p(e,t){32&t[0]&&$(n,"userid",e[5]),1&t[0]&&$(n,"endpoint",e[0]),2&t[0]&&$(n,"datasource",e[1]),2048&t[0]&&$(n,"favorites",e[11]),8&t[0]&&$(n,"lang",e[3]),4&t[0]&&$(n,"currency",e[2]),16&t[0]&&$(n,"session",e[4]),64&t[0]&&$(n,"clientstyling",e[6]),128&t[0]&&$(n,"clientstylingurl",e[7]),16384&t[0]&&$(n,"livecasino",e[14]),512&t[0]&&$(n,"visiblegames",e[9]),65536&t[0]&&$(n,"gamepagemodalurl",e[16]),4194304&t[0]&&$(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&$(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function Wo(e){let n;return{c(){n=pe("casino-most-played-section"),$(n,"userid",e[5]),$(n,"endpoint",e[0]),$(n,"datasource",e[1]),$(n,"favorites",e[11]),$(n,"lang",e[3]),$(n,"currency",e[2]),$(n,"session",e[4]),$(n,"class","CategoryContainer"),$(n,"clientstyling",e[6]),$(n,"clientstylingurl",e[7]),$(n,"livecasino",e[14]),$(n,"visiblegames",e[9]),$(n,"gamepagemodalurl",e[16]),$(n,"integratedgameframedesktop",e[22]),$(n,"integratedgameframemobile",e[23])},m(e,t){de(e,n,t)},p(e,t){32&t[0]&&$(n,"userid",e[5]),1&t[0]&&$(n,"endpoint",e[0]),2&t[0]&&$(n,"datasource",e[1]),2048&t[0]&&$(n,"favorites",e[11]),8&t[0]&&$(n,"lang",e[3]),4&t[0]&&$(n,"currency",e[2]),16&t[0]&&$(n,"session",e[4]),64&t[0]&&$(n,"clientstyling",e[6]),128&t[0]&&$(n,"clientstylingurl",e[7]),16384&t[0]&&$(n,"livecasino",e[14]),512&t[0]&&$(n,"visiblegames",e[9]),65536&t[0]&&$(n,"gamepagemodalurl",e[16]),4194304&t[0]&&$(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&$(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function zo(n){let r,i,a,o;return{c(){r=pe("casino-games-category-section"),$(r,"session",n[4]),$(r,"userid",n[5]),$(r,"endpoint",n[0]),$(r,"datasource",n[1]),$(r,"lang",n[3]),$(r,"currency",n[2]),$(r,"favorites",n[11]),$(r,"categoryid","FAVORITES"),$(r,"class","CategoryContainer"),$(r,"clientstyling",n[6]),$(r,"clientstylingurl",n[7]),$(r,"livecasino",n[14]),$(r,"visiblegames",n[9]),$(r,"gamepagemodalurl",n[16]),$(r,"integratedgameframedesktop",n[22]),$(r,"integratedgameframemobile",n[23])},m(e,t){de(e,r,t),a||(o=v(i=n[72].call(null,r,(n[0],n[51],n[52],n[51]))),a=!0)},p(e,t){16&t[0]&&$(r,"session",e[4]),32&t[0]&&$(r,"userid",e[5]),1&t[0]&&$(r,"endpoint",e[0]),2&t[0]&&$(r,"datasource",e[1]),8&t[0]&&$(r,"lang",e[3]),4&t[0]&&$(r,"currency",e[2]),2048&t[0]&&$(r,"favorites",e[11]),64&t[0]&&$(r,"clientstyling",e[6]),128&t[0]&&$(r,"clientstylingurl",e[7]),16384&t[0]&&$(r,"livecasino",e[14]),512&t[0]&&$(r,"visiblegames",e[9]),65536&t[0]&&$(r,"gamepagemodalurl",e[16]),4194304&t[0]&&$(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&$(r,"integratedgameframemobile",e[23]),i&&b(i.update)&&1&t[0]|3145728&t[1]&&i.update.call(null,(e[0],e[51],e[52],e[51]))},d(e){e&&he(r),a=!1,o()}}}function Yo(t){let i,a=t[64],o=[];for(let e=0;e<a.length;e+=1)o[e]=es(Co(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);de(t,i,n)},p(t,n){if(2147437567&n[0]|4095&n[1]|4&n[2]){let e;for(a=t[64],e=0;e<a.length;e+=1){var r=Co(t,a,e);o[e]?o[e].p(r,n):(o[e]=es(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){k(o,e),e&&he(i)}}}function Vo(n){let r,i,a,o;return{c(){r=pe("casino-games-category-section"),$(r,"endpoint",n[0]),$(r,"datasource",n[1]),$(r,"lang",n[3]),$(r,"currency",n[2]),$(r,"session",n[4]),$(r,"userid",n[5]),$(r,"categoryid","Search"),$(r,"favorites",n[11]),$(r,"categoryindex","0"),$(r,"class","CategoryContainer"),$(r,"clientstyling",n[6]),$(r,"clientstylingurl",n[7]),$(r,"livecasino",n[14]),$(r,"visiblegames",n[9]),$(r,"gamepagemodalurl",n[16]),$(r,"integratedgameframedesktop",n[22]),$(r,"integratedgameframemobile",n[23])},m(e,t){de(e,r,t),a||(o=v(i=n[80].call(null,r,n[63])),a=!0)},p(e,t){1&t[0]&&$(r,"endpoint",e[0]),2&t[0]&&$(r,"datasource",e[1]),8&t[0]&&$(r,"lang",e[3]),4&t[0]&&$(r,"currency",e[2]),16&t[0]&&$(r,"session",e[4]),32&t[0]&&$(r,"userid",e[5]),2048&t[0]&&$(r,"favorites",e[11]),64&t[0]&&$(r,"clientstyling",e[6]),128&t[0]&&$(r,"clientstylingurl",e[7]),16384&t[0]&&$(r,"livecasino",e[14]),512&t[0]&&$(r,"visiblegames",e[9]),65536&t[0]&&$(r,"gamepagemodalurl",e[16]),4194304&t[0]&&$(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&$(r,"integratedgameframemobile",e[23]),i&&b(i.update)&&2&t[2]&&i.update.call(null,e[63])},d(e){e&&he(r),a=!1,o()}}}function Zo(e){let n,r,i=e[70]("casinoPage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){256&t[2]&&i!==(i=e[70]("casinoPage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Jo(e){let n,r;return{c(){n=pe("div"),r=pe("casino-winners"),$(r,"session",e[4]),$(r,"periodrecent",e[24]),$(r,"periodtop",e[25]),$(r,"numberusersrecent",e[26]),$(r,"numberuserstop",e[27]),$(r,"amountlimit",e[28]),$(r,"isrecentavailable",e[21]),$(r,"istopavailable",e[20]),$(r,"defaultcurrency",e[29]),$(r,"enableautoscroll",e[19]),$(r,"tabsorder",e[18]),$(r,"lang",e[3]),$(r,"clientstyling",e[6]),$(r,"clientstylingurl",e[7]),$(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[0]&&$(r,"session",e[4]),16777216&t[0]&&$(r,"periodrecent",e[24]),33554432&t[0]&&$(r,"periodtop",e[25]),67108864&t[0]&&$(r,"numberusersrecent",e[26]),134217728&t[0]&&$(r,"numberuserstop",e[27]),268435456&t[0]&&$(r,"amountlimit",e[28]),2097152&t[0]&&$(r,"isrecentavailable",e[21]),1048576&t[0]&&$(r,"istopavailable",e[20]),536870912&t[0]&&$(r,"defaultcurrency",e[29]),524288&t[0]&&$(r,"enableautoscroll",e[19]),262144&t[0]&&$(r,"tabsorder",e[18]),8&t[0]&&$(r,"lang",e[3]),64&t[0]&&$(r,"clientstyling",e[6]),128&t[0]&&$(r,"clientstylingurl",e[7]),1&t[0]&&$(r,"endpoint",e[0])},d(e){e&&he(n)}}}function Ko(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),i=pe("jackpot-banner"),$(i,"title","Jackpot Cards"),$(i,"currency",a=e[2]||"RON"),$(i,"gameid","998"),$(i,"endpoint",e[0]),$(i,"lang",e[3]),$(i,"backgroundsrc","/assets/background0.jpg"),$(i,"backgroundsrcmobile","/assets/background0.jpg"),$(i,"titlelogopath","/assets/jackpots_logo.svg"),$(i,"caticon0","/assets/icon0.svg"),$(i,"caticon1","/assets/icon1.svg"),$(i,"caticon2","/assets/icon2.svg"),$(i,"caticon3","/assets/icon3.svg"),$(i,"iconlabels",e[38]),$(i,"visualstructure","typeSpread"),$(i,"clientstyling",e[6]),$(i,"clientstylingurl",e[7])},m(e,t){de(e,n,t),de(e,r,t),de(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&$(i,"currency",a),1&t[0]&&$(i,"endpoint",e[0]),8&t[0]&&$(i,"lang",e[3]),128&t[1]&&$(i,"iconlabels",e[38]),64&t[0]&&$(i,"clientstyling",e[6]),128&t[0]&&$(i,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function Xo(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),i=pe("jackpot-banner"),$(i,"title","Egypt Quest"),$(i,"currency",a=e[2]||"RON"),$(i,"gameid","999"),$(i,"endpoint",e[0]),$(i,"lang",e[3]),$(i,"backgroundsrc",e[35]),$(i,"backgroundsrcmobile",e[36]),$(i,"titlelogopath",e[37]),$(i,"caticon0",e[31]),$(i,"caticon1",e[32]),$(i,"caticon2",e[33]),$(i,"caticon3",e[34]),$(i,"iconlabels",e[38]),$(i,"visualstructure",e[39]),$(i,"clientstyling",e[6]),$(i,"clientstylingurl",e[7])},m(e,t){de(e,n,t),de(e,r,t),de(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&$(i,"currency",a),1&t[0]&&$(i,"endpoint",e[0]),8&t[0]&&$(i,"lang",e[3]),16&t[1]&&$(i,"backgroundsrc",e[35]),32&t[1]&&$(i,"backgroundsrcmobile",e[36]),64&t[1]&&$(i,"titlelogopath",e[37]),1&t[1]&&$(i,"caticon0",e[31]),2&t[1]&&$(i,"caticon1",e[32]),4&t[1]&&$(i,"caticon2",e[33]),8&t[1]&&$(i,"caticon3",e[34]),128&t[1]&&$(i,"iconlabels",e[38]),256&t[1]&&$(i,"visualstructure",e[39]),64&t[0]&&$(i,"clientstyling",e[6]),128&t[0]&&$(i,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function qo(e){let n,r;return{c(){n=pe("casino-collections-providers"),$(n,"endpoint",r=e[0].slice(0,-2)),$(n,"datasource",e[1]),$(n,"lang",e[3]),$(n,"type","vendor"),$(n,"titletype","logo"),$(n,"clientstyling",e[6]),$(n,"clientstylingurl",e[7])},m(e,t){de(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&$(n,"endpoint",r),2&t[0]&&$(n,"datasource",e[1]),8&t[0]&&$(n,"lang",e[3]),64&t[0]&&$(n,"clientstyling",e[6]),128&t[0]&&$(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Qo(e){let n,r;return{c(){n=pe("casino-collections-providers"),$(n,"endpoint",r=e[0].slice(0,-2)),$(n,"datasource",e[1]),$(n,"lang",e[3]),$(n,"type",e[41]),$(n,"titletype",e[42]),$(n,"clientstyling",e[6]),$(n,"clientstylingurl",e[7])},m(e,t){de(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&$(n,"endpoint",r),2&t[0]&&$(n,"datasource",e[1]),8&t[0]&&$(n,"lang",e[3]),1024&t[1]&&$(n,"type",e[41]),2048&t[1]&&$(n,"titletype",e[42]),64&t[0]&&$(n,"clientstyling",e[6]),128&t[0]&&$(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function es(n){let r,i,a,o,s,e,l,c,u,d="true"===n[17]&&1===n[159]&&Jo(n);function h(e){return 4===e[159]&&"true"==e[30]?Xo:6===e[159]&&"true"==e[30]?Ko:void 0}let p=h(n),m=p&&p(n);function g(e){return 7==e[159]&&"true"==e[40]?Qo:e[159]==e[64].length-1&&"true"==e[40]?qo:void 0}let f=g(n),y=f&&f(n);return{c(){d&&d.c(),r=ge(),m&&m.c(),i=ge(),y&&y.c(),a=ge(),o=pe("casino-games-category-section"),$(o,"session",n[4]),$(o,"userid",n[5]),$(o,"endpoint",n[0]),$(o,"datasource",n[1]),$(o,"lang",n[3]),$(o,"currency",n[2]),$(o,"categoryid",s=n[157]),$(o,"categoryindex",e=n[159]),$(o,"categorygames","9"),$(o,"favorites",n[11]),$(o,"class","CategoryContainer"),P(o,"background-color",n[159]%2!=0?n[8]:"transparent"),$(o,"clientstyling",n[6]),$(o,"clientstylingurl",n[7]),$(o,"livecasino",n[14]),$(o,"visiblegames",n[9]),$(o,"gamepagemodalurl",n[16]),$(o,"integratedgameframedesktop",n[22]),$(o,"integratedgameframemobile",n[23])},m(e,t){d&&d.m(e,t),de(e,r,t),m&&m.m(e,t),de(e,i,t),y&&y.m(e,t),de(e,a,t),de(e,o,t),c||(u=v(l=n[79].call(null,o,n[157])),c=!0)},p(e,t){"true"===(n=e)[17]&&1===n[159]?d?d.p(n,t):(d=Jo(n),d.c(),d.m(r.parentNode,r)):d&&(d.d(1),d=null),p===(p=h(n))&&m?m.p(n,t):(m&&m.d(1),m=p&&p(n),m&&(m.c(),m.m(i.parentNode,i))),f===(f=g(n))&&y?y.p(n,t):(y&&y.d(1),y=f&&f(n),y&&(y.c(),y.m(a.parentNode,a))),16&t[0]&&$(o,"session",n[4]),32&t[0]&&$(o,"userid",n[5]),1&t[0]&&$(o,"endpoint",n[0]),2&t[0]&&$(o,"datasource",n[1]),8&t[0]&&$(o,"lang",n[3]),4&t[0]&&$(o,"currency",n[2]),4&t[2]&&s!==(s=n[157])&&$(o,"categoryid",s),2048&t[0]&&$(o,"favorites",n[11]),256&t[0]&&P(o,"background-color",n[159]%2!=0?n[8]:"transparent"),64&t[0]&&$(o,"clientstyling",n[6]),128&t[0]&&$(o,"clientstylingurl",n[7]),16384&t[0]&&$(o,"livecasino",n[14]),512&t[0]&&$(o,"visiblegames",n[9]),65536&t[0]&&$(o,"gamepagemodalurl",n[16]),4194304&t[0]&&$(o,"integratedgameframedesktop",n[22]),8388608&t[0]&&$(o,"integratedgameframemobile",n[23]),l&&b(l.update)&&4&t[2]&&l.update.call(null,n[157])},d(e){d&&d.d(e),e&&he(r),m&&m.d(e),e&&he(i),y&&y.d(e),e&&he(a),e&&he(o),c=!1,u()}}}function ts(n){let r,i,a,e,t,o,s,l=n[70]("casinoPage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==Jr(n[71])?"PanicButtonMobile ":"")),fe(i,"part",t="PanicButton "+("PC"!==Jr(n[71])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[53]),fe(r,"class",o="PanicSection "+("PC"!==Jr(n[71])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==Jr(n[71])?"PanicSectionMobile":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[102](i)},p(e,t){256&t[2]&&l!==(l=e[70]("casinoPage.breakButton")+"")&&ye(a,l),4194304&t[1]&&B(i,"PanicButtonAnimation",e[53])},d(e){e&&he(r),n[102](null)}}}function ns(e){let n;function r(e){return e[49]?So:$o}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:70px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:22%;height:55px;object-fit:cover}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},xo,wo,t,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),O()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),O()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),O()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),O()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),O()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}});let rs=!1;const is=0;function as(e,t,a){let n;dt(e,Vr,e=>a(70,n=e));let r,{endpoint:o=""}=t,{datasource:s=""}=t,{currency:i=""}=t,{lang:l=""}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{categorybackground:p=""}=t,m=t["visiblegames"],{alternativesearch:g="false"}=t,{favorites:f=""}=t,{mostplayed:y=""}=t,{lastplayed:b=""}=t,{containermaxwidth:v="1300"}=t,{lobbyid:w="casinodefault"}=t,{haspanicbutton:x="false"}=t,{mostplayedrounds:C=""}=t,{lastplayedperiod:$=""}=t,{filteredcategories:S=""}=t,{activecategory:F=""}=t,{livecasino:k="false"}=t,{playrandomgame:M="false"}=t,{gamepagemodalurl:_="false"}=t,{enablecasinowinners:E=""}=t,{tabsorder:T=""}=t,{enableautoscroll:I=""}=t,{istopavailable:L=""}=t,{isrecentavailable:G=""}=t,{integratedgameframedesktop:P="false"}=t,{integratedgameframemobile:B="false"}=t,{periodrecent:R=""}=t,{periodtop:A=""}=t,{numberusersrecent:D=""}=t,{numberuserstop:H=""}=t,{amountlimit:N=""}=t,{defaultcurrency:O=""}=t,{enablejackpotbanner:j=""}=t,{caticon0:U=""}=t,{caticon1:W=""}=t,{caticon2:z=""}=t,{caticon3:Y=""}=t,{backgroundsrc:V=""}=t,{backgroundsrcmobile:Z=""}=t,{titlelogopath:J=""}=t,{iconlabels:K=""}=t,{visualstructure:X=""}=t,{enablecollections:q=""}=t,{type:Q=""}=t,{titletype:ee=""}=t,{randombuttonicon:te=""}=t,ne=window.navigator.userAgent;r=Zr(ne)?"OpenGameFrame":"ShowGameModal";let re,ie,ae,oe,se,le,ce,ue,de,he,pe,me,ge,fe=!1,ye=!1,be=!1,ve="",we=!1,xe=0,Ce=!1,$e=!1,Se=!0,Fe=!1,ke=!1,Me=!1,_e=!1,Ee=!0,Te=!1,Ie=!1,Le=!1,Ge=!0,Pe=[],Be="",Re={},Ae,De=!1,He=[],Ne=!1,Oe=[],je=0,Ue="",We=!1;var ze,Ye;({withLocale:ze,translations:Ye}={withLocale:"en",translations:{}}),Nr.subscribe(e=>{null==e&&(Sr.set(Ye),Nr.set(ze))}),Object.keys(vi).forEach(e=>{kr(e,vi[e])});const Ve=e=>{if(e.data)switch(e.data.type){case"UserSessionID":a(52,ie=e.data.session),a(51,re=e.data.userID),re&&re.length&&ie&&0<ie.length&&Ze(o,ie,re);break;case"SetUnfavoredGame":n=`${o}/player/${re}/favorites`,r=ie,re,i=e.data.id,e.data.triggerFactor,He.includes(i)&&(He=He.filter(e=>e!=i)),fetch(n+"/"+i,{method:"DELETE",headers:{"X-SessionID":r}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+i},window.location.href),Je(n,r)});break;case"SetFavoredGame":((t,n,r)=>{He.includes(r)||He.push(r);let e={items:He},i={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t,i).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),Je(t,n)}).catch(e=>{console.error("Err",e)})})(`${o}/player/${re}/favorites`,ie,(re,e.data.id),e.data.triggerFactor);break;case"GetFavoredGame":re&&re.length&&ie&&0<ie.length&&Ze(o,ie,re);break;case"SearchedItemClicked":(t=>{if(Oe=qe(`searchedGamesWds_${w}`),Oe=Oe?Oe.split(","):[],-1===Oe.indexOf(t)){let e;Oe.push(t),e=Oe.join(","),document.cookie=`searchedGamesWds_${w}=`+e}})(e.data.gameId);break;case"UpdateFilters":t=e.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),tt();break;case"ClearFilters":t=e.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:t},window.location.href),tt();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:Ue},window.location.href),tt();break;case"CategoryVendors":Ue=e.data.categoryid,tt();break;case"GameHoveredPc":case"GameHoveredMobile":ke=!0;break;case"GameBlurPc":ke=(De&&me.focus(),!1);break;case"GameBlurMobile":De?et():ke=!1;break;case"ModalClosed":De&&(De=!1,ke=!1)}var t,n,r,i};let Ze=(e,t,n)=>{"true"==f&&c&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(pe=e,pe&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:pe},window.location.href),Ke(pe.items)),pe)).then(e=>(Ce&&Xe(),e)).catch(e=>{console.error(e)})},Je=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(pe=e,Ce&&Xe(),pe&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:pe},window.location.href),pe)).catch(e=>{console.error(e)})};const Ke=(e=[])=>(He=[],0<e.length&&e.forEach(e=>{He.push(e.id)}),He);const Xe=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:pe},window.location.href)},qe=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},Qe=()=>{if(De=!0,o&&s&&l&&(a(58,_e=!0),Be.length<2)){let e=qe("searchedGamesWds_"+w),t=[];e&&(t=e.split(",")),1!=Ee||Se||(a(57,Me=Ee),a(59,Ee=!1));let n=[],r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(o+"/casino/games/"+t[r]);e.searchParams.append("language",l),e.searchParams.append("datasource",s),e.searchParams.append("platform",Jr(ne)),n.push(((e,r)=>new Promise((t,n)=>{a(48,fe=!0),r&&0<=Object.keys(Re).indexOf(r)?(a(48,fe=!1),t(Re[r])):fetch(e).then(e=>e.json()).then(e=>{a(48,fe=!1),Re[e[0].id]=e[0],t(e[0])}).catch(e=>{a(49,ye=!0),a(48,fe=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{a(63,se=e),rt(0,se)})}else rt(0,{})}"function"==typeof gtag&>ag("event","SearchInitialized",{context:"CasinoPage"})},et=()=>{a(58,_e=!1),Be.length<2&&!ke&&(a(56,Fe=!1),a(63,se=[]),a(55,$e=!1),a(59,Ee=Me),a(57,Me=!1),!1===Ee&&window.postMessage({type:"CategoryUpdate",itemId:le},window.location.href),De=!1,window.postMessage({type:"OutOfRecentSearches"},window.location.href))},tt=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&Ue&&(e[Ue]?a(69,je=e[Ue].length):a(69,je=0))},nt=()=>{a(89,Ge=!0),a(45,Be=""),a(63,se=[]),a(55,$e=!1),et()},rt=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},it=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},at=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},ot=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:pe},window.location.href)},st=()=>{ue&&(de=ue.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>de||130<de?a(62,Le=!0):a(62,Le=!1)},lt=()=>{a(65,le=F),(e=>{switch(a(56,Fe=!1),a(45,Be=""),Ae=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":a(59,Ee=!0),a(54,Ce=!1),a(65,le=""),a(60,Te=!1),a(61,Ie=!1);break;case"FAVORITES":a(59,Ee=!1),a(54,Ce=!0),a(60,Te=!1),a(61,Ie=!1),a(65,le="");break;case"MOSTPLAYED":"true"==y&&(a(65,le=""),a(59,Ee=!1),a(54,Ce=!1),a(60,Te=!0));break;case"LASTPLAYED":"true"==b&&(a(65,le=""),a(59,Ee=!1),a(61,Ie=!0),a(54,Ce=!1),a(60,Te=!1));break;default:a(59,Ee=!1),a(54,Ce=!1),a(60,Te=!1),a(61,Ie=!1),a(65,le=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:le},window.location.href)},500)}})({data:{itemId:le}})},ct=e=>{xe=0,oe=setInterval(()=>{xe+=1,a(53,we=!0),3<=xe&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(oe))},1e3)},ut=e=>{xe<3&&a(53,we=!1),clearInterval(oe)};return ht(()=>(window.addEventListener("scroll",st,!1),window.addEventListener("message",Ve,!1),()=>{window.removeEventListener("scroll",st),window.removeEventListener("message",Ve),a(53,we=!1),null==ae||ae.removeEventListener("mousedown",ct),null==ae||ae.removeEventListener("touchstart",ct),null==ae||ae.removeEventListener("mouseup",ut),null==ae||ae.removeEventListener("touchend",ut)})),e.$$set=e=>{"endpoint"in e&&a(0,o=e.endpoint),"datasource"in e&&a(1,s=e.datasource),"currency"in e&&a(2,i=e.currency),"lang"in e&&a(3,l=e.lang),"session"in e&&a(4,c=e.session),"userid"in e&&a(5,u=e.userid),"clientstyling"in e&&a(6,d=e.clientstyling),"clientstylingurl"in e&&a(7,h=e.clientstylingurl),"categorybackground"in e&&a(8,p=e.categorybackground),"visiblegames"in e&&a(9,m=e.visiblegames),"alternativesearch"in e&&a(10,g=e.alternativesearch),"favorites"in e&&a(11,f=e.favorites),"mostplayed"in e&&a(81,y=e.mostplayed),"lastplayed"in e&&a(82,b=e.lastplayed),"containermaxwidth"in e&&a(12,v=e.containermaxwidth),"lobbyid"in e&&a(83,w=e.lobbyid),"haspanicbutton"in e&&a(13,x=e.haspanicbutton),"mostplayedrounds"in e&&a(84,C=e.mostplayedrounds),"lastplayedperiod"in e&&a(85,$=e.lastplayedperiod),"filteredcategories"in e&&a(86,S=e.filteredcategories),"activecategory"in e&&a(87,F=e.activecategory),"livecasino"in e&&a(14,k=e.livecasino),"playrandomgame"in e&&a(15,M=e.playrandomgame),"gamepagemodalurl"in e&&a(16,_=e.gamepagemodalurl),"enablecasinowinners"in e&&a(17,E=e.enablecasinowinners),"tabsorder"in e&&a(18,T=e.tabsorder),"enableautoscroll"in e&&a(19,I=e.enableautoscroll),"istopavailable"in e&&a(20,L=e.istopavailable),"isrecentavailable"in e&&a(21,G=e.isrecentavailable),"integratedgameframedesktop"in e&&a(22,P=e.integratedgameframedesktop),"integratedgameframemobile"in e&&a(23,B=e.integratedgameframemobile),"periodrecent"in e&&a(24,R=e.periodrecent),"periodtop"in e&&a(25,A=e.periodtop),"numberusersrecent"in e&&a(26,D=e.numberusersrecent),"numberuserstop"in e&&a(27,H=e.numberuserstop),"amountlimit"in e&&a(28,N=e.amountlimit),"defaultcurrency"in e&&a(29,O=e.defaultcurrency),"enablejackpotbanner"in e&&a(30,j=e.enablejackpotbanner),"caticon0"in e&&a(31,U=e.caticon0),"caticon1"in e&&a(32,W=e.caticon1),"caticon2"in e&&a(33,z=e.caticon2),"caticon3"in e&&a(34,Y=e.caticon3),"backgroundsrc"in e&&a(35,V=e.backgroundsrc),"backgroundsrcmobile"in e&&a(36,Z=e.backgroundsrcmobile),"titlelogopath"in e&&a(37,J=e.titlelogopath),"iconlabels"in e&&a(38,K=e.iconlabels),"visualstructure"in e&&a(39,X=e.visualstructure),"enablecollections"in e&&a(40,q=e.enablecollections),"type"in e&&a(41,Q=e.type),"titletype"in e&&a(42,ee=e.titletype),"randombuttonicon"in e&&a(43,te=e.randombuttonicon)},e.$$.update=()=>{if(16384&e.$$.dirty[1]&&Be&&(2<=Be.length?a(89,Ge=!0):a(89,Ge=!1)),11&e.$$.dirty[0]|16384&e.$$.dirty[1]|201326592&e.$$.dirty[2])if(2<=Be.length){a(56,Fe=!0);let e=new URL(o+"/casino/games");e.searchParams.append("datasource",s),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Jr(ne)),e.searchParams.append("language",l),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+Be),r=e,new Promise((t,n)=>{a(48,fe=!0),fetch(r).then(e=>e.json()).then(e=>{a(48,fe=!1),t(e)}).catch(e=>{a(49,ye=!0),a(48,fe=!1),console.error(e),n(e)})}).then(e=>{a(63,se=e),ot(0,e)})}else Ge||Qe(),Se&&a(88,Se=!1);var r;8&e.$$.dirty[0]|33554432&e.$$.dirty[2]&&l&&F&<(),49&e.$$.dirty[0]&&c&&u&&o&&(a(50,be=!0),a(52,ie=c),a(51,re=u),re&&re.length&&ie&&0<ie.length&&Ze(o,ie,re)),1035&e.$$.dirty[0]&&o&&s&&l&&g&&(()=>{if(o||(ve="Endpoint is missing! Please provide a valid endpointURL.",a(49,ye=!0),a(48,fe=!1),console.error(ve)),s||(ve="Datasource is missing! Please provide a valid datasource.",a(49,ye=!0),a(48,fe=!1),console.error(ve)),(!l||l.length<2)&&(ve="Language is missing! Please provide a valid language (alpha2code)",a(49,ye=!0),a(48,fe=!1),console.error(ve)),!ye){a(48,fe=!0),"true"==f&&Ze(o,ie,re),t=l,Nr.set(t);let e=new URL(o+"/casino/groups/"+s);e.searchParams.append("language",l),e.searchParams.append("platform",Jr(ne)),r=e,new Promise((t,n)=>{a(48,fe=!0),fetch(r).then(e=>e.json()).then(e=>{a(48,fe=!1),t(e)}).catch(e=>{a(49,ye=!0),a(48,fe=!1),console.error(e),n(e)})}).then(e=>{let r=S.split(",");e&&(he=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,S))for(var n of r)e.flags==n&&(t=!1);return t}),a(64,Pe=he.map(e=>e.id)),a(48,fe=!1))}),"PC"!==Jr(ne)&&(me.addEventListener("focusin",e=>{a(68,Ne=!0)}),me.addEventListener("focusout",e=>{a(68,Ne=!1)})),tt(),ue=ce,ue&&(de=ue.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var r,t})(),8&e.$$.dirty[0]&&l&&(We&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:le},window.location.href)},500),We=!1),64&e.$$.dirty[0]|32768&e.$$.dirty[1]&&d&&ge&&(()=>{let e=document.createElement("style");e.innerHTML=d,ge.appendChild(e)})(),128&e.$$.dirty[0]|32768&e.$$.dirty[1]&&h&&ge&&(()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{ge.appendChild(t)},1)})})(),8192&e.$$.dirty[1]&&ae&&(null==ae||ae.addEventListener("mousedown",ct,!1),null==ae||ae.addEventListener("touchstart",ct,!1),null==ae||ae.addEventListener("mouseup",ut,!1),null==ae||ae.addEventListener("touchend",ut,!1))},[o,s,i,l,c,u,d,h,p,m,g,f,v,x,k,M,_,E,T,I,L,G,P,B,R,A,D,H,N,O,j,U,W,z,Y,V,Z,J,K,X,q,Q,ee,te,ae,Be,ge,r,fe,ye,be,re,ie,we,Ce,$e,Fe,Me,_e,Ee,Te,Ie,Le,se,Pe,le,ce,me,Ne,je,n,ne,Ze,Qe,et,()=>{window.postMessage({type:"scroll"},window.location.href)},nt,it,at,(e,t)=>{Ue=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:m,receivedFavoriteResults:pe},window.location.href)},ot,y,b,w,C,$,S,F,Se,Ge,function(e){pt[e?"unshift":"push"](()=>{me=e,a(67,me)})},function(){Be=this.value,a(45,Be)},()=>nt(),()=>at(),()=>{it()},function(e){pt[e?"unshift":"push"](()=>{ce=e,a(66,ce)})},function(e){pt[e?"unshift":"push"](()=>{me=e,a(67,me)})},function(){Be=this.value,a(45,Be)},()=>nt(),()=>at(),()=>{it()},function(e){pt[e?"unshift":"push"](()=>{ce=e,a(66,ce)})},function(e){pt[e?"unshift":"push"](()=>{ae=e,a(44,ae)})},function(e){pt[e?"unshift":"push"](()=>{ge=e,a(46,ge)})}]}function os(e,{delay:t=0,duration:n=400,easing:r=g}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function ss(n){let r,i,a,o,s,l,c,t,u,d,h;return{c(){r=pe("div"),i=pe("div"),i.innerHTML="<slot></slot>",a=ge(),o=pe("span"),s=pe("slot"),s.innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(s,"name","close"),fe(o,"class",l="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(o,"part","ModalCloseBtn"),fe(o,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),A(()=>n[17].call(r))},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),n[16](r),c=m(r,n[17].bind(r)),u=!0,d||(h=K(o,"click",n[8]),d=!0)},p(e,t){n=e,(!u||10&t&&l!==(l="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")))&&fe(o,"class",l)},i(e){u||(A(()=>{t=t||Q(r,os,{transitionDuration:n[0]},!0),t.run(1)}),u=!0)},o(e){t=t||Q(r,os,{transitionDuration:n[0]},!1),t.run(0),u=!1},d(e){e&&he(r),n[16](null),c(),e&&t&&t.end(),d=!1,h()}}}function ls(n){let r,i,a=n[7]&&ss(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),a&&a.m(r,null),n[18](r),i=!0},p(e,[t]){e[7]?a?(a.p(e,t),128&t&&V(a,1)):(a=ss(e),a.c(),V(a,1),a.m(r,null)):a&&(z(),X(a,1,1,()=>{a=null}),Y())},i(e){i||(V(a),i=!0)},o(e){X(a),i=!1},d(e){e&&he(r),a&&a.d(),n[18](null)}}}function cs(e,t,n){let r,i,a,o,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{endpoint:h=""}=t,{haspanicbutton:p="false"}=t,{gamepagemodalurl:m="false"}=t,{sessioncheck:g="true"}=t,f=window.navigator.userAgent,y=!1,b=!1,v=!1;const w=e=>{var t;"ModalClosed"==e.data.type&&n(7,v=!1),"ShowGameModal"===e.data.type&&(n(7,v=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,v=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:r?getComputedStyle(r).width:null,modalHeight:r?getComputedStyle(r).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(b=e.data.detailsObtained)},x=e=>{var t;b&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return ht(()=>(n(3,y=Zr(f)),window.addEventListener("message",w,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",w),window.removeEventListener("resize",w)})),e.$$set=e=>{"duration"in e&&n(0,s=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,u=e.clientstyling),"clientstylingurl"in e&&n(12,d=e.clientstylingurl),"endpoint"in e&&n(13,h=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,m=e.gamepagemodalurl),"sessioncheck"in e&&n(15,g=e.sessioncheck)},e.$$.update=()=>{9728&e.$$.dirty&&l&&c&&h&&"true"==g&&Xr(h,l).then(e=>{},e=>{console.error("err on session",e)}),2052&e.$$.dirty&&u&&i&&(()=>{let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)})(),4100&e.$$.dirty&&d&&i&&(()=>{let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})})()},[s,p,i,y,r,void 0,void 0,v,()=>{n(7,v=!1),n(3,y=Zr(f)),window.postMessage({type:"ModalClosed",gamepagemodalurl:m,mobileView:y},window.location.href)},l,c,u,d,h,m,g,function(e){pt[e?"unshift":"push"](()=>{r=e,n(4,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){pt[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},as,ns,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:81,lastplayed:82,containermaxwidth:12,lobbyid:83,haspanicbutton:13,mostplayedrounds:84,lastplayedperiod:85,filteredcategories:86,activecategory:87,livecasino:14,playrandomgame:15,gamepagemodalurl:16,enablecasinowinners:17,tabsorder:18,enableautoscroll:19,istopavailable:20,isrecentavailable:21,integratedgameframedesktop:22,integratedgameframemobile:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:28,defaultcurrency:29,enablejackpotbanner:30,caticon0:31,caticon1:32,caticon2:33,caticon3:34,backgroundsrc:35,backgroundsrcmobile:36,titlelogopath:37,iconlabels:38,visualstructure:39,enablecollections:40,type:41,titletype:42,randombuttonicon:43},null,[-1,-1,-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","gamepagemodalurl","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","enablejackpotbanner","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","enablecollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),O()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),O()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),O()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),O()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),O()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),O()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),O()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),O()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),O()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),O()}get mostplayed(){return this.$$.ctx[81]}set mostplayed(e){this.$$set({mostplayed:e}),O()}get lastplayed(){return this.$$.ctx[82]}set lastplayed(e){this.$$set({lastplayed:e}),O()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),O()}get lobbyid(){return this.$$.ctx[83]}set lobbyid(e){this.$$set({lobbyid:e}),O()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),O()}get mostplayedrounds(){return this.$$.ctx[84]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),O()}get lastplayedperiod(){return this.$$.ctx[85]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),O()}get filteredcategories(){return this.$$.ctx[86]}set filteredcategories(e){this.$$set({filteredcategories:e}),O()}get activecategory(){return this.$$.ctx[87]}set activecategory(e){this.$$set({activecategory:e}),O()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),O()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),O()}get gamepagemodalurl(){return this.$$.ctx[16]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),O()}get enablecasinowinners(){return this.$$.ctx[17]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),O()}get tabsorder(){return this.$$.ctx[18]}set tabsorder(e){this.$$set({tabsorder:e}),O()}get enableautoscroll(){return this.$$.ctx[19]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),O()}get istopavailable(){return this.$$.ctx[20]}set istopavailable(e){this.$$set({istopavailable:e}),O()}get isrecentavailable(){return this.$$.ctx[21]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),O()}get integratedgameframedesktop(){return this.$$.ctx[22]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),O()}get integratedgameframemobile(){return this.$$.ctx[23]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),O()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),O()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),O()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),O()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),O()}get amountlimit(){return this.$$.ctx[28]}set amountlimit(e){this.$$set({amountlimit:e}),O()}get defaultcurrency(){return this.$$.ctx[29]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),O()}get enablejackpotbanner(){return this.$$.ctx[30]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),O()}get caticon0(){return this.$$.ctx[31]}set caticon0(e){this.$$set({caticon0:e}),O()}get caticon1(){return this.$$.ctx[32]}set caticon1(e){this.$$set({caticon1:e}),O()}get caticon2(){return this.$$.ctx[33]}set caticon2(e){this.$$set({caticon2:e}),O()}get caticon3(){return this.$$.ctx[34]}set caticon3(e){this.$$set({caticon3:e}),O()}get backgroundsrc(){return this.$$.ctx[35]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),O()}get backgroundsrcmobile(){return this.$$.ctx[36]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),O()}get titlelogopath(){return this.$$.ctx[37]}set titlelogopath(e){this.$$set({titlelogopath:e}),O()}get iconlabels(){return this.$$.ctx[38]}set iconlabels(e){this.$$set({iconlabels:e}),O()}get visualstructure(){return this.$$.ctx[39]}set visualstructure(e){this.$$set({visualstructure:e}),O()}get enablecollections(){return this.$$.ctx[40]}set enablecollections(e){this.$$set({enablecollections:e}),O()}get type(){return this.$$.ctx[41]}set type(e){this.$$set({type:e}),O()}get titletype(){return this.$$.ctx[42]}set titletype(e){this.$$set({titletype:e}),O()}get randombuttonicon(){return this.$$.ctx[43]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),O()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},cs,ls,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),O()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),O()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),O()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),O()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),O()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),O()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),O()}});const us={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter ..."}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function ds(){"undefined"==typeof window||window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n=window.cstmNativeBridge.EVENTS[e];if(n){if("function"==typeof t){var r=window.cstmNativeBridge.eventListeners[n];return window.cstmNativeBridge.eventListeners[n]=function(){delete window.cstmNativeBridge.eventListeners[n],r&&r.apply(this,arguments),t.apply(this,arguments)},!0}console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];if("function"!=typeof t)return console.error("Native Bridge `"+e+"` method is not defined"),!1;e=Array.prototype.slice.call(arguments,1);return t.apply(this,e),!0};var hs=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},ps=function(e,...t){try{return ds(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function ms(n){let r,i,a=n[11]&&ys(n);return{c(){r=pe("div"),i=pe("div"),a&&a.c(),fe(i,"class","CasinoGamePageContainer"),fe(i,"part","CasinoGamePageContainer"),P(i,"background","rgba(0, 0, 0, 0.5)"),fe(r,"class","GamePageBackground"),P(r,"background",n[14]?"":`url(${n[10].backgroundImageUrl})`),P(r,"background-size","cover")},m(e,t){de(e,r,t),ue(r,i),a&&a.m(i,null),n[82](r)},p(e,t){e[11]?a?a.p(e,t):(a=ys(e),a.c(),a.m(i,null)):a&&(a.d(1),a=null),17408&t[0]&&P(r,"background",e[14]?"":`url(${e[10].backgroundImageUrl})`)},d(e){e&&he(r),a&&a.d(),n[82](null)}}}function gs(e){let n;return{c(){n=pe("p"),n.textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function fs(e){let n,r,i=e[25]("gamePage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){33554432&t[0]&&i!==(i=e[25]("gamePage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ys(e){let n;function r(e){return e[21]?xs:e[6]?ws:e[12]?vs:bs}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function bs(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x=n[10].name+"",C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me($),f=ge(),y=pe("p"),b=me(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(r,f),ue(r,y),ue(y,b),v||(w=[K(d,"click",n[80]),K(m,"click",n[81])],v=!0)},p(e,t){1024&t[0]&&x!==(x=e[10].name+"")&&ye(a,x),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(h,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(g,$),16&t[0]&&ye(b,e[4])},d(e){e&&he(r),v=!1,J(w)}}}function vs(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";function S(e){return e[18]?$s:Cs}let F=S(n),k=F(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("div"),u=pe("button"),d=me(C),h=ge(),p=pe("button"),m=me($),g=ge(),f=pe("p"),y=pe("span"),b=me(n[4]),v=ge(),k.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[10].launchUrl)||fe(a,"src",o),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(p,"class","RegisterButton"),fe(p,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),P(r,"width",n[19]),P(r,"height",n[20]),B(r,"FullsScreenLayout",n[18])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[71](a),ue(i,s),ue(i,l),ue(l,c),ue(c,u),ue(u,d),ue(c,h),ue(c,p),ue(p,m),ue(l,g),ue(l,f),ue(f,y),ue(y,b),n[74](f),ue(l,v),k.m(l,null),n[77](l),n[78](i),n[79](r),w||(x=[K(u,"click",n[72]),K(p,"click",n[73])],w=!0)},p(e,t){1024&t[0]&&!ce(a.src,o=e[10].launchUrl)&&fe(a,"src",o),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(d,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(m,$),16&t[0]&&ye(b,e[4]),F===(F=S(e))&&k?k.p(e,t):(k.d(1),k=F(e),k&&(k.c(),k.m(l,null))),16777216&t[0]&&fe(i,"style",e[24]),524288&t[0]&&P(r,"width",e[19]),1048576&t[0]&&P(r,"height",e[20]),262144&t[0]&&B(r,"FullsScreenLayout",e[18])},d(e){e&&he(r),n[71](null),n[74](null),k.d(),n[77](null),n[78](null),n[79](null),w=!1,J(x)}}}function ws(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x=n[25]("gamePage.deposit")+"",C="true"===n[1]&&Ss(n);function $(e){return e[18]?ks:Fs}let S=$(n),F=S(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("button"),u=me(x),d=ge(),h=pe("p"),p=pe("span"),m=me(n[4]),g=ge(),C&&C.c(),f=ge(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[10].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(h,"class","Time"),fe(h,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),P(r,"width",n[19]),P(r,"height",n[20]),B(r,"FullsScreenLayout",n[18])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[62](a),ue(i,s),ue(i,l),ue(l,c),ue(c,u),ue(l,d),ue(l,h),ue(h,p),ue(p,m),n[64](h),ue(l,g),C&&C.m(l,null),ue(l,f),F.m(l,null),n[68](l),n[69](i),n[70](r),v||(w=K(c,"click",n[63]),v=!0)},p(e,t){1024&t[0]&&!ce(a.src,o=e[10].launchUrl)&&fe(a,"src",o),33554432&t[0]&&x!==(x=e[25]("gamePage.deposit")+"")&&ye(u,x),16&t[0]&&ye(m,e[4]),"true"===e[1]?C?C.p(e,t):(C=Ss(e),C.c(),C.m(l,f)):C&&(C.d(1),C=null),S===(S=$(e))&&F?F.p(e,t):(F.d(1),F=S(e),F&&(F.c(),F.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),16777216&t[0]&&fe(i,"style",e[24]),524288&t[0]&&P(r,"width",e[19]),1048576&t[0]&&P(r,"height",e[20]),262144&t[0]&&B(r,"FullsScreenLayout",e[18])},d(e){e&&he(r),n[62](null),n[64](null),C&&C.d(),F.d(),n[68](null),n[69](null),n[70](null),v=!1,w()}}}function xs(e){let n;function r(e){return e[6]?Es:e[13]?_s:Ms}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Cs(n){let r,i,a;return{c(){r=pe("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[76]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function $s(n){let r,i,a;return{c(){r=pe("button"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[75]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ss(n){let r,i,a,o=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class","Button"),fe(i,"part","Button"),B(i,"PanicButtonAnimation",n[9]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[65](i)},p(e,t){33554432&t[0]&&o!==(o=e[25]("gamePage.breakButton")+"")&&ye(a,o),512&t[0]&&B(i,"PanicButtonAnimation",e[9])},d(e){e&&he(r),n[65](null)}}}function Fs(n){let r,i,a;return{c(){r=pe("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[67]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ks(n){let r,i,a;return{c(){r=pe("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ms(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x=n[10].name+"",C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me($),f=ge(),y=pe("p"),b=me(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(r,f),ue(r,y),ue(y,b),v||(w=[K(d,"click",n[60]),K(m,"click",n[61])],v=!0)},p(e,t){1024&t[0]&&x!==(x=e[10].name+"")&&ye(a,x),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(h,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(g,$),16&t[0]&&ye(b,e[4])},d(e){e&&he(r),v=!1,J(w)}}}function _s(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S=n[10].name+"",F=n[25]("gamePage.signIn")+"",k=n[25]("gamePage.register")+"",M=n[25]("gamePage.playForFun")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(S),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(F),p=ge(),m=pe("button"),g=me(k),f=ge(),y=pe("button"),b=me(M),v=ge(),w=pe("p"),x=me(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(u,f),ue(u,y),ue(y,b),ue(r,v),ue(r,w),ue(w,x),C||($=[K(d,"click",n[57]),K(m,"click",n[58]),K(y,"click",n[59])],C=!0)},p(e,t){1024&t[0]&&S!==(S=e[10].name+"")&&ye(a,S),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),33554432&t[0]&&F!==(F=e[25]("gamePage.signIn")+"")&&ye(h,F),33554432&t[0]&&k!==(k=e[25]("gamePage.register")+"")&&ye(g,k),33554432&t[0]&&M!==(M=e[25]("gamePage.playForFun")+"")&&ye(b,M),16&t[0]&&ye(x,e[4])},d(e){e&&he(r),C=!1,J($)}}}function Es(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$=n[10].name+"",S=n[25]("gamePage.deposit")+"",F=n[25]("gamePage.playNow")+"",k="true"==n[0]&&Ts(n),M="true"===n[1]&&Gs(n);return{c(){k&&k.c(),r=ge(),i=pe("div"),a=pe("h3"),o=me($),s=ge(),l=pe("img"),u=ge(),d=pe("div"),h=pe("button"),p=me(S),m=ge(),g=pe("button"),f=me(F),y=ge(),M&&M.c(),b=ge(),v=pe("p"),w=me(n[4]),ce(l.src,c=n[10].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(h,"class","DepositButton"),fe(h,"part","DepositButton"),fe(g,"class","PlayNowButton"),fe(g,"part","PlayNowButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){k&&k.m(e,t),de(e,r,t),de(e,i,t),ue(i,a),ue(a,o),ue(i,s),ue(i,l),ue(i,u),ue(i,d),ue(d,h),ue(h,p),ue(d,m),ue(d,g),ue(g,f),ue(i,y),M&&M.m(i,null),ue(i,b),ue(i,v),ue(v,w),x||(C=[K(h,"click",n[54]),K(g,"click",n[55])],x=!0)},p(e,t){"true"==e[0]?k?k.p(e,t):(k=Ts(e),k.c(),k.m(r.parentNode,r)):k&&(k.d(1),k=null),1024&t[0]&&$!==($=e[10].name+"")&&ye(o,$),1024&t[0]&&!ce(l.src,c=e[10].thumbnail)&&fe(l,"src",c),33554432&t[0]&&S!==(S=e[25]("gamePage.deposit")+"")&&ye(p,S),33554432&t[0]&&F!==(F=e[25]("gamePage.playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):(M=Gs(e),M.c(),M.m(i,b)):M&&(M.d(1),M=null),16&t[0]&&ye(w,e[4])},d(e){k&&k.d(e),e&&he(r),e&&he(i),M&&M.d(),x=!1,J(C)}}}function Ts(e){let n;function r(e){return e[10].isFavored?Ls:Is}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Is(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=M("svg"),a=M("path"),P(a,"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","20px"),fe(i,"y","20px"),fe(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),l||(c=K(r,"click",n[53]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function Ls(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=M("svg"),a=M("path"),P(a,"fill","white"),fe(a,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),fe(i,"version","1.1"),fe(i,"class","FavoredIcon"),fe(i,"part","FavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"viewBox","0 0 19.481 19.481"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"enable-background","new 0 0 19.481 19.481"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),l||(c=K(r,"click",n[52]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function Gs(n){let r,i,a,e,t,o,s,l=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==Jr(n[26])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==Jr(n[26])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[9]),fe(r,"class",o="PanicSection "+("PC"!==Jr(n[26])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==Jr(n[26])?"PanicSectionMobile":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[56](i)},p(e,t){33554432&t[0]&&l!==(l=e[25]("gamePage.breakButton")+"")&&ye(a,l),512&t[0]&&B(i,"PanicButtonAnimation",e[9])},d(e){e&&he(r),n[56](null)}}}function Ps(n){let r;function i(e){return e[8]?fs:e[7]?gs:ms}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[83](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[83](null)}}}function Bs(t,e,i){let n;dt(t,Vr,e=>i(25,n=e));let r,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,{endpoint:$=""}=e,{lang:S=""}=e,{session:F=""}=e,{userid:k=""}=e,{clientstyling:M=""}=e,{clientstylingurl:_=""}=e,{favorites:E=""}=e,{loginurl:T=""}=e,{registerurl:I=""}=e,{depositurl:L=""}=e,{loginevent:G=""}=e,{registerevent:P=""}=e,{depositevent:B=""}=e,{clockformat:R=""}=e,{haspanicbutton:A="false"}=e,{playforfun:D="true"}=e,{checksession:H="true"}=e,{integratedgameframedesktop:N="false"}=e,{integratedgameframemobile:O="false"}=e,{gameid:j=""}=e,U=!1,W=!1,z=!0,Y=!1,V=0,Z=!1,J=!1,K=!1,X=!0,q=!1,Q=window.navigator.userAgent,ee=!1,te=[],ne=!1,re="false",ie;var ae,oe;({withLocale:ae,translations:oe}={withLocale:"en",translations:{}}),Nr.subscribe(e=>{null==e&&(Sr.set(oe),Nr.set(ae))}),Object.keys(us).forEach(e=>{kr(e,us[e])});const se=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",S),i(8,z=!1),o&&0<o.length&&(i(6,U=!0),i(8,z=!1),t.searchParams.append("_sid",o),t.searchParams.append("funMode","false")),e.launchUrl=t,e},le=(e,t)=>{let n=new URL($+"/casino/games/"+e);n.searchParams.append("language",S),n.searchParams.append("expand","vendor"),i(14,X=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(10,c=se(e[0])),c.launchUrl&&(i(11,Z=!0),i(12,J="true"==D&&c.hasFunMode),i(13,K="true"==D&&c.hasAnonymousFunMode))},e=>{console.error("There was an error",e),i(7,W=!0)}).then(()=>{u&&(X||(i(19,p=c.width),i(20,m=c.height),y=c.width+"px",b=c.height+"px",g=c.width,f=c.height),me())}),window.postMessage({type:"RequestModalSize"},window.location.href)},ce=()=>{null==s||s.addEventListener("mousedown",Se,!1),null==s||s.addEventListener("touchstart",Se,!1),null==s||s.addEventListener("mouseup",Fe,!1),null==s||s.addEventListener("touchend",Fe,!1)},ue=()=>{i(9,Y=!1),null==s||s.removeEventListener("mousedown",Se),null==s||s.removeEventListener("touchstart",Se),null==s||s.removeEventListener("mouseup",Fe),null==s||s.removeEventListener("touchend",Fe)},de=e=>{switch(e.data.type){case"GameLaunchID":le(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":i(51,re="true");break;case"LaunchGameFrame":pe(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),i(51,re="false"),ue(),Zr(Q)?setTimeout(()=>{i(11,Z="true"===O)},500):setTimeout(()=>{i(11,Z="true"===N)},500);break;case"UserSessionID":if(0<e.data.session.length){o=e.data.session,e.data.userID,i(6,U=!0);let t=setInterval(()=>{if(c){let e=new URL(c.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",o),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",S),i(10,c.launchUrl=e,c),clearInterval(t)}},250)}break;case"ModalSize":i(19,p=e.data.modalContainerSize.modalWidth),i(20,m=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(te=e.data.receivedFavoriteResults.items)}},he=e=>{c.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(10,c.isFavored=!1,c)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(10,c.isFavored=!0,c))},pe=(e,r)=>{let t=new URL($+"/casino/games/"+e);t.searchParams.append("language",S),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;i(10,c=se(e[0])),c.launchUrl&&i(10,c.isFavored=(t=c,e=r,i(13,K="true"==D&&t.hasAnonymousFunMode),i(12,J="true"==D&&e),i(11,Z=!0),n=t.id,-1!==te.findIndex(e=>e.id==n)),c)})},me=()=>{let e=getComputedStyle(u);getComputedStyle(d);var t=parseInt(e.width.slice(0,-2));parseInt(e.height.slice(0,-2));var n=c.width/(c.height+100);g=parseInt(c.width),f=parseInt(c.height),g=t*n,y=g?Math.floor(g)+"px":"1280px",b=f?Math.floor(f)+"px":"720px",ke()},ge=e=>{if(!ne)return Zr(Q)?fe(O):fe(N);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};ps("OPEN_GAME",e)},fe=e=>{"false"==e?window.open(c.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:c.id},window.location.href)},ye=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:Z},window.location.href),Z&&(u&&me(),window.addEventListener("ModalSize",de,!1))},be=()=>{G&&(window.postMessage({type:G,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),T&&(window.location=T),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},ve=()=>{P&&(window.postMessage({type:P,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),I&&(window.location=I),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},we=()=>{B&&(window.postMessage({type:B},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"GamePage"})),L&&(window.location=L)};function xe(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!q||Ce()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",xe,!1),document.addEventListener("mozfullscreenchange",xe,!1),document.addEventListener("fullscreenchange",xe,!1),document.addEventListener("MSFullscreenChange",xe,!1));const Ce=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(q?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(18,q=!1)):(u.requestFullscreen?u.requestFullscreen():u.webkitRequestFullscreen?u.webkitRequestFullscreen():u.mozRequestFullScreen?u.mozRequestFullScreen():u.msRequestFullscreen&&u.msRequestFullscreen(),i(18,q=!0)))};setInterval(()=>{i(4,r=R?$i().format(R):$i().format("LTS"))},100);const $e=()=>{"true"==H?Xr($,F).then(e=>{o=e.Guid,i(6,U=!0)},e=>{i(6,U=!1),console.error("err on session",e)}):(o=F,i(6,U=!0))},Se=e=>{V=0,l=setInterval(()=>{V+=1,i(9,Y=!0),3<=V&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(l))},1e3)},Fe=e=>{V<3&&i(9,Y=!1),clearInterval(l)},ke=()=>{var e=q?"100%":y,t=q?"100%":b,n=q||!X?"none":c.width?Math.floor(c.width)+"px":"1280px",r=q||!X?"none":c.height?Math.floor(c.height)+100+"px":"720px";i(24,ie=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),q||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,r=e[0].isIntersecting,e=parseInt(getComputedStyle(u).height);C=C||e*Math.max(n,.5),i(15,u.style.height=C+"px",u),i(16,d.style.height=C+"px",d),r&&i(17,h.style.height=u.style.height+"px",h),t.unobserve(u)},{threshold:0}).observe(u)};return ht(()=>(window.addEventListener("resize",ye,!1),window.addEventListener("message",de,!1),ne=!!hs(Q),()=>{ue(),window.removeEventListener("resize",ye),window.removeEventListener("message",de)})),t.$$set=e=>{"endpoint"in e&&i(33,$=e.endpoint),"lang"in e&&i(34,S=e.lang),"session"in e&&i(35,F=e.session),"userid"in e&&i(36,k=e.userid),"clientstyling"in e&&i(37,M=e.clientstyling),"clientstylingurl"in e&&i(38,_=e.clientstylingurl),"favorites"in e&&i(0,E=e.favorites),"loginurl"in e&&i(39,T=e.loginurl),"registerurl"in e&&i(40,I=e.registerurl),"depositurl"in e&&i(41,L=e.depositurl),"loginevent"in e&&i(42,G=e.loginevent),"registerevent"in e&&i(43,P=e.registerevent),"depositevent"in e&&i(44,B=e.depositevent),"clockformat"in e&&i(45,R=e.clockformat),"haspanicbutton"in e&&i(1,A=e.haspanicbutton),"playforfun"in e&&i(46,D=e.playforfun),"checksession"in e&&i(47,H=e.checksession),"integratedgameframedesktop"in e&&i(48,N=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(49,O=e.integratedgameframemobile),"gameid"in e&&i(50,j=e.gameid)},t.$$.update=()=>{var e;8&t.$$.dirty[1]&&S&&(e=S,Nr.set(e),i(21,ee=Zr(Q))),524300&t.$$.dirty[1]&&$&&j&&S&&le(j,!0),52&t.$$.dirty[1]&&F&&k&&$&&$e(),65556&t.$$.dirty[1]&&"false"==H&&F&&$&&$e(),8&t.$$.dirty[0]|64&t.$$.dirty[1]&&M&&v&&(()=>{let e=document.createElement("style");e.innerHTML=M,v.appendChild(e)})(),8&t.$$.dirty[0]|128&t.$$.dirty[1]&&_&&v&&(()=>{let t=document.createElement("style");var e;_&&(e=new URL(_),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,v&&setTimeout(()=>{v.appendChild(t)},1)}))})(),4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==re&&s&&ce(),4&t.$$.dirty[0]&&s&&ce()},[E,A,s,v,r,a,U,W,z,Y,c,Z,J,K,X,u,d,h,q,p,m,ee,w,x,"",n,Q,he,ge,be,ve,we,Ce,$,S,F,k,M,_,T,I,L,G,P,B,R,D,H,N,O,j,re,()=>he(c.id),()=>he(c.id),()=>we(),()=>{ge(c)},function(e){pt[e?"unshift":"push"](()=>{s=e,i(2,s)})},()=>be(),()=>ve(),()=>{ge(c)},()=>be(),()=>ve(),function(e){pt[e?"unshift":"push"](()=>{a=e,i(5,a)})},()=>we(),function(e){pt[e?"unshift":"push"](()=>{x=e,i(23,x)})},function(e){pt[e?"unshift":"push"](()=>{s=e,i(2,s)})},()=>Ce(),()=>Ce(),function(e){pt[e?"unshift":"push"](()=>{w=e,i(22,w)})},function(e){pt[e?"unshift":"push"](()=>{d=e,i(16,d)})},function(e){pt[e?"unshift":"push"](()=>{u=e,i(15,u)})},function(e){pt[e?"unshift":"push"](()=>{a=e,i(5,a)})},()=>be(),()=>ve(),function(e){pt[e?"unshift":"push"](()=>{x=e,i(23,x)})},()=>Ce(),()=>Ce(),function(e){pt[e?"unshift":"push"](()=>{w=e,i(22,w)})},function(e){pt[e?"unshift":"push"](()=>{d=e,i(16,d)})},function(e){pt[e?"unshift":"push"](()=>{u=e,i(15,u)})},()=>be(),()=>ve(),function(e){pt[e?"unshift":"push"](()=>{h=e,i(17,h)})},function(e){pt[e?"unshift":"push"](()=>{v=e,i(3,v)})}]}function Rs(n){let r,i,a,o,s,l,c,u,t,d,h,p;return{c(){r=pe("div"),i=pe("div"),a=pe("span"),a.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),s=pe("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(i,"class",l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(i,"part",c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(r,"class","FilterModalWindow"),fe(r,"id","FilterModal"),fe(r,"part","FilterModalWindow"),A(()=>n[13].call(r))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),u=m(r,n[13].bind(r)),d=!0,h||(p=K(a,"click",n[6]),h=!0)},p(e,t){n=e,(!d||8&t&&l!==(l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(i,"class",l),(!d||8&t&&c!==(c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(i,"part",c)},i(e){d||(A(()=>{t=t||Q(r,os,{transitionDuration:n[1]},!0),t.run(1)}),d=!0)},o(e){t=t||Q(r,os,{transitionDuration:n[1]},!1),t.run(0),d=!1},d(e){e&&he(r),u(),e&&t&&t.end(),h=!1,p()}}}function As(n){let r,i,a=n[0]&&Rs(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),a&&a.m(r,null),n[14](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&V(a,1)):(a=Rs(e),a.c(),V(a,1),a.m(r,null)):a&&(z(),X(a,1,1,()=>{a=null}),Y())},i(e){i||(V(a),i=!0)},o(e){X(a),i=!1},d(e){e&&he(r),a&&a.d(),n[14](null)}}}function Ds(e,t,n){let r,i,a,{show:o=!1}=t,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{endpoint:h=""}=t,{sessioncheck:p="true"}=t,m=window.navigator.userAgent,g=!1;const f=()=>{n(0,o=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,o=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(f(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))};return ht(()=>(window.addEventListener("message",y,!1),Zr(m)&&n(3,g=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,o=e.show),"duration"in e&&n(1,s=e.duration),"session"in e&&n(7,l=e.session),"userid"in e&&n(8,c=e.userid),"clientstyling"in e&&n(9,u=e.clientstyling),"clientstylingurl"in e&&n(10,d=e.clientstylingurl),"endpoint"in e&&n(11,h=e.endpoint),"sessioncheck"in e&&n(12,p=e.sessioncheck)},e.$$.update=()=>{2432&e.$$.dirty&&l&&c&&h&&"true"==p&&Xr(h,l).then(e=>{},e=>{console.error("err on session",e)}),516&e.$$.dirty&&u&&r&&(()=>{let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)})(),1028&e.$$.dirty&&d&&r&&(()=>{let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})})()},[o,s,r,g,void 0,void 0,f,l,c,u,d,h,p,function(){i=this.clientWidth,a=this.clientHeight,n(4,i),n(5,a)},function(e){pt[e?"unshift":"push"](()=>{r=e,n(2,r)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Bs,Ps,t,{endpoint:33,lang:34,session:35,userid:36,clientstyling:37,clientstylingurl:38,favorites:0,loginurl:39,registerurl:40,depositurl:41,loginevent:42,registerevent:43,depositevent:44,clockformat:45,haspanicbutton:1,playforfun:46,checksession:47,integratedgameframedesktop:48,integratedgameframemobile:49,gameid:50},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),O()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),O()}get session(){return this.$$.ctx[35]}set session(e){this.$$set({session:e}),O()}get userid(){return this.$$.ctx[36]}set userid(e){this.$$set({userid:e}),O()}get clientstyling(){return this.$$.ctx[37]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[38]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),O()}get loginurl(){return this.$$.ctx[39]}set loginurl(e){this.$$set({loginurl:e}),O()}get registerurl(){return this.$$.ctx[40]}set registerurl(e){this.$$set({registerurl:e}),O()}get depositurl(){return this.$$.ctx[41]}set depositurl(e){this.$$set({depositurl:e}),O()}get loginevent(){return this.$$.ctx[42]}set loginevent(e){this.$$set({loginevent:e}),O()}get registerevent(){return this.$$.ctx[43]}set registerevent(e){this.$$set({registerevent:e}),O()}get depositevent(){return this.$$.ctx[44]}set depositevent(e){this.$$set({depositevent:e}),O()}get clockformat(){return this.$$.ctx[45]}set clockformat(e){this.$$set({clockformat:e}),O()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),O()}get playforfun(){return this.$$.ctx[46]}set playforfun(e){this.$$set({playforfun:e}),O()}get checksession(){return this.$$.ctx[47]}set checksession(e){this.$$set({checksession:e}),O()}get integratedgameframedesktop(){return this.$$.ctx[48]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),O()}get integratedgameframemobile(){return this.$$.ctx[49]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),O()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$$set({gameid:e}),O()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Ds,As,t,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11,sessioncheck:12},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),O()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),O()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),O()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),O()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),O()}get sessioncheck(){return this.$$.ctx[12]}set sessioncheck(e){this.$$set({sessioncheck:e}),O()}});const Hs={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},zh:{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement",filterModalTitle:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtrar",filterModalSubtitle:"Puedes seleccionar varias opciones",filterClear:"Restablecer filtro",filterApply:"Terminado"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function Ns(e,t,n){const r=e.slice();return r[32]=t[n],r}function Os(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S=n[6]("filters.filterModalTitle")+"",F=n[6]("filters.filterModalSubtitle")+"",k=n[6]("filters.filterApply")+"",M=n[1]&&Us(n),_=n[4]&&Ys(n);return{c(){r=pe("div"),i=pe("section"),a=pe("div"),o=pe("h4"),s=me(S),l=ge(),c=pe("h5"),u=me(F),d=ge(),h=pe("section"),M&&M.c(),p=ge(),m=pe("section"),_&&_.c(),g=ge(),f=pe("div"),y=me(k),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(i,"class","FilterHeaderSection"),fe(i,"part","FilterHeaderSection"),fe(h,"class","FilterContentSection"),fe(h,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[3]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[3]?"":"ApplyFilterButtonDisabled")),fe(m,"class","FilterFooterSection"),fe(m,"part","FilterFooterSection"),fe(r,"class",w="FilterModalContent "+(n[2]?"FilterModalMobileContent":"")),fe(r,"part",x="FilterModalContent "+(n[2]?"FilterModalMobileContent":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(o,s),ue(a,l),ue(a,c),ue(c,u),ue(r,d),ue(r,h),M&&M.m(h,null),ue(r,p),ue(r,m),_&&_.m(m,null),ue(m,g),ue(m,f),ue(f,y),C||($=K(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&S!==(S=e[6]("filters.filterModalTitle")+"")&&ye(s,S),64&t[0]&&F!==(F=e[6]("filters.filterModalSubtitle")+"")&&ye(u,F),e[1]?M?M.p(e,t):(M=Us(e),M.c(),M.m(h,null)):M&&(M.d(1),M=null),e[4]?_?_.p(e,t):(_=Ys(e),_.c(),_.m(m,g)):_&&(_.d(1),_=null),64&t[0]&&k!==(k=e[6]("filters.filterApply")+"")&&ye(y,k),8&t[0]&&b!==(b="ApplyFiltersButton "+(e[3]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),8&t[0]&&v!==(v="ApplyFiltersButton "+(e[3]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),4&t[0]&&w!==(w="FilterModalContent "+(e[2]?"FilterModalMobileContent":""))&&fe(r,"class",w),4&t[0]&&x!==(x="FilterModalContent "+(e[2]?"FilterModalMobileContent":""))&&fe(r,"part",x)},d(e){e&&he(r),M&&M.d(),_&&_.d(),C=!1,$()}}}function js(e){let n;return{c(){n=pe("div"),fe(n,"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Us(t){let i,a=t[1],o=[];for(let e=0;e<a.length;e+=1)o[e]=zs(Ns(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);de(t,i,n)},p(t,n){if(130&n[0]){let e;for(a=t[1],e=0;e<a.length;e+=1){var r=Ns(t,a,e);o[e]?o[e].p(r,n):(o[e]=zs(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){k(o,e),e&&he(i)}}}function Ws(){let n;return{c(){n=pe("div"),n.innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function zs(n){let r,i,a,o,s,l,c,u,d,h,p=n[32].isFilterSelected&&Ws();function m(){return n[17](n[32])}return{c(){r=pe("div"),i=pe("img"),s=ge(),p&&p.c(),l=ge(),fe(i,"class","VendorImage"),fe(i,"part","VendorImage"),ce(i.src,a=n[32].image)||fe(i,"src",a),fe(i,"alt",o=n[32].name),fe(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),fe(r,"part",u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){de(e,r,t),ue(r,i),ue(r,s),p&&p.m(r,null),ue(r,l),d||(h=K(r,"click",m),d=!0)},p(e,t){n=e,2&t[0]&&!ce(i.src,a=n[32].image)&&fe(i,"src",a),2&t[0]&&o!==(o=n[32].name)&&fe(i,"alt",o),n[32].isFilterSelected?p||(p=Ws(),p.c(),p.m(r,l)):p&&(p.d(1),p=null),2&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"class",c),2&t[0]&&u!==(u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"part",u)},d(e){e&&he(r),p&&p.d(),d=!1,h()}}}function Ys(e){let n,r=e[4].length&&Vs(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[4].length?r?r.p(e,t):(r=Vs(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Vs(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=pe("div"),i=me(s),fe(r,"class","ClearFiltersButton"),fe(r,"part","ClearFiltersButton")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ye(i,s)},d(e){e&&he(r),a=!1,o()}}}function Zs(n){let r;function i(e){return e[5]?js:Os}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),o.m(r,null),n[20](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[20](null)}}}function Js(e,t,i){let n;dt(e,Vr,e=>i(6,n=e));let r,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),b=[],v={},w=!1;v[f]&&(v={[f]:[]});let x=[];var C,$;({withLocale:C,translations:$}={withLocale:"en",translations:{}}),Nr.subscribe(e=>{null==e&&(Sr.set($),Nr.set(C))}),Object.keys(Hs).forEach(e=>{kr(e,Hs[e])});const S=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(f&&(y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),y&&i(4,b=y[f])),!b){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):(e=JSON.parse(e),e[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${a}/casino/vendors?filter=games(groups=${f})&datasource=${o}&platform=`+Jr(m),new Promise((t,n)=>{fetch(r).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},f&&t[f]&&(e.isFilterSelected=0<=t[f].indexOf(e.id))}),i(1,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=b;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),i(4,b=x),i(3,g=!1);break;case"AvailableVendors":i(1,h=t.data.venArray),i(4,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(1,h=t.data.venArray),h&&i(4,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":M(),window.postMessage({type:"ApplyFilters"},window.location.href),i(3,g=!1);break;case"FiltersModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":f=t.data.categoryid,y&&f&&i(4,b=y[f]);break;case"ModalLoader":i(5,w=!1)}var r},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(b.push(t.id),i(3,g=!k(b,x))):(b.includes(t.id)&&i(4,b=b.filter(e=>e!==t.id)),i(3,g=!(!b.length&&k(b,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},k=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},M=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(3,g=k(b,x)),i(4,b=[]),null!==e&&(e=JSON.parse(e),e[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},_=()=>{i(5,w=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):(e=JSON.parse(e),e[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return ht(()=>(window.addEventListener("message",S,!1),Zr(m)&&i(2,p=!0),()=>{window.removeEventListener("message",S)})),e.$$set=e=>{"endpoint"in e&&i(10,a=e.endpoint),"datasource"in e&&i(11,o=e.datasource),"lang"in e&&i(12,s=e.lang),"session"in e&&i(13,l=e.session),"userid"in e&&i(14,c=e.userid),"clientstyling"in e&&i(15,u=e.clientstyling),"clientstylingurl"in e&&i(16,d=e.clientstylingurl)},e.$$.update=()=>{32769&e.$$.dirty[0]&&u&&r&&(()=>{let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)})(),65537&e.$$.dirty[0]&&d&&r&&(()=>{let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})})()},[r,h,p,g,b,w,n,F,M,_,a,o,s,l,c,u,d,e=>F(e),()=>M(),()=>_(),function(e){pt[e?"unshift":"push"](()=>{r=e,i(0,r)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;height:127px;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:120px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Js,Zs,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),O()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),O()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),O()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),O()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),O()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}});const Ks={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function Xs(n){let r;function i(e){return e[6]?tl:e[11]?el:void 0}let a=i(n),o=a&&a(n);return{c(){r=pe("div"),o&&o.c(),fe(r,"class","CasinoIntegratedGamePage"),fe(r,"part","CasinoIntegratedGamePage")},m(e,t){de(e,r,t),o&&o.m(r,null),n[65](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(r,null)))},d(e){e&&he(r),o&&o.d(),n[65](null)}}}function qs(e){let n;return{c(){n=pe("p"),n.textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Qs(e){let n;return{c(){n=pe("p"),n.textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function el(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M,_=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function T(e){return e[17]?rl:nl}let I=T(n),L=I(n),G="true"==n[1]&&!n[17]&&il();return{c(){r=pe("div"),i=pe("button"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[4]),c=ge(),u=pe("div"),d=ge(),h=pe("div"),p=pe("div"),m=pe("iframe"),f=ge(),y=pe("div"),b=pe("div"),v=pe("button"),w=me(_),x=ge(),C=pe("button"),$=me(E),S=ge(),L.c(),F=ge(),G&&G.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(m,"title","Games"),fe(m,"class","GamesContainer"),fe(m,"part","GamesContainer"),fe(m,"aria-hidden","false"),ce(m.src,g=n[10].launchUrl)||fe(m,"src",g),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe(C,"class","RegisterButton"),fe(C,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(p,"id","IframeGame"),fe(p,"part","IframeGame"),P(p,"width",n[17]?"100%":n[18]),P(p,"height",n[17]?"100%":n[19]),P(p,"max-width",n[17]||!n[12]?"none":n[10].width?Math.floor(n[10].width)+"px":"1280px"),P(p,"max-height",n[17]||!n[12]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),fe(h,"part","IframeContainer"),B(h,"FullsScreenLayout",n[17])},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(s,l),n[56](o),ue(r,c),ue(r,u),de(e,d,t),de(e,h,t),ue(h,p),ue(p,m),n[57](m),ue(p,f),ue(p,y),ue(y,b),ue(b,v),ue(v,w),ue(b,x),ue(b,C),ue(C,$),ue(y,S),L.m(y,null),n[62](y),n[63](p),ue(h,F),G&&G.m(h,null),n[64](h),k||(M=[K(i,"click",n[55]),K(v,"click",n[58]),K(C,"click",n[59])],k=!0)},p(e,t){16&t[0]&&ye(l,e[4]),1024&t[0]&&!ce(m.src,g=e[10].launchUrl)&&fe(m,"src",g),4194304&t[0]&&_!==(_=e[22]("gamePage.signIn")+"")&&ye(w,_),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ye($,E),I===(I=T(e))&&L?L.p(e,t):(L.d(1),L=I(e),L&&(L.c(),L.m(y,null))),393216&t[0]&&P(p,"width",e[17]?"100%":e[18]),655360&t[0]&&P(p,"height",e[17]?"100%":e[19]),136192&t[0]&&P(p,"max-width",e[17]||!e[12]?"none":e[10].width?Math.floor(e[10].width)+"px":"1280px"),136192&t[0]&&P(p,"max-height",e[17]||!e[12]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?G&&(G.d(1),G=null):G||(G=il(),G.c(),G.m(h,null)),131072&t[0]&&B(h,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[56](null),e&&he(d),e&&he(h),n[57](null),L.d(),n[62](null),n[63](null),G&&G.d(),n[64](null),k=!1,J(M)}}}function tl(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,$,S,F=n[22]("gamePage.deposit")+"",k="true"===n[0]&&al(n);function M(e){return e[17]?sl:ol}let _=M(n),E=_(n),T="true"==n[1]&&!n[17]&&ll();return{c(){r=pe("div"),i=pe("button"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[4]),c=ge(),u=pe("button"),d=me(F),h=ge(),p=pe("div"),m=pe("div"),g=pe("iframe"),v=ge(),w=pe("div"),k&&k.c(),x=ge(),E.c(),C=ge(),T&&T.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(u,"class","DepositButton"),fe(u,"part","DepositButton"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"id","IframeGame"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,f=n[10].launchUrl)||fe(g,"src",f),fe(g,"width",y=n[14]+"px"),fe(g,"height",b=n[15]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(m,"id","IframeGame"),fe(m,"part","IframeGame"),P(m,"width",n[17]?"100%":n[18]),P(m,"height",n[17]?"100%":n[19]),P(m,"max-width",n[17]?"none":n[10].width?n[10].width+"px":"1280px"),P(m,"max-height",n[17]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(p,"id","IframeContainer"),fe(p,"part","IframeContainer"),B(p,"FullsScreenLayout",n[17])},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(s,l),n[46](o),ue(r,c),ue(r,u),ue(u,d),de(e,h,t),de(e,p,t),ue(p,m),ue(m,g),n[48](g),ue(m,v),ue(m,w),k&&k.m(w,null),ue(w,x),E.m(w,null),n[52](w),n[53](m),ue(p,C),T&&T.m(p,null),n[54](p),$||(S=[K(i,"click",n[45]),K(u,"click",n[47])],$=!0)},p(e,t){16&t[0]&&ye(l,e[4]),4194304&t[0]&&F!==(F=e[22]("gamePage.deposit")+"")&&ye(d,F),1024&t[0]&&!ce(g.src,f=e[10].launchUrl)&&fe(g,"src",f),16384&t[0]&&y!==(y=e[14]+"px")&&fe(g,"width",y),32768&t[0]&&b!==(b=e[15]+"px")&&fe(g,"height",b),"true"===e[0]?k?k.p(e,t):(k=al(e),k.c(),k.m(w,x)):k&&(k.d(1),k=null),_===(_=M(e))&&E?E.p(e,t):(E.d(1),E=_(e),E&&(E.c(),E.m(w,null))),393216&t[0]&&P(m,"width",e[17]?"100%":e[18]),655360&t[0]&&P(m,"height",e[17]?"100%":e[19]),132096&t[0]&&P(m,"max-width",e[17]?"none":e[10].width?e[10].width+"px":"1280px"),132096&t[0]&&P(m,"max-height",e[17]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?T&&(T.d(1),T=null):T||(T=ll(),T.c(),T.m(p,null)),131072&t[0]&&B(p,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[46](null),e&&he(h),e&&he(p),n[48](null),k&&k.d(),E.d(),n[52](null),n[53](null),T&&T.d(),n[54](null),$=!1,J(S)}}}function nl(n){let r,i,a;return{c(){r=pe("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[61]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function rl(n){let r,i,a;return{c(){r=pe("button"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[60]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function il(){let n;return{c(){n=pe("div"),n.innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function al(n){let r,i,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class",e="PanicButton "+("PC"!==Jr(n[23])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==Jr(n[23])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[9]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[49](i)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),512&t[0]&&B(i,"PanicButtonAnimation",e[9])},d(e){e&&he(r),n[49](null)}}}function ol(n){let r,i,a;return{c(){r=pe("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[51]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function sl(n){let r,i,a;return{c(){r=pe("button"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[50]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ll(){let n;return{c(){n=pe("div"),n.innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function cl(e){let n;function r(e){return e[8]?Qs:e[7]?qs:Xs}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function ul(t,e,r){let n;dt(t,Vr,e=>r(22,n=e));let i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,{endpoint:x=""}=e,{lang:C=""}=e,{session:$=""}=e,{userid:S=""}=e,{clientstyling:F=""}=e,{clientstylingurl:k=""}=e,{loginurl:M=""}=e,{registerurl:_=""}=e,{depositurl:E=""}=e,{loginevent:T=""}=e,{registerevent:I=""}=e,{depositevent:L=""}=e,{clockformat:G=""}=e,{haspanicbutton:P="false"}=e,{playforfun:B="true"}=e,{checksession:R="true"}=e,{gamebanneractive:A="false"}=e,{gameid:D=""}=e,H=!1,N=!1,O=!0,j=!1,U=0,W=!1,z=!1,Y=!0,V=!1,Z=window.navigator.userAgent;var J,K;({withLocale:J,translations:K}={withLocale:"en",translations:{}}),Nr.subscribe(e=>{null==e&&(Sr.set(K),Nr.set(J))}),Object.keys(Ks).forEach(e=>{kr(e,Ks[e])});const X=(e,t)=>{let n=new URL(x+"/casino/games/"+e);n.searchParams.append("language",C),n.searchParams.append("expand","vendor"),r(12,Y=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{r(10,c=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",C),o&&0<o.length&&(r(6,H=!0),t.searchParams.append("_sid",o),t.searchParams.append("funMode","false")),e.launchUrl=t,b.scrollIntoView(),e})(e[0])),c.launchUrl&&(W=!0,r(11,z="true"==B&&c.hasFunMode),"true"==B&&c.hasAnonymousFunMode)},e=>{console.error("There was an error",e),r(7,N=!0)}).then(()=>{u&&(q(),Y||(r(18,f=c.width),r(19,y=c.height),m=c.width,g=c.height))})},q=()=>{let e=getComputedStyle(u),t=getComputedStyle(p);r(14,d=parseInt(e.width.slice(0,-2))),r(15,h=parseInt(e.height.slice(0,-2)));var n=c.width/(c.height+100);m=parseInt(t.width),g=parseInt(t.height),d/n>h-v.clientHeight-w.clientHeight?(g=h-v.clientHeight-w.clientHeight,m=h*n):(m=d,g=d/n),r(18,f=m?Math.floor(m)+"px":"1280px"),r(19,y=g?Math.floor(g)+"px":"720px")},Q=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:W},window.location.href),W&&u&&"PC"==Jr(Z)&&q()},ee=()=>{T&&(window.postMessage({type:T,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),M&&(window.location=M),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},te=()=>{I&&(window.postMessage({type:I,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),_&&(window.location=_),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},ne=()=>{L&&(window.postMessage({type:L},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"IntegratedGamePage"})),E&&(window.location=E)};function re(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!V||ie()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",re,!1),document.addEventListener("mozfullscreenchange",re,!1),document.addEventListener("fullscreenchange",re,!1),document.addEventListener("MSFullscreenChange",re,!1));const ie=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(V?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(17,V=!1)):(u.requestFullscreen?u.requestFullscreen():u.webkitRequestFullscreen?u.webkitRequestFullscreen():u.mozRequestFullScreen?u.mozRequestFullScreen():u.msRequestFullscreen&&u.msRequestFullscreen(),r(17,V=!0)))},ae=setInterval(()=>{r(4,i=G?$i().format(G):$i().format("LTS"))},100),oe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},se=e=>{U=0,l=setInterval(()=>{U+=1,r(9,j=!0),3<=U&&clearInterval(l)},1e3)},le=e=>{U<3&&r(9,j=!1),clearInterval(l)};return ht(()=>(window.addEventListener("resize",Q,!1),hs(Z),()=>{r(9,j=!1),null==s||s.removeEventListener("mousedown",se),null==s||s.removeEventListener("touchstart",se),null==s||s.removeEventListener("mouseup",le),null==s||s.removeEventListener("touchend",le),window.removeEventListener("resize",Q),clearInterval(ae)})),t.$$set=e=>{"endpoint"in e&&r(29,x=e.endpoint),"lang"in e&&r(30,C=e.lang),"session"in e&&r(31,$=e.session),"userid"in e&&r(32,S=e.userid),"clientstyling"in e&&r(33,F=e.clientstyling),"clientstylingurl"in e&&r(34,k=e.clientstylingurl),"loginurl"in e&&r(35,M=e.loginurl),"registerurl"in e&&r(36,_=e.registerurl),"depositurl"in e&&r(37,E=e.depositurl),"loginevent"in e&&r(38,T=e.loginevent),"registerevent"in e&&r(39,I=e.registerevent),"depositevent"in e&&r(40,L=e.depositevent),"clockformat"in e&&r(41,G=e.clockformat),"haspanicbutton"in e&&r(0,P=e.haspanicbutton),"playforfun"in e&&r(42,B=e.playforfun),"checksession"in e&&r(43,R=e.checksession),"gamebanneractive"in e&&r(1,A=e.gamebanneractive),"gameid"in e&&r(44,D=e.gameid)},t.$$.update=()=>{var e;1073741824&t.$$.dirty[0]&&C&&(e=C,Nr.set(e),Zr(Z),r(8,O=!1)),1610612736&t.$$.dirty[0]|8192&t.$$.dirty[1]&&x&&D&&C&&X(D),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&$&&S&&x&&("true"==R?Xr(x,$).then(e=>{o=e.Guid,r(6,H=!0)},e=>{r(6,H=!1),console.error("err on session",e)}):o=$),8&t.$$.dirty[0]|4&t.$$.dirty[1]&&F&&b&&(()=>{let e=document.createElement("style");e.innerHTML=F,b.appendChild(e)})(),8&t.$$.dirty[0]|8&t.$$.dirty[1]&&k&&b&&(()=>{let t=document.createElement("style");var e;k&&(e=new URL(k),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{b.appendChild(t)},1)}))})(),4&t.$$.dirty[0]&&s&&(null==s||s.addEventListener("mousedown",se,!1),null==s||s.addEventListener("touchstart",se,!1),null==s||s.addEventListener("mouseup",le,!1),null==s||s.addEventListener("touchend",le,!1))},[P,A,s,b,i,a,H,N,O,j,c,z,Y,u,d,h,p,V,f,y,v,w,n,Z,ee,te,ne,ie,oe,x,C,$,S,F,k,M,_,E,T,I,L,G,B,R,D,()=>oe(),function(e){pt[e?"unshift":"push"](()=>{w=e,r(21,w)})},()=>ne(),function(e){pt[e?"unshift":"push"](()=>{a=e,r(5,a)})},function(e){pt[e?"unshift":"push"](()=>{s=e,r(2,s)})},()=>ie(),()=>ie(),function(e){pt[e?"unshift":"push"](()=>{v=e,r(20,v)})},function(e){pt[e?"unshift":"push"](()=>{p=e,r(16,p)})},function(e){pt[e?"unshift":"push"](()=>{u=e,r(13,u)})},()=>oe(),function(e){pt[e?"unshift":"push"](()=>{w=e,r(21,w)})},function(e){pt[e?"unshift":"push"](()=>{a=e,r(5,a)})},()=>ee(),()=>te(),()=>ie(),()=>ie(),function(e){pt[e?"unshift":"push"](()=>{v=e,r(20,v)})},function(e){pt[e?"unshift":"push"](()=>{p=e,r(16,p)})},function(e){pt[e?"unshift":"push"](()=>{u=e,r(13,u)})},function(e){pt[e?"unshift":"push"](()=>{b=e,r(3,b)})}]}function dl(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g="true"==e[22]&&pl(e);return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=ge(),o=pe("div"),s=ge(),l=pe("casino-categories-slider"),c=ge(),u=pe("casino-page"),d=ge(),g&&g.c(),h=ge(),p=pe("casino-filter-modal"),m=pe("casino-filter-page"),fe(i,"class","HeaderPlaceholder"),fe(i,"part","HeaderPlaceholder"),P(i,"height",e[61]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),$(l,"endpoint",e[54]),$(l,"datasource",e[55]),$(l,"lang",e[56]),$(l,"session",e[60]),$(l,"userid",e[2]),$(l,"sessioncheck","false"),$(l,"actionevent",e[19]),$(l,"filteredcategories",e[7]),$(l,"mostplayed",e[11]),$(l,"mostplayedrounds",e[12]),$(l,"lastplayed",e[13]),$(l,"lastplayedperiod",e[14]),$(l,"favorites",e[15]),$(l,"activecategory",e[1]),$(l,"clientstyling",e[3]),$(l,"clientstylingurl",e[4]),$(l,"containermaxwidth",e[17]),$(l,"location","secondaryMenu"),$(l,"showsubgroups",e[48]),$(u,"session",e[60]),$(u,"userid",e[2]),$(u,"endpoint",e[54]),$(u,"datasource",e[55]),$(u,"lang",e[56]),$(u,"visiblegames",e[24]),$(u,"playrandomgame",e[23]),$(u,"activecategory",e[1]),$(u,"alternativesearch",e[16]),$(u,"favorites",e[15]),$(u,"mostplayedrounds",e[12]),$(u,"mostplayed",e[11]),$(u,"lastplayed",e[13]),$(u,"lastplayedperiod",e[14]),$(u,"clientstyling",e[3]),$(u,"clientstylingurl",e[4]),$(u,"lobbyid",e[6]),$(u,"containermaxwidth",e[17]),$(u,"haspanicbutton",e[18]),$(u,"livecasino",e[20]),$(u,"currency",e[0]),$(u,"filteredcategories",e[7]),$(u,"gamepagemodalurl",e[27]),$(u,"randombuttonicon",e[52]),$(u,"enablejackpotbanner",e[39]),$(u,"enablecasinowinners",e[28]),$(u,"periodrecent",e[33]),$(u,"periodtop",e[34]),$(u,"numberusersrecent",e[35]),$(u,"numberuserstop",e[36]),$(u,"amountlimit",e[37]),$(u,"isrecentavailable",e[32]),$(u,"istopavailable",e[31]),$(u,"integratedgameframedesktop",e[25]),$(u,"integratedgameframemobile",e[26]),$(u,"defaultcurrency",e[38]),$(u,"enableautoscroll",e[30]),$(u,"tabsorder",e[29]),$(u,"backgroundsrc",e[44]),$(u,"backgroundsrcmobile",e[45]),$(u,"titlelogopath",e[46]),$(u,"caticon0",e[40]),$(u,"caticon1",e[41]),$(u,"caticon2",e[42]),$(u,"caticon3",e[43]),$(u,"iconlabels",e[47]),$(u,"enablecollections",e[49]),$(u,"type",e[50]),$(u,"titletype",e[51]),$(m,"clientstyling",e[3]),$(m,"clientstylingurl",e[4]),$(m,"session",e[60]),$(m,"userid",e[2]),$(m,"endpoint",e[54]),$(m,"datasource",e[55]),$(m,"lang",e[56]),$(p,"clientstylingurl",e[4]),$(p,"clientstyling",e[3]),$(p,"session",e[60]),$(p,"userid",e[2]),$(p,"endpoint",e[54]),$(p,"datasource",e[55]),$(p,"lang",e[56]),$(p,"sessioncheck","false"),fe(r,"class","WidgetsSection"),fe(r,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(r,o),ue(r,s),ue(r,l),ue(r,c),ue(r,u),ue(r,d),g&&g.m(r,null),ue(r,h),ue(r,p),ue(p,m)},p(e,t){1073741824&t[1]&&P(i,"height",e[61]+"px"),8388608&t[1]&&$(l,"endpoint",e[54]),16777216&t[1]&&$(l,"datasource",e[55]),33554432&t[1]&&$(l,"lang",e[56]),536870912&t[1]&&$(l,"session",e[60]),4&t[0]&&$(l,"userid",e[2]),524288&t[0]&&$(l,"actionevent",e[19]),128&t[0]&&$(l,"filteredcategories",e[7]),2048&t[0]&&$(l,"mostplayed",e[11]),4096&t[0]&&$(l,"mostplayedrounds",e[12]),8192&t[0]&&$(l,"lastplayed",e[13]),16384&t[0]&&$(l,"lastplayedperiod",e[14]),32768&t[0]&&$(l,"favorites",e[15]),2&t[0]&&$(l,"activecategory",e[1]),8&t[0]&&$(l,"clientstyling",e[3]),16&t[0]&&$(l,"clientstylingurl",e[4]),131072&t[0]&&$(l,"containermaxwidth",e[17]),131072&t[1]&&$(l,"showsubgroups",e[48]),536870912&t[1]&&$(u,"session",e[60]),4&t[0]&&$(u,"userid",e[2]),8388608&t[1]&&$(u,"endpoint",e[54]),16777216&t[1]&&$(u,"datasource",e[55]),33554432&t[1]&&$(u,"lang",e[56]),16777216&t[0]&&$(u,"visiblegames",e[24]),8388608&t[0]&&$(u,"playrandomgame",e[23]),2&t[0]&&$(u,"activecategory",e[1]),65536&t[0]&&$(u,"alternativesearch",e[16]),32768&t[0]&&$(u,"favorites",e[15]),4096&t[0]&&$(u,"mostplayedrounds",e[12]),2048&t[0]&&$(u,"mostplayed",e[11]),8192&t[0]&&$(u,"lastplayed",e[13]),16384&t[0]&&$(u,"lastplayedperiod",e[14]),8&t[0]&&$(u,"clientstyling",e[3]),16&t[0]&&$(u,"clientstylingurl",e[4]),64&t[0]&&$(u,"lobbyid",e[6]),131072&t[0]&&$(u,"containermaxwidth",e[17]),262144&t[0]&&$(u,"haspanicbutton",e[18]),1048576&t[0]&&$(u,"livecasino",e[20]),1&t[0]&&$(u,"currency",e[0]),128&t[0]&&$(u,"filteredcategories",e[7]),134217728&t[0]&&$(u,"gamepagemodalurl",e[27]),2097152&t[1]&&$(u,"randombuttonicon",e[52]),256&t[1]&&$(u,"enablejackpotbanner",e[39]),268435456&t[0]&&$(u,"enablecasinowinners",e[28]),4&t[1]&&$(u,"periodrecent",e[33]),8&t[1]&&$(u,"periodtop",e[34]),16&t[1]&&$(u,"numberusersrecent",e[35]),32&t[1]&&$(u,"numberuserstop",e[36]),64&t[1]&&$(u,"amountlimit",e[37]),2&t[1]&&$(u,"isrecentavailable",e[32]),1&t[1]&&$(u,"istopavailable",e[31]),33554432&t[0]&&$(u,"integratedgameframedesktop",e[25]),67108864&t[0]&&$(u,"integratedgameframemobile",e[26]),128&t[1]&&$(u,"defaultcurrency",e[38]),1073741824&t[0]&&$(u,"enableautoscroll",e[30]),536870912&t[0]&&$(u,"tabsorder",e[29]),8192&t[1]&&$(u,"backgroundsrc",e[44]),16384&t[1]&&$(u,"backgroundsrcmobile",e[45]),32768&t[1]&&$(u,"titlelogopath",e[46]),512&t[1]&&$(u,"caticon0",e[40]),1024&t[1]&&$(u,"caticon1",e[41]),2048&t[1]&&$(u,"caticon2",e[42]),4096&t[1]&&$(u,"caticon3",e[43]),65536&t[1]&&$(u,"iconlabels",e[47]),262144&t[1]&&$(u,"enablecollections",e[49]),524288&t[1]&&$(u,"type",e[50]),1048576&t[1]&&$(u,"titletype",e[51]),"true"==e[22]?g?g.p(e,t):(g=pl(e),g.c(),g.m(r,h)):g&&(g.d(1),g=null),8&t[0]&&$(m,"clientstyling",e[3]),16&t[0]&&$(m,"clientstylingurl",e[4]),536870912&t[1]&&$(m,"session",e[60]),4&t[0]&&$(m,"userid",e[2]),8388608&t[1]&&$(m,"endpoint",e[54]),16777216&t[1]&&$(m,"datasource",e[55]),33554432&t[1]&&$(m,"lang",e[56]),16&t[0]&&$(p,"clientstylingurl",e[4]),8&t[0]&&$(p,"clientstyling",e[3]),536870912&t[1]&&$(p,"session",e[60]),4&t[0]&&$(p,"userid",e[2]),8388608&t[1]&&$(p,"endpoint",e[54]),16777216&t[1]&&$(p,"datasource",e[55]),33554432&t[1]&&$(p,"lang",e[56])},d(e){e&&he(n),g&&g.d()}}}function hl(e){let n,r;return{c(){n=pe("p"),r=me(e[59]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){268435456&t[1]&&ye(r,e[59])},d(e){e&&he(n)}}}function pl(e){let n,r;return{c(){n=pe("casino-modal"),r=pe("casino-game-page"),$(r,"session",e[60]),$(r,"userid",e[2]),$(r,"endpoint",e[54]),$(r,"datasource",e[55]),$(r,"lang",e[56]),$(r,"loginevent",e[8]),$(r,"registerevent",e[9]),$(r,"depositevent",e[10]),$(r,"checksession","false"),$(r,"playforfun",e[21]),$(r,"favorites",e[15]),$(r,"clientstyling",e[3]),$(r,"clientstylingurl",e[4]),$(r,"clockformat",e[5]),$(r,"haspanicbutton",e[18]),$(r,"currency",e[0]),$(r,"integratedgameframedesktop",e[25]),$(r,"integratedgameframemobile",e[26]),$(n,"session",e[60]),$(n,"userid",e[2]),$(n,"endpoint",e[54]),$(n,"datasource",e[55]),$(n,"lang",e[56]),$(n,"sessioncheck","false"),$(n,"clientstyling",e[3]),$(n,"clientstylingurl",e[4]),$(n,"gamepagemodalurl",e[27]),$(n,"haspanicbutton",e[18])},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[1]&&$(r,"session",e[60]),4&t[0]&&$(r,"userid",e[2]),8388608&t[1]&&$(r,"endpoint",e[54]),16777216&t[1]&&$(r,"datasource",e[55]),33554432&t[1]&&$(r,"lang",e[56]),256&t[0]&&$(r,"loginevent",e[8]),512&t[0]&&$(r,"registerevent",e[9]),1024&t[0]&&$(r,"depositevent",e[10]),2097152&t[0]&&$(r,"playforfun",e[21]),32768&t[0]&&$(r,"favorites",e[15]),8&t[0]&&$(r,"clientstyling",e[3]),16&t[0]&&$(r,"clientstylingurl",e[4]),32&t[0]&&$(r,"clockformat",e[5]),262144&t[0]&&$(r,"haspanicbutton",e[18]),1&t[0]&&$(r,"currency",e[0]),33554432&t[0]&&$(r,"integratedgameframedesktop",e[25]),67108864&t[0]&&$(r,"integratedgameframemobile",e[26]),536870912&t[1]&&$(n,"session",e[60]),4&t[0]&&$(n,"userid",e[2]),8388608&t[1]&&$(n,"endpoint",e[54]),16777216&t[1]&&$(n,"datasource",e[55]),33554432&t[1]&&$(n,"lang",e[56]),8&t[0]&&$(n,"clientstyling",e[3]),16&t[0]&&$(n,"clientstylingurl",e[4]),134217728&t[0]&&$(n,"gamepagemodalurl",e[27]),262144&t[0]&&$(n,"haspanicbutton",e[18])},d(e){e&&he(n)}}}function ml(n){let r,i,a;function o(e){return e[58]?hl:dl}let s=o(n),l=s(n);return{c(){r=pe("div"),l.c(),this.c=Z,fe(r,"class",i=n[57]?"DisplayNone":""),fe(r,"part",a=n[57]?"DisplayNone":"")},m(e,t){de(e,r,t),l.m(r,null),n[73](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),l=s(e),l&&(l.c(),l.m(r,null))),67108864&t[1]&&i!==(i=e[57]?"DisplayNone":"")&&fe(r,"class",i),67108864&t[1]&&a!==(a=e[57]?"DisplayNone":"")&&fe(r,"part",a)},i:Z,o:Z,d(e){e&&he(r),l.d(),n[73](null)}}}function gl(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:u=""}=t,{userid:d=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y=""}=t,{filteredcategories:b=""}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:x=""}=t,{loginevent:C=""}=t,{registerevent:$=""}=t,{depositevent:S=""}=t,{mostplayed:F=""}=t,{mostplayedrounds:k=""}=t,{lastplayed:M="false"}=t,{lastplayedperiod:_="Last30Days"}=t,{favorites:E=""}=t,{desktopoffset:T="0"}=t,{mobileoffset:I="0"}=t,{alternativesearch:L="false"}=t,{containermaxwidth:G=""}=t,{haspanicbutton:P="false"}=t,{activecategory:B="LOBBY"}=t,{actionevent:R="CategoryChange"}=t,{livecasino:A="false"}=t,{playforfun:D="true"}=t,{gamemodal:H="true"}=t,{playrandomgame:N="false"}=t,{visiblegames:O="10"}=t,{integratedgameframedesktop:j="false"}=t,{integratedgameframemobile:U="false"}=t,{gamepagemodalurl:W="false"}=t,{enablecasinowinners:z=""}=t,{tabsorder:Y=""}=t,{enableautoscroll:V=""}=t,{istopavailable:Z=""}=t,{isrecentavailable:J=""}=t,{periodrecent:K=""}=t,{periodtop:X=""}=t,{numberusersrecent:q=""}=t,{numberuserstop:Q=""}=t,{amountlimit:ee=""}=t,{defaultcurrency:te=""}=t,{enablejackpotbanner:ne=""}=t,{caticon0:re=""}=t,{caticon1:ie=""}=t,{caticon2:ae=""}=t,{caticon3:oe=""}=t,{backgroundsrc:se=""}=t,{backgroundsrcmobile:le=""}=t,{titlelogopath:ce=""}=t,{iconlabels:ue=""}=t,{visualstructure:de=""}=t,{showsubgroups:he="false"}=t,{enablecollections:pe=""}=t,{type:me=""}=t,{titletype:ge=""}=t,{randombuttonicon:fe=""}=t,ye=!1,be=!1,ve="Loading, please wait ...",we="",xe=window.navigator.userAgent,Ce=0,$e=!1;var Se,Fe;({withLocale:Se,translations:Fe}={withLocale:"en",translations:{}}),Nr.subscribe(e=>{null==e&&(Sr.set(Fe),Nr.set(Se))});const ke=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":$e=e.data.scrollTop,$e&&(Ce||n(61,Ce="PC"===Jr(xe)?parseInt(T):parseInt(I)),window.scrollTo({top:Ce}));break;case"UserSessionID":n(60,we=e.data.session),e.data.userID;break;case"CategoryChange":n(1,B=e.data.itemId)}};return ht(()=>(window.addEventListener("message",ke,!1),n(61,Ce="PC"===Jr(xe)?parseInt(T):parseInt(I)),()=>{window.removeEventListener("message",ke)})),e.$$set=e=>{"endpoint"in e&&n(62,s=e.endpoint),"datasource"in e&&n(63,l=e.datasource),"lang"in e&&n(64,c=e.lang),"session"in e&&n(65,u=e.session),"userid"in e&&n(2,d=e.userid),"opsession"in e&&n(66,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,g=e.clockformat),"lobbyid"in e&&n(6,f=e.lobbyid),"currency"in e&&n(0,y=e.currency),"filteredcategories"in e&&n(7,b=e.filteredcategories),"loginurl"in e&&n(67,v=e.loginurl),"registerurl"in e&&n(68,w=e.registerurl),"depositurl"in e&&n(69,x=e.depositurl),"loginevent"in e&&n(8,C=e.loginevent),"registerevent"in e&&n(9,$=e.registerevent),"depositevent"in e&&n(10,S=e.depositevent),"mostplayed"in e&&n(11,F=e.mostplayed),"mostplayedrounds"in e&&n(12,k=e.mostplayedrounds),"lastplayed"in e&&n(13,M=e.lastplayed),"lastplayedperiod"in e&&n(14,_=e.lastplayedperiod),"favorites"in e&&n(15,E=e.favorites),"desktopoffset"in e&&n(70,T=e.desktopoffset),"mobileoffset"in e&&n(71,I=e.mobileoffset),"alternativesearch"in e&&n(16,L=e.alternativesearch),"containermaxwidth"in e&&n(17,G=e.containermaxwidth),"haspanicbutton"in e&&n(18,P=e.haspanicbutton),"activecategory"in e&&n(1,B=e.activecategory),"actionevent"in e&&n(19,R=e.actionevent),"livecasino"in e&&n(20,A=e.livecasino),"playforfun"in e&&n(21,D=e.playforfun),"gamemodal"in e&&n(22,H=e.gamemodal),"playrandomgame"in e&&n(23,N=e.playrandomgame),"visiblegames"in e&&n(24,O=e.visiblegames),"integratedgameframedesktop"in e&&n(25,j=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(26,U=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(27,W=e.gamepagemodalurl),"enablecasinowinners"in e&&n(28,z=e.enablecasinowinners),"tabsorder"in e&&n(29,Y=e.tabsorder),"enableautoscroll"in e&&n(30,V=e.enableautoscroll),"istopavailable"in e&&n(31,Z=e.istopavailable),"isrecentavailable"in e&&n(32,J=e.isrecentavailable),"periodrecent"in e&&n(33,K=e.periodrecent),"periodtop"in e&&n(34,X=e.periodtop),"numberusersrecent"in e&&n(35,q=e.numberusersrecent),"numberuserstop"in e&&n(36,Q=e.numberuserstop),"amountlimit"in e&&n(37,ee=e.amountlimit),"defaultcurrency"in e&&n(38,te=e.defaultcurrency),"enablejackpotbanner"in e&&n(39,ne=e.enablejackpotbanner),"caticon0"in e&&n(40,re=e.caticon0),"caticon1"in e&&n(41,ie=e.caticon1),"caticon2"in e&&n(42,ae=e.caticon2),"caticon3"in e&&n(43,oe=e.caticon3),"backgroundsrc"in e&&n(44,se=e.backgroundsrc),"backgroundsrcmobile"in e&&n(45,le=e.backgroundsrcmobile),"titlelogopath"in e&&n(46,ce=e.titlelogopath),"iconlabels"in e&&n(47,ue=e.iconlabels),"visualstructure"in e&&n(72,de=e.visualstructure),"showsubgroups"in e&&n(48,he=e.showsubgroups),"enablecollections"in e&&n(49,pe=e.enablecollections),"type"in e&&n(50,me=e.type),"titletype"in e&&n(51,ge=e.titletype),"randombuttonicon"in e&&n(52,fe=e.randombuttonicon)},e.$$.update=()=>{4&e.$$.dirty[2]&&c&&qr(c),4&e.$$.dirty[0]|9&e.$$.dirty[2]&&u&&d&&s&&Xr(s,u).then(e=>{n(60,we=e.Guid),n(0,y=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),43008&e.$$.dirty[0]|7&e.$$.dirty[2]&&s&&l&&c&&F&&M&&E&&(s||(n(59,ve="Endpoint is missing! Please provide a valid endpointURL."),n(58,be=!0),console.error(ve)),l||(n(59,ve="Datasource is missing! Please provide a valid datasource."),n(58,be=!0),console.error(ve)),(!c||c.length<2)&&(n(59,ve="Language is missing! Please provide a valid language (alpha2code)"),n(58,be=!0),console.error(ve)),qr(c),n(54,r=s),n(55,i=l),n(56,a=c),n(58,be=!1)),16&e.$$.dirty[2]&&h&&n(60,we=h),8&e.$$.dirty[0]|4194304&e.$$.dirty[1]&&p&&o&&(()=>{let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)})(),16&e.$$.dirty[0]|4194304&e.$$.dirty[1]&&m&&o&&(()=>{n(57,ye=!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(57,ye=!1)},500))})})()},[y,B,d,p,m,g,f,b,C,$,S,F,k,M,_,E,L,G,P,R,A,D,H,N,O,j,U,W,z,Y,V,Z,J,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,ue,he,pe,me,ge,fe,o,r,i,a,ye,be,ve,we,Ce,s,l,c,u,h,v,w,x,T,I,de,function(e){pt[e?"unshift":"push"](()=>{o=e,n(53,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ul,cl,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,loginurl:35,registerurl:36,depositurl:37,loginevent:38,registerevent:39,depositevent:40,clockformat:41,haspanicbutton:0,playforfun:42,checksession:43,gamebanneractive:1,gameid:44},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),O()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),O()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),O()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),O()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}get loginurl(){return this.$$.ctx[35]}set loginurl(e){this.$$set({loginurl:e}),O()}get registerurl(){return this.$$.ctx[36]}set registerurl(e){this.$$set({registerurl:e}),O()}get depositurl(){return this.$$.ctx[37]}set depositurl(e){this.$$set({depositurl:e}),O()}get loginevent(){return this.$$.ctx[38]}set loginevent(e){this.$$set({loginevent:e}),O()}get registerevent(){return this.$$.ctx[39]}set registerevent(e){this.$$set({registerevent:e}),O()}get depositevent(){return this.$$.ctx[40]}set depositevent(e){this.$$set({depositevent:e}),O()}get clockformat(){return this.$$.ctx[41]}set clockformat(e){this.$$set({clockformat:e}),O()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),O()}get playforfun(){return this.$$.ctx[42]}set playforfun(e){this.$$set({playforfun:e}),O()}get checksession(){return this.$$.ctx[43]}set checksession(e){this.$$set({checksession:e}),O()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),O()}get gameid(){return this.$$.ctx[44]}set gameid(e){this.$$set({gameid:e}),O()}});class fl extends ne{constructor(e){super(),this.shadowRoot.innerHTML="<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>",te(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},gl,ml,t,{endpoint:62,datasource:63,lang:64,session:65,userid:2,opsession:66,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:0,filteredcategories:7,loginurl:67,registerurl:68,depositurl:69,loginevent:8,registerevent:9,depositevent:10,mostplayed:11,mostplayedrounds:12,lastplayed:13,lastplayedperiod:14,favorites:15,desktopoffset:70,mobileoffset:71,alternativesearch:16,containermaxwidth:17,haspanicbutton:18,activecategory:1,actionevent:19,livecasino:20,playforfun:21,gamemodal:22,playrandomgame:23,visiblegames:24,integratedgameframedesktop:25,integratedgameframemobile:26,gamepagemodalurl:27,enablecasinowinners:28,tabsorder:29,enableautoscroll:30,istopavailable:31,isrecentavailable:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,enablejackpotbanner:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:72,showsubgroups:48,enablecollections:49,type:50,titletype:51,randombuttonicon:52},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","enablejackpotbanner","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","showsubgroups","enablecollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[62]}set endpoint(e){this.$$set({endpoint:e}),O()}get datasource(){return this.$$.ctx[63]}set datasource(e){this.$$set({datasource:e}),O()}get lang(){return this.$$.ctx[64]}set lang(e){this.$$set({lang:e}),O()}get session(){return this.$$.ctx[65]}set session(e){this.$$set({session:e}),O()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),O()}get opsession(){return this.$$.ctx[66]}set opsession(e){this.$$set({opsession:e}),O()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),O()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),O()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),O()}get filteredcategories(){return this.$$.ctx[7]}set filteredcategories(e){this.$$set({filteredcategories:e}),O()}get loginurl(){return this.$$.ctx[67]}set loginurl(e){this.$$set({loginurl:e}),O()}get registerurl(){return this.$$.ctx[68]}set registerurl(e){this.$$set({registerurl:e}),O()}get depositurl(){return this.$$.ctx[69]}set depositurl(e){this.$$set({depositurl:e}),O()}get loginevent(){return this.$$.ctx[8]}set loginevent(e){this.$$set({loginevent:e}),O()}get registerevent(){return this.$$.ctx[9]}set registerevent(e){this.$$set({registerevent:e}),O()}get depositevent(){return this.$$.ctx[10]}set depositevent(e){this.$$set({depositevent:e}),O()}get mostplayed(){return this.$$.ctx[11]}set mostplayed(e){this.$$set({mostplayed:e}),O()}get mostplayedrounds(){return this.$$.ctx[12]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),O()}get lastplayed(){return this.$$.ctx[13]}set lastplayed(e){this.$$set({lastplayed:e}),O()}get lastplayedperiod(){return this.$$.ctx[14]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),O()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),O()}get desktopoffset(){return this.$$.ctx[70]}set desktopoffset(e){this.$$set({desktopoffset:e}),O()}get mobileoffset(){return this.$$.ctx[71]}set mobileoffset(e){this.$$set({mobileoffset:e}),O()}get alternativesearch(){return this.$$.ctx[16]}set alternativesearch(e){this.$$set({alternativesearch:e}),O()}get containermaxwidth(){return this.$$.ctx[17]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),O()}get haspanicbutton(){return this.$$.ctx[18]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),O()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),O()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),O()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),O()}get playforfun(){return this.$$.ctx[21]}set playforfun(e){this.$$set({playforfun:e}),O()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(e){this.$$set({gamemodal:e}),O()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(e){this.$$set({playrandomgame:e}),O()}get visiblegames(){return this.$$.ctx[24]}set visiblegames(e){this.$$set({visiblegames:e}),O()}get integratedgameframedesktop(){return this.$$.ctx[25]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),O()}get integratedgameframemobile(){return this.$$.ctx[26]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),O()}get gamepagemodalurl(){return this.$$.ctx[27]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),O()}get enablecasinowinners(){return this.$$.ctx[28]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),O()}get tabsorder(){return this.$$.ctx[29]}set tabsorder(e){this.$$set({tabsorder:e}),O()}get enableautoscroll(){return this.$$.ctx[30]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),O()}get istopavailable(){return this.$$.ctx[31]}set istopavailable(e){this.$$set({istopavailable:e}),O()}get isrecentavailable(){return this.$$.ctx[32]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),O()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),O()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),O()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),O()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),O()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),O()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),O()}get enablejackpotbanner(){return this.$$.ctx[39]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),O()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),O()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),O()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),O()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),O()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),O()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),O()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),O()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),O()}get visualstructure(){return this.$$.ctx[72]}set visualstructure(e){this.$$set({visualstructure:e}),O()}get showsubgroups(){return this.$$.ctx[48]}set showsubgroups(e){this.$$set({showsubgroups:e}),O()}get enablecollections(){return this.$$.ctx[49]}set enablecollections(e){this.$$set({enablecollections:e}),O()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),O()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),O()}get randombuttonicon(){return this.$$.ctx[52]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),O()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",fl),fl});
|
|
33
33
|
//# sourceMappingURL=casino-lobby.js.map
|