@everymatrix/casino-page 1.12.0 → 1.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-page.js +9 -9
- package/dist/casino-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoPage.svelte +8 -8
- package/src/translations.js +167 -197
package/dist/casino-page.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function V(){}const v=e=>e;function
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function V(){}const v=e=>e;function m(e){return e()}function p(){return Object.create(null)}function Z(e){e.forEach(m)}function k(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let d;function ce(e,t){return(d=d||document.createElement("a")).href=t,e===d.href}function u(e,...t){if(null==e)return V;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ot(e,t,n){e.$$.on_destroy.push(u(t,n))}function F(e){return e&&k(e.destroy)?e.destroy:V}var e="undefined"!=typeof window;let x=e?()=>window.performance.now():()=>Date.now(),$=e?e=>requestAnimationFrame(e):V;const C=new Set;function M(t){C.forEach(e=>{e.c(t)||(C.delete(e),e.f())}),0!==C.size&&$(M)}function de(e,t){e.appendChild(t)}function E(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function ue(e,t,n){e.insertBefore(t,n||null)}function he(e){e.parentNode&&e.parentNode.removeChild(e)}function H(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function me(e){return document.createElement(e)}function j(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function pe(e){return document.createTextNode(e)}function ge(){return pe(" ")}function l(){return pe("")}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 S(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.data!==(t=""+t)&&(e.data=t)}function L(e,t){e.value=null==t?"":t}function _(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}let G;function T(e,t,n){e.classList[n?"add":"remove"](t)}class P{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=j(t.nodeName):this.e=me(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(("TEMPLATE"===this.e.nodeName?this.e.content:this.e).childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)ue(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(he)}}function r(e){var t={};for(const n of e)t[n.name]=n.value;return t}const I=new Map;let R,D=0;function A(e,t,n,r,a,i,s,o=0){var l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*i(e);c+=100*e+`%{${s(r,1-r)}}
|
|
2
2
|
`}var d,u=c+`100% {${s(n,1-n)}}
|
|
3
|
-
}`,o=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+o,m=M(e),{stylesheet:h,rules:p}=I.get(m)||(m=m,d={stylesheet:(d=e,p=he("style"),d=M(d),h=p,de(d.head||d,h),h.sheet,p.sheet),rules:{}},I.set(m,d),d),m=(p[o]||(p[o]=!0,h.insertRule(`@keyframes ${o} `+u,h.cssRules.length)),e.style.animation||"");return e.style.animation=(m?m+", ":"")+o+` ${a}ms linear ${r}ms 1 both`,D+=1,o}function B(e){R=e}function lt(e){!function(){if(R)return R;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const N=[],at=[];let O=[];const U=[],z=Promise.resolve();let W=!1;function Y(){W||(W=!0,z.then(m))}function Se(){return Y(),z}function X(e){O.push(e)}const q=new Set;let J,Q=0;function m(){if(0===Q){const a=R;do{try{for(;Q<N.length;){const a=N[Q];Q++,B(a),e=t=void 0;var e,t=a.$$;null!==t.fragment&&(t.update(),Z(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(X))}}catch(a){throw N.length=0,Q=0,a}for(B(null),N.length=0,Q=0;at.length;)at.pop()();for(let e=0;e<O.length;e+=1){var n=O[e];q.has(n)||(q.add(n),n())}}while(O.length=0,N.length);for(;U.length;)U.pop()();W=!1,q.clear(),B(a)}}function ee(e,t,n){var a;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(a=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),a))}const te=new Set;let ne;function ae(e,t){e&&e.i&&(te.delete(e),e.i(t))}function re(e,t,n,a){e&&e.o?te.has(e)||(te.add(e),ne.c.push(()=>{te.delete(e),a&&(n&&e.d(1),a())}),e.o(t)):a&&a()}const ie={duration:0};function se(l,e,t,n){const a={direction:"both"};let c=e(l,t,a),d=n?0:1,u=null,m=null,h=null;function p(){var e,t,n,a;h&&(e=l,t=h,n=(e.style.animation||"").split(", "),a=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-a.length)||(e.style.animation=a.join(", "),D-=n)||$(()=>{D||(I.forEach(e=>{e=e.stylesheet.ownerNode;e&&me(e)}),I.clear())}))}function g(e,t){var n=e.b-d;return t*=Math.abs(n),{a:d,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:a=v,tick:r=V,css:i}=c||ie,s={start:x()+t,b:e};if(e||((s.group=ne).r+=1),u||m)m=s;else{i&&(p(),h=A(l,d,e,n,t,a,i)),e&&r(0,1),u=g(s,n),X(()=>ee(l,e,"start"));{var o=e=>{return m&&e>m.start&&(u=g(m,n),m=null,ee(l,u.b,"start"),i)&&(p(),h=A(l,d,u.b,u.duration,0,a,c.css)),u&&(e>=u.end?(r(d=u.b,1-d),ee(l,u.b,"end"),m||(u.b?p():--u.group.r||Z(u.group.c)),u=null):e>=u.start&&(e=e-u.start,d=u.a+u.d*a(e/u.duration),r(d,1-d))),!(!u&&!m)};let t;0===C.size&&$(F),new Promise(e=>{C.add(t={c:o,f:e})})}}}return{run(e){k(c)?(J||(J=Promise.resolve()).then(()=>{J=null}),J.then(()=>{c=c(a),r(e)})):r(e)},end(){p(),u=m=null}}}function r(a,e,t,n,r,i,s,o=[-1]){var l=R;B(a);const c=a.$$={fragment:null,ctx:[],props:i,update:V,not_equal:r,bound:p(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:p(),dirty:o,skip_bound:!1,root:e.target||l.$$.root};s&&s(c.root);let d=!1;if(c.ctx=t?t(a,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&r(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d)&&(n=e,-1===(e=a).$$.dirty[0]&&(N.push(e),Y(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),d=!0,Z(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){i=e.target;const V=Array.from(i.childNodes);c.fragment&&c.fragment.l(V),V.forEach(me)}else c.fragment&&c.fragment.c();e.intro&&ae(a.$$.fragment);var u=a,o=e.target,s=e.anchor,t=e.customElement,{fragment:n,after_update:i}=u.$$;n&&n.m(o,s),t||X(()=>{var e=u.$$.on_mount.map(h).filter(k);u.$$.on_destroy?u.$$.on_destroy.push(...e):Z(e),u.$$.on_mount=[]}),i.forEach(X),m()}B(l)}let t;"function"==typeof HTMLElement&&(t=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(h).filter(k);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){Z(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const a=[],r=[];O.forEach(e=>(-1===n.indexOf(e)?a:r).push(e)),r.forEach(e=>e()),O=a}Z(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=V}$on(e,t){if(!k(t))return V;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 oe,le,o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,be="URLSearchParams"in o,ve="Symbol"in o&&"iterator"in Symbol,we="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),xe="FormData"in o,$e="ArrayBuffer"in o;function Ce(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 ke(e){return e="string"!=typeof e?String(e):e}function Te(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ve&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?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 _e(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Fe(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Me(e){var t=new FileReader,n=Fe(t);return t.readAsArrayBuffer(e),n}function Ee(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Le(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:we&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:xe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:be&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():$e&&we&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Ee(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):$e&&(ArrayBuffer.prototype.isPrototypeOf(e)||le(e))?this._bodyArrayBuffer=Ee(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):be&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},we&&(this.blob=function(){var e=_e(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?_e(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=_e(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=Fe(e),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),a=0;a<t.length;a++)n[a]=String.fromCharCode(t[a]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},xe&&(this.formData=function(){return this.text().then(Ie)}),this.json=function(){return this.text().then(JSON.parse)},this}$e&&(oe=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],le=ArrayBuffer.isView||function(e){return e&&-1<oe.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=Ce(e),t=ke(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},c.prototype.delete=function(e){delete this.map[Ce(e)]},c.prototype.get=function(e){return e=Ce(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(Ce(e))},c.prototype.set=function(e,t){this.map[Ce(e)]=ke(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Te(n)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Te(t)},c.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Te(n)},ve&&(c.prototype[Symbol.iterator]=c.prototype.entries);var Ge=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Pe(e,t){if(!(this instanceof Pe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,a=(t=t||{}).body;if(e instanceof Pe){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,a||null==e._bodyInit||(a=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 c(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Ge.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)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a),"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 Ie(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 Re(e,t){if(!(this instanceof Re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');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 c(t.headers),this.url=t.url||"",this._initBody(e)}Pe.prototype.clone=function(){return new Pe(this,{body:this._bodyInit})},Le.call(Pe.prototype),Le.call(Re.prototype),Re.prototype.clone=function(){return new Re(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},Re.error=function(){var e=new Re(null,{status:0,statusText:""});return e.type="error",e};var De=[301,302,303,307,308],Ae=(Re.redirect=function(e,t){if(-1===De.indexOf(t))throw new RangeError("Invalid status code");return new Re(null,{status:t,headers:{location:e}})},o.DOMException);try{new Ae}catch(V){(Ae=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Ae.prototype.constructor=Ae}function Be(a,s){return new Promise(function(r,e){var t=new Pe(a,s);if(t.signal&&t.signal.aborted)return e(new Ae("Aborted","AbortError"));var i=new XMLHttpRequest;function n(){i.abort()}i.onload=function(){var e,n,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=new c,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)},a=(t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL"),"response"in i?i.response:i.responseText);setTimeout(function(){r(new Re(a,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new Ae("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&o.location.href?o.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(we?i.responseType="blob":$e&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof c?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){i.setRequestHeader(e,ke(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",n)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}function Ln(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Be.polyfill=!0,o.fetch||(o.fetch=Be,o.Headers=c,o.Request=Pe,o.Response=Re);var Ne=self.fetch.bind(self),Oe=function(e,t){return(Oe=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}Oe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function je(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&a>=e.length?void 0:e)&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ue(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,r,i=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(a=i.next()).done;)s.push(a.value)}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s}function ze(e,t,n){if(n||2===arguments.length)for(var a,r=0,i=t.length;r<i;r++)!a&&r in t||((a=a||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function We(e){return"function"==typeof e}function Ye(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ve=Ye(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Ze(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}qe.prototype.unsubscribe=function(){var e,t,n,a,r;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=je(i),o=s.next();!o.done;o=s.next())o.value.remove(this)}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(We(i))try{i()}catch(e){r=e instanceof Ve?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=je(i),c=l.next();!c.done;c=l.next()){var d=c.value;try{Qe(d)}catch(e){r=null!=r?r:[],e instanceof Ve?r=ze(ze([],Ue(r)),Ue(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}}if(r)throw new Ve(r)}},qe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Qe(e);else{if(e instanceof qe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},qe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},qe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},qe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ze(t,e)},qe.prototype.remove=function(e){var t=this._finalizers;t&&Ze(t,e),e instanceof qe&&e._removeParent(this)},qe.EMPTY=((e=new qe).closed=!0,e);var Ke=qe,Xe=Ke.EMPTY;function qe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Je(e){return e instanceof Ke||e&&"closed"in e&&We(e.remove)&&We(e.add)&&We(e.unsubscribe)}function Qe(e){We(e)?e():e.unsubscribe()}var et=void 0,tt=!1,nt=!1,ct={setTimeout:function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];var r=ct.delegate;return null!=r&&r.setTimeout?r.setTimeout.apply(r,ze([e,t],Ue(n))):setTimeout.apply(void 0,ze([e,t],Ue(n)))},clearTimeout:function(e){var t=ct.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function dt(){}var ut=null;function mt(e){if(tt){var t=!ut;if(t&&(ut={errorThrown:!1,error:null}),e(),t){var t=ut,n=t.errorThrown,t=t.error;if(ut=null,n)throw t}}else e()}He(ft,ht=Ke),ft.create=function(e,t,n){return new wt(e,t,n)},ft.prototype.next=function(e){this.isStopped||this._next(e)},ft.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},ft.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},ft.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ht.prototype.unsubscribe.call(this),this.destination=null)},ft.prototype._next=function(e){this.destination.next(e)},ft.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},ft.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ht,pt=ft,gt=Function.prototype.bind;function ft(e){var t=ht.call(this)||this;return t.isStopped=!1,e?Je(t.destination=e)&&e.add(t):t.destination=St,t}function yt(e,t){return gt.call(e,t)}$t.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ct(e)}},$t.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ct(e)}else Ct(e)},$t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ct(e)}};var bt,vt=$t,wt=(He(xt,bt=pt),xt);function xt(e,t,n){var a=bt.call(this)||this,n=We(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:a&&nt?((t=Object.create(e)).unsubscribe=function(){return a.unsubscribe()},{next:e.next&&yt(e.next,t),error:e.error&&yt(e.error,t),complete:e.complete&&yt(e.complete,t)}):e;return a.destination=new vt(n),a}function $t(e){this.partialObserver=e}function Ct(e){var t=e;ct.setTimeout(function(){throw t})}var St={closed:!0,next:dt,error:function(e){throw e},complete:dt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";Tt.prototype.lift=function(e){var t=new Tt;return t.source=this,t.operator=e,t},Tt.prototype.subscribe=function(e,t,n){var a,r=this,i=(a=e)&&a instanceof pt||a&&We(a.next)&&We(a.error)&&We(a.complete)&&Je(a)?e:new wt(e,t,n);return mt(function(){var e=r.operator,t=r.source;i.add(e?e.call(i,t):t?r._subscribe(i):r._trySubscribe(i))}),i},Tt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Tt.prototype.forEach=function(a,e){var r=this;return new(e=_t(e))(function(e,t){var n=new wt({next:function(e){try{a(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});r.subscribe(n)})},Tt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Tt.prototype[e]=function(){return this},Tt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Tt.prototype.toPromise=function(e){var a=this;return new(e=_t(e))(function(e,t){var n;a.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Tt.create=function(e){return new Tt(e)};var kt=Tt;function Tt(e){e&&(this._subscribe=e)}function _t(e){return null!=(e=null!=e?e:et)?e:Promise}var Ft,Mt,Et,Lt=Ye(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(He(i,Et=kt),i.prototype.lift=function(e){var t=new Gt(this,this);return t.operator=e,t},i.prototype._throwIfClosed=function(){if(this.closed)throw new Lt},i.prototype.next=function(r){var i=this;mt(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=je(i.currentObservers),a=n.next();!a.done;a=n.next())a.value.next(r)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},i.prototype.error=function(t){var n=this;mt(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)}})},i.prototype.complete=function(){var t=this;mt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},i.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(i.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),i.prototype._trySubscribe=function(e){return this._throwIfClosed(),Et.prototype._trySubscribe.call(this,e)},i.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},i.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,a=this.isStopped,r=this.observers;return n||a?Xe:(this.currentObservers=null,r.push(e),new Ke(function(){t.currentObservers=null,Ze(r,e)}))},i.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,a=this.isStopped;t?e.error(n):a&&e.complete()},i.prototype.asObservable=function(){var e=new kt;return e.source=this,e},i.create=function(e,t){return new Gt(e,t)},i),Gt=(He(Dt,Mt=e),Dt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Dt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Dt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Dt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Xe},Dt),Pt={now:function(){return(Pt.delegate||Date).now()},delegate:void 0},It=(He(Rt,Ft=e),Rt.prototype.next=function(e){var t=this,n=t.isStopped,a=t._buffer,r=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(a.push(e),r)||a.push(i.now()+t),this._trimBuffer(),Ft.prototype.next.call(this,e)},Rt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,a=this._buffer.slice(),r=0;r<a.length&&!e.closed;r+=n?1:2)e.next(a[r]);return this._checkFinalizedStatuses(e),t},Rt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,a=this._infiniteTimeWindow,r=(a?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!a){for(var i=t.now(),s=0,o=1;o<n.length&&n[o]<=i;o+=2)s=o;s&&n.splice(0,s+1)}},Rt);function Rt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Pt);var a=Ft.call(this)||this;return a._bufferSize=e,a._windowTime=t,a._timestampProvider=n,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=t===1/0,a._bufferSize=Math.max(1,e),a._windowTime=Math.max(1,t),a}function Dt(e,t){var n=Mt.call(this)||this;return n.destination=e,n.source=t,n}function i(){var e=Et.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let At=[],Bt={};const Nt=[];function Ot(a,r=V){let i;const s=new Set;function o(e){if(n(a,e)&&(a=e,i)){const e=!Nt.length;for(const e of s)e[1](),Nt.push(e,a);if(e){for(let e=0;e<Nt.length;e+=2)Nt[e][0](Nt[e+1]);Nt.length=0}}}return{set:o,update:function(e){o(e(a))},subscribe:function(e,t=V){const n=[e,t];return s.add(n),1===s.size&&(i=r(o)||V),e(a),()=>{s.delete(n),0===s.size&&i&&(i(),i=null)}}}}function Ht(e,o,t){const l=!Array.isArray(e),c=l?[e]:e,d=o.length<2;return{subscribe:Ot(t,t=>{let n=!1;const a=[];let r=0,i=V;const s=()=>{var e;r||(i(),e=o(l?a[0]:a,t),d?t(e):i=k(e)?e:V)},e=c.map((e,t)=>u(e,e=>{a[t]=e,r&=~(1<<t),n&&s()},()=>{r|=1<<t}));return n=!0,s(),function(){Z(e),i(),n=!1}}).subscribe}}function jt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Ut);var t}var Ut="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function zt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Kt(Array.isArray(e)?[]:{},e,t):e}function Wt(e,t,n){return e.concat(t).map(function(e){return zt(e,n)})}function Yt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Vt(e,t){try{return t in e}catch(e){return!1}}function Zt(a,r,i){var s={};return i.isMergeableObject(a)&&Yt(a).forEach(function(e){s[e]=zt(a[e],i)}),Yt(r).forEach(function(e){var t,n;(!Vt(t=a,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Vt(a,e)&&i.isMergeableObject(r[e])?s[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Kt)(a[e],r[e],i):s[e]=zt(r[e],i))}),s}function Kt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Wt,n.isMergeableObject=n.isMergeableObject||jt,n.cloneUnlessOtherwiseSpecified=zt;var a=Array.isArray(t);return a===Array.isArray(e)?a?n.arrayMerge(e,t,n):Zt(e,t,n):zt(t,n)}Kt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Kt(e,t,n)},{});throw new Error("first argument should be an array")};var Xt=Kt,qt=function(e,t){return(qt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function Jt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}qt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,Qt,f=function(){return(f=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function en(e,t,n){if(n||2===arguments.length)for(var a,r=0,i=t.length;r<i;r++)!a&&r in t||((a=a||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function tn(e){return e.type===y.literal}function nn(e){return e.type===y.number}function an(e){return e.type===y.date}function rn(e){return e.type===y.time}function sn(e){return e.type===y.select}function on(e){return e.type===y.plural}function ln(e){return e.type===y.tag}function cn(e){return e&&"object"==typeof e&&e.type===Qt.number}function dn(e){return e&&"object"==typeof e&&e.type===Qt.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=Qt=Qt||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,un=/(?:[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,hn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,pn=/^(@+)?(\+|#+)?[rs]?$/g,gn=/(\*)(0+)|(#+)(0+)|(0+)/g,fn=/^(0+)$/;function yn(e){var a={};return"r"===e[e.length-1]?a.roundingPriority="morePrecision":"s"===e[e.length-1]&&(a.roundingPriority="lessPrecision"),e.replace(pn,function(e,t,n){return"string"!=typeof n?(a.minimumSignificantDigits=t.length,a.maximumSignificantDigits=t.length):"+"===n?a.minimumSignificantDigits=t.length:"#"===t[0]?a.maximumSignificantDigits=t.length:(a.minimumSignificantDigits=t.length,a.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),a}function bn(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 vn(e){return bn(e)||{}}function wn(e){for(var s={},t=0,n=e;t<n.length;t++){var a,r=n[t];switch(r.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=r.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=f(f(f({},s),{notation:"scientific"}),r.options.reduce(function(e,t){return f(f({},e),vn(t))},{}));continue;case"engineering":s=f(f(f({},s),{notation:"engineering"}),r.options.reduce(function(e,t){return f(f({},e),vn(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(gn,function(e,t,n,a,r,i){if(t)s.minimumIntegerDigits=n.length;else{if(a&&r)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(fn.test(r.stem))s.minimumIntegerDigits=r.stem.length;else if(hn.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(hn,function(e,t,n,a,r,i){return"*"===n?s.minimumFractionDigits=t.length:a&&"#"===a[0]?s.maximumFractionDigits=a.length:r&&i?(s.minimumFractionDigits=r.length,s.maximumFractionDigits=r.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var i=r.options[0];"w"===i?s=f(f({},s),{trailingZeroDisplay:"stripIfInteger"}):i&&(s=f(f({},s),yn(i)))}else pn.test(r.stem)?s=f(f({},s),yn(r.stem)):((i=bn(r.stem))&&(s=f(f({},s),i)),(a=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)),!fn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(s=f(f({},s),a)))}return s}var xn={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,"*")),Cn=new RegExp("".concat(e.source,"*$"));function b(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Sn=!!String.fromCodePoint,kn=!!Object.fromEntries,Tn=!!String.prototype.codePointAt,_n=!!String.prototype.trimStart,Fn=!!String.prototype.trimEnd,Mn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},En=!0;try{En="a"===(null==(Jn=On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Jn[0])}catch(V){En=!1}var Gn,Pn,In=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Rn=Sn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,a="",r=e.length,i=0;i<r;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");a+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return a},Dn=kn?Object.fromEntries:function(e){for(var t={},n=0,a=e;n<a.length;n++){var r=a[n],i=r[0],r=r[1];t[i]=r}return t},An=Tn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,a=e.length;if(!(t<0||a<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===a||(a=e.charCodeAt(t+1))<56320||57343<a?n:a-56320+(n-55296<<10)+65536},Bn=_n?function(e){return e.trimStart()}:function(e){return e.replace($n,"")},Nn=Fn?function(e){return e.trimEnd()}:function(e){return e.replace(Cn,"")};function On(e,t){return new RegExp(e,t)}Pn=En?(Gn=On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Gn.lastIndex=t,null!=(t=Gn.exec(e)[1])?t:""}):function(e,t){for(var n,a=[];;){var r=An(e,t);if(void 0===r||Un(r)||33<=(n=r)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094)break;a.push(r),t+=65536<=r?2:1}return Rn.apply(void 0,a)};s.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},s.prototype.parseMessage=function(e,t,n){for(var a=[];!this.isEOF();){var r,i=this.char();if(123===i){if((r=this.parseArgument(e,n)).err)return r;a.push(r.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&jn(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r}else if((r=this.parseLiteral(e,t)).err)return r;a.push(r.val)}else{i=this.clonePosition();this.bump(),a.push({type:y.pound,location:b(i,this.clonePosition())})}}}return{val:a,err:null}},s.prototype.parseTag=function(e,t){var n,a=this.clonePosition(),r=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(r,"/>"),location:b(a,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!jn(this.char())?this.error(g.INVALID_TAG,b(e,this.clonePosition())):(n=this.clonePosition(),r!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,b(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:b(a,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,b(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,b(a,this.clonePosition()))):this.error(g.INVALID_TAG,b(a,this.clonePosition()))},s.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())},s.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),a="";;){var r=this.tryParseQuote(t);if(r)a+=r;else{r=this.tryParseUnquoted(e,t);if(r)a+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;a+=r}}}n=b(n,this.clonePosition());return{val:{type:y.literal,value:a,location:n},err:null}},s.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(jn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},s.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 Rn.apply(void 0,t)},s.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Rn(n))},s.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,b(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:a,location:b(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition())):this.parseArgumentOptions(e,t,a,n);default:return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Pn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:b(e,this.clonePosition())}},s.prototype.parseArgumentOptions=function(e,t,n,a){var r,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(s){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,b(i,o));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(m=Nn(u.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(a)).err?c:(h=b(a,this.clonePosition()),l&&In(null==l?void 0:l.style,"::",0)?(p=Bn(l.style.slice(2)),"number"===s?(u=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?u:{val:{type:y.number,value:n,location:h,style:u.val},err:null}:0===p.length?this.error(g.EXPECT_DATE_TIME_SKELETON,h):(d=p,this.locale&&(d=function(e,t){for(var n="",a=0;a<e.length;a++){var r=e.charAt(a);if("j"===r){for(var i=0;a+1<e.length&&e.charAt(a+1)===r;)i++,a++;var s=1+(1&i),o=i<2?1:3+(i>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(xn[t||""]||xn[n||""]||xn["".concat(n,"-001")]||xn["001"])[0]}(t);for("H"!=l&&"k"!=l||(o=0);0<o--;)n+="a";for(;0<s--;)n=l+n}else n+="J"===r?"H":r}return n}(p,this.locale)),m={type:Qt.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},d.replace(un,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),r):{}},{val:{type:"date"===s?y.date:y.time,value:n,location:h,style:m},err:null})):{val:{type:"number"===s?y.number:"date"===s?y.date:y.time,value:n,location:h,style:null!=(p=null==l?void 0:l.style)?p:null},err:null});case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,b(d,f({},d)));this.bumpSpace();var u,m=this.parseIdentifierIfPossible(),h=0;if("select"!==s&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),m=this.parseIdentifierIfPossible(),h=u.val}var p,l=this.tryParsePluralOrSelectOptions(e,s,t,m);return l.err?l:(c=this.tryParseArgumentClose(a)).err?c:(p=b(a,this.clonePosition()),"select"===s?{val:{type:y.select,value:n,options:Dn(l.val),location:p},err:null}:{val:{type:y.plural,value:n,options:Dn(l.val),offset:h,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,b(i,o))}},s.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},s.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,b(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},s.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,a=e.split(mn).filter(function(e){return 0<e.length});n<a.length;n++){var r=a[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var i=r[0],r=r.slice(1),s=0,o=r;s<o.length;s++)if(0===o[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:r})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:Qt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?wn(n):{}},err:null}},s.prototype.tryParsePluralOrSelectOptions=function(e,t,n,a){for(var r=!1,i=[],s=new Set,o=a.value,l=a.location;;){if(0===o.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=b(c,this.clonePosition()),o=this.message.slice(c.offset,this.offset())}if(s.has(o))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===o&&(r=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;i.push([o,{value:c.val,location:b(d,this.clonePosition())}]),s.add(o),this.bumpSpace(),o=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===i.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(g.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:i,err:null}},s.prototype.tryParseDecimalInteger=function(e,t){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;r=!0,i=10*i+(s-48),this.bump()}a=b(a,this.clonePosition());return r?Mn(i*=n)?{val:i,err:null}:this.error(t,a):this.error(e,a)},s.prototype.offset=function(){return this.position.offset},s.prototype.isEOF=function(){return this.offset()===this.message.length},s.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},s.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=An(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},s.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},s.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))},s.prototype.bumpIf=function(e){if(In(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},s.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)},s.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}},s.prototype.bumpSpace=function(){for(;!this.isEOF()&&Un(this.char());)this.bump()},s.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Hn=s;function s(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function jn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Un(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function zn(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Hn(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,sn(e)||on(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else nn(e)&&cn(e.style)||(an(e)||rn(e))&&dn(e.style)?delete e.style.location:ln(e)&&n(e.children)})}(e.val),e.val}function Wn(e,t){var n=t&&t.cache?t.cache:Qn,a=t&&t.serializer?t.serializer:Kn;return(t&&t.strategy?t.strategy:function(e,t){return Zn(e,this,1===e.length?Yn:Vn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:a})}function Yn(e,t,n,a){var n=null==a||"number"==typeof a||"boolean"==typeof a?a:n(a),r=t.get(n);return void 0===r&&(r=e.call(this,a),t.set(n,r)),r}function Vn(e,t,n){var a=Array.prototype.slice.call(arguments,3),n=n(a),r=t.get(n);return void 0===r&&(r=e.apply(this,a),t.set(n,r)),r}function Zn(e,t,n,a,r){return n.bind(t,e,a,r)}var Kn=function(){return JSON.stringify(arguments)};function Xn(){this.cache=Object.create(null)}Xn.prototype.get=function(e){return this.cache[e]},Xn.prototype.set=function(e,t){this.cache[e]=t};var qn,Jn,Qn={create:function(){return new Xn}},ea={variadic:function(e,t){return Zn(e,this,Vn,t.cache.create(),t.serializer)},monadic:function(e,t){return Zn(e,this,Yn,t.cache.create(),t.serializer)}};(Jn=qn=qn||{}).MISSING_VALUE="MISSING_VALUE",Jn.INVALID_VALUE="INVALID_VALUE",Jn.MISSING_INTL_API="MISSING_INTL_API";Jt(ha,ia=Error),ha.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ta,na,aa,ra,ia,sa=ha,oa=(Jt(ma,ra=sa),ma),la=(Jt(ua,aa=sa),ua),ca=(Jt(da,na=sa),da);function da(e,t){return na.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),qn.MISSING_VALUE,t)||this}function ua(e,t,n){return aa.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),qn.INVALID_VALUE,n)||this}function ma(e,t,n,a){return ra.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),qn.INVALID_VALUE,a)||this}function ha(e,t,n){e=ia.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function pa(e,t,n,a,r,i,s){if(1===e.length&&tn(e[0]))return[{type:ta.literal,value:e[0].value}];for(var o=[],l=0,c=e;l<c.length;l++){var d=c[l];if(tn(d))o.push({type:ta.literal,value:d.value});else if(d.type===y.pound)"number"==typeof i&&o.push({type:ta.literal,value:n.getNumberFormat(t).format(i)});else{var u=d.value;if(!(r&&u in r))throw new ca(u,s);u=r[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),o.push({type:"string"==typeof u?ta.literal:ta.object,value:u});else if(an(d)){var m="string"==typeof d.style?a.date[d.style]:dn(d.style)?d.style.parsedOptions:void 0;o.push({type:ta.literal,value:n.getDateTimeFormat(t,m).format(u)})}else if(rn(d))m="string"==typeof d.style?a.time[d.style]:dn(d.style)?d.style.parsedOptions:a.time.medium,o.push({type:ta.literal,value:n.getDateTimeFormat(t,m).format(u)});else if(nn(d))(m="string"==typeof d.style?a.number[d.style]:cn(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),o.push({type:ta.literal,value:n.getNumberFormat(t,m).format(u)});else{if(ln(d)){var h=d.children,p=d.value,g=r[p];if("function"!=typeof g)throw new la(p,"function",s);p=g(pa(h,t,n,a,r,i).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),o.push.apply(o,p.map(function(e){return{type:"string"==typeof e?ta.literal:ta.object,value:e}}))}if(sn(d)){if(!(f=d.options[u]||d.options.other))throw new oa(d.value,u,Object.keys(d.options),s);o.push.apply(o,pa(f.value,t,n,a,r))}else if(on(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new sa('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',qn.MISSING_INTL_API,s);var g=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[g]||d.options.other}if(!f)throw new oa(d.value,u,Object.keys(d.options),s);o.push.apply(o,pa(f.value,t,n,a,r,u-(d.offset||0)))}}}}return(e=o).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===ta.literal&&t.type===ta.literal?n.value+=t.value:e.push(t),e},[])}function ga(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=ta=ta||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(ya,"defaultLocale",{get:function(){return ya.memoizedDefaultLocale||(ya.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),ya.memoizedDefaultLocale},enumerable:!1,configurable:!0}),ya.memoizedDefaultLocale=null,ya.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])},ya.__parse=zn,ya.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 fa=ya;function ya(e,t,n,a){var r,i,s=this;if(void 0===t&&(t=ya.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=s.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===ta.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return pa(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=ya.resolveLocale(t),"string"==typeof e){if(this.message=e,!ya.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ya.__parse(e,{ignoreTag:null==a?void 0:a.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=ya.formats,(i=n)?Object.keys(r).reduce(function(e,t){var n,a;return e[t]=(n=r[t],(a=i[t])?f(f(f({},n||{}),a||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),a[t]||{}),e},{})):n),e},f({},r)):r),this.formatters=a&&a.formatters||{getNumberFormat:Wn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,en([void 0],t,!1)))},{cache:ga((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:ea.variadic}),getDateTimeFormat:Wn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,en([void 0],t,!1)))},{cache:ga(t.dateTime),strategy:ea.variadic}),getPluralRules:Wn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,en([void 0],t,!1)))},{cache:ga(t.pluralRules),strategy:ea.variadic})}}const ba={},va=(e,t,n)=>n&&(t in ba||(ba[t]={}),e in ba[t]||(ba[t][e]=n),n),wa=(t,n)=>{if(null!=n){if(n in ba&&t in ba[n])return ba[n][t];var a=Ra(n);for(let e=0;e<a.length;e++){var r=function(e,t){if(!Ca(e))return null;e=function(e){return xa[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var a=n.split(".");let t=e;for(let e=0;e<a.length;e++)if("object"==typeof t){if(0<e){const n=a.slice(e,a.length).join(".");if(n in t){t=t[n];break}}t=t[a[e]]}else t=void 0;return t}}}(a[e],t);if(r)return va(t,n,r)}}};let xa;const $a=Ot({});function Ca(e){return e in xa}function Sa(t,...n){delete ba[t],$a.update(e=>(e[t]=Xt.all([e[t]||{},...n]),e))}Ht([$a],([e])=>Object.keys(e)),$a.subscribe(e=>xa=e);const ka={};function Ta(e){return ka[e]}function _a(e){return null!=e&&Ra(e).some(e=>{return null==(e=Ta(e))?void 0:e.size})}const Fa={};function Ma(e){var t;return _a(e)?(t=Ra(e).map(e=>{var t=Ta(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Fa[e]=Promise.all(t.map(([e,t])=>{return a=e,Promise.all(t.map(e=>{return t=a,n=e,ka[t].delete(n),0===ka[t].size&&delete ka[t],e().then(e=>e.default||e);var t,n})).then(e=>Sa(a,...e));var a})).then(()=>{if(_a(e))return Ma(e);delete Fa[e]}),Fa[e]):e in Fa?Fa[e]:Promise.resolve()}const Ea={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 La=Ot(!1);let Ga;const Pa=Ot(null);function Ia(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Ra(e,t=Ea.fallbackLocale){e=Ia(e);return t?[...new Set([...e,...Ia(t)])]:e}function Da(){return null!=Ga?Ga:void 0}Pa.subscribe(e=>{Ga=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const rt={...Pa,set:t=>{if(t&&function(e){if(null!=e){var t=Ra(e);for(let e=0;e<t.length;e++){var n=t[e];if(Ca(n))return n}}}(t)&&_a(t)){var n=Ea["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Da()&&n?e=window.setTimeout(()=>La.set(!0),n):La.set(!0),Ma(t).then(()=>{Pa.set(t)}).finally(()=>{clearTimeout(e),La.set(!1)})}return Pa.set(t)}},Aa=n=>{const a=Object.create(null);return e=>{var t=JSON.stringify(e);return t in a?a[t]:a[t]=n(e)}},Ba=(e,t)=>{var n=Ea["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Na=Aa(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=Ba("number",t)),new Intl.NumberFormat(e,n)}),Oa=Aa(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=Ba("date",t):0===Object.keys(n).length&&(n=Ba("date","short")),new Intl.DateTimeFormat(e,n)}),Ha=Aa(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=Ba("time",t):0===Object.keys(n).length&&(n=Ba("time","short")),new Intl.DateTimeFormat(e,n)}),ja=Aa((e,t=Da())=>new fa(e,t,Ea.formats,{ignoreTag:Ea.ignoreTag})),Ua=Ht([rt,$a],()=>(e,t={})=>{var n,a;let r=t;"object"==typeof e&&(e=(r=e).id);var{values:i,locale:s=Da(),default:o}=r;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=wa(e,s);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!=(a=null!=(n=null==(n=(a=Ea).handleMissingMessage)?void 0:n.call(a,{locale:s,id:e,defaultValue:o}))?n:o)?a:e;if(!i)return l;let c=l;try{c=ja(l,s).format(i)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),it=(Ht([rt],()=>(e,t)=>{return[{locale:t=Da(),...n}={}]=[t],Ha({locale:t,...n}).format(e);var n}),Ht([rt],()=>(e,t)=>{return[{locale:t=Da(),...n}={}]=[t],Oa({locale:t,...n}).format(e);var n}),Ht([rt],()=>(e,t)=>{return[{locale:t=Da(),...n}={}]=[t],Na({locale:t,...n}).format(e);var n}),Ht([rt,$a],()=>(e,t=Da())=>wa(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==At.indexOf(e)&&(t=new It(t),Bt[e]=t,At.push(e)),Bt[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))),st=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function za(e,t){Sa(e,t)}const Wa={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},"zh-hk":{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Borrar",noGamesPlayed:"No has jugado ningún juego! Juega Ya"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}};function Ya(e,t){Sa(e,t)}const Va={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},"zh-hk":{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};Ka=Za={path:void 0,exports:{},require:function(e,t){return Ln(null==t&&Za.path)}},Za.exports,Ka.exports=function(){var D;function p(){return D.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function A(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function B(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function o(e){return void 0===e}function N(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function O(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],a=e.length,r=0;r<a;++r)n.push(t(e[r],r));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,a){return Lt(e,t,n,a,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function U(e){if(null==e._isValid){var t=f(e),n=W.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function z(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,a=0;a<n;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1},Y=p.momentProperties=[],V=!1;function Z(e,t){var n,a,r,i=Y.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=f(t)),o(t._locale)||(e._locale=t._locale),0<i)for(n=0;n<i;n++)o(r=t[a=Y[n]])||(e[a]=r);return e}function K(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,p.updateOffset(this),V=!1)}function l(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function X(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,s){var o=!0;return j(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,i),o){for(var e,t,n=[],a=arguments.length,r=0;r<a;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}X(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return s.apply(this,arguments)},s)}var q={};function J(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),q[e]||(X(t),q[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,a=j({},e);for(n in t)g(t,n)&&(A(e[n])&&A(t[n])?(a[n]={},j(a[n],e[n]),j(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)g(e,n)&&!g(t,n)&&A(e[n])&&(a[n]=j({},a[n]));return a}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function i(e,t,n){var a=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-a.length)).toString().substr(1)+a}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,ae=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,re={},ie={};function a(e,t,n,a){var r="string"==typeof a?function(){return this[a]()}:a;e&&(ie[e]=r),t&&(ie[t[0]]=function(){return i(r.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function se(e,t){return e.isValid()?(t=oe(t,e.localeData()),re[t]=re[t]||function(a){for(var e,r=a.match(ne),t=0,i=r.length;t<i;t++)ie[r[t]]?r[t]=ie[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<i;n++)t+=d(r[n])?r[n].call(e,a):r[n];return t}}(t),re[t](e)):e.localeData().invalidDate()}function oe(e,t){var n=5;function a(e){return t.longDateFormat(e)||e}for(ae.lastIndex=0;0<=n&&ae.test(e);)e=e.replace(ae,a),ae.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,a={};for(n in e)g(e,n)&&(t=u(n))&&(a[t]=e[n]);return a}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function m(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function h(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?m(e):t}function me(t,n){return function(e){return null!=e?(pe(this,t,e),p.updateOffset(this,n),this):he(this,t)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=h(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ie(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var r=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,$e=/[+-]?\d{1,6}/,Ce=/\d+/,Se=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,Te=/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,a){Fe[e]=d(n)?n:function(e,t){return e&&a?a:n}}function _e(e,t){return g(Fe,e)?Fe[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,a,r){return t||n||a||r})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Fe={},Me={};function $(e,n){var t,a,r=n;for("string"==typeof e&&(e=[e]),N(n)&&(r=function(e,t){t[n]=h(e)}),a=e.length,t=0;t<a;t++)Me[e[t]]=r}function Ee(e,r){$(e,function(e,t,n,a){n._w=n._w||{},r(e,n._w,n,a)})}var C,S=0,k=1,T=2,_=3,F=4,M=5,Le=6,Ge=7,Pe=8;function Ie(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?ue(e)?29:28:31-n%7%2)}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},a("M",["MM",2],"Mo",function(){return this.month()+1}),a("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),a("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)}),$(["M","MM"],function(e,t){t[k]=h(e)-1}),$(["MMM","MMMM"],function(e,t,n,a){a=n._locale.monthsParse(e,a,n._strict);null!=a?t[k]=a:f(n).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Be=v,Ne=v;function Oe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=h(t);else if(!N(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function He(e){return null!=e?(Oe(this,e),p.updateOffset(this,!0),this):he(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],a=[],r=[],i=0;i<12;i++)t=c([2e3,i]),n.push(this.monthsShort(t,"")),a.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),a.sort(e),r.sort(e),i=0;i<12;i++)n[i]=x(n[i]),a[i]=x(a[i]);for(i=0;i<24;i++)r[i]=x(r[i]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return ue(e)?366:365}a("Y",0,0,function(){var e=this.year();return e<=9999?i(e,4):"+"+e}),a(0,["YY",2],0,function(){return this.year()%100}),a(0,["YYYY",4],0,"year"),a(0,["YYYYY",5],0,"year"),a(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",$e,ye),w("YYYYYY",$e,ye),$(["YYYYY","YYYYYY"],S),$("YYYY",function(e,t){t[S]=2===e.length?p.parseTwoDigitYear(e):h(e)}),$("YY",function(e,t){t[S]=p.parseTwoDigitYear(e)}),$("Y",function(e,t){t[S]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return h(e)+(68<h(e)?1900:2e3)};var ze=me("FullYear",!0);function We(e,t,n,a,r,i,s){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,a,r,i,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,a,r,i,s),o}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,a,r){var i,t=1+7*(t-1)+(7+n-a)%7+Ve(e,a,r),n=t<=0?Ue(i=e-1)+t:t>Ue(e)?(i=e+1,t-Ue(e)):(i=e,t);return{year:i,dayOfYear:n}}function Ke(e,t,n){var a,r,i=Ve(e.year(),t,n),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?a=i+E(r=e.year()-1,t,n):i>E(e.year(),t,n)?(a=i-E(e.year(),t,n),r=e.year()+1):(r=e.year(),a=i),{week:a,year:r}}function E(e,t,n){var a=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(e)-a+t)/7}a("w",["ww",2],"wo","week"),a("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),Ee(["w","ww","W","WW"],function(e,t,n,a){t[a.substr(0,1)]=h(e)});function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}a("d",0,"do","day"),a("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),a("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),a("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),a("e",0,0,"weekday"),a("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)}),Ee(["dd","ddd","dddd"],function(e,t,n,a){a=n._locale.weekdaysParse(e,a,n._strict);null!=a?t.d=a:f(n).invalidWeekday=e}),Ee(["d","e","E"],function(e,t,n,a){t[a]=h(e)});var qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function at(){function e(e,t){return t.length-e.length}for(var t,n,a,r=[],i=[],s=[],o=[],l=0;l<7;l++)a=c([2e3,1]).day(l),t=x(this.weekdaysMin(a,"")),n=x(this.weekdaysShort(a,"")),a=x(this.weekdays(a,"")),r.push(t),i.push(n),s.push(a),o.push(t),o.push(n),o.push(a);r.sort(e),i.sort(e),s.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function rt(){return this.hours()%12||12}function it(e,t){a(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}a("H",["HH",2],0,"hour"),a("h",["hh",2],0,rt),a("k",["kk",2],0,function(){return this.hours()||24}),a("hmm",0,0,function(){return""+rt.apply(this)+i(this.minutes(),2)}),a("hmmss",0,0,function(){return""+rt.apply(this)+i(this.minutes(),2)+i(this.seconds(),2)}),a("Hmm",0,0,function(){return""+this.hours()+i(this.minutes(),2)}),a("Hmmss",0,0,function(){return""+this.hours()+i(this.minutes(),2)+i(this.seconds(),2)}),it("a",!0),it("A",!1),t("hour","h"),n("hour",13),w("a",st),w("A",st),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),$(["H","HH"],_),$(["k","kk"],function(e,t,n){e=h(e);t[_]=24===e?0:e}),$(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),$(["h","hh"],function(e,t,n){t[_]=h(e),f(n).bigHour=!0}),$("hmm",function(e,t,n){var a=e.length-2;t[_]=h(e.substr(0,a)),t[F]=h(e.substr(a)),f(n).bigHour=!0}),$("hmmss",function(e,t,n){var a=e.length-4,r=e.length-2;t[_]=h(e.substr(0,a)),t[F]=h(e.substr(a,2)),t[M]=h(e.substr(r)),f(n).bigHour=!0}),$("Hmm",function(e,t,n){var a=e.length-2;t[_]=h(e.substr(0,a)),t[F]=h(e.substr(a))}),$("Hmmss",function(e,t,n){var a=e.length-4,r=e.length-2;t[_]=h(e.substr(0,a)),t[F]=h(e.substr(a,2)),t[M]=h(e.substr(r))});v=me("Hours",!0);var ot,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:De,week:{dow:0,doy:6},weekdays:qe,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},L={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,a,r,i=0;i<e.length;){for(t=(r=dt(e[i]).split("-")).length,n=(n=dt(e[i+1]))?n.split("-"):null;0<t;){if(a=mt(r.slice(0,t).join("-")))return a;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),a=0;a<n;a+=1)if(e[a]!==t[a])return a;return n}(r,n)>=t-1)break;t--}i++}return ot}function mt(t){var e;if(void 0===L[t]&&Ka&&Ka.exports&&null!=t.match("^[^/\\\\]*$"))try{e=ot._abbr,Ln(),ht(e)}catch(e){L[t]=null}return L[t]}function ht(e,t){return e&&((t=o(t)?G(e):pt(e,t))?ot=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ot._abbr}function pt(e,t){if(null===t)return delete L[e],null;var n,a=lt;if(t.abbr=e,null!=L[e])J("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."),a=L[e]._config;else if(null!=t.parentLocale)if(null!=L[t.parentLocale])a=L[t.parentLocale]._config;else{if(null==(n=mt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;a=n._config}return L[e]=new ee(Q(a,t)),ct[e]&&ct[e].forEach(function(e){pt(e.name,e.config)}),ht(e),L[e]}function G(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return ot;if(!s(e)){if(t=mt(e))return t;e=[e]}return ut(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[k]<0||11<t[k]?k:t[T]<1||t[T]>Ie(t[S],t[k])?T:t[_]<0||24<t[_]||24===t[_]&&(0!==t[F]||0!==t[M]||0!==t[Le])?_:t[F]<0||59<t[F]?F:t[M]<0||59<t[M]?M:t[Le]<0||999<t[Le]?Le:-1,f(e)._overflowDayOfYear&&(t<S||T<t)&&(t=T),f(e)._overflowWeeks&&-1===t&&(t=Ge),f(e)._overflowWeekday&&-1===t&&(t=Pe),f(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,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,$t=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,a,r,i,s,o=e._i,l=ft.exec(o)||yt.exec(o),o=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=o;t<n;t++)if(vt[t][1].exec(l[1])){r=vt[t][0],a=!1!==vt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){i=(l[2]||" ")+wt[t][0];break}if(null==i)return e._isValid=!1}if(!a&&null!=i)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=r+(i||"")+(s||""),Mt(e)}else e._isValid=!1}function kt(e,t,n,a,r,i){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(r,10)];return i&&e.push(parseInt(i,10)),e}function Tt(e){var t,n,a,r,i=$t.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=kt(i[4],i[3],i[2],i[5],i[6],i[7]),n=i[1],a=t,r=e,n&&Je.indexOf(n)!==new Date(a[0],a[1],a[2]).getDay()?(f(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(n=i[8],a=i[9],r=i[10],n?Ct[n]:a?0:((n=parseInt(r,10))-(a=n%100))/100*60+a),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function _t(e,t,n){return null!=e?e:null!=t?t:n}function Ft(e){var t,n,a,r,i,s,o,l,c,d,u,m=[];if(!e._d){for(d=e,u=new Date(p.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[T]&&null==e._a[k]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(s=1,o=4,a=_t(u.GG,d._a[S],Ke(P(),1,4).year),r=_t(u.W,1),((i=_t(u.E,1))<1||7<i)&&(l=!0)):(s=d._locale._week.dow,o=d._locale._week.doy,c=Ke(P(),s,o),a=_t(u.gg,d._a[S],c.year),r=_t(u.w,c.week),null!=u.d?((i=u.d)<0||6<i)&&(l=!0):null!=u.e?(i=u.e+s,(u.e<0||6<u.e)&&(l=!0)):i=s),r<1||r>E(a,s,o)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=Ze(a,r,i,s,o),d._a[S]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=_t(e._a[S],n[S]),(e._dayOfYear>Ue(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(u,0,e._dayOfYear),e._a[k]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[_]&&0===e._a[F]&&0===e._a[M]&&0===e._a[Le]&&(e._nextDay=!0,e._a[_]=0),e._d=(e._useUTC?Ye:We).apply(null,m),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(f(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,a,r=""+e._i,i=r.length,s=0,o=(n=oe(e._f,e._locale).match(ne)||[]).length,l=0;l<o;l++)a=n[l],(t=(r.match(_e(a,e))||[])[0])&&(0<(u=r.substr(0,r.indexOf(t))).length&&f(e).unusedInput.push(u),r=r.slice(r.indexOf(t)+t.length),s+=t.length),ie[a]?(t?f(e).empty=!1:f(e).unusedTokens.push(a),u=a,h=e,null!=(m=t)&&g(Me,u)&&Me[u](m,h._a,h,u)):e._strict&&!t&&f(e).unusedTokens.push(a);f(e).charsLeftOver=i-s,0<r.length&&f(e).unusedInput.push(r),e._a[_]<=12&&!0===f(e).bigHour&&0<e._a[_]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[_]=(i=e._locale,c=e._a[_],null==(d=e._meridiem)?c:null!=i.meridiemHour?i.meridiemHour(c,d):null!=i.isPM?((i=i.isPM(d))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[S]=e._locale.erasConvertYear(d,e._a[S])),Ft(e),gt(e)}else Tt(e);else St(e);var c,d,u,m,h}function Et(e){var t,n=e._i,a=e._f;{var r,i;return(e._locale=e._locale||G(e._l),null===n||void 0===a&&""===n)?z({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new K(gt(n)):(O(n)?e._d=n:s(a)?function(e){var t,n,a,r,i,s,o=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)i=0,s=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Mt(t),U(t)&&(s=!0),i=(i+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=i,o?i<a&&(a=i,n=t):(null==a||i<a||s)&&(a=i,n=t,s)&&(o=!0);j(e,n||t)}(e):a?Mt(e):o(a=(n=e)._i)?n._d=new Date(p.now()):O(a)?n._d=new Date(a.valueOf()):"string"==typeof a?(r=n,null===(i=xt.exec(r._i))?(St(r),!1===r._isValid&&(delete r._isValid,Tt(r),!1===r._isValid)&&(delete r._isValid,r._strict?r._isValid=!1:p.createFromInputFallback(r))):r._d=new Date(+i[1])):s(a)?(n._a=H(a.slice(0),function(e){return parseInt(e,10)}),Ft(n)):A(a)?(r=n)._d||(t=void 0===(i=ce(r._i)).day?i.date:i.day,r._a=H([i.year,i.month,t,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Ft(r)):N(a)?n._d=new Date(a):p.createFromInputFallback(n),U(e)||(e._d=null),e))}}function Lt(e,t,n,a,r){var i={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(A(e)&&B(e)||s(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=r,i._l=n,i._i=e,i._f=t,i._strict=a,(r=new K(gt(Et(r=i))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function P(e,t,n,a){return Lt(e,t,n,a,!1)}p.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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:z()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:z()});function Gt(e,t){var n,a;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return P();for(n=t[0],a=1;a<t.length;++a)t[a].isValid()&&!t[a][e](n)||(n=t[a]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var e=ce(e),t=e.year||0,n=e.quarter||0,a=e.month||0,r=e.week||e.isoWeek||0,i=e.day||0,s=e.hour||0,o=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,a=!1,r=Pt.length;for(t in e)if(g(e,t)&&(-1===C.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[Pt[n]]){if(a)return!1;parseFloat(e[Pt[n]])!==h(e[Pt[n]])&&(a=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*o+1e3*s*60*60,this._days=+i+7*r,this._months=+a+3*n+12*t,this._data={},this._locale=G(),this._bubble()}function Rt(e){return e instanceof It}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,n){a(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+i(~~(e/60),2)+n+i(~~e%60,2)})}At("Z",":"),At("ZZ",""),w("Z",Te),w("ZZ",Te),$(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(Te,e)});var Bt=/([\+\-]|\d\d)/gi;function Nt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Bt)||["-",0,0])[1]+h(e[2]))?0:"+"===e[0]?t:-t}function Ot(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||O(e)?e:P(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),p.updateOffset(t,!1),t):P(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function I(e,t){var n,a,r=e;return Rt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:N(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=Ut.exec(e))?(n="-"===t[1]?-1:1,r={y:0,d:h(t[T])*n,h:h(t[_])*n,m:h(t[F])*n,s:h(t[M])*n,ms:h(Dt(1e3*t[Le]))*n}):(t=zt.exec(e))?(n="-"===t[1]?-1:1,r={y:Wt(t[2],n),M:Wt(t[3],n),w:Wt(t[4],n),d:Wt(t[5],n),h:Wt(t[6],n),m:Wt(t[7],n),s:Wt(t[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=P(r.from),n=P(r.to),t=t.isValid()&&n.isValid()?(n=Ot(n,t),t.isBefore(n)?a=Yt(t,n):((a=Yt(n,t)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0},(r={}).ms=t.milliseconds,r.M=t.months),a=new It(r),Rt(e)&&g(e,"_locale")&&(a._locale=e._locale),Rt(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Yt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(a,r){return function(e,t){var n;return null===t||isNaN(+t)||(J(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,I(e,t),a),this}}function Zt(e,t,n,a){var r=t._milliseconds,i=Dt(t._days),t=Dt(t._months);e.isValid()&&(a=null==a||a,t&&Oe(e,he(e,"Month")+t*n),i&&pe(e,"Date",he(e,"Date")+i*n),r&&e._d.setTime(e._d.valueOf()+r*n),a)&&p.updateOffset(e,i||t)}I.fn=It.prototype,I.invalid=function(){return I(NaN)};Re=Vt(1,"add"),qe=Vt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||O(e)||Kt(e)||N(e)||(n=s(t=e),a=!1,n&&(a=0===t.filter(function(e){return!N(e)&&Kt(t)}).length),n&&a)||function(e){var t,n,a=A(e)&&!B(e),r=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=i.length;for(t=0;t<s;t+=1)n=i[t],r=r||g(e,n);return a&&r}(e)||null==e;var t,n,a}function qt(e,t){var n,a;return e.date()<t.date()?-qt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(a=e.clone().add(n,"months"))<0?(t-a)/(a-e.clone().add(n-1,"months")):(t-a)/(e.clone().add(1+n,"months")-a)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=G(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.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 an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function rn(e,t){return t.erasAbbrRegex(e)}function sn(){for(var e=[],t=[],n=[],a=[],r=this.eras(),i=0,s=r.length;i<s;++i)t.push(x(r[i].name)),e.push(x(r[i].abbr)),n.push(x(r[i].narrow)),a.push(x(r[i].name)),a.push(x(r[i].abbr)),a.push(x(r[i].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function on(e,t){a(0,[e,e.length],0,t)}function ln(e,t,n,a,r){var i;return null==e?Ke(this,a,r).year:(t>(i=E(e,a,r))&&(t=i),function(e,t,n,a,r){e=Ze(e,t,n,a,r),t=Ye(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,a,r))}a("N",0,0,"eraAbbr"),a("NN",0,0,"eraAbbr"),a("NNN",0,0,"eraAbbr"),a("NNNN",0,0,"eraName"),a("NNNNN",0,0,"eraNarrow"),a("y",["y",1],"yo","eraYear"),a("y",["yy",2],0,"eraYear"),a("y",["yyy",3],0,"eraYear"),a("y",["yyyy",4],0,"eraYear"),w("N",rn),w("NN",rn),w("NNN",rn),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),$(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,a){a=n._locale.erasParse(e,a,n._strict);a?f(n).era=a:f(n).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),$(["y","yy","yyy","yyyy"],S),$(["yo"],function(e,t,n,a){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[S]=n._locale.eraYearOrdinalParse(e,r):t[S]=parseInt(e,10)}),a(0,["gg",2],0,function(){return this.weekYear()%100}),a(0,["GG",2],0,function(){return this.isoWeekYear()%100}),on("gggg","weekYear"),on("ggggg","weekYear"),on("GGGG","isoWeekYear"),on("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",$e,ye),w("ggggg",$e,ye),Ee(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,a){t[a.substr(0,2)]=h(e)}),Ee(["gg","GG"],function(e,t,n,a){t[a]=p.parseTwoDigitYear(e)}),a("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",r),$("Q",function(e,t){t[k]=3*(h(e)-1)}),a("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}),$(["D","DD"],T),$("Do",function(e,t){t[T]=h(e.match(b)[0])});xe=me("Date",!0);a("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),$(["DDD","DDDD"],function(e,t,n){n._dayOfYear=h(e)}),a("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),$(["m","mm"],F);fe=me("Minutes",!1);a("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),$(["s","ss"],M);var cn,$e=me("Seconds",!1);for(a("S",0,0,function(){return~~(this.millisecond()/100)}),a(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),a(0,["SSS",3],0,"millisecond"),a(0,["SSSS",4],0,function(){return 10*this.millisecond()}),a(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),a(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),a(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),a(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),a(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,r),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function dn(e,t){t[Le]=h(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")$(cn,dn);ye=me("Milliseconds",!1),a("z",0,0,"zoneAbbr"),a("zz",0,0,"zoneName");r=K.prototype;function un(e){return e}r.add=Re,r.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=A(e)&&!B(e),n=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<a.length;r+=1)n=n||g(e,a[r]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||P(),n=Ot(e,this).startOf("day"),n=p.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,P(e)))},r.clone=function(){return new K(this)},r.diff=function(e,t,n){var a,r,i;if(!this.isValid())return NaN;if(!(a=Ot(e,this)).isValid())return NaN;switch(r=6e4*(a.utcOffset()-this.utcOffset()),t=u(t)){case"year":i=qt(this,a)/12;break;case"month":i=qt(this,a);break;case"quarter":i=qt(this,a)/3;break;case"second":i=(this-a)/1e3;break;case"minute":i=(this-a)/6e4;break;case"hour":i=(this-a)/36e5;break;case"day":i=(this-a-r)/864e5;break;case"week":i=(this-a-r)/6048e5;break;default:i=this-a}return n?i:m(i)},r.endOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?an:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}this._d.setTime(t),p.updateOffset(this,!0)}return this},r.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=se(this,e),this.localeData().postformat(e)},r.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?I({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.fromNow=function(e){return this.from(P(),e)},r.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?I({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.toNow=function(e){return this.to(P(),e)},r.get=function(e){return d(this[e=u(e)])?this[e]():this},r.invalidAt=function(){return f(this).overflow},r.isAfter=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},r.isBefore=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},r.isBetween=function(e,t,n,a){return e=l(e)?e:P(e),t=l(t)?t:P(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(a=a||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===a[1]?this.isBefore(t,n):!this.isAfter(t,n))},r.isSame=function(e,t){var e=l(e)?e:P(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},r.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},r.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},r.isValid=function(){return U(this)},r.lang=Qe,r.locale=Jt,r.localeData=Qt,r.max=ve,r.min=be,r.parsingFlags=function(){return j({},f(this))},r.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)g(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),a=n.length,r=0;r<a;r++)this[n[r].unit](e[n[r].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},r.startOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?an:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}this._d.setTime(t),p.updateOffset(this,!0)}return this},r.subtract=qe,r.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},r.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},r.toDate=function(){return new Date(this.valueOf())},r.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?se(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",se(t,"Z")):se(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},r.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(r[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},r.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},r.eraName=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},r.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},r.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},r.eraYear=function(){for(var e,t,n=this.localeData().eras(),a=0,r=n.length;a<r;++a)if(e=n[a].since<=n[a].until?1:-1,t=this.clone().startOf("day").valueOf(),n[a].since<=t&&t<=n[a].until||n[a].until<=t&&t<=n[a].since)return(this.year()-p(n[a].since).year())*e+n[a].offset;return this.year()},r.year=ze,r.isLeapYear=function(){return ue(this.year())},r.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},r.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},r.quarter=r.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},r.month=He,r.daysInMonth=function(){return Ie(this.year(),this.month())},r.week=r.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},r.isoWeek=r.isoWeeks=function(e){var t=Ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},r.weeksInYear=function(){var e=this.localeData()._week;return E(this.year(),e.dow,e.doy)},r.weeksInWeekYear=function(){var e=this.localeData()._week;return E(this.weekYear(),e.dow,e.doy)},r.isoWeeksInYear=function(){return E(this.year(),1,4)},r.isoWeeksInISOWeekYear=function(){return E(this.isoWeekYear(),1,4)},r.date=xe,r.day=r.days=function(e){var t,n,a;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,a=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=a.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},r.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},r.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},r.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},r.hour=r.hours=v,r.minute=r.minutes=fe,r.second=r.seconds=$e,r.millisecond=r.milliseconds=ye,r.utcOffset=function(e,t,n){var a,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:Ht(this);if("string"==typeof e){if(null===(e=Nt(Te,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=Ht(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?Zt(this,I(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},r.utc=function(e){return this.utcOffset(0,e)},r.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ht(this),"m"),this},r.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Nt(ke,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},r.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?P(e).utcOffset():0,(this.utcOffset()-e)%60==0)},r.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},r.isLocal=function(){return!!this.isValid()&&!this._isUTC},r.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},r.isUtc=jt,r.isUTC=jt,r.zoneAbbr=function(){return this._isUTC?"UTC":""},r.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},r.dates=e("dates accessor is deprecated. Use date instead.",xe),r.months=e("months accessor is deprecated. Use month instead",He),r.years=e("years accessor is deprecated. Use year instead",ze),r.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),r.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return o(this._isDSTShifted)&&(Z(t={},this),(t=Et(t))._a?(e=(t._isUTC?c:P)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var a=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),i=0,s=0;s<a;s++)(n&&e[s]!==t[s]||!n&&h(e[s])!==h(t[s]))&&i++;return i+r}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function mn(e,t,n,a){var r=G(),a=c().set(a,t);return r[n](a,e)}function hn(e,t,n){if(N(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");for(var a=[],r=0;r<12;r++)a[r]=mn(e,r,n,"month");return a}function pn(e,t,n,a){t=("boolean"==typeof e||(n=t=e,e=!1),N(t)&&(n=t,t=void 0),t||"");var r,i=G(),s=e?i._week.dow:0,o=[];if(null!=n)return mn(t,(n+s)%7,a,"day");for(r=0;r<7;r++)o[r]=mn(t,(r+s)%7,a,"day");return o}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,a){var r=this._relativeTime[n];return d(r)?r(e,t,n,a):r.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)g(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var n,a=this._eras||G("en")._eras,r=0,i=a.length;r<i;++r)switch("string"==typeof a[r].since&&(n=p(a[r].since).startOf("day"),a[r].since=n.valueOf()),typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":n=p(a[r].until).startOf("day").valueOf(),a[r].until=n.valueOf()}return a},y.erasParse=function(e,t,n){var a,r,i,s,o,l=this.eras();for(e=e.toUpperCase(),a=0,r=l.length;a<r;++a)if(i=l[a].name.toUpperCase(),s=l[a].abbr.toUpperCase(),o=l[a].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[a];break;case"NNNN":if(i===e)return l[a];break;case"NNNNN":if(o===e)return l[a]}else if(0<=[i,s,o].indexOf(e))return l[a]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Ae).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Ae.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var a,r;if(this._monthsParseExact)return function(e,t,n){var a,r,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)i=c([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))||-1!==(r=C.call(this._longMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))||-1!==(r=C.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(r=c([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[a]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Be),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ke(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Xe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var a,r;if(this._weekdaysParseExact)return function(e,t,n){var a,r,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)i=c([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(r=c([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[a]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(n&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(n&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||at.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")||at.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")||at.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"},ht("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===h(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",ht),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",G);var gn=Math.abs;function fn(e,t,n,a){t=I(t,n);return e._milliseconds+=a*t._milliseconds,e._days+=a*t._days,e._months+=a*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),ge=wn("s"),Re=wn("m"),ve=wn("h"),be=wn("d"),qe=wn("w"),v=wn("M"),fe=wn("Q"),$e=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),ze=xn("minutes"),y=xn("hours"),$n=xn("days"),Cn=xn("months"),Sn=xn("years");var kn=Math.round,Tn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function _n(e,t,n,a){var r=I(e).abs(),i=kn(r.as("s")),s=kn(r.as("m")),o=kn(r.as("h")),l=kn(r.as("d")),c=kn(r.as("M")),d=kn(r.as("w")),r=kn(r.as("y")),i=(i<=n.ss?["s",i]:i<n.s&&["ss",i])||(s<=1?["m"]:s<n.m&&["mm",s])||(o<=1?["h"]:o<n.h&&["hh",o])||(l<=1?["d"]:l<n.d&&["dd",l]);return(i=(i=null!=n.w?i||(d<=1?["w"]:d<n.w&&["ww",d]):i)||(c<=1?["M"]:c<n.M&&["MM",c])||(r<=1?["y"]:["yy",r]))[2]=t,i[3]=0<+e,i[4]=a,function(e,t,n,a,r){return r.relativeTime(t||1,!!n,e,a)}.apply(null,i)}var Fn=Math.abs;function Mn(e){return(0<e)-(e<0)||+e}function En(){var e,t,n,a,r,i,s,o,l,c,d;return this.isValid()?(o=Fn(this._milliseconds)/1e3,l=Fn(this._days),c=Fn(this._months),(d=this.asSeconds())?(e=m(o/60),t=m(e/60),o%=60,e%=60,n=m(c/12),c%=12,a=o?o.toFixed(3).replace(/\.?0+$/,""):"",r=Mn(this._months)!==Mn(d)?"-":"",i=Mn(this._days)!==Mn(d)?"-":"",s=Mn(this._milliseconds)!==Mn(d)?"-":"",(d<0?"-":"")+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(l?i+l+"D":"")+(t||e||o?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(o?s+a+"S":"")):"P0D"):this.localeData().invalidDate()}var R=It.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},R.add=function(e,t){return fn(this,e,t,1)},R.subtract=function(e,t){return fn(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+a/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+a/6048e5;case"day":return t+a/864e5;case"hour":return 24*t+a/36e5;case"minute":return 1440*t+a/6e4;case"second":return 86400*t+a/1e3;case"millisecond":return Math.floor(864e5*t)+a;default:throw new Error("Unknown unit "+e)}},R.asMilliseconds=we,R.asSeconds=ge,R.asMinutes=Re,R.asHours=ve,R.asDays=be,R.asWeeks=qe,R.asMonths=v,R.asQuarters=fe,R.asYears=$e,R.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*h(this._months/12):NaN},R._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,a=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),a.milliseconds=e%1e3,e=m(e/1e3),a.seconds=e%60,e=m(e/60),a.minutes=e%60,e=m(e/60),a.hours=e%24,t+=m(e/24),n+=e=m(bn(t)),t-=yn(vn(e)),e=m(n/12),n%=12,a.days=t,a.months=n,a.years=e,this},R.clone=function(){return I(this)},R.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=xe,R.minutes=ze,R.hours=y,R.days=$n,R.weeks=function(){return m(this.days()/7)},R.months=Cn,R.years=Sn,R.humanize=function(e,t){var n,a;return this.isValid()?(n=!1,a=Tn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(a=Object.assign({},Tn,t),null!=t.s)&&null==t.ss&&(a.ss=t.s-1),t=_n(this,!n,a,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},R.toISOString=En,R.toString=En,R.toJSON=En,R.locale=Jt,R.localeData=Qt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",En),R.lang=Qe,a("X",0,0,"unix"),a("x",0,0,"valueOf"),w("x",Se),w("X",/[+-]?\d+(\.\d{1,3})?/),$("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),$("x",function(e,t,n){n._d=new Date(h(e))}),p.version="2.29.4",D=P,p.fn=r,p.min=function(){return Gt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Gt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=c,p.unix=function(e){return P(1e3*e)},p.months=function(e,t){return hn(e,t,"months")},p.isDate=O,p.locale=ht,p.invalid=z,p.duration=I,p.isMoment=l,p.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},p.parseZone=function(){return P.apply(null,arguments).parseZone()},p.localeData=G,p.isDuration=Rt,p.monthsShort=function(e,t){return hn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},p.defineLocale=pt,p.updateLocale=function(e,t){var n,a;return null!=t?(a=lt,null!=L[e]&&null!=L[e].parentLocale?L[e].set(Q(L[e]._config,t)):(t=Q(a=null!=(n=mt(e))?n._config:a,t),null==n&&(t.abbr=e),(a=new ee(t)).parentLocale=L[e],L[e]=a),ht(e)):null!=L[e]&&(null!=L[e].parentLocale?(L[e]=L[e].parentLocale,e===ht()&&ht(e)):null!=L[e]&&delete L[e]),L[e]},p.locales=function(){return te(L)},p.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},p.normalizeUnits=u,p.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==Tn[e]&&(void 0===t?Tn[e]:(Tn[e]=t,"s"===e&&(Tn.ss=t-1),!0))},p.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"},p.prototype=r,p.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"},p}();var Za,Ka,Xa=Za.exports;function qa(e,t){Sa(e,t)}const Ja={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},"zh-hk":{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Qa={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 er(e,t,n){e=e.slice();return e[109]=t[n],e[111]=n,e}function tr(e,t,n){e=e.slice();return e[106]=t[n],e}function nr(e){let n;return{c(){(n=he("div")).innerHTML="<div></div><div></div>",fe(n,"class","LoaderRipple")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function ar(e){let n,a=!it(e[37])&&!e[0]&&e[15],r=a&&rr(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(a=32769&t[0]?!it(e[37])&&!e[0]&&e[15]:a)?r?r.p(e,t):((r=rr(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function rr(n){let a,r,i;return{c(){(a=he("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(a,"class","FavIconContainer"),fe(a,"part","FavIconContainer")},m(e,t){ue(e,a,t),r||(i=K(a,"click",n[67]),r=!0)},p:V,d(e){e&&me(a),r=!1,i()}}}function ir(n){let a,r,i,s,o=n[36]("gameThumbnail.playNow")+"";return{c(){a=he("button"),r=pe(o),fe(a,"class","GameInfoBtn"),fe(a,"part","GameInfoBtn")},m(e,t){ue(e,a,t),de(a,r),i||(s=K(a,"click",n[68]),i=!0)},p(e,t){32&t[1]&&o!==(o=e[36]("gameThumbnail.playNow")+"")&&ye(r,o)},d(e){e&&me(a),i=!1,s()}}}function sr(e){let n;return{c(){(n=he("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function or(n){let a,r,i;return{c(){(a=he("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(a,"class","FavIconContainer"),fe(a,"part","FavIconContainer")},m(e,t){ue(e,a,t),r||(i=K(a,"click",n[69]),r=!0)},p:V,d(e){e&&me(a),r=!1,i()}}}function lr(e){let n,a,r=e[36]("gameThumbnail.new")+"";return{c(){n=he("span"),a=pe(r),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gameThumbnail.new")+"")&&ye(a,r)},d(e){e&&me(n)}}}function cr(e){let n,a;return{c(){n=he("span"),a=pe(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&me(n)}}}function dr(e){let n,a,r=!e[23]&&e[21]&&e[22]&&ur(e);function i(e){return e[23]&&e[20]&&e[20]===Cr?hr:e[23]&&e[20]&&e[20]===Sr?mr:void 0}let s=i(e),o=s&&s(e);return{c(){r&&r.c(),n=ge(),o&&o.c(),a=l()},m(e,t){r&&r.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,a,t)},p(e,t){!e[23]&&e[21]&&e[22]?r?r.p(e,t):((r=ur(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),s===(s=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=s&&s(e))&&(o.c(),o.m(a.parentNode,a)))},d(e){r&&r.d(e),e&&me(n),o&&o.d(e),e&&me(a)}}}function ur(e){let n,a,r,i,s,o,l,c,d,u,m=e[36]("gameThumbnail.opens")+"",h=Xa.utc(e[21]).local().format(e[22])+"",p=e[46](e[35])+"",g=e[45](e[27],e[28],e[26])+"";return{c(){n=he("div"),a=he("div"),r=pe(m),i=ge(),s=he("span"),o=pe(h),l=ge(),c=new P(!1),d=ge(),u=new P(!1),fe(a,"class","ClosedGame"),fe(a,"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,a),de(a,r),de(a,i),de(a,s),de(s,o),de(n,l),c.m(p,n),de(n,d),u.m(g,n)},p(e,t){32&t[1]&&m!==(m=e[36]("gameThumbnail.opens")+"")&&ye(r,m),6291456&t[0]&&h!==(h=Xa.utc(e[21]).local().format(e[22])+"")&&ye(o,h),16&t[1]&&p!==(p=e[46](e[35])+"")&&c.p(p),469762048&t[0]&&g!==(g=e[45](e[27],e[28],e[26])+"")&&u.p(g)},d(e){e&&me(n)}}}function mr(n){let a,r,i,s,o,l,c=n[46](n[35])+"",d=n[45](n[27],n[28],n[26])+"",u=new Array(Tr),m=[];for(let e=0;e<u.length;e+=1)m[e]=yr(er(n,u,e));return{c(){a=he("div"),r=he("div");for(let e=0;e<m.length;e+=1)m[e].c();i=ge(),s=new P(!1),o=ge(),l=new P(!1),fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),s.a=o,l.a=null,fe(a,"class",n[31]),fe(a,"part",n[31])},m(e,t){ue(e,a,t),de(a,r);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(r,null);n[70](r),de(a,i),s.m(c,a),de(a,o),l.m(d,a)},p(t,n){if(1073750016&n[0]|65538&n[1]){let e;for(u=new Array(Tr),e=0;e<u.length;e+=1){const s=er(t,u,e);m[e]?m[e].p(s,n):(m[e]=yr(s),m[e].c(),m[e].m(r,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}16&n[1]&&c!==(c=t[46](t[35])+"")&&s.p(c),469762048&n[0]&&d!==(d=t[45](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(a,"class",t[31]),1&n[1]&&fe(a,"part",t[31])},d(e){e&&me(a),H(m,e),n[70](null)}}}function hr(e){let n,a,r,i,s,o,l=e[46](e[35])+"",c=e[45](e[27],e[28],e[26])+"";function d(e){return e[33]?vr:br}let u=d(e),m=u(e);return{c(){n=he("div"),a=he("div"),m.c(),r=ge(),i=new P(!1),s=ge(),o=new P(!1),fe(a,"class","LiveIcons"),fe(a,"part","LiveIcons"),i.a=s,o.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){ue(e,n,t),de(n,a),m.m(a,null),de(n,r),i.m(l,n),de(n,s),o.m(c,n)},p(e,t){u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(a,null))),16&t[1]&&l!==(l=e[46](e[35])+"")&&i.p(l),469762048&t[0]&&c!==(c=e[45](e[27],e[28],e[26])+"")&&o.p(c)},d(e){e&&me(n),m.d()}}}function pr(e){let n;function a(e){return e[30]?fr:gr}let r=a(e),i=r(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i.d(1),(i=r(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function gr(e){let n,a,r=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"";return{c(){n=new P(!1),a=l(),n.a=a},m(e,t){n.m(r,e,t),ue(e,a,t)},p(e,t){8192&t[0]|2&t[1]&&r!==(r=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"")&&n.p(r)},d(e){e&&me(a),e&&n.d()}}}function fr(e){let n,a,r,i,s,o=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"",l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"";return{c(){n=he("div"),a=new P(!1),r=ge(),i=new P(!1),s=ge(),a.a=r,i.a=s,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){ue(e,n,t),a.m(o,n),de(n,r),i.m(l,n),de(n,s)},p(e,t){8192&t[0]|2&t[1]&&o!==(o=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"")&&a.p(o),8192&t[0]|2&t[1]&&l!==(l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"")&&i.p(l)},d(e){e&&me(n)}}}function yr(e){let n,a=e[13]&&e[13][e[111]]&&pr(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[13]&&e[13][e[111]]?a?a.p(e,t):((a=pr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function br(t){let r,i=t[25],s=[];for(let e=0;e<i.length;e+=1)s[e]=wr(tr(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);ue(t,r,n)},p(t,n){if(570425344&n[0]|8192&n[1]){let e;for(i=t[25],e=0;e<i.length;e+=1){var a=tr(t,i,e);s[e]?s[e].p(a,n):(s[e]=wr(a),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){H(s,e),e&&me(r)}}}function vr(e){let n,a,r=e[36]("gameThumbnail.full")+"";return{c(){n=he("span"),a=pe(r),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[1]&&r!==(r=e[36]("gameThumbnail.full")+"")&&ye(a,r)},d(e){e&&me(n)}}}function wr(e){let n,a,r,i,s,o,l;return{c(){n=he("span"),a=j("svg"),r=j("path"),i=j("path"),s=ge(),fe(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"width","13"),fe(a,"height","14"),fe(a,"viewBox","0 0 13 14"),fe(n,"class",o=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,i),de(n,s)},p(e,t){570425344&t[0]&&o!==(o=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",o),570425344&t[0]&&l!==(l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&me(n)}}}function xr(e){let n,a;return{c(){n=he("p"),a=pe(e[4]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[0]&&ye(a,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&me(n)}}}function $r(n){let a,r,i,s,o,l,B,c,d,u,m,h,N,p,g,O,f,y,H,b,v,w,x,$,C,S,k,j,T,_,U,z,F=(n[5]||"-")+"";function W(e){return e[16]?ar:nr}let M=W(n),E=M(n),L=n[1]&&ir(n);function Y(e,t){return 32773&t[0]&&(b=null),32773&t[0]&&(v=null),(b=null==b?!(it(e[37])||!e[0]||!e[15]||!e[2]):b)?or:(v=null==v?!!(it(e[37])&&e[0]&&e[15]&&e[2]):v)?sr:void 0}let G=Y(n,[-1,-1,-1,-1]),P=G&&G(n),I=n[7]&&lr(n),R=n[8]&&cr(n),D=n[12]&&dr(n),A=n[10]&&xr(n);return{c(){a=he("div"),r=he("div"),i=he("img"),B=ge(),c=he("div"),d=he("div"),E.c(),u=ge(),m=he("p"),h=pe(n[4]),N=ge(),L&&L.c(),O=ge(),f=he("span"),y=pe(F),H=ge(),P&&P.c(),w=ge(),x=he("div"),I&&I.c(),$=ge(),R&&R.c(),C=ge(),D&&D.c(),j=ge(),A&&A.c(),this.c=V,ce(i.src,s=n[3])||fe(i,"src",s),fe(i,"class",o=`GameBg GameBg-${n[9]} ${n[17]?"GameContainerHovered":""} `+(n[18]?"Loaded":"")),fe(i,"part",l="GameBg "+(n[17]?"GameContainerHovered":"")+" "+(n[18]?"Loaded":"")),fe(i,"alt",""),fe(i,"loading","lazy"),fe(m,"class","GameInfoName"),fe(m,"part","GameInfoName"),fe(m,"title",n[4]),fe(d,"class",p="GameInfo "+(n[17]?"GameHovered":"")),fe(d,"part",g="GameInfo "+(n[17]?"GameHovered":"")),fe(f,"class","GameInfoVendor"),fe(f,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe(x,"class","GameExtraInfo"),fe(x,"part","GameExtraInfo"),fe(r,"class",S="GameInnerContainer "+(n[12]&&!n[23]&&n[24].value||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"part",k="GameInnerContainer "+(n[12]&&!n[23]||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(a,"class",T="GameContainer "+n[34]),fe(a,"part",_="GameContainer "+n[34])},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[66](i),de(r,B),de(r,c),de(c,d),E.m(d,null),de(d,u),de(d,m),de(m,h),de(d,N),L&&L.m(d,null),de(c,O),de(c,f),de(f,y),de(r,H),P&&P.m(r,null),de(r,w),de(r,x),I&&I.m(x,null),de(x,$),R&&R.m(x,null),de(x,C),D&&D.m(x,null),de(a,j),A&&A.m(a,null),n[71](a),U||(z=[K(r,"mouseenter",n[42]),K(r,"mouseleave",n[43]),K(r,"touchstart",n[40],{passive:!0}),K(r,"touchend",n[41],{passive:!0})],U=!0)},p(e,t){8&t[0]&&!ce(i.src,s=e[3])&&fe(i,"src",s),393728&t[0]&&o!==(o=`GameBg GameBg-${e[9]} ${e[17]?"GameContainerHovered":""} `+(e[18]?"Loaded":""))&&fe(i,"class",o),393216&t[0]&&l!==(l="GameBg "+(e[17]?"GameContainerHovered":"")+" "+(e[18]?"Loaded":""))&&fe(i,"part",l),M===(M=W(e))&&E?E.p(e,t):(E.d(1),(E=M(e))&&(E.c(),E.m(d,u))),16&t[0]&&ye(h,e[4]),16&t[0]&&fe(m,"title",e[4]),e[1]?L?L.p(e,t):((L=ir(e)).c(),L.m(d,null)):L&&(L.d(1),L=null),131072&t[0]&&p!==(p="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"class",p),131072&t[0]&&g!==(g="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"part",g),32&t[0]&&F!==(F=(e[5]||"-")+"")&&ye(y,F),G===(G=Y(e,t))&&P?P.p(e,t):(P&&P.d(1),(P=G&&G(e))&&(P.c(),P.m(r,w))),e[7]?I?I.p(e,t):((I=lr(e)).c(),I.m(x,$)):I&&(I.d(1),I=null),e[8]?R?R.p(e,t):((R=cr(e)).c(),R.m(x,C)):R&&(R.d(1),R=null),e[12]?D?D.p(e,t):((D=dr(e)).c(),D.m(x,null)):D&&(D.d(1),D=null),25169920&t[0]|4&t[1]&&S!==(S="GameInnerContainer "+(e[12]&&!e[23]&&e[24].value||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(r,"class",S),8392704&t[0]|4&t[1]&&k!==(k="GameInnerContainer "+(e[12]&&!e[23]||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(r,"part",k),e[10]?A?A.p(e,t):((A=xr(e)).c(),A.m(a,null)):A&&(A.d(1),A=null),8&t[1]&&T!==(T="GameContainer "+e[34])&&fe(a,"class",T),8&t[1]&&_!==(_="GameContainer "+e[34])&&fe(a,"part",_)},i:V,o:V,d(e){e&&me(a),n[66](null),E.d(),L&&L.d(),P&&P.d(),I&&I.d(),R&&R.d(),D&&D.d(),A&&A.d(),n[71](null),U=!1,Z(z)}}}const Cr="blackjack",Sr="roulette",kr="doubleballroulette",Tr=5;function _r(i,e,s){let t;ot(i,Ua,e=>s(36,t=e));let D,o,l,c,n,A,B,d,u,N,O,H,m,j,U,z,h,W,Y,V,p,Z,g,K,X,{session:q=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{favorites:x=""}=e,{gamethumbnail:J=""}=e,{gamename:Q=""}=e,{gamevendor:a=""}=e,{gameid:r=""}=e,{gameisnew:ee=""}=e,{gametag:te=""}=e,{gamefunmode:$=!1}=e,{searchitem:ne=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:ae=""}=e,{showfavoredcategory:S=!1}=e,{showgamename:re=!1}=e,{currency:k=""}=e,{gamepagemodalurl:T="false"}=e,{endpoint:_=""}=e,{livelobbyendpoint:F=""}=e,{connectlive:M=""}=e,{visibilityconnect:E=""}=e,{integratedgameframedesktop:L="false"}=e,{integratedgameframemobile:G="false"}=e,ie=!1,se=!1,oe=!1,P=window.navigator.userAgent,le="HH:mm",ce,de=[],ue="EUR",I="";const me=[Cr],he=[Sr,kr],pe={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ge={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},fe=(Object.keys(Ja).forEach(e=>{qa(e,Ja[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+r||S||s(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+r||S||s(0,C=!1),"UserSessionID"===e.data.type&&(s(15,ie=!0),e.data.session,D=e.data.userID),"CategoryUpdate"===e.data.type&&s(12,c=null)}),ye=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(D||"Not logged in")}),it(P)&&"true"==G?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:$,gamepagemodalurl:T,isMobile:it(P),source:"GameThumbnail",identifier:"Lobby"},window.location.href):it(P)&&"false"==G&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:it(P)},window.location.href),it(P)||"true"!=L?it(P)||"false"!=L||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:it(P)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:$,gamepagemodalurl:T,isMobile:it(P),identifier:"Lobby"},window.location.href)},be=e=>{var t="thumbnail";C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},ve=()=>{F&&EventSource&&!n&&a&&r&&(n=new EventSource(`${_}/encoder/lobby/updates/${a}/`+r)).addEventListener("message",xe)},we=()=>{n&&(n.close(),n=void 0)},xe=async e=>{const{type:t,data:n}=e;let a;if("message"===t){if(n)try{a=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(a){const{InternalTableId:e,MessageType:t,Results:n,Seats:r,Open:i}=a;if(e)switch(t){case"SeatsUpdated":r&&Array.isArray(r)&&(s(29,m=r),s(12,c.currentOccupiedSeats=r,c),await Se());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,s(12,c.currentRouletteNumbers=n,c),await Se());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,s(12,c.currentDoubleBallRouletteNumbers=n,c),await Se());break;case"TableOpened":case"TableClosed":s(23,d=i),s(12,c.isOpen=i,c),await Se()}}}},$e=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t),Ce=()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return lt(()=>(window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),n&&n.removeEventListener("message",xe)})),i.$$set=e=>{"session"in e&&s(48,q=e.session),"userid"in e&&s(49,f=e.userid),"lang"in e&&s(1,y=e.lang),"clientstyling"in e&&s(50,b=e.clientstyling),"clientstylingurl"in e&&s(51,v=e.clientstylingurl),"translationurl"in e&&s(52,w=e.translationurl),"favorites"in e&&s(2,x=e.favorites),"gamethumbnail"in e&&s(3,J=e.gamethumbnail),"gamename"in e&&s(4,Q=e.gamename),"gamevendor"in e&&s(5,a=e.gamevendor),"gameid"in e&&s(6,r=e.gameid),"gameisnew"in e&&s(7,ee=e.gameisnew),"gametag"in e&&s(8,te=e.gametag),"gamefunmode"in e&&s(53,$=e.gamefunmode),"searchitem"in e&&s(54,ne=e.searchitem),"gamefavorite"in e&&s(0,C=e.gamefavorite),"gamecellsize"in e&&s(9,ae=e.gamecellsize),"showfavoredcategory"in e&&s(55,S=e.showfavoredcategory),"showgamename"in e&&s(10,re=e.showgamename),"currency"in e&&s(56,k=e.currency),"gamepagemodalurl"in e&&s(57,T=e.gamepagemodalurl),"endpoint"in e&&s(58,_=e.endpoint),"livelobbyendpoint"in e&&s(59,F=e.livelobbyendpoint),"connectlive"in e&&s(60,M=e.connectlive),"visibilityconnect"in e&&s(61,E=e.visibilityconnect),"integratedgameframedesktop"in e&&s(62,L=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(63,G=e.integratedgameframemobile)},i.$$.update=()=>{if(536870912&i.$$.dirty[1]&&M&&("disconnect"===M?we():"connect"===M&&ve()),1073741824&i.$$.dirty[1]&&E&&("disconnect"===E?we():"connect"===E&&"connect"===M&&ve()),2&i.$$.dirty[0]&&y&&(n=y,rt.set(n)),134610944&i.$$.dirty[1]&&q&&f&&_&&(s(15,ie=!0),D=f),8&i.$$.dirty[0]&&J&&o&&s(19,o.onload=()=>{s(18,oe=!0)},o),2048&i.$$.dirty[0]|524288&i.$$.dirty[1]&&b&&l&&((n=document.createElement("style")).innerHTML=b,l.appendChild(n)),2048&i.$$.dirty[0]|1048576&i.$$.dirty[1]&&v&&l&&Ce(),4&i.$$.dirty[0]&&x&&"true"==x&&s(16,se=!0),2097152&i.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qa(e,t[e])})}).catch(e=>{console.log(e)}),512&i.$$.dirty[0]|1048576&i.$$.dirty[1]&&ae&&v&&Ce(),402653184&i.$$.dirty[1]&&_&&F&&((t=new URL(""+F.split("?")[0])).searchParams.append("platform",st(P)),t.searchParams.append("language",y),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;s(12,c=e)})),4096&i.$$.dirty[0]&&c&&c&&(s(23,d=c.isOpen),ce=c.betLimit||{},s(24,u=c.openHours),s(25,de=(e=>{H=e.totalSeats||7,s(29,m=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=H;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],s(21,B=t),s(22,le=e||le)),d&&s(20,A=(e=>{let t=null;if(e){var n=e["vendorCategory"];if(n){const e=n.toLowerCase();R(me,e)?t=Cr:R(he,e)&&(t=Sr)}}return t})(c)),s(26,ue=Qa[k]),s(27,N=(ce.min||{})[k]),s(28,O=(ce.max||{})[k]),j=c.currentRouletteNumbers,U=c.currentDoubleBallRouletteNumbers,z=c.vendorCategory,s(30,h=z.toLowerCase()===kr),s(13,W=(h?U:j)||[]),s(31,Y="GameProp LiveProps RoulleteProps"),s(31,Y+=h?" Double":""),s(32,V=R(he,z.toLowerCase())?ge:pe),Z=p,s(33,p=Array.isArray(m)&&m.length===H),c.dealer&&s(35,K=c.dealer.DealerName),X=c.numberOfPlayers,s(34,I="ListGame"),c.isOpen&&c.currentRouletteNumbers&&s(34,I+=" GameBackdrop"),d&&p&&N&&O&&c.currentOccupiedSeats?s(34,I+=" GameContainerDimmed"):!1===d&&B&&s(34,I+=" GameContainerFullyDimmed"),l)&&(!Z&&p?(s(34,I+=" PulsatingRedShadow"),s(34,I=I.replace(" PulsatingGreenShadow",""))):Z&&!p&&(s(34,I+=" PulsatingGreenShadow"),s(34,I=I.replace(" PulsatingRedShadow","")))),24576&i.$$.dirty[0]&&g&&W){const a="FirstElementAnimated",r=g.getElementsByClassName("First")[0];r&&(r.classList.add(a),setTimeout(()=>{r.classList.remove(a)},2e3))}var e,t,n},[C,y,x,J,Q,a,r,ee,te,ae,re,l,c,W,g,ie,se,!1,oe,o,A,B,le,d,u,de,ue,N,O,m,h,Y,V,p,I,K,t,P,ye,be,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},R,(e,t,n)=>{let a,r;return null!=e&&null!=t&&(r=`
|
|
3
|
+
}`,o=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+o,h=E(e),{stylesheet:m,rules:p}=I.get(h)||(h=h,d={stylesheet:(d=e,p=me("style"),d=E(d),m=p,de(d.head||d,m),m.sheet,p.sheet),rules:{}},I.set(h,d),d),h=(p[o]||(p[o]=!0,m.insertRule(`@keyframes ${o} `+u,m.cssRules.length)),e.style.animation||"");return e.style.animation=(h?h+", ":"")+o+` ${r}ms linear ${a}ms 1 both`,D+=1,o}function B(e){R=e}function lt(e){!function(){if(R)return R;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const N=[],rt=[];let O=[];const U=[],z=Promise.resolve();let W=!1;function Y(){W||(W=!0,z.then(h))}function Se(){return Y(),z}function X(e){O.push(e)}const q=new Set;let J,Q=0;function h(){if(0===Q){const r=R;do{try{for(;Q<N.length;){const r=N[Q];Q++,B(r),e=t=void 0;var e,t=r.$$;null!==t.fragment&&(t.update(),Z(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(X))}}catch(r){throw N.length=0,Q=0,r}for(B(null),N.length=0,Q=0;rt.length;)rt.pop()();for(let e=0;e<O.length;e+=1){var n=O[e];q.has(n)||(q.add(n),n())}}while(O.length=0,N.length);for(;U.length;)U.pop()();W=!1,q.clear(),B(r)}}function ee(e,t,n){var r;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(r=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),r))}const te=new Set;let ne;function re(e,t){e&&e.i&&(te.delete(e),e.i(t))}function ae(e,t,n,r){e&&e.o?te.has(e)||(te.add(e),ne.c.push(()=>{te.delete(e),r&&(n&&e.d(1),r())}),e.o(t)):r&&r()}const ie={duration:0};function se(l,e,t,n){const r={direction:"both"};let c=e(l,t,r),d=n?0:1,u=null,h=null,m=null;function p(){var e,t,n,r;m&&(e=l,t=m,n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-r.length)||(e.style.animation=r.join(", "),D-=n)||$(()=>{D||(I.forEach(e=>{e=e.stylesheet.ownerNode;e&&he(e)}),I.clear())}))}function g(e,t){var n=e.b-d;return t*=Math.abs(n),{a:d,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function a(e){const{delay:t=0,duration:n=300,easing:r=v,tick:a=V,css:i}=c||ie,s={start:x()+t,b:e};if(e||((s.group=ne).r+=1),u||h)h=s;else{i&&(p(),m=A(l,d,e,n,t,r,i)),e&&a(0,1),u=g(s,n),X(()=>ee(l,e,"start"));{var o=e=>{return h&&e>h.start&&(u=g(h,n),h=null,ee(l,u.b,"start"),i)&&(p(),m=A(l,d,u.b,u.duration,0,r,c.css)),u&&(e>=u.end?(a(d=u.b,1-d),ee(l,u.b,"end"),h||(u.b?p():--u.group.r||Z(u.group.c)),u=null):e>=u.start&&(e=e-u.start,d=u.a+u.d*r(e/u.duration),a(d,1-d))),!(!u&&!h)};let t;0===C.size&&$(M),new Promise(e=>{C.add(t={c:o,f:e})})}}}return{run(e){k(c)?(J||(J=Promise.resolve()).then(()=>{J=null}),J.then(()=>{c=c(r),a(e)})):a(e)},end(){p(),u=h=null}}}function a(r,e,t,n,a,i,s,o=[-1]){var l=R;B(r);const c=r.$$={fragment:null,ctx:[],props:i,update:V,not_equal:a,bound:p(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:p(),dirty:o,skip_bound:!1,root:e.target||l.$$.root};s&&s(c.root);let d=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&a(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d)&&(n=e,-1===(e=r).$$.dirty[0]&&(N.push(e),Y(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),d=!0,Z(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){i=e.target;const V=Array.from(i.childNodes);c.fragment&&c.fragment.l(V),V.forEach(he)}else c.fragment&&c.fragment.c();e.intro&&re(r.$$.fragment);var u=r,o=e.target,s=e.anchor,t=e.customElement,{fragment:n,after_update:i}=u.$$;n&&n.m(o,s),t||X(()=>{var e=u.$$.on_mount.map(m).filter(k);u.$$.on_destroy?u.$$.on_destroy.push(...e):Z(e),u.$$.on_mount=[]}),i.forEach(X),h()}B(l)}let t;"function"==typeof HTMLElement&&(t=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(m).filter(k);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){Z(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const r=[],a=[];O.forEach(e=>(-1===n.indexOf(e)?r:a).push(e)),a.forEach(e=>e()),O=r}Z(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=V}$on(e,t){if(!k(t))return V;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 oe,le,o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,be="URLSearchParams"in o,ve="Symbol"in o&&"iterator"in Symbol,we="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),xe="FormData"in o,$e="ArrayBuffer"in o;function Ce(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 ke(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 ve&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?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 Me(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Ee(e){var t=new FileReader,n=Me(t);return t.readAsArrayBuffer(e),n}function Le(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Ge(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:we&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:xe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:be&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():$e&&we&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Le(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):$e&&(ArrayBuffer.prototype.isPrototypeOf(e)||le(e))?this._bodyArrayBuffer=Le(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):be&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},we&&(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(Ee)}),this.text=function(){var e,t,n=Fe(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=Me(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)},xe&&(this.formData=function(){return this.text().then(Ie)}),this.json=function(){return this.text().then(JSON.parse)},this}$e&&(oe=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],le=ArrayBuffer.isView||function(e){return e&&-1<oe.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=Ce(e),t=ke(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},c.prototype.delete=function(e){delete this.map[Ce(e)]},c.prototype.get=function(e){return e=Ce(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(Ce(e))},c.prototype.set=function(e,t){this.map[Ce(e)]=ke(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),_e(n)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),_e(t)},c.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),_e(n)},ve&&(c.prototype[Symbol.iterator]=c.prototype.entries);var Te=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Pe(e,t){if(!(this instanceof Pe))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 Pe){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(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 c(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Te.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 Ie(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 Re(e,t){if(!(this instanceof Re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');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 c(t.headers),this.url=t.url||"",this._initBody(e)}Pe.prototype.clone=function(){return new Pe(this,{body:this._bodyInit})},Ge.call(Pe.prototype),Ge.call(Re.prototype),Re.prototype.clone=function(){return new Re(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},Re.error=function(){var e=new Re(null,{status:0,statusText:""});return e.type="error",e};var De=[301,302,303,307,308],Ae=(Re.redirect=function(e,t){if(-1===De.indexOf(t))throw new RangeError("Invalid status code");return new Re(null,{status:t,headers:{location:e}})},o.DOMException);try{new Ae}catch(V){(Ae=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Ae.prototype.constructor=Ae}function Be(r,s){return new Promise(function(a,e){var t=new Pe(r,s);if(t.signal&&t.signal.aborted)return e(new Ae("Aborted","AbortError"));var i=new XMLHttpRequest;function n(){i.abort()}i.onload=function(){var e,n,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=new c,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 i?i.responseURL:t.headers.get("X-Request-URL"),"response"in i?i.response:i.responseText);setTimeout(function(){a(new Re(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new Ae("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&o.location.href?o.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(we?i.responseType="blob":$e&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof c?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){i.setRequestHeader(e,ke(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",n)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}function Gn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Be.polyfill=!0,o.fetch||(o.fetch=Be,o.Headers=c,o.Request=Pe,o.Response=Re);var Ne=self.fetch.bind(self),Oe=function(e,t){return(Oe=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}Oe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function je(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 Ue(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)s.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s}function ze(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function We(e){return"function"==typeof e}function Ye(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ve=Ye(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Ze(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}qe.prototype.unsubscribe=function(){var e,t,n,r,a;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=je(i),o=s.next();!o.done;o=s.next())o.value.remove(this)}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(We(i))try{i()}catch(e){a=e instanceof Ve?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=je(i),c=l.next();!c.done;c=l.next()){var d=c.value;try{Qe(d)}catch(e){a=null!=a?a:[],e instanceof Ve?a=ze(ze([],Ue(a)),Ue(e.errors)):a.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(a)throw new Ve(a)}},qe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Qe(e);else{if(e instanceof qe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},qe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},qe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},qe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ze(t,e)},qe.prototype.remove=function(e){var t=this._finalizers;t&&Ze(t,e),e instanceof qe&&e._removeParent(this)},qe.EMPTY=((e=new qe).closed=!0,e);var Ke=qe,Xe=Ke.EMPTY;function qe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Je(e){return e instanceof Ke||e&&"closed"in e&&We(e.remove)&&We(e.add)&&We(e.unsubscribe)}function Qe(e){We(e)?e():e.unsubscribe()}var et=void 0,tt=!1,nt=!1,ct={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=ct.delegate;return null!=a&&a.setTimeout?a.setTimeout.apply(a,ze([e,t],Ue(n))):setTimeout.apply(void 0,ze([e,t],Ue(n)))},clearTimeout:function(e){var t=ct.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function dt(){}var ut=null;function ht(e){if(tt){var t=!ut;if(t&&(ut={errorThrown:!1,error:null}),e(),t){var t=ut,n=t.errorThrown,t=t.error;if(ut=null,n)throw t}}else e()}He(ft,mt=Ke),ft.create=function(e,t,n){return new wt(e,t,n)},ft.prototype.next=function(e){this.isStopped||this._next(e)},ft.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},ft.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},ft.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,mt.prototype.unsubscribe.call(this),this.destination=null)},ft.prototype._next=function(e){this.destination.next(e)},ft.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},ft.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var mt,pt=ft,gt=Function.prototype.bind;function ft(e){var t=mt.call(this)||this;return t.isStopped=!1,e?Je(t.destination=e)&&e.add(t):t.destination=St,t}function yt(e,t){return gt.call(e,t)}$t.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ct(e)}},$t.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ct(e)}else Ct(e)},$t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ct(e)}};var bt,vt=$t,wt=(He(xt,bt=pt),xt);function xt(e,t,n){var r=bt.call(this)||this,n=We(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&nt?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&yt(e.next,t),error:e.error&&yt(e.error,t),complete:e.complete&&yt(e.complete,t)}):e;return r.destination=new vt(n),r}function $t(e){this.partialObserver=e}function Ct(e){var t=e;ct.setTimeout(function(){throw t})}var St={closed:!0,next:dt,error:function(e){throw e},complete:dt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";_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,a=this,i=(r=e)&&r instanceof pt||r&&We(r.next)&&We(r.error)&&We(r.complete)&&Je(r)?e:new wt(e,t,n);return ht(function(){var e=a.operator,t=a.source;i.add(e?e.call(i,t):t?a._subscribe(i):a._trySubscribe(i))}),i},_t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},_t.prototype.forEach=function(r,e){var a=this;return new(e=Ft(e))(function(e,t){var n=new wt({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});a.subscribe(n)})},_t.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},_t.prototype[e]=function(){return this},_t.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}: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=Ft(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)};var kt=_t;function _t(e){e&&(this._subscribe=e)}function Ft(e){return null!=(e=null!=e?e:et)?e:Promise}var Mt,Et,Lt,Gt=Ye(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(He(i,Lt=kt),i.prototype.lift=function(e){var t=new Tt(this,this);return t.operator=e,t},i.prototype._throwIfClosed=function(){if(this.closed)throw new Gt},i.prototype.next=function(a){var i=this;ht(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=je(i.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(a)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},i.prototype.error=function(t){var n=this;ht(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},i.prototype.complete=function(){var t=this;ht(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},i.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(i.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),i.prototype._trySubscribe=function(e){return this._throwIfClosed(),Lt.prototype._trySubscribe.call(this,e)},i.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},i.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,a=this.observers;return n||r?Xe:(this.currentObservers=null,a.push(e),new Ke(function(){t.currentObservers=null,Ze(a,e)}))},i.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},i.prototype.asObservable=function(){var e=new kt;return e.source=this,e},i.create=function(e,t){return new Tt(e,t)},i),Tt=(He(Dt,Et=e),Dt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Dt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Dt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Dt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Xe},Dt),Pt={now:function(){return(Pt.delegate||Date).now()},delegate:void 0},It=(He(Rt,Mt=e),Rt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,a=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),a)||r.push(i.now()+t),this._trimBuffer(),Mt.prototype.next.call(this,e)},Rt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),a=0;a<r.length&&!e.closed;a+=n?1:2)e.next(r[a]);return this._checkFinalizedStatuses(e),t},Rt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,a=(r?1:2)*e;if(e<1/0&&a<n.length&&n.splice(0,n.length-a),!r){for(var i=t.now(),s=0,o=1;o<n.length&&n[o]<=i;o+=2)s=o;s&&n.splice(0,s+1)}},Rt);function Rt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Pt);var r=Mt.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 Dt(e,t){var n=Et.call(this)||this;return n.destination=e,n.source=t,n}function i(){var e=Lt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let At=[],Bt={};const Nt=[];function Ot(r,a=V){let i;const s=new Set;function o(e){if(n(r,e)&&(r=e,i)){const e=!Nt.length;for(const e of s)e[1](),Nt.push(e,r);if(e){for(let e=0;e<Nt.length;e+=2)Nt[e][0](Nt[e+1]);Nt.length=0}}}return{set:o,update:function(e){o(e(r))},subscribe:function(e,t=V){const n=[e,t];return s.add(n),1===s.size&&(i=a(o)||V),e(r),()=>{s.delete(n),0===s.size&&i&&(i(),i=null)}}}}function Ht(e,o,t){const l=!Array.isArray(e),c=l?[e]:e,d=o.length<2;return{subscribe:Ot(t,t=>{let n=!1;const r=[];let a=0,i=V;const s=()=>{var e;a||(i(),e=o(l?r[0]:r,t),d?t(e):i=k(e)?e:V)},e=c.map((e,t)=>u(e,e=>{r[t]=e,a&=~(1<<t),n&&s()},()=>{a|=1<<t}));return n=!0,s(),function(){Z(e),i(),n=!1}}).subscribe}}function jt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Ut);var t}var Ut="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function zt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Kt(Array.isArray(e)?[]:{},e,t):e}function Wt(e,t,n){return e.concat(t).map(function(e){return zt(e,n)})}function Yt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Vt(e,t){try{return t in e}catch(e){return!1}}function Zt(r,a,i){var s={};return i.isMergeableObject(r)&&Yt(r).forEach(function(e){s[e]=zt(r[e],i)}),Yt(a).forEach(function(e){var t,n;(!Vt(t=r,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Vt(r,e)&&i.isMergeableObject(a[e])?s[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Kt)(r[e],a[e],i):s[e]=zt(a[e],i))}),s}function Kt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Wt,n.isMergeableObject=n.isMergeableObject||jt,n.cloneUnlessOtherwiseSpecified=zt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Zt(e,t,n):zt(t,n)}Kt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Kt(e,t,n)},{});throw new Error("first argument should be an array")};var Xt=Kt,qt=function(e,t){return(qt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function Jt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}qt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,Qt,f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function en(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function tn(e){return e.type===y.literal}function nn(e){return e.type===y.number}function rn(e){return e.type===y.date}function an(e){return e.type===y.time}function sn(e){return e.type===y.select}function on(e){return e.type===y.plural}function ln(e){return e.type===y.tag}function cn(e){return e&&"object"==typeof e&&e.type===Qt.number}function dn(e){return e&&"object"==typeof e&&e.type===Qt.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=Qt=Qt||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,un=/(?:[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 hn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,mn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,pn=/^(@+)?(\+|#+)?[rs]?$/g,gn=/(\*)(0+)|(#+)(0+)|(0+)/g,fn=/^(0+)$/;function yn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(pn,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 bn(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 vn(e){return bn(e)||{}}function wn(e){for(var s={},t=0,n=e;t<n.length;t++){var r,a=n[t];switch(a.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=a.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=a.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=f(f(f({},s),{notation:"scientific"}),a.options.reduce(function(e,t){return f(f({},e),vn(t))},{}));continue;case"engineering":s=f(f(f({},s),{notation:"engineering"}),a.options.reduce(function(e,t){return f(f({},e),vn(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(a.options[0]);continue;case"integer-width":if(1<a.options.length)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(gn,function(e,t,n,r,a,i){if(t)s.minimumIntegerDigits=n.length;else{if(r&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(fn.test(a.stem))s.minimumIntegerDigits=a.stem.length;else if(mn.test(a.stem)){if(1<a.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(mn,function(e,t,n,r,a,i){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:a&&i?(s.minimumFractionDigits=a.length,s.maximumFractionDigits=a.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var i=a.options[0];"w"===i?s=f(f({},s),{trailingZeroDisplay:"stripIfInteger"}):i&&(s=f(f({},s),yn(i)))}else pn.test(a.stem)?s=f(f({},s),yn(a.stem)):((i=bn(a.stem))&&(s=f(f({},s),i)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!fn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(a.stem))&&(s=f(f({},s),r)))}return s}var xn={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,"*")),Cn=new RegExp("".concat(e.source,"*$"));function b(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Sn=!!String.fromCodePoint,kn=!!Object.fromEntries,_n=!!String.prototype.codePointAt,Fn=!!String.prototype.trimStart,Mn=!!String.prototype.trimEnd,En=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ln=!0;try{Ln="a"===(null==(Jn=On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Jn[0])}catch(V){Ln=!1}var Tn,Pn,In=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Rn=Sn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",a=e.length,i=0;i<a;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Dn=kn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n],i=a[0],a=a[1];t[i]=a}return t},An=_n?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},Bn=Fn?function(e){return e.trimStart()}:function(e){return e.replace($n,"")},Nn=Mn?function(e){return e.trimEnd()}:function(e){return e.replace(Cn,"")};function On(e,t){return new RegExp(e,t)}Pn=Ln?(Tn=On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Tn.lastIndex=t,null!=(t=Tn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var a=An(e,t);if(void 0===a||Un(a)||33<=(n=a)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094)break;r.push(a),t+=65536<=a?2:1}return Rn.apply(void 0,r)};s.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},s.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a,i=this.char();if(123===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&jn(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a}else if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}else{i=this.clonePosition();this.bump(),r.push({type:y.pound,location:b(i,this.clonePosition())})}}}return{val:r,err:null}},s.prototype.parseTag=function(e,t){var n,r=this.clonePosition(),a=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(a,"/>"),location:b(r,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!jn(this.char())?this.error(g.INVALID_TAG,b(e,this.clonePosition())):(n=this.clonePosition(),a!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,b(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:a,children:t,location:b(r,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,b(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,b(r,this.clonePosition()))):this.error(g.INVALID_TAG,b(r,this.clonePosition()))},s.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())},s.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var a=this.tryParseQuote(t);if(a)r+=a;else{a=this.tryParseUnquoted(e,t);if(a)r+=a;else{a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}n=b(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},s.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(jn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},s.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 Rn.apply(void 0,t)},s.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Rn(n))},s.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,b(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:b(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Pn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:b(e,this.clonePosition())}},s.prototype.parseArgumentOptions=function(e,t,n,r){var a,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(s){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,b(i,o));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(h=Nn(u.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(r)).err?c:(m=b(r,this.clonePosition()),l&&In(null==l?void 0:l.style,"::",0)?(p=Bn(l.style.slice(2)),"number"===s?(u=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?u:{val:{type:y.number,value:n,location:m,style:u.val},err:null}:0===p.length?this.error(g.EXPECT_DATE_TIME_SKELETON,m):(d=p,this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if("j"===a){for(var i=0;r+1<e.length&&e.charAt(r+1)===a;)i++,r++;var s=1+(1&i),o=i<2?1:3+(i>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(xn[t||""]||xn[n||""]||xn["".concat(n,"-001")]||xn["001"])[0]}(t);for("H"!=l&&"k"!=l||(o=0);0<o--;)n+="a";for(;0<s--;)n=l+n}else n+="J"===a?"H":a}return n}(p,this.locale)),h={type:Qt.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(a={},d.replace(un,function(e){var t=e.length;switch(e[0]){case"G":a.era=4===t?"long":5===t?"narrow":"short";break;case"y":a.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":a.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":a.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":a.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"a":a.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":a.hourCycle="h12",a.hour=["numeric","2-digit"][t-1];break;case"H":a.hourCycle="h23",a.hour=["numeric","2-digit"][t-1];break;case"K":a.hourCycle="h11",a.hour=["numeric","2-digit"][t-1];break;case"k":a.hourCycle="h24",a.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":a.minute=["numeric","2-digit"][t-1];break;case"s":a.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":a.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),a):{}},{val:{type:"date"===s?y.date:y.time,value:n,location:m,style:h},err:null})):{val:{type:"number"===s?y.number:"date"===s?y.date:y.time,value:n,location:m,style:null!=(p=null==l?void 0:l.style)?p:null},err:null});case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,b(d,f({},d)));this.bumpSpace();var u,h=this.parseIdentifierIfPossible(),m=0;if("select"!==s&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),h=this.parseIdentifierIfPossible(),m=u.val}var p,l=this.tryParsePluralOrSelectOptions(e,s,t,h);return l.err?l:(c=this.tryParseArgumentClose(r)).err?c:(p=b(r,this.clonePosition()),"select"===s?{val:{type:y.select,value:n,options:Dn(l.val),location:p},err:null}:{val:{type:y.plural,value:n,options:Dn(l.val),offset:m,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,b(i,o))}},s.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},s.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,b(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},s.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(hn).filter(function(e){return 0<e.length});n<r.length;n++){var a=r[n].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var i=a[0],a=a.slice(1),s=0,o=a;s<o.length;s++)if(0===o[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:a})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:Qt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?wn(n):{}},err:null}},s.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var a=!1,i=[],s=new Set,o=r.value,l=r.location;;){if(0===o.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=b(c,this.clonePosition()),o=this.message.slice(c.offset,this.offset())}if(s.has(o))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===o&&(a=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;i.push([o,{value:c.val,location:b(d,this.clonePosition())}]),s.add(o),this.bumpSpace(),o=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===i.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(g.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:i,err:null}},s.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;a=!0,i=10*i+(s-48),this.bump()}r=b(r,this.clonePosition());return a?En(i*=n)?{val:i,err:null}:this.error(t,r):this.error(e,r)},s.prototype.offset=function(){return this.position.offset},s.prototype.isEOF=function(){return this.offset()===this.message.length},s.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},s.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=An(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},s.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},s.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))},s.prototype.bumpIf=function(e){if(In(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},s.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)},s.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}},s.prototype.bumpSpace=function(){for(;!this.isEOF()&&Un(this.char());)this.bump()},s.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Hn=s;function s(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function jn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Un(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function zn(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Hn(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,sn(e)||on(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else nn(e)&&cn(e.style)||(rn(e)||an(e))&&dn(e.style)?delete e.style.location:ln(e)&&n(e.children)})}(e.val),e.val}function Wn(e,t){var n=t&&t.cache?t.cache:Qn,r=t&&t.serializer?t.serializer:Kn;return(t&&t.strategy?t.strategy:function(e,t){return Zn(e,this,1===e.length?Yn:Vn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Yn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),a=t.get(n);return void 0===a&&(a=e.call(this,r),t.set(n,a)),a}function Vn(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),a=t.get(n);return void 0===a&&(a=e.apply(this,r),t.set(n,a)),a}function Zn(e,t,n,r,a){return n.bind(t,e,r,a)}var Kn=function(){return JSON.stringify(arguments)};function Xn(){this.cache=Object.create(null)}Xn.prototype.get=function(e){return this.cache[e]},Xn.prototype.set=function(e,t){this.cache[e]=t};var qn,Jn,Qn={create:function(){return new Xn}},er={variadic:function(e,t){return Zn(e,this,Vn,t.cache.create(),t.serializer)},monadic:function(e,t){return Zn(e,this,Yn,t.cache.create(),t.serializer)}};(Jn=qn=qn||{}).MISSING_VALUE="MISSING_VALUE",Jn.INVALID_VALUE="INVALID_VALUE",Jn.MISSING_INTL_API="MISSING_INTL_API";Jt(mr,ir=Error),mr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var tr,nr,rr,ar,ir,sr=mr,or=(Jt(hr,ar=sr),hr),lr=(Jt(ur,rr=sr),ur),cr=(Jt(dr,nr=sr),dr);function dr(e,t){return nr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),qn.MISSING_VALUE,t)||this}function ur(e,t,n){return rr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),qn.INVALID_VALUE,n)||this}function hr(e,t,n,r){return ar.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),qn.INVALID_VALUE,r)||this}function mr(e,t,n){e=ir.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function pr(e,t,n,r,a,i,s){if(1===e.length&&tn(e[0]))return[{type:tr.literal,value:e[0].value}];for(var o=[],l=0,c=e;l<c.length;l++){var d=c[l];if(tn(d))o.push({type:tr.literal,value:d.value});else if(d.type===y.pound)"number"==typeof i&&o.push({type:tr.literal,value:n.getNumberFormat(t).format(i)});else{var u=d.value;if(!(a&&u in a))throw new cr(u,s);u=a[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),o.push({type:"string"==typeof u?tr.literal:tr.object,value:u});else if(rn(d)){var h="string"==typeof d.style?r.date[d.style]:dn(d.style)?d.style.parsedOptions:void 0;o.push({type:tr.literal,value:n.getDateTimeFormat(t,h).format(u)})}else if(an(d))h="string"==typeof d.style?r.time[d.style]:dn(d.style)?d.style.parsedOptions:r.time.medium,o.push({type:tr.literal,value:n.getDateTimeFormat(t,h).format(u)});else if(nn(d))(h="string"==typeof d.style?r.number[d.style]:cn(d.style)?d.style.parsedOptions:void 0)&&h.scale&&(u*=h.scale||1),o.push({type:tr.literal,value:n.getNumberFormat(t,h).format(u)});else{if(ln(d)){var m=d.children,p=d.value,g=a[p];if("function"!=typeof g)throw new lr(p,"function",s);p=g(pr(m,t,n,r,a,i).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),o.push.apply(o,p.map(function(e){return{type:"string"==typeof e?tr.literal:tr.object,value:e}}))}if(sn(d)){if(!(f=d.options[u]||d.options.other))throw new or(d.value,u,Object.keys(d.options),s);o.push.apply(o,pr(f.value,t,n,r,a))}else if(on(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new sr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',qn.MISSING_INTL_API,s);var g=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[g]||d.options.other}if(!f)throw new or(d.value,u,Object.keys(d.options),s);o.push.apply(o,pr(f.value,t,n,r,a,u-(d.offset||0)))}}}}return(e=o).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===tr.literal&&t.type===tr.literal?n.value+=t.value:e.push(t),e},[])}function gr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=tr=tr||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(yr,"defaultLocale",{get:function(){return yr.memoizedDefaultLocale||(yr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),yr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),yr.memoizedDefaultLocale=null,yr.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])},yr.__parse=zn,yr.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 fr=yr;function yr(e,t,n,r){var a,i,s=this;if(void 0===t&&(t=yr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=s.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===tr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return pr(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=yr.resolveLocale(t),"string"==typeof e){if(this.message=e,!yr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=yr.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(a=yr.formats,(i=n)?Object.keys(a).reduce(function(e,t){var n,r;return e[t]=(n=a[t],(r=i[t])?f(f(f({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),r[t]||{}),e},{})):n),e},f({},a)):a),this.formatters=r&&r.formatters||{getNumberFormat:Wn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,en([void 0],t,!1)))},{cache:gr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:er.variadic}),getDateTimeFormat:Wn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,en([void 0],t,!1)))},{cache:gr(t.dateTime),strategy:er.variadic}),getPluralRules:Wn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,en([void 0],t,!1)))},{cache:gr(t.pluralRules),strategy:er.variadic})}}const br={},vr=(e,t,n)=>n&&(t in br||(br[t]={}),e in br[t]||(br[t][e]=n),n),wr=(t,n)=>{if(null!=n){if(n in br&&t in br[n])return br[n][t];var r=Rr(n);for(let e=0;e<r.length;e++){var a=function(e,t){if(!Cr(e))return null;e=function(e){return xr[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var r=n.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const n=r.slice(e,r.length).join(".");if(n in t){t=t[n];break}}t=t[r[e]]}else t=void 0;return t}}}(r[e],t);if(a)return vr(t,n,a)}}};let xr;const $r=Ot({});function Cr(e){return e in xr}function Sr(t,...n){delete br[t],$r.update(e=>(e[t]=Xt.all([e[t]||{},...n]),e))}Ht([$r],([e])=>Object.keys(e)),$r.subscribe(e=>xr=e);const kr={};function _r(e){return kr[e]}function Fr(e){return null!=e&&Rr(e).some(e=>{return null==(e=_r(e))?void 0:e.size})}const Mr={};function Er(e){var t;return Fr(e)?(t=Rr(e).map(e=>{var t=_r(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Mr[e]=Promise.all(t.map(([e,t])=>{return r=e,Promise.all(t.map(e=>{return t=r,n=e,kr[t].delete(n),0===kr[t].size&&delete kr[t],e().then(e=>e.default||e);var t,n})).then(e=>Sr(r,...e));var r})).then(()=>{if(Fr(e))return Er(e);delete Mr[e]}),Mr[e]):e in Mr?Mr[e]:Promise.resolve()}const Lr={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 Gr=Ot(!1);let Tr;const Pr=Ot(null);function Ir(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Rr(e,t=Lr.fallbackLocale){e=Ir(e);return t?[...new Set([...e,...Ir(t)])]:e}function Dr(){return null!=Tr?Tr:void 0}Pr.subscribe(e=>{Tr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const at={...Pr,set:t=>{if(t&&function(e){if(null!=e){var t=Rr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Cr(n))return n}}}(t)&&Fr(t)){var n=Lr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Dr()&&n?e=window.setTimeout(()=>Gr.set(!0),n):Gr.set(!0),Er(t).then(()=>{Pr.set(t)}).finally(()=>{clearTimeout(e),Gr.set(!1)})}return Pr.set(t)}},Ar=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Br=(e,t)=>{var n=Lr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Nr=Ar(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=Br("number",t)),new Intl.NumberFormat(e,n)}),Or=Ar(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=Br("date",t):0===Object.keys(n).length&&(n=Br("date","short")),new Intl.DateTimeFormat(e,n)}),Hr=Ar(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=Br("time",t):0===Object.keys(n).length&&(n=Br("time","short")),new Intl.DateTimeFormat(e,n)}),jr=Ar((e,t=Dr())=>new fr(e,t,Lr.formats,{ignoreTag:Lr.ignoreTag})),Ur=Ht([at,$r],()=>(e,t={})=>{var n,r;let a=t;"object"==typeof e&&(e=(a=e).id);var{values:i,locale:s=Dr(),default:o}=a;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=wr(e,s);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=Lr).handleMissingMessage)?void 0:n.call(r,{locale:s,id:e,defaultValue:o}))?n:o)?r:e;if(!i)return l;let c=l;try{c=jr(l,s).format(i)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),it=(Ht([at],()=>(e,t)=>{return[{locale:t=Dr(),...n}={}]=[t],Hr({locale:t,...n}).format(e);var n}),Ht([at],()=>(e,t)=>{return[{locale:t=Dr(),...n}={}]=[t],Or({locale:t,...n}).format(e);var n}),Ht([at],()=>(e,t)=>{return[{locale:t=Dr(),...n}={}]=[t],Nr({locale:t,...n}).format(e);var n}),Ht([at,$r],()=>(e,t=Dr())=>wr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==At.indexOf(e)&&(t=new It(t),Bt[e]=t,At.push(e)),Bt[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))),st=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function zr(e,t){Sr(e,t)}const Wr={en:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"},"zh-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"},de:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"},it:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"},fr:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"},es:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Borrar",noGamesPlayed:"No has jugado ningún juego! Juega Ya"},tr:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"},ru:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"},ro:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"},hr:{500:"500 Error - Internal Server Error",search:"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:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"},pl:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"},pt:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"},sl:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"},sr:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}};function Yr(e,t){Sr(e,t)}const Vr={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"},tr:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"},hr:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"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:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}};Kr=Zr={path:void 0,exports:{},require:function(e,t){return Gn(null==t&&Zr.path)}},Zr.exports,Kr.exports=function(){var D;function p(){return D.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function A(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function B(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function o(e){return void 0===e}function N(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function O(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],r=e.length,a=0;a<r;++a)n.push(t(e[a],a));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return Gt(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=W.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function z(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},Y=p.momentProperties=[],V=!1;function Z(e,t){var n,r,a,i=Y.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=f(t)),o(t._locale)||(e._locale=t._locale),0<i)for(n=0;n<i;n++)o(a=t[r=Y[n]])||(e[r]=a);return e}function K(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,p.updateOffset(this),V=!1)}function l(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function X(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,s){var o=!0;return j(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,i),o){for(var e,t,n=[],r=arguments.length,a=0;a<r;a++){if(e="","object"==typeof arguments[a]){for(t in e+="\n["+a+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[a];n.push(e)}X(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return s.apply(this,arguments)},s)}var q={};function J(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),q[e]||(X(t),q[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)&&(A(e[n])&&A(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)&&A(e[n])&&(r[n]=j({},r[n]));return r}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function i(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ae={},ie={};function r(e,t,n,r){var a="string"==typeof r?function(){return this[r]()}:r;e&&(ie[e]=a),t&&(ie[t[0]]=function(){return i(a.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function se(e,t){return e.isValid()?(t=oe(t,e.localeData()),ae[t]=ae[t]||function(r){for(var e,a=r.match(ne),t=0,i=a.length;t<i;t++)ie[a[t]]?a[t]=ie[a[t]]:a[t]=(e=a[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<i;n++)t+=d(a[n])?a[n].call(e,r):a[n];return t}}(t),ae[t](e)):e.localeData().invalidDate()}function oe(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 m(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?(pe(this,t,e),p.updateOffset(this,n),this):me(this,t)}}function me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=m(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ie(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var a=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,$e=/[+-]?\d{1,6}/,Ce=/\d+/,Se=/[+-]?\d+/,ke=/Z|[+-]\d\d:?\d\d/gi,_e=/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){Me[e]=d(n)?n:function(e,t){return e&&r?r:n}}function Fe(e,t){return g(Me,e)?Me[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={},Ee={};function $(e,n){var t,r,a=n;for("string"==typeof e&&(e=[e]),N(n)&&(a=function(e,t){t[n]=m(e)}),r=e.length,t=0;t<r;t++)Ee[e[t]]=a}function Le(e,a){$(e,function(e,t,n,r){n._w=n._w||{},a(e,n._w,n,r)})}var C,S=0,k=1,_=2,F=3,M=4,E=5,Ge=6,Te=7,Pe=8;function Ie(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?ue(e)?29:28:31-n%7%2)}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),$(["M","MM"],function(e,t){t[k]=m(e)-1}),$(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[k]=r:f(n).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Be=v,Ne=v;function Oe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=m(t);else if(!N(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function He(e){return null!=e?(Oe(this,e),p.updateOffset(this,!0),this):me(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],a=[],i=0;i<12;i++)t=c([2e3,i]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),a.push(this.months(t,"")),a.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),a.sort(e),i=0;i<12;i++)n[i]=x(n[i]),r[i]=x(r[i]);for(i=0;i<24;i++)a[i]=x(a[i]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return ue(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?i(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",Se),w("YY",b,y),w("YYYY",xe,fe),w("YYYYY",$e,ye),w("YYYYYY",$e,ye),$(["YYYYY","YYYYYY"],S),$("YYYY",function(e,t){t[S]=2===e.length?p.parseTwoDigitYear(e):m(e)}),$("YY",function(e,t){t[S]=p.parseTwoDigitYear(e)}),$("Y",function(e,t){t[S]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return m(e)+(68<m(e)?1900:2e3)};var ze=he("FullYear",!0);function We(e,t,n,r,a,i,s){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,r,a,i,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,r,a,i,s),o}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,a){var i,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,a),n=t<=0?Ue(i=e-1)+t:t>Ue(e)?(i=e+1,t-Ue(e)):(i=e,t);return{year:i,dayOfYear:n}}function Ke(e,t,n){var r,a,i=Ve(e.year(),t,n),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?r=i+L(a=e.year()-1,t,n):i>L(e.year(),t,n)?(r=i-L(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function L(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),Le(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=m(e)});function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Le(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),Le(["d","e","E"],function(e,t,n,r){t[r]=m(e)});var qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,a=[],i=[],s=[],o=[],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,"")),a.push(t),i.push(n),s.push(r),o.push(t),o.push(n),o.push(r);a.sort(e),i.sort(e),s.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function at(){return this.hours()%12||12}function it(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,at),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)}),r("hmmss",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)+i(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+i(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+i(this.minutes(),2)+i(this.seconds(),2)}),it("a",!0),it("A",!1),t("hour","h"),n("hour",13),w("a",st),w("A",st),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),$(["H","HH"],F),$(["k","kk"],function(e,t,n){e=m(e);t[F]=24===e?0:e}),$(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),$(["h","hh"],function(e,t,n){t[F]=m(e),f(n).bigHour=!0}),$("hmm",function(e,t,n){var r=e.length-2;t[F]=m(e.substr(0,r)),t[M]=m(e.substr(r)),f(n).bigHour=!0}),$("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[F]=m(e.substr(0,r)),t[M]=m(e.substr(r,2)),t[E]=m(e.substr(a)),f(n).bigHour=!0}),$("Hmm",function(e,t,n){var r=e.length-2;t[F]=m(e.substr(0,r)),t[M]=m(e.substr(r))}),$("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[F]=m(e.substr(0,r)),t[M]=m(e.substr(r,2)),t[E]=m(e.substr(a))});v=he("Hours",!0);var ot,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:De,week:{dow:0,doy:6},weekdays:qe,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},G={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,r,a,i=0;i<e.length;){for(t=(a=dt(e[i]).split("-")).length,n=(n=dt(e[i+1]))?n.split("-"):null;0<t;){if(r=ht(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(a,n)>=t-1)break;t--}i++}return ot}function ht(t){var e;if(void 0===G[t]&&Kr&&Kr.exports&&null!=t.match("^[^/\\\\]*$"))try{e=ot._abbr,Gn(),mt(e)}catch(e){G[t]=null}return G[t]}function mt(e,t){return e&&((t=o(t)?T(e):pt(e,t))?ot=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ot._abbr}function pt(e,t){if(null===t)return delete G[e],null;var n,r=lt;if(t.abbr=e,null!=G[e])J("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=G[e]._config;else if(null!=t.parentLocale)if(null!=G[t.parentLocale])r=G[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 G[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){pt(e.name,e.config)}),mt(e),G[e]}function T(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return ot;if(!s(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[k]<0||11<t[k]?k:t[_]<1||t[_]>Ie(t[S],t[k])?_:t[F]<0||24<t[F]||24===t[F]&&(0!==t[M]||0!==t[E]||0!==t[Ge])?F:t[M]<0||59<t[M]?M:t[E]<0||59<t[E]?E:t[Ge]<0||999<t[Ge]?Ge:-1,f(e)._overflowDayOfYear&&(t<S||_<t)&&(t=_),f(e)._overflowWeeks&&-1===t&&(t=Te),f(e)._overflowWeekday&&-1===t&&(t=Pe),f(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,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,$t=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,r,a,i,s,o=e._i,l=ft.exec(o)||yt.exec(o),o=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=o;t<n;t++)if(vt[t][1].exec(l[1])){a=vt[t][0],r=!1!==vt[t][2];break}if(null==a)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){i=(l[2]||" ")+wt[t][0];break}if(null==i)return e._isValid=!1}if(!r&&null!=i)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=a+(i||"")+(s||""),Et(e)}else e._isValid=!1}function kt(e,t,n,r,a,i){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&e.push(parseInt(i,10)),e}function _t(e){var t,n,r,a,i=$t.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=kt(i[4],i[3],i[2],i[5],i[6],i[7]),n=i[1],r=t,a=e,n&&Je.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(a).weekdayMismatch=!0,a._isValid=!1):(e._a=t,e._tzm=(n=i[8],r=i[9],a=i[10],n?Ct[n]:r?0:((n=parseInt(a,10))-(r=n%100))/100*60+r),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Ft(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,r,a,i,s,o,l,c,d,u,h=[];if(!e._d){for(d=e,u=new Date(p.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[_]&&null==e._a[k]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(s=1,o=4,r=Ft(u.GG,d._a[S],Ke(P(),1,4).year),a=Ft(u.W,1),((i=Ft(u.E,1))<1||7<i)&&(l=!0)):(s=d._locale._week.dow,o=d._locale._week.doy,c=Ke(P(),s,o),r=Ft(u.gg,d._a[S],c.year),a=Ft(u.w,c.week),null!=u.d?((i=u.d)<0||6<i)&&(l=!0):null!=u.e?(i=u.e+s,(u.e<0||6<u.e)&&(l=!0)):i=s),a<1||a>L(r,s,o)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=Ze(r,a,i,s,o),d._a[S]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Ft(e._a[S],n[S]),(e._dayOfYear>Ue(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(u,0,e._dayOfYear),e._a[k]=l.getUTCMonth(),e._a[_]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[F]&&0===e._a[M]&&0===e._a[E]&&0===e._a[Ge]&&(e._nextDay=!0,e._a[F]=0),e._d=(e._useUTC?Ye:We).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[F]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Et(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,a=""+e._i,i=a.length,s=0,o=(n=oe(e._f,e._locale).match(ne)||[]).length,l=0;l<o;l++)r=n[l],(t=(a.match(Fe(r,e))||[])[0])&&(0<(u=a.substr(0,a.indexOf(t))).length&&f(e).unusedInput.push(u),a=a.slice(a.indexOf(t)+t.length),s+=t.length),ie[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),u=r,m=e,null!=(h=t)&&g(Ee,u)&&Ee[u](h,m._a,m,u)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=i-s,0<a.length&&f(e).unusedInput.push(a),e._a[F]<=12&&!0===f(e).bigHour&&0<e._a[F]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[F]=(i=e._locale,c=e._a[F],null==(d=e._meridiem)?c:null!=i.meridiemHour?i.meridiemHour(c,d):null!=i.isPM?((i=i.isPM(d))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[S]=e._locale.erasConvertYear(d,e._a[S])),Mt(e),gt(e)}else _t(e);else St(e);var c,d,u,h,m}function Lt(e){var t,n=e._i,r=e._f;{var a,i;return(e._locale=e._locale||T(e._l),null===n||void 0===r&&""===n)?z({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new K(gt(n)):(O(n)?e._d=n:s(r)?function(e){var t,n,r,a,i,s,o=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(a=0;a<l;a++)i=0,s=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Et(t),U(t)&&(s=!0),i=(i+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=i,o?i<r&&(r=i,n=t):(null==r||i<r||s)&&(r=i,n=t,s)&&(o=!0);j(e,n||t)}(e):r?Et(e):o(r=(n=e)._i)?n._d=new Date(p.now()):O(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(a=n,null===(i=xt.exec(a._i))?(St(a),!1===a._isValid&&(delete a._isValid,_t(a),!1===a._isValid)&&(delete a._isValid,a._strict?a._isValid=!1:p.createFromInputFallback(a))):a._d=new Date(+i[1])):s(r)?(n._a=H(r.slice(0),function(e){return parseInt(e,10)}),Mt(n)):A(r)?(a=n)._d||(t=void 0===(i=ce(a._i)).day?i.date:i.day,a._a=H([i.year,i.month,t,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Mt(a)):N(r)?n._d=new Date(r):p.createFromInputFallback(n),U(e)||(e._d=null),e))}}function Gt(e,t,n,r,a){var i={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(A(e)&&B(e)||s(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=n,i._i=e,i._f=t,i._strict=r,(a=new K(gt(Lt(a=i))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function P(e,t,n,r){return Gt(e,t,n,r,!1)}p.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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:z()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:z()});function Tt(e,t){var n,r;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return P();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,a=e.week||e.isoWeek||0,i=e.day||0,s=e.hour||0,o=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,a=Pt.length;for(t in e)if(g(e,t)&&(-1===C.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[Pt[n]]){if(r)return!1;parseFloat(e[Pt[n]])!==m(e[Pt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*o+1e3*s*60*60,this._days=+i+7*a,this._months=+r+3*n+12*t,this._data={},this._locale=T(),this._bubble()}function Rt(e){return e instanceof It}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+i(~~(e/60),2)+n+i(~~e%60,2)})}At("Z",":"),At("ZZ",""),w("Z",_e),w("ZZ",_e),$(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(_e,e)});var Bt=/([\+\-]|\d\d)/gi;function Nt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Bt)||["-",0,0])[1]+m(e[2]))?0:"+"===e[0]?t:-t}function Ot(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||O(e)?e:P(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),p.updateOffset(t,!1),t):P(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function I(e,t){var n,r,a=e;return Rt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:N(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(t=Ut.exec(e))?(n="-"===t[1]?-1:1,a={y:0,d:m(t[_])*n,h:m(t[F])*n,m:m(t[M])*n,s:m(t[E])*n,ms:m(Dt(1e3*t[Ge]))*n}):(t=zt.exec(e))?(n="-"===t[1]?-1:1,a={y:Wt(t[2],n),M:Wt(t[3],n),w:Wt(t[4],n),d:Wt(t[5],n),h:Wt(t[6],n),m:Wt(t[7],n),s:Wt(t[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(t=P(a.from),n=P(a.to),t=t.isValid()&&n.isValid()?(n=Ot(n,t),t.isBefore(n)?r=Yt(t,n):((r=Yt(n,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(a={}).ms=t.milliseconds,a.M=t.months),r=new It(a),Rt(e)&&g(e,"_locale")&&(r._locale=e._locale),Rt(e)&&g(e,"_isValid")&&(r._isValid=e._isValid),r}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Yt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(r,a){return function(e,t){var n;return null===t||isNaN(+t)||(J(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,I(e,t),r),this}}function Zt(e,t,n,r){var a=t._milliseconds,i=Dt(t._days),t=Dt(t._months);e.isValid()&&(r=null==r||r,t&&Oe(e,me(e,"Month")+t*n),i&&pe(e,"Date",me(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r)&&p.updateOffset(e,i||t)}I.fn=It.prototype,I.invalid=function(){return I(NaN)};Re=Vt(1,"add"),qe=Vt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||O(e)||Kt(e)||N(e)||(n=s(t=e),r=!1,n&&(r=0===t.filter(function(e){return!N(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=A(e)&&!B(e),a=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=i.length;for(t=0;t<s;t+=1)n=i[t],a=a||g(e,n);return r&&a}(e)||null==e;var t,n,r}function qt(e,t){var n,r;return e.date()<t.date()?-qt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(n,"months"))<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=T(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.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 sn(){for(var e=[],t=[],n=[],r=[],a=this.eras(),i=0,s=a.length;i<s;++i)t.push(x(a[i].name)),e.push(x(a[i].abbr)),n.push(x(a[i].narrow)),r.push(x(a[i].name)),r.push(x(a[i].abbr)),r.push(x(a[i].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function on(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,a){var i;return null==e?Ke(this,r,a).year:(t>(i=L(e,r,a))&&(t=i),function(e,t,n,r,a){e=Ze(e,t,n,r,a),t=Ye(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,a))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),$(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),$(["y","yy","yyy","yyyy"],S),$(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[S]=n._locale.eraYearOrdinalParse(e,a):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}),on("gggg","weekYear"),on("ggggg","weekYear"),on("GGGG","isoWeekYear"),on("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",$e,ye),w("ggggg",$e,ye),Le(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=m(e)}),Le(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",a),$("Q",function(e,t){t[k]=3*(m(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}),$(["D","DD"],_),$("Do",function(e,t){t[_]=m(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),$(["DDD","DDDD"],function(e,t,n){n._dayOfYear=m(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),$(["m","mm"],M);fe=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),$(["s","ss"],E);var cn,$e=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,a),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function dn(e,t){t[Ge]=m(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")$(cn,dn);ye=he("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");a=K.prototype;function un(e){return e}a.add=Re,a.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=A(e)&&!B(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a=0;a<r.length;a+=1)n=n||g(e,r[a]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||P(),n=Ot(e,this).startOf("day"),n=p.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,P(e)))},a.clone=function(){return new K(this)},a.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Ot(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=u(t)){case"year":i=qt(this,r)/12;break;case"month":i=qt(this,r);break;case"quarter":i=qt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:h(i)},a.endOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}this._d.setTime(t),p.updateOffset(this,!0)}return this},a.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=se(this,e),this.localeData().postformat(e)},a.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?I({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.fromNow=function(e){return this.from(P(),e)},a.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?I({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.toNow=function(e){return this.to(P(),e)},a.get=function(e){return d(this[e=u(e)])?this[e]():this},a.invalidAt=function(){return f(this).overflow},a.isAfter=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},a.isBefore=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},a.isBetween=function(e,t,n,r){return e=l(e)?e:P(e),t=l(t)?t:P(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},a.isSame=function(e,t){var e=l(e)?e:P(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},a.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},a.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},a.isValid=function(){return U(this)},a.lang=Qe,a.locale=Jt,a.localeData=Qt,a.max=ve,a.min=be,a.parsingFlags=function(){return j({},f(this))},a.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)g(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,a=0;a<r;a++)this[n[a].unit](e[n[a].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},a.startOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}this._d.setTime(t),p.updateOffset(this,!0)}return this},a.subtract=qe,a.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},a.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},a.toDate=function(){return new Date(this.valueOf())},a.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?se(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",se(t,"Z")):se(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},a.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(a[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},a.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},a.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},a.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},a.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},a.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,a=n.length;r<a;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-p(n[r].since).year())*e+n[r].offset;return this.year()},a.year=ze,a.isLeapYear=function(){return ue(this.year())},a.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},a.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},a.quarter=a.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},a.month=He,a.daysInMonth=function(){return Ie(this.year(),this.month())},a.week=a.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},a.isoWeek=a.isoWeeks=function(e){var t=Ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},a.weeksInYear=function(){var e=this.localeData()._week;return L(this.year(),e.dow,e.doy)},a.weeksInWeekYear=function(){var e=this.localeData()._week;return L(this.weekYear(),e.dow,e.doy)},a.isoWeeksInYear=function(){return L(this.year(),1,4)},a.isoWeeksInISOWeekYear=function(){return L(this.isoWeekYear(),1,4)},a.date=xe,a.day=a.days=function(e){var t,n,r;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,r=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=r.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},a.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},a.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},a.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},a.hour=a.hours=v,a.minute=a.minutes=fe,a.second=a.seconds=$e,a.millisecond=a.milliseconds=ye,a.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?a:Ht(this);if("string"==typeof e){if(null===(e=Nt(_e,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ht(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?Zt(this,I(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},a.utc=function(e){return this.utcOffset(0,e)},a.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ht(this),"m"),this},a.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Nt(ke,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},a.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?P(e).utcOffset():0,(this.utcOffset()-e)%60==0)},a.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},a.isLocal=function(){return!!this.isValid()&&!this._isUTC},a.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},a.isUtc=jt,a.isUTC=jt,a.zoneAbbr=function(){return this._isUTC?"UTC":""},a.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},a.dates=e("dates accessor is deprecated. Use date instead.",xe),a.months=e("months accessor is deprecated. Use month instead",He),a.years=e("years accessor is deprecated. Use year instead",ze),a.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),a.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return o(this._isDSTShifted)&&(Z(t={},this),(t=Lt(t))._a?(e=(t._isUTC?c:P)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,s=0;s<r;s++)(n&&e[s]!==t[s]||!n&&m(e[s])!==m(t[s]))&&i++;return i+a}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function hn(e,t,n,r){var a=T(),r=c().set(r,t);return a[n](r,e)}function mn(e,t,n){if(N(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");for(var r=[],a=0;a<12;a++)r[a]=hn(e,a,n,"month");return r}function pn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),N(t)&&(n=t,t=void 0),t||"");var a,i=T(),s=e?i._week.dow:0,o=[];if(null!=n)return hn(t,(n+s)%7,r,"day");for(a=0;a<7;a++)o[a]=hn(t,(a+s)%7,r,"day");return o}y.calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=un,y.postformat=un,y.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return d(a)?a(e,t,n,r):a.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)g(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var n,r=this._eras||T("en")._eras,a=0,i=r.length;a<i;++a)switch("string"==typeof r[a].since&&(n=p(r[a].since).startOf("day"),r[a].since=n.valueOf()),typeof r[a].until){case"undefined":r[a].until=1/0;break;case"string":n=p(r[a].until).startOf("day").valueOf(),r[a].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,a,i,s,o,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(i=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),o=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(o===e)return l[r]}else if(0<=[i,s,o].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Ae).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Ae.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,a;if(this._monthsParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=C.call(this._shortMonthsParse,e))?a:null:-1!==(a=C.call(this._longMonthsParse,e))?a:null:"MMM"===t?-1!==(a=C.call(this._shortMonthsParse,e))||-1!==(a=C.call(this._longMonthsParse,e))?a:null:-1!==(a=C.call(this._longMonthsParse,e))||-1!==(a=C.call(this._shortMonthsParse,e))?a:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Be),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ke(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Xe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,a;if(this._weekdaysParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=C.call(this._weekdaysParse,e))?a:null:"ddd"===t?-1!==(a=C.call(this._shortWeekdaysParse,e))?a:null:-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:"dddd"===t?-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._shortWeekdaysParse,e))||-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:"ddd"===t?-1!==(a=C.call(this._shortWeekdaysParse,e))||-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:-1!==(a=C.call(this._minWeekdaysParse,e))||-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._shortWeekdaysParse,e))?a:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===m(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",mt),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",T);var gn=Math.abs;function fn(e,t,n,r){t=I(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),ge=wn("s"),Re=wn("m"),ve=wn("h"),be=wn("d"),qe=wn("w"),v=wn("M"),fe=wn("Q"),$e=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),ze=xn("minutes"),y=xn("hours"),$n=xn("days"),Cn=xn("months"),Sn=xn("years");var kn=Math.round,_n={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Fn(e,t,n,r){var a=I(e).abs(),i=kn(a.as("s")),s=kn(a.as("m")),o=kn(a.as("h")),l=kn(a.as("d")),c=kn(a.as("M")),d=kn(a.as("w")),a=kn(a.as("y")),i=(i<=n.ss?["s",i]:i<n.s&&["ss",i])||(s<=1?["m"]:s<n.m&&["mm",s])||(o<=1?["h"]:o<n.h&&["hh",o])||(l<=1?["d"]:l<n.d&&["dd",l]);return(i=(i=null!=n.w?i||(d<=1?["w"]:d<n.w&&["ww",d]):i)||(c<=1?["M"]:c<n.M&&["MM",c])||(a<=1?["y"]:["yy",a]))[2]=t,i[3]=0<+e,i[4]=r,function(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}.apply(null,i)}var Mn=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Ln(){var e,t,n,r,a,i,s,o,l,c,d;return this.isValid()?(o=Mn(this._milliseconds)/1e3,l=Mn(this._days),c=Mn(this._months),(d=this.asSeconds())?(e=h(o/60),t=h(e/60),o%=60,e%=60,n=h(c/12),c%=12,r=o?o.toFixed(3).replace(/\.?0+$/,""):"",a=En(this._months)!==En(d)?"-":"",i=En(this._days)!==En(d)?"-":"",s=En(this._milliseconds)!==En(d)?"-":"",(d<0?"-":"")+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(l?i+l+"D":"")+(t||e||o?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(o?s+r+"S":"")):"P0D"):this.localeData().invalidDate()}var R=It.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},R.add=function(e,t){return fn(this,e,t,1)},R.subtract=function(e,t){return fn(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},R.asMilliseconds=we,R.asSeconds=ge,R.asMinutes=Re,R.asHours=ve,R.asDays=be,R.asWeeks=qe,R.asMonths=v,R.asQuarters=fe,R.asYears=$e,R.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12):NaN},R._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),r.milliseconds=e%1e3,e=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},R.clone=function(){return I(this)},R.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=xe,R.minutes=ze,R.hours=y,R.days=$n,R.weeks=function(){return h(this.days()/7)},R.months=Cn,R.years=Sn,R.humanize=function(e,t){var n,r;return this.isValid()?(n=!1,r=_n,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},_n,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),t=Fn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},R.toISOString=Ln,R.toString=Ln,R.toJSON=Ln,R.locale=Jt,R.localeData=Qt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),R.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",Se),w("X",/[+-]?\d+(\.\d{1,3})?/),$("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),$("x",function(e,t,n){n._d=new Date(m(e))}),p.version="2.29.4",D=P,p.fn=a,p.min=function(){return Tt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Tt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=c,p.unix=function(e){return P(1e3*e)},p.months=function(e,t){return mn(e,t,"months")},p.isDate=O,p.locale=mt,p.invalid=z,p.duration=I,p.isMoment=l,p.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},p.parseZone=function(){return P.apply(null,arguments).parseZone()},p.localeData=T,p.isDuration=Rt,p.monthsShort=function(e,t){return mn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},p.defineLocale=pt,p.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=G[e]&&null!=G[e].parentLocale?G[e].set(Q(G[e]._config,t)):(t=Q(r=null!=(n=ht(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=G[e],G[e]=r),mt(e)):null!=G[e]&&(null!=G[e].parentLocale?(G[e]=G[e].parentLocale,e===mt()&&mt(e)):null!=G[e]&&delete G[e]),G[e]},p.locales=function(){return te(G)},p.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},p.normalizeUnits=u,p.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==_n[e]&&(void 0===t?_n[e]:(_n[e]=t,"s"===e&&(_n.ss=t-1),!0))},p.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"},p.prototype=a,p.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"},p}();var Zr,Kr,Xr=Zr.exports;function qr(e,t){Sr(e,t)}const Jr={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır",full:"masa dolu - bet behind",dealer:"Dealer"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},Qr={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 ea(e,t,n){e=e.slice();return e[109]=t[n],e[111]=n,e}function ta(e,t,n){e=e.slice();return e[106]=t[n],e}function na(e){let n;return{c(){(n=me("div")).innerHTML="<div></div><div></div>",fe(n,"class","LoaderRipple")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function ra(e){let n,r=!it(e[37])&&!e[0]&&e[15],a=r&&aa(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){(r=32769&t[0]?!it(e[37])&&!e[0]&&e[15]:r)?a?a.p(e,t):((a=aa(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&he(n)}}}function aa(n){let r,a,i;return{c(){(r=me("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){ue(e,r,t),a||(i=K(r,"click",n[67]),a=!0)},p:V,d(e){e&&he(r),a=!1,i()}}}function ia(n){let r,a,i,s,o=n[36]("playNow")+"";return{c(){r=me("button"),a=pe(o),fe(r,"class","GameInfoBtn"),fe(r,"part","GameInfoBtn")},m(e,t){ue(e,r,t),de(r,a),i||(s=K(r,"click",n[68]),i=!0)},p(e,t){32&t[1]&&o!==(o=e[36]("playNow")+"")&&ye(a,o)},d(e){e&&he(r),i=!1,s()}}}function sa(e){let n;return{c(){(n=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function oa(n){let r,a,i;return{c(){(r=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){ue(e,r,t),a||(i=K(r,"click",n[69]),a=!0)},p:V,d(e){e&&he(r),a=!1,i()}}}function la(e){let n,r,a=e[36]("new")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&a!==(a=e[36]("new")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ca(e){let n,r;return{c(){n=me("span"),r=pe(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&ye(r,e[8])},d(e){e&&he(n)}}}function da(e){let n,r,a=!e[23]&&e[21]&&e[22]&&ua(e);function i(e){return e[23]&&e[20]&&e[20]===Ca?ma:e[23]&&e[20]&&e[20]===Sa?ha:void 0}let s=i(e),o=s&&s(e);return{c(){a&&a.c(),n=ge(),o&&o.c(),r=l()},m(e,t){a&&a.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,r,t)},p(e,t){!e[23]&&e[21]&&e[22]?a?a.p(e,t):((a=ua(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),s===(s=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=s&&s(e))&&(o.c(),o.m(r.parentNode,r)))},d(e){a&&a.d(e),e&&he(n),o&&o.d(e),e&&he(r)}}}function ua(e){let n,r,a,i,s,o,l,c,d,u,h=e[36]("opens")+"",m=Xr.utc(e[21]).local().format(e[22])+"",p=e[46](e[35])+"",g=e[45](e[27],e[28],e[26])+"";return{c(){n=me("div"),r=me("div"),a=pe(h),i=ge(),s=me("span"),o=pe(m),l=ge(),c=new P(!1),d=ge(),u=new P(!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,a),de(r,i),de(r,s),de(s,o),de(n,l),c.m(p,n),de(n,d),u.m(g,n)},p(e,t){32&t[1]&&h!==(h=e[36]("opens")+"")&&ye(a,h),6291456&t[0]&&m!==(m=Xr.utc(e[21]).local().format(e[22])+"")&&ye(o,m),16&t[1]&&p!==(p=e[46](e[35])+"")&&c.p(p),469762048&t[0]&&g!==(g=e[45](e[27],e[28],e[26])+"")&&u.p(g)},d(e){e&&he(n)}}}function ha(n){let r,a,i,s,o,l,c=n[46](n[35])+"",d=n[45](n[27],n[28],n[26])+"",u=new Array(_a),h=[];for(let e=0;e<u.length;e+=1)h[e]=ya(ea(n,u,e));return{c(){r=me("div"),a=me("div");for(let e=0;e<h.length;e+=1)h[e].c();i=ge(),s=new P(!1),o=ge(),l=new P(!1),fe(a,"class","LiveIcons"),fe(a,"part","LiveIcons"),s.a=o,l.a=null,fe(r,"class",n[31]),fe(r,"part",n[31])},m(e,t){ue(e,r,t),de(r,a);for(let e=0;e<h.length;e+=1)h[e]&&h[e].m(a,null);n[70](a),de(r,i),s.m(c,r),de(r,o),l.m(d,r)},p(t,n){if(1073750016&n[0]|65538&n[1]){let e;for(u=new Array(_a),e=0;e<u.length;e+=1){const s=ea(t,u,e);h[e]?h[e].p(s,n):(h[e]=ya(s),h[e].c(),h[e].m(a,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=u.length}16&n[1]&&c!==(c=t[46](t[35])+"")&&s.p(c),469762048&n[0]&&d!==(d=t[45](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(r,"class",t[31]),1&n[1]&&fe(r,"part",t[31])},d(e){e&&he(r),H(h,e),n[70](null)}}}function ma(e){let n,r,a,i,s,o,l=e[46](e[35])+"",c=e[45](e[27],e[28],e[26])+"";function d(e){return e[33]?va:ba}let u=d(e),h=u(e);return{c(){n=me("div"),r=me("div"),h.c(),a=ge(),i=new P(!1),s=ge(),o=new P(!1),fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),i.a=s,o.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,a),i.m(l,n),de(n,s),o.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))),16&t[1]&&l!==(l=e[46](e[35])+"")&&i.p(l),469762048&t[0]&&c!==(c=e[45](e[27],e[28],e[26])+"")&&o.p(c)},d(e){e&&he(n),h.d()}}}function pa(e){let n;function r(e){return e[30]?fa:ga}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&he(n)}}}function ga(e){let n,r,a=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"";return{c(){n=new P(!1),r=l(),n.a=r},m(e,t){n.m(a,e,t),ue(e,r,t)},p(e,t){8192&t[0]|2&t[1]&&a!==(a=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"")&&n.p(a)},d(e){e&&he(r),e&&n.d()}}}function fa(e){let n,r,a,i,s,o=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"",l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"";return{c(){n=me("div"),r=new P(!1),a=ge(),i=new P(!1),s=ge(),r.a=a,i.a=s,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){ue(e,n,t),r.m(o,n),de(n,a),i.m(l,n),de(n,s)},p(e,t){8192&t[0]|2&t[1]&&o!==(o=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"")&&r.p(o),8192&t[0]|2&t[1]&&l!==(l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"")&&i.p(l)},d(e){e&&he(n)}}}function ya(e){let n,r=e[13]&&e[13][e[111]]&&pa(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[13]&&e[13][e[111]]?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 ba(t){let a,i=t[25],s=[];for(let e=0;e<i.length;e+=1)s[e]=wa(ta(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();a=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);ue(t,a,n)},p(t,n){if(570425344&n[0]|8192&n[1]){let e;for(i=t[25],e=0;e<i.length;e+=1){var r=ta(t,i,e);s[e]?s[e].p(r,n):(s[e]=wa(r),s[e].c(),s[e].m(a.parentNode,a))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){H(s,e),e&&he(a)}}}function va(e){let n,r,a=e[36]("full")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&a!==(a=e[36]("full")+"")&&ye(r,a)},d(e){e&&he(n)}}}function wa(e){let n,r,a,i,s,o,l;return{c(){n=me("span"),r=j("svg"),a=j("path"),i=j("path"),s=ge(),fe(a,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"width","13"),fe(r,"height","14"),fe(r,"viewBox","0 0 13 14"),fe(n,"class",o=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(n,s)},p(e,t){570425344&t[0]&&o!==(o=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",o),570425344&t[0]&&l!==(l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&he(n)}}}function xa(e){let n,r;return{c(){n=me("p"),r=pe(e[4]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&ye(r,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&he(n)}}}function $a(n){let r,a,i,s,o,l,B,c,d,u,h,m,N,p,g,O,f,y,H,b,v,w,x,$,C,S,k,j,_,F,U,z,M=(n[5]||"-")+"";function W(e){return e[16]?ra:na}let E=W(n),L=E(n),G=n[1]&&ia(n);function Y(e,t){return 32773&t[0]&&(b=null),32773&t[0]&&(v=null),(b=null==b?!(it(e[37])||!e[0]||!e[15]||!e[2]):b)?oa:(v=null==v?!!(it(e[37])&&e[0]&&e[15]&&e[2]):v)?sa:void 0}let T=Y(n,[-1,-1,-1,-1]),P=T&&T(n),I=n[7]&&la(n),R=n[8]&&ca(n),D=n[12]&&da(n),A=n[10]&&xa(n);return{c(){r=me("div"),a=me("div"),i=me("img"),B=ge(),c=me("div"),d=me("div"),L.c(),u=ge(),h=me("p"),m=pe(n[4]),N=ge(),G&&G.c(),O=ge(),f=me("span"),y=pe(M),H=ge(),P&&P.c(),w=ge(),x=me("div"),I&&I.c(),$=ge(),R&&R.c(),C=ge(),D&&D.c(),j=ge(),A&&A.c(),this.c=V,ce(i.src,s=n[3])||fe(i,"src",s),fe(i,"class",o=`GameBg GameBg-${n[9]} ${n[17]?"GameContainerHovered":""} `+(n[18]?"Loaded":"")),fe(i,"part",l="GameBg "+(n[17]?"GameContainerHovered":"")+" "+(n[18]?"Loaded":"")),fe(i,"alt",""),fe(i,"loading","lazy"),fe(h,"class","GameInfoName"),fe(h,"part","GameInfoName"),fe(h,"title",n[4]),fe(d,"class",p="GameInfo "+(n[17]?"GameHovered":"")),fe(d,"part",g="GameInfo "+(n[17]?"GameHovered":"")),fe(f,"class","GameInfoVendor"),fe(f,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe(x,"class","GameExtraInfo"),fe(x,"part","GameExtraInfo"),fe(a,"class",S="GameInnerContainer "+(n[12]&&!n[23]&&n[24].value||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(a,"part",k="GameInnerContainer "+(n[12]&&!n[23]||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"class",_="GameContainer "+n[34]),fe(r,"part",F="GameContainer "+n[34])},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[66](i),de(a,B),de(a,c),de(c,d),L.m(d,null),de(d,u),de(d,h),de(h,m),de(d,N),G&&G.m(d,null),de(c,O),de(c,f),de(f,y),de(a,H),P&&P.m(a,null),de(a,w),de(a,x),I&&I.m(x,null),de(x,$),R&&R.m(x,null),de(x,C),D&&D.m(x,null),de(r,j),A&&A.m(r,null),n[71](r),U||(z=[K(a,"mouseenter",n[42]),K(a,"mouseleave",n[43]),K(a,"touchstart",n[40],{passive:!0}),K(a,"touchend",n[41],{passive:!0})],U=!0)},p(e,t){8&t[0]&&!ce(i.src,s=e[3])&&fe(i,"src",s),393728&t[0]&&o!==(o=`GameBg GameBg-${e[9]} ${e[17]?"GameContainerHovered":""} `+(e[18]?"Loaded":""))&&fe(i,"class",o),393216&t[0]&&l!==(l="GameBg "+(e[17]?"GameContainerHovered":"")+" "+(e[18]?"Loaded":""))&&fe(i,"part",l),E===(E=W(e))&&L?L.p(e,t):(L.d(1),(L=E(e))&&(L.c(),L.m(d,u))),16&t[0]&&ye(m,e[4]),16&t[0]&&fe(h,"title",e[4]),e[1]?G?G.p(e,t):((G=ia(e)).c(),G.m(d,null)):G&&(G.d(1),G=null),131072&t[0]&&p!==(p="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"class",p),131072&t[0]&&g!==(g="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"part",g),32&t[0]&&M!==(M=(e[5]||"-")+"")&&ye(y,M),T===(T=Y(e,t))&&P?P.p(e,t):(P&&P.d(1),(P=T&&T(e))&&(P.c(),P.m(a,w))),e[7]?I?I.p(e,t):((I=la(e)).c(),I.m(x,$)):I&&(I.d(1),I=null),e[8]?R?R.p(e,t):((R=ca(e)).c(),R.m(x,C)):R&&(R.d(1),R=null),e[12]?D?D.p(e,t):((D=da(e)).c(),D.m(x,null)):D&&(D.d(1),D=null),25169920&t[0]|4&t[1]&&S!==(S="GameInnerContainer "+(e[12]&&!e[23]&&e[24].value||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(a,"class",S),8392704&t[0]|4&t[1]&&k!==(k="GameInnerContainer "+(e[12]&&!e[23]||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(a,"part",k),e[10]?A?A.p(e,t):((A=xa(e)).c(),A.m(r,null)):A&&(A.d(1),A=null),8&t[1]&&_!==(_="GameContainer "+e[34])&&fe(r,"class",_),8&t[1]&&F!==(F="GameContainer "+e[34])&&fe(r,"part",F)},i:V,o:V,d(e){e&&he(r),n[66](null),L.d(),G&&G.d(),P&&P.d(),I&&I.d(),R&&R.d(),D&&D.d(),A&&A.d(),n[71](null),U=!1,Z(z)}}}const Ca="blackjack",Sa="roulette",ka="doubleballroulette",_a=5;function Fa(i,e,s){let t;ot(i,Ur,e=>s(36,t=e));let D,o,l,c,n,A,B,d,u,N,O,H,h,j,U,z,m,W,Y,V,p,Z,g,K,X,{session:q=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{favorites:x=""}=e,{gamethumbnail:J=""}=e,{gamename:Q=""}=e,{gamevendor:r=""}=e,{gameid:a=""}=e,{gameisnew:ee=""}=e,{gametag:te=""}=e,{gamefunmode:$=!1}=e,{searchitem:ne=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:re=""}=e,{showfavoredcategory:S=!1}=e,{showgamename:ae=!1}=e,{currency:k=""}=e,{gamepagemodalurl:_="false"}=e,{endpoint:F=""}=e,{livelobbyendpoint:M=""}=e,{connectlive:E=""}=e,{visibilityconnect:L=""}=e,{integratedgameframedesktop:G="false"}=e,{integratedgameframemobile:T="false"}=e,ie=!1,se=!1,oe=!1,P=window.navigator.userAgent,le="HH:mm",ce,de=[],ue="EUR",I="";const he=[Ca],me=[Sa,ka],pe={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ge={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},fe=(Object.keys(Jr).forEach(e=>{qr(e,Jr[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+a||S||s(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+a||S||s(0,C=!1),"UserSessionID"===e.data.type&&(s(15,ie=!0),e.data.session,D=e.data.userID),"CategoryUpdate"===e.data.type&&s(12,c=null)}),ye=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(D||"Not logged in")}),it(P)&&"true"==T?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:$,gamepagemodalurl:_,isMobile:it(P),source:"GameThumbnail",identifier:"Lobby"},window.location.href):it(P)&&"false"==T&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:it(P)},window.location.href),it(P)||"true"!=G?it(P)||"false"!=G||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:it(P)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:$,gamepagemodalurl:_,isMobile:it(P),identifier:"Lobby"},window.location.href)},be=e=>{var t="thumbnail";C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},ve=()=>{M&&EventSource&&!n&&r&&a&&(n=new EventSource(`${F}/encoder/lobby/updates/${r}/`+a)).addEventListener("message",xe)},we=()=>{n&&(n.close(),n=void 0)},xe=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:a,Open:i}=r;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(s(29,h=a),s(12,c.currentOccupiedSeats=a,c),await Se());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,s(12,c.currentRouletteNumbers=n,c),await Se());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,s(12,c.currentDoubleBallRouletteNumbers=n,c),await Se());break;case"TableOpened":case"TableClosed":s(23,d=i),s(12,c.isOpen=i,c),await Se()}}}},$e=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t),Ce=()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return lt(()=>(window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),n&&n.removeEventListener("message",xe)})),i.$$set=e=>{"session"in e&&s(48,q=e.session),"userid"in e&&s(49,f=e.userid),"lang"in e&&s(1,y=e.lang),"clientstyling"in e&&s(50,b=e.clientstyling),"clientstylingurl"in e&&s(51,v=e.clientstylingurl),"translationurl"in e&&s(52,w=e.translationurl),"favorites"in e&&s(2,x=e.favorites),"gamethumbnail"in e&&s(3,J=e.gamethumbnail),"gamename"in e&&s(4,Q=e.gamename),"gamevendor"in e&&s(5,r=e.gamevendor),"gameid"in e&&s(6,a=e.gameid),"gameisnew"in e&&s(7,ee=e.gameisnew),"gametag"in e&&s(8,te=e.gametag),"gamefunmode"in e&&s(53,$=e.gamefunmode),"searchitem"in e&&s(54,ne=e.searchitem),"gamefavorite"in e&&s(0,C=e.gamefavorite),"gamecellsize"in e&&s(9,re=e.gamecellsize),"showfavoredcategory"in e&&s(55,S=e.showfavoredcategory),"showgamename"in e&&s(10,ae=e.showgamename),"currency"in e&&s(56,k=e.currency),"gamepagemodalurl"in e&&s(57,_=e.gamepagemodalurl),"endpoint"in e&&s(58,F=e.endpoint),"livelobbyendpoint"in e&&s(59,M=e.livelobbyendpoint),"connectlive"in e&&s(60,E=e.connectlive),"visibilityconnect"in e&&s(61,L=e.visibilityconnect),"integratedgameframedesktop"in e&&s(62,G=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(63,T=e.integratedgameframemobile)},i.$$.update=()=>{if(536870912&i.$$.dirty[1]&&E&&("disconnect"===E?we():"connect"===E&&ve()),1073741824&i.$$.dirty[1]&&L&&("disconnect"===L?we():"connect"===L&&"connect"===E&&ve()),2&i.$$.dirty[0]&&y&&(n=y,at.set(n)),134610944&i.$$.dirty[1]&&q&&f&&F&&(s(15,ie=!0),D=f),8&i.$$.dirty[0]&&J&&o&&s(19,o.onload=()=>{s(18,oe=!0)},o),2048&i.$$.dirty[0]|524288&i.$$.dirty[1]&&b&&l&&((n=document.createElement("style")).innerHTML=b,l.appendChild(n)),2048&i.$$.dirty[0]|1048576&i.$$.dirty[1]&&v&&l&&Ce(),4&i.$$.dirty[0]&&x&&"true"==x&&s(16,se=!0),2097152&i.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qr(e,t[e])})}).catch(e=>{console.log(e)}),512&i.$$.dirty[0]|1048576&i.$$.dirty[1]&&re&&v&&Ce(),402653184&i.$$.dirty[1]&&F&&M&&((t=new URL(""+M.split("?")[0])).searchParams.append("platform",st(P)),t.searchParams.append("language",y),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;s(12,c=e)})),4096&i.$$.dirty[0]&&c&&c&&(s(23,d=c.isOpen),ce=c.betLimit||{},s(24,u=c.openHours),s(25,de=(e=>{H=e.totalSeats||7,s(29,h=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=H;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],s(21,B=t),s(22,le=e||le)),d&&s(20,A=(e=>{let t=null;if(e){var n=e["vendorCategory"];if(n){const e=n.toLowerCase();R(he,e)?t=Ca:R(me,e)&&(t=Sa)}}return t})(c)),s(26,ue=Qr[k]),s(27,N=(ce.min||{})[k]),s(28,O=(ce.max||{})[k]),j=c.currentRouletteNumbers,U=c.currentDoubleBallRouletteNumbers,z=c.vendorCategory,s(30,m=z.toLowerCase()===ka),s(13,W=(m?U:j)||[]),s(31,Y="GameProp LiveProps RoulleteProps"),s(31,Y+=m?" Double":""),s(32,V=R(me,z.toLowerCase())?ge:pe),Z=p,s(33,p=Array.isArray(h)&&h.length===H),c.dealer&&s(35,K=c.dealer.DealerName),X=c.numberOfPlayers,s(34,I="ListGame"),c.isOpen&&c.currentRouletteNumbers&&s(34,I+=" GameBackdrop"),d&&p&&N&&O&&c.currentOccupiedSeats?s(34,I+=" GameContainerDimmed"):!1===d&&B&&s(34,I+=" GameContainerFullyDimmed"),l)&&(!Z&&p?(s(34,I+=" PulsatingRedShadow"),s(34,I=I.replace(" PulsatingGreenShadow",""))):Z&&!p&&(s(34,I+=" PulsatingGreenShadow"),s(34,I=I.replace(" PulsatingRedShadow","")))),24576&i.$$.dirty[0]&&g&&W){const r="FirstElementAnimated",a=g.getElementsByClassName("First")[0];a&&(a.classList.add(r),setTimeout(()=>{a.classList.remove(r)},2e3))}var e,t,n},[C,y,x,J,Q,r,a,ee,te,re,ae,l,c,W,g,ie,se,!1,oe,o,A,B,le,d,u,de,ue,N,O,h,m,Y,V,p,I,K,t,P,ye,be,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},R,(e,t,n)=>{let r,a;return null!=e&&null!=t&&(a=`
|
|
4
4
|
<span>
|
|
5
5
|
${n}
|
|
6
6
|
</span>
|
|
7
|
-
${$e(e)}-`+$e(t)),(
|
|
7
|
+
${$e(e)}-`+$e(t)),(r=X?`
|
|
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">${X}</span>`:
|
|
9
|
+
<span class="NrOfPlayers">${X}</span>`:r)||a?`
|
|
10
10
|
<p class="LiveLimits">
|
|
11
11
|
<span class="BetLimitLeft">
|
|
12
|
-
${
|
|
12
|
+
${a||""}
|
|
13
13
|
</span>
|
|
14
14
|
<span class="BetLimitRight">
|
|
15
|
-
${
|
|
15
|
+
${r||""}
|
|
16
16
|
</span>
|
|
17
17
|
</p>`:""},e=>e?`
|
|
18
18
|
<p class="LiveLimits">
|
|
19
|
-
<span class="DealerName">${t("
|
|
19
|
+
<span class="DealerName">${t("dealer")}: ${e}</span>
|
|
20
20
|
</p>
|
|
21
|
-
`:"",(e,t,n,
|
|
21
|
+
`:"",(e,t,n,r="")=>{e=e+" "+r,r=t.toString().match(/first0|second0|0/g);return 0===t||r&&0!==r.length?`
|
|
22
22
|
<span
|
|
23
23
|
id=${t}
|
|
24
24
|
class="${e}"
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
<span id=${t} class="${e}">
|
|
30
30
|
${n}
|
|
31
31
|
</span>
|
|
32
|
-
`},q,f,b,v,w,$,ne,S,k,T,_,F,M,E,L,G,pe,ge,function(e){at[e?"unshift":"push"](()=>{o=e,s(19,o)})},()=>be(r),()=>ye(r),()=>be(r),function(e){at[e?"unshift":"push"](()=>{g=e,s(14,g)})},function(e){at[e?"unshift":"push"](()=>{l=e,s(11,l)})}]}function Fr(e,t){Sa(e,t)}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},_r,$r,n,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),m()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),m()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),m()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),m()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),m()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),m()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),m()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),m()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),m()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),m()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),m()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),m()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),m()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),m()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),m()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),m()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),m()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const Mr={en:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}},zh:{Translations:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"}},de:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},it:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},fr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},es:{Translations:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"}},tr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},ru:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},ro:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},hr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},hu:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},pl:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},pt:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},sl:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}},sr:{Translations:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}}};function Er(e,t,n){e=e.slice();return e[36]=t[n],e[37]=t,e[38]=n,e}function Lr(n){let a,r,i,s,o,l,c,d,u,m,h,p,g,f,y,b,v,w,e,x,A,$,C,B,S,k,T,_,F,M,N,E=n[11]("Translations.filterby")+"",L=n[11]("Translations.providers")+"",G=n[11]("Translations.clear")+"";function O(e){return e[7]?Ir:Pr}let P=O(n),I=P(n),R=n[5],D=[];for(let e=0;e<R.length;e+=1)D[e]=Ar(Er(n,R,e));return{c(){a=he("div"),r=he("div"),i=he("div"),s=j("svg"),o=j("path"),l=ge(),c=he("div"),d=he("span"),u=pe(E),m=ge(),h=he("div"),p=he("span"),g=pe(L),f=ge(),I.c(),y=ge(),b=he("span"),v=j("svg"),w=j("path"),A=ge(),$=he("div"),C=he("ul");for(let e=0;e<D.length;e+=1)D[e].c();B=ge(),S=he("button"),k=pe(G),fe(o,"id","noun_filter_736223"),fe(o,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),fe(o,"transform","translate(-5 -6.2)"),fe(o,"fill","#fff"),fe(s,"xmlns","http://www.w3.org/2000/svg"),fe(s,"width","16"),fe(s,"height","16"),fe(s,"viewBox","0 0 16 16"),fe(d,"class","FilterName"),fe(h,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(i,"class","FilterMainArea"),fe(w,"id","arrow"),fe(w,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(w,"transform","translate(-274.511 -441.088)"),fe(w,"fill","#d1d1d1"),fe(v,"xmlns","http://www.w3.org/2000/svg"),fe(v,"width","14"),fe(v,"height","6.835"),fe(v,"viewBox","0 0 14 6.835"),fe(b,"class",e="TriangleInactive "+(n[4]?"TriangleActive":"")),fe(r,"class",x="FilterSelector "+(n[4]?"FilterSelectorOpen":"")),fe(C,"class","FilterDropdown"),fe(S,"class","ClearFilters"),S.disabled=T=n[7]&&n[6].length!=n[5].length,fe($,"class",_="FilterDropdownContainer "+(n[4]?"FilterOpen":"")),fe(a,"class",F="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(s,o),de(i,l),de(i,c),de(c,d),de(d,u),de(c,m),de(c,h),de(h,p),de(p,g),de(h,f),I.m(h,null),de(r,y),de(r,b),de(b,v),de(v,w),de(a,A),de(a,$),de($,C);for(let e=0;e<D.length;e+=1)D[e]&&D[e].m(C,null);de($,B),de($,S),de(S,k),M||(N=[K(r,"click",n[22]),K(S,"click",n[25])],M=!0)},p(t,n){if(2048&n[0]&&E!==(E=t[11]("Translations.filterby")+"")&&ye(u,E),2048&n[0]&&L!==(L=t[11]("Translations.providers")+"")&&ye(g,L),P===(P=O(t))&&I?I.p(t,n):(I.d(1),(I=P(t))&&(I.c(),I.m(h,null))),16&n[0]&&e!==(e="TriangleInactive "+(t[4]?"TriangleActive":""))&&fe(b,"class",e),16&n[0]&&x!==(x="FilterSelector "+(t[4]?"FilterSelectorOpen":""))&&fe(r,"class",x),8228&n[0]){let e;for(R=t[5],e=0;e<R.length;e+=1){const r=Er(t,R,e);D[e]?D[e].p(r,n):(D[e]=Ar(r),D[e].c(),D[e].m(C,null))}for(;e<D.length;e+=1)D[e].d(1);D.length=R.length}2048&n[0]&&G!==(G=t[11]("Translations.clear")+"")&&ye(k,G),224&n[0]&&T!==(T=t[7]&&t[6].length!=t[5].length)&&(S.disabled=T),16&n[0]&&_!==(_="FilterDropdownContainer "+(t[4]?"FilterOpen":""))&&fe($,"class",_),3&n[0]&&F!==(F="FilterContainer "+("true"==t[0]&&"true"==t[1]?"FilerContainerSplit":""))&&fe(a,"class",F)},d(e){e&&me(a),I.d(),H(D,e),M=!1,Z(N)}}}function Gr(e){let n,a,r=e[11]("casinoPage.500")+"";return{c(){n=he("p"),a=pe(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&r!==(r=e[11]("casinoPage.500")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Pr(e){let n,a;return{c(){n=he("span"),a=pe(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&me(n)}}}function Ir(e){let n,a,r=e[11]("Translations.all")+"";return{c(){n=he("span"),a=pe(r),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&r!==(r=e[11]("Translations.all")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Rr(e){let n,a;return{c(){ce((n=he("img")).src,a=e[36].logo)||fe(n,"src",a),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,a=e[36].logo)&&fe(n,"src",a)},d(e){e&&me(n)}}}function Dr(e){let n,a,r,i,s,o,l,c,d=e[36].name+"",u=e[36].games.count+"";return{c(){n=he("div"),a=he("span"),r=pe(d),i=ge(),s=he("span"),o=pe("("),l=pe(u),c=pe(")"),fe(n,"class","FilterItemLabel")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(n,i),de(n,s),de(s,o),de(s,l),de(s,c)},p(e,t){32&t[0]&&d!==(d=e[36].name+"")&&ye(r,d),32&t[0]&&u!==(u=e[36].games.count+"")&&ye(l,u)},d(e){e&&me(n)}}}function Ar(n){let a,r,i,s,o,l,c,d,u,m,h,p;function g(){n[23].call(i,n[37],n[38])}function f(){return n[24](n[36])}function y(e){return"false"===e[2]?Dr:"true"===e[2]?Rr:void 0}let b=y(n),v=b&&b(n);return{c(){a=he("li"),r=he("label"),i=he("input"),o=ge(),l=he("span"),c=ge(),v&&v.c(),d=ge(),fe(i,"type","checkbox"),fe(i,"name","checkbox"),i.__value=s=n[36].name,i.value=i.__value,fe(l,"class","FiltersCheckmark"),fe(r,"class","FilterLabel"),fe(a,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),a.value=m=n[36].name},m(e,t){ue(e,a,t),de(a,r),de(r,i),i.checked=n[36].isFilterSelected,de(r,o),de(r,l),de(r,c),v&&v.m(r,null),de(a,d),h||(p=[K(i,"change",g),K(i,"click",f)],h=!0)},p(e,t){n=e,32&t[0]&&s!==(s=n[36].name)&&(i.__value=s,i.value=i.__value),32&t[0]&&(i.checked=n[36].isFilterSelected),b===(b=y(n))&&v?v.p(n,t):(v&&v.d(1),(v=b&&b(n))&&(v.c(),v.m(r,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(a,"class",u),32&t[0]&&m!==(m=n[36].name)&&(a.value=m)},d(e){e&&me(a),v&&v.d(),h=!1,Z(p)}}}function Br(n){let a;function r(e){return e[10]?Gr:e[9]?void 0:Lr}let i=r(n),s=i&&i(n);return{c(){a=he("div"),s&&s.c(),this.c=V},m(e,t){ue(e,a,t),s&&s.m(a,null),n[26](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s&&s.d(1),(s=i&&i(e))&&(s.c(),s.m(a,null)))},i:V,o:V,d(e){e&&me(a),s&&s.d(),n[26](null)}}}function Nr(n,e,a){let t;ot(n,Ua,e=>a(11,t=e));let r,{endpoint:i=""}=e,{datasource:s=""}=e,{lang:o=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:m="false"}=e,{addsortingselector:h="false"}=e,{filterbylogo:p="false"}=e,g=!1,f=window.navigator.userAgent,y=[],b=[],v={},w=!1,x=0,$=!0,C=!1;var S,k;({withLocale:S,translations:k}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&($a.set(k),rt.set(S))}),Object.keys(Mr).forEach(e=>{Fr(e,Mr[e])}),v[u]&&(v={[u]:[]});const T=()=>{a(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},_=t=>{var e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,b.length&&0!=b.filter(e=>e.name===t.name).length?a(6,b=b.filter(e=>e.name!==t.name)):b.push(t),null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})):((e=JSON.parse(e))[u]=b.map(e=>e.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),F()},F=()=>{a(7,w=b.length===y.length||0==b.length),a(8,x=b.length)},M=()=>{a(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),a(5,y),window.postMessage({type:"ApplyFilters"},window.location.href),a(7,w=!0),a(4,g=!1)},E=e=>{"SortingOpened"==e.data.type&&a(4,g=!1)};return lt(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),n.$$set=e=>{"endpoint"in e&&a(15,i=e.endpoint),"datasource"in e&&a(16,s=e.datasource),"lang"in e&&a(17,o=e.lang),"translationurl"in e&&a(18,l=e.translationurl),"clientstyling"in e&&a(19,c=e.clientstyling),"clientstylingurl"in e&&a(20,d=e.clientstylingurl),"categoryid"in e&&a(21,u=e.categoryid),"addfilterselector"in e&&a(0,m=e.addfilterselector),"addsortingselector"in e&&a(1,h=e.addsortingselector),"filterbylogo"in e&&a(2,p=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&i&&s&&u&&p&&(t=new URL(i+"/casino/vendors"),a(4,g=!1),t.searchParams.append("fields","id,name,logo,subVendors,games"),t.searchParams.append("language",o),t.searchParams.append("datasource",s),t.searchParams.append("platform",st(f)),1<(u.match(/\$/g)||[]).length?(t.searchParams.append("filter",`games(subGroups=${u})`),t.searchParams.append("subVendors",`games(subGroups=${u})`)):t.searchParams.append("filter",`games(groups=${u})`),e=t,a(9,$=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),a(6,b=[]);let n=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach(e=>{var t;0<=(null==(t=(n=n||{currentCategoryId:[]})[u])?void 0:t.indexOf(e.id))?(e.isFilterSelected=!0,b.push(e)):e.isFilterSelected=!1}),a(5,y=e),F()}).catch(e=>{console.error(e),a(10,C=!0),n(e)}).finally(()=>{a(9,$=!1)})})),524296&n.$$.dirty[0]&&c&&r&&((t=document.createElement("style")).innerHTML=c,r.appendChild(t)),1048584&n.$$.dirty[0]&&d&&r){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Fr(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,p,r,g,y,b,w,x,$,C,t,T,_,M,i,s,o,l,c,d,u,()=>T(),function(e,t){e[t].isFilterSelected=this.checked,a(5,y)},e=>_(e),()=>M(),function(e){at[e?"unshift":"push"](()=>{r=e,a(3,r)})}]}function Or(e,t){Sa(e,t)}customElements.get("casino-filter")||customElements.define("casino-filter",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.FilterContainer{color:#fff;position:relative;z-index:16}.FilterSelector{background-color:#58586B;display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:#D1D1D1;text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid #D0046C}.FilterItem input:checked~.FiltersCheckmark{background-color:#D0046C;border:1px solid #D0046C}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid #fff}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Nr,Br,n,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),m()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}});const Hr={en:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},zh:{Translations:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},de:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},it:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},fr:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},es:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},tr:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},ru:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},ro:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},hr:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},hu:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},pl:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},pt:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},sl:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}},sr:{Translations:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}}};function jr(e,t,n){e=e.slice();return e[23]=t[n],e}function Ur(n){let a,r,i,s,o,l,c,d,u,m,h,p,g,f,y,b,v,w,x,$,e,C,S,k,T,_,F,M,E=n[4]("Translations.sortby")+"",L=(n[3]||n[4]("Translations.all"))+"",G=Object.values(n[5]),P=[];for(let e=0;e<G.length;e+=1)P[e]=zr(jr(n,G,e));return{c(){a=he("div"),r=he("div"),i=he("div"),s=j("svg"),o=j("g"),l=j("path"),c=j("path"),d=j("path"),u=ge(),m=he("div"),h=he("span"),p=pe(E),g=ge(),f=he("div"),y=he("span"),b=pe(L),v=ge(),w=he("span"),x=j("svg"),$=j("path"),S=ge(),k=he("div"),T=he("ul");for(let e=0;e<P.length;e+=1)P[e].c();fe(l,"id","Path_5267"),fe(l,"data-name","Path 5267"),fe(l,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),fe(l,"transform","translate(-206.448 0)"),fe(l,"fill","#fff"),fe(c,"id","Path_5268"),fe(c,"data-name","Path 5268"),fe(c,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),fe(c,"transform","translate(0 0)"),fe(c,"fill","#fff"),fe(d,"id","Path_5269"),fe(d,"data-name","Path 5269"),fe(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),fe(d,"transform","translate(-412.896 0)"),fe(d,"fill","#fff"),fe(o,"id","sortby"),fe(o,"transform","translate(-306 -342)"),fe(s,"xmlns","http://www.w3.org/2000/svg"),fe(s,"width","20"),fe(s,"height","20"),fe(s,"viewBox","0 0 26.003 22.819"),fe(h,"class","SorterName"),fe(f,"class","SorterValueContainer"),fe(m,"class","SorterTextContainer"),fe(i,"class","SorterMainArea"),fe($,"id","arrow"),fe($,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe($,"transform","translate(-274.511 -441.088)"),fe($,"fill","#d1d1d1"),fe(x,"xmlns","http://www.w3.org/2000/svg"),fe(x,"width","14"),fe(x,"height","6.835"),fe(x,"viewBox","0 0 14 6.835"),fe(w,"class",e="TriangleInactive "+(n[1]?"TriangleActive":"")),fe(r,"class",C="SorterSelector "+(n[1]?"SorterSelectorOpen":"")),fe(T,"class","SorterDropdown"),fe(k,"class",_="SorterDropdownContainer "+(n[1]?"SorterOpen":"")),fe(a,"class","SorterContainer")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(s,o),de(o,l),de(o,c),de(o,d),de(i,u),de(i,m),de(m,h),de(h,p),de(m,g),de(m,f),de(f,y),de(y,b),de(r,v),de(r,w),de(w,x),de(x,$),de(a,S),de(a,k),de(k,T);for(let e=0;e<P.length;e+=1)P[e]&&P[e].m(T,null);F||(M=K(r,"click",n[13]),F=!0)},p(t,n){if(16&n&&E!==(E=t[4]("Translations.sortby")+"")&&ye(p,E),24&n&&L!==(L=(t[3]||t[4]("Translations.all"))+"")&&ye(b,L),2&n&&e!==(e="TriangleInactive "+(t[1]?"TriangleActive":""))&&fe(w,"class",e),2&n&&C!==(C="SorterSelector "+(t[1]?"SorterSelectorOpen":""))&&fe(r,"class",C),120&n){let e;for(G=Object.values(t[5]),e=0;e<G.length;e+=1){var a=jr(t,G,e);P[e]?P[e].p(a,n):(P[e]=zr(a),P[e].c(),P[e].m(T,null))}for(;e<P.length;e+=1)P[e].d(1);P.length=G.length}2&n&&_!==(_="SorterDropdownContainer "+(t[1]?"SorterOpen":""))&&fe(k,"class",_)},d(e){e&&me(a),H(P,e),F=!1,M()}}}function zr(n){let a,r,i,s,o,l,c,d,u,m,h,p,e=n[23]+"";function g(){return n[14](n[23])}return{c(){a=he("li"),r=he("label"),i=he("input"),o=ge(),l=he("span"),c=ge(),d=he("span"),u=pe(e),m=ge(),fe(i,"type","radio"),fe(i,"name","radio"),i.value=n[23],i.checked=s=n[3]==n[23]||null==n[3]&&n[23]==n[4]("Translations.all"),fe(l,"class","SortersCheckmark"),fe(r,"class","SorterLabel CustomRadioButton"),fe(a,"class","SorterItem"),a.value=n[23]},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,o),de(r,l),de(r,c),de(r,d),de(d,u),de(a,m),h||(p=K(i,"click",g),h=!0)},p(e,t){n=e,24&t&&s!==(s=n[3]==n[23]||null==n[3]&&n[23]==n[4]("Translations.all"))&&(i.checked=s)},d(e){e&&me(a),h=!1,p()}}}function Wr(n){let a;function r(e){if(!e[2])return Ur}let i=r(n),s=i&&i(n);return{c(){a=he("div"),s&&s.c(),this.c=V},m(e,t){ue(e,a,t),s&&s.m(a,null),n[15](a)},p(e,[t]){i===(i=r(e))&&s?s.p(e,t):(s&&s.d(1),(s=i&&i(e))&&(s.c(),s.m(a,null)))},i:V,o:V,d(e){e&&me(a),s&&s.d(),n[15](null)}}}function Yr(t,e,a){let n;ot(t,Ua,e=>a(4,n=e));let r,{lang:i=""}=e,{translationurl:s=""}=e,{clientstyling:o=""}=e,{clientstylingurl:l=""}=e,{categoryid:c=""}=e,d=!1,u=!0,m="",h="All";var p,g;({withLocale:p,translations:g}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&($a.set(g),rt.set(p))}),Object.keys(Hr).forEach(e=>{Or(e,Hr[e])});const f={All:n("Translations.all"),name:n("Translations.az"),isNew:n("Translations.newest"),"advancedTags(name(hot))":n("Translations.hottest")},y=e=>{a(3,h=e);var t,n=localStorage.getItem("vendorSortingBy");for(t in m=e,f)if(f[t]===e){m=t;break}null==n?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):((n=JSON.parse(n))[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(n))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href)},b=()=>{a(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&a(1,d=!1)};return lt(()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})),t.$$set=e=>{"lang"in e&&a(8,i=e.lang),"translationurl"in e&&a(9,s=e.translationurl),"clientstyling"in e&&a(10,o=e.clientstyling),"clientstylingurl"in e&&a(11,l=e.clientstylingurl),"categoryid"in e&&a(12,c=e.categoryid)},t.$$.update=()=>{if(4096&t.$$.dirty&&c&&(a(3,h="All"),a(2,u=!1),a(1,d=!1),e=null==(e=JSON.parse(localStorage.getItem("vendorSortingBy")))?void 0:e[c],a(3,h=e||"All"),a(3,h=f[e])),1025&t.$$.dirty&&o&&r&&((e=document.createElement("style")).innerHTML=o,r.appendChild(e)),2049&t.$$.dirty&&l&&r){let t=document.createElement("style");fetch(new URL(l)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;512&t.$$.dirty&&s&&fetch(s).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Or(e,t[e])})}).catch(e=>{console.log(e)})},[r,d,u,h,n,f,y,b,i,s,o,l,c,()=>b(),e=>y(e),function(e){at[e?"unshift":"push"](()=>{r=e,a(0,r)})}]}function Vr(e,t,n){e=e.slice();return e[82]=t[n],e[84]=n,e}function Zr(e,t,n){e=e.slice();return e[82]=t[n],e[85]=t,e[84]=n,e}function Kr(e,t,n){e=e.slice();return e[82]=t[n],e[84]=n,e}function Xr(e){let n;function a(e){return e[22]?ei:e[33]?Qr:void 0}let r=a(e),i=r&&r(e);return{c(){n=he("div"),i&&i.c()},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i&&i.d(1),(i=r&&r(e))&&(i.c(),i.m(n,null)))},d(e){e&&me(n),i&&i.d()}}}function qr(e){let n,a,r;function i(e){return e[26]?ki:e[23].length?Ci:Si}let s=i(e),o=s(e);function l(e){return e[23]?_i:Ti}let c=l(e),d=c(e);return{c(){n=he("div"),a=he("div"),o.c(),r=ge(),d.c(),fe(a,"class","CasinoGamesHeader Searched "+(it(e[38])?"CasinoGamesHeaderMobile":"")),fe(a,"part","CasinoGamesHeader Searched "+(it(e[38])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,a),o.m(a,null),de(n,r),d.m(n,null)},p(e,t){s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(a,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&me(n),o.d(),d.d()}}}function Jr(e){let n;function a(e){return e[28]?Li:Ei}let r=a(e),i=r(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r!==(r=a(e))&&(i.d(1),i=r(e))&&(i.c(),i.m(n.parentNode,n))},d(e){i.d(e),e&&me(n)}}}function Qr(n){let a,r,i,s,o,l="true"!==n[14]&&ti(n);function c(e){return e[20]&&!e[30]?ri:e[36]?ai:ni}let d=c(n),u=d(n);return{c(){a=he("div"),l&&l.c(),r=ge(),i=he("ul"),u.c(),fe(i,"class",s=(0!=n[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(i,"part",o=(0!=n[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(a,"class","CasinoGamesContainer"),fe(a,"part","CasinoGamesContainer")},m(e,t){ue(e,a,t),l&&l.m(a,null),de(a,r),de(a,i),u.m(i,null),n[56](i)},p(e,t){"true"!==e[14]?l?l.p(e,t):((l=ti(e)).c(),l.m(a,r)):l&&(l.d(1),l=null),d===(d=c(e))&&u?u.p(e,t):(u.d(1),(u=d(e))&&(u.c(),u.m(i,null))),32&t[1]&&s!==(s=(0!=e[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"class",s),32&t[1]&&o!==(o=(0!=e[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"part",o)},d(e){e&&me(a),l&&l.d(),u.d(),n[56](null)}}}function ei(e){let n,a,r="true"!==e[14]&&pi(e);function i(e){return e[20]&&!e[30]?xi:0!==e[23].length?wi:vi}let s=i(e),o=s(e);return{c(){n=he("div"),r&&r.c(),a=ge(),o.c(),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),r&&r.m(n,null),de(n,a),o.m(n,null)},p(e,t){"true"!==e[14]?r?r.p(e,t):((r=pi(e)).c(),r.m(n,a)):r&&(r.d(1),r=null),s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(n,null)))},d(e){e&&me(n),r&&r.d(),o.d()}}}function ti(n){let a,r,i,s,o,l,c,d,u=n[37]("gamesCategorySection.favorites")+"",m=n[36].items.length+"";return{c(){a=he("div"),r=he("h3"),i=pe(u),s=ge(),o=he("span"),l=pe("("),c=pe(m),d=pe(")"),fe(o,"class","CategoryFavName"),fe(r,"class","CategoryName"),fe(r,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),de(o,l),de(o,c),de(o,d),n[55](r)},p(e,t){64&t[1]&&u!==(u=e[37]("gamesCategorySection.favorites")+"")&&ye(i,u),32&t[1]&&m!==(m=e[36].items.length+"")&&ye(c,m)},d(e){e&&me(a),n[55](null)}}}function ni(e){let n,a,r=e[37]("gamesCategorySection.waiting")+"";return{c(){n=he("p"),a=pe(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.waiting")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ai(t){let a,r=t[36].items,i=[];for(let e=0;e<r.length;e+=1)i[e]=hi(Vr(t,r,e));let s=null;return r.length||(s=ii(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();a=l(),s&&s.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,a,n),s&&s.m(t,n)},p(t,n){if(16378&n[0]|508&n[1]){let e;for(r=t[36].items,e=0;e<r.length;e+=1){const s=Vr(t,r,e);i[e]?i[e].p(s,n):(i[e]=hi(s),i[e].c(),i[e].m(a.parentNode,a))}for(;e<i.length;e+=1)i[e].d(1);i.length=r.length,!r.length&&s?s.p(t,n):r.length?s&&(s.d(1),s=null):((s=ii(t)).c(),s.m(a.parentNode,a))}},d(e){H(i,e),e&&me(a),s&&s.d(e)}}}function ri(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function ii(e){let n,a,r,i,s,o,l,c,d,u,m,h,p,g,f=e[37]("gamesCategorySection.noFavoritesTitle")+"",t=(b=e,it(b[38])?oi:si),y=t(e);var b;return{c(){n=he("p"),a=j("svg"),r=j("rect"),i=j("rect"),s=j("circle"),o=j("path"),l=j("path"),c=j("path"),d=j("path"),u=ge(),m=he("span"),h=pe(f),p=ge(),y.c(),g=ge(),fe(r,"x","1"),fe(r,"y","18.053"),fe(r,"width","90.263"),fe(r,"height","90.263"),fe(r,"rx","12"),fe(r,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(r,"stroke-width","1.5"),fe(i,"x","106.737"),fe(i,"y","56.737"),fe(i,"width","90.263"),fe(i,"height","90.263"),fe(i,"rx","12"),fe(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(i,"stroke-width","1.5"),fe(s,"cx","70.5"),fe(s,"cy","32.237"),fe(s,"r","31.487"),fe(s,"stroke","var(--emfe-w-color-primary, #D0046C)"),fe(s,"stroke-width","1.5"),fe(s,"stroke-dasharray","5 0"),fe(o,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),fe(o,"fill","var(--emfe-w-color-gray-150, #828282)"),fe(l,"d","M78 43h11v13H78V43z"),fe(l,"stroke","var(--emfe-w-color-primary, #D0046C)"),fe(c,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),fe(c,"fill","var(--emfe-w-color-primary, #D0046C)"),fe(c,"stroke","var(--emfe-w-color-primary, #D0046C)"),fe(c,"stroke-linecap","round"),fe(c,"stroke-linejoin","round"),fe(d,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),fe(d,"stroke","var(--emfe-w-color-primary, #D0046C)"),fe(d,"stroke-width","1.5"),fe(d,"stroke-linecap","round"),fe(d,"stroke-linejoin","round"),fe(a,"width","198"),fe(a,"height","148"),fe(a,"viewBox","0 0 198 148"),fe(a,"fill","none"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(m,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(m,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class","NoFavoriteGames "+(it(e[38])?"NoFavoriteGamesMobile":"")),fe(n,"part","NoFavoriteGames "+(it(e[38])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,i),de(a,s),de(a,o),de(a,l),de(a,c),de(a,d),de(n,u),de(n,m),de(m,h),de(n,p),y.m(n,null),de(n,g)},p(e,t){64&t[1]&&f!==(f=e[37]("gamesCategorySection.noFavoritesTitle")+"")&&ye(h,f),y.p(e,t)},d(e){e&&me(n),y.d()}}}function si(e){let n,a,r=e[37]("gamesCategorySection.noFavorites")+"";return{c(){n=he("span"),a=pe(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.noFavorites")+"")&&ye(a,r)},d(e){e&&me(n)}}}function oi(e){let n,a,r=e[37]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=he("span"),a=pe(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.noFavoritesMobile")+"")&&ye(a,r)},d(e){e&&me(n)}}}function li(e){let n,a=e[82].gameModel.isFavorite&&ci(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[82].gameModel.isFavorite?a?a.p(e,t):((a=ci(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function ci(e){let n,a=function(e){let n,a,r;function i(e,t){return 32&t[1]&&(a=null),(n=null==n?!!it(e[38]):n)?ui:(a=null==a?!!e[82].gameModel.platform.includes("PC"):a)?di:void 0}let s=i(e,[-1,-1,-1]),o=s&&s(e);return{c(){o&&o.c(),r=l()},m(e,t){o&&o.m(e,t),ue(e,r,t)},p(e,t){s===(s=i(e,t))&&o?o.p(e,t):(o&&o.d(1),(o=s&&s(e))&&(o.c(),o.m(r.parentNode,r)))},d(e){o&&o.d(e),e&&me(r)}}}(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function di(e){let n,a,r,i,s,o,l,c,d,u,m,h,p,g;return{c(){S(n=he("casino-game-thumbnail"),"class",a=""+(w+(e[82].cellSize||"1x1"))),S(n,"part",r=""+(w+(e[82].cellSize||"1x1"))),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"lang",e[3]),S(n,"favorites",e[6]),S(n,"gamethumbnail",i=e[82].gameModel.thumbnail),S(n,"gamename",s=e[82].gameModel.name),S(n,"gamevendor",o=e[82].gameModel.vendor.name),S(n,"gameisnew",l=e[82].gameModel.isNew),S(n,"gametag",c=0<e[82].gameModel.advancedTags?.length&&e[39](e[82].gameModel.advancedTags)),S(n,"gamecellsize",d=e[82].cellSize),S(n,"gameid",u=e[82].gameModel.id),S(n,"gamefunmode",m=e[82].gameModel.hasFunMode),S(n,"gamefavorite",h=e[82].gameModel.isFavorite),S(n,"showfavoredcategory",e[33]),S(n,"connectlive",p=1==e[34][e[82].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[35]),S(n,"currency",e[9]),S(n,"livelobbyendpoint",g=e[82].gameModel.details?e[82].gameModel.launchUrl:""),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"endpoint",e[1]),S(n,"livecasino",e[10]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){32&t[1]&&a!==(a=""+(w+(e[82].cellSize||"1x1")))&&S(n,"class",a),32&t[1]&&r!==(r=""+(w+(e[82].cellSize||"1x1")))&&S(n,"part",r),16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),8&t[0]&&S(n,"lang",e[3]),64&t[0]&&S(n,"favorites",e[6]),32&t[1]&&i!==(i=e[82].gameModel.thumbnail)&&S(n,"gamethumbnail",i),32&t[1]&&s!==(s=e[82].gameModel.name)&&S(n,"gamename",s),32&t[1]&&o!==(o=e[82].gameModel.vendor.name)&&S(n,"gamevendor",o),32&t[1]&&l!==(l=e[82].gameModel.isNew)&&S(n,"gameisnew",l),32&t[1]&&c!==(c=0<e[82].gameModel.advancedTags?.length&&e[39](e[82].gameModel.advancedTags))&&S(n,"gametag",c),32&t[1]&&d!==(d=e[82].cellSize)&&S(n,"gamecellsize",d),32&t[1]&&u!==(u=e[82].gameModel.id)&&S(n,"gameid",u),32&t[1]&&m!==(m=e[82].gameModel.hasFunMode)&&S(n,"gamefunmode",m),32&t[1]&&h!==(h=e[82].gameModel.isFavorite)&&S(n,"gamefavorite",h),4&t[1]&&S(n,"showfavoredcategory",e[33]),40&t[1]&&p!==(p=1==e[34][e[82].id]?"connect":"disconnect")&&S(n,"connectlive",p),16&t[1]&&S(n,"visibilityconnect",e[35]),512&t[0]&&S(n,"currency",e[9]),32&t[1]&&g!==(g=e[82].gameModel.details?e[82].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",g),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),2&t[0]&&S(n,"endpoint",e[1]),1024&t[0]&&S(n,"livecasino",e[10]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13])},d(e){e&&me(n)}}}function ui(e){let n,a=e[82].gameModel.platform.includes("iPad")||e[82].gameModel.platform.includes("iPhone")||e[82].gameModel.platform.includes("Android"),r=a&&mi(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(a=32&t[1]?e[82].gameModel.platform.includes("iPad")||e[82].gameModel.platform.includes("iPhone")||e[82].gameModel.platform.includes("Android"):a)?r?r.p(e,t):((r=mi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function mi(e){let n,a,r,i,s,o,l,c,d,u,m,h,p,g;return{c(){S(n=he("casino-game-thumbnail"),"class",a=""+(w+(e[82].cellSize||"1x1"))),S(n,"part",r=""+(w+(e[82].cellSize||"1x1"))),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"lang",e[3]),S(n,"favorites",e[6]),S(n,"gamethumbnail",i=e[82].gameModel.thumbnail),S(n,"gamename",s=e[82].gameModel.name),S(n,"gamevendor",o=e[82].gameModel.vendor.name),S(n,"gameisnew",l=e[82].gameModel.isNew),S(n,"gametag",c=0<e[82].gameModel.advancedTags?.length&&e[39](e[82].gameModel.advancedTags)),S(n,"gamecellsize",d=e[82].cellSize),S(n,"gameid",u=e[82].gameModel.id),S(n,"gamefunmode",m=e[82].gameModel.hasFunMode),S(n,"gamefavorite",h=e[82].gameModel.isFavorite),S(n,"showfavoredcategory",e[33]),S(n,"connectlive",p=1==e[34][e[82].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[35]),S(n,"currency",e[9]),S(n,"livelobbyendpoint",g=e[82].gameModel.details?e[82].gameModel.launchUrl:""),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"endpoint",e[1]),S(n,"livecasino",e[10]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){32&t[1]&&a!==(a=""+(w+(e[82].cellSize||"1x1")))&&S(n,"class",a),32&t[1]&&r!==(r=""+(w+(e[82].cellSize||"1x1")))&&S(n,"part",r),16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),8&t[0]&&S(n,"lang",e[3]),64&t[0]&&S(n,"favorites",e[6]),32&t[1]&&i!==(i=e[82].gameModel.thumbnail)&&S(n,"gamethumbnail",i),32&t[1]&&s!==(s=e[82].gameModel.name)&&S(n,"gamename",s),32&t[1]&&o!==(o=e[82].gameModel.vendor.name)&&S(n,"gamevendor",o),32&t[1]&&l!==(l=e[82].gameModel.isNew)&&S(n,"gameisnew",l),32&t[1]&&c!==(c=0<e[82].gameModel.advancedTags?.length&&e[39](e[82].gameModel.advancedTags))&&S(n,"gametag",c),32&t[1]&&d!==(d=e[82].cellSize)&&S(n,"gamecellsize",d),32&t[1]&&u!==(u=e[82].gameModel.id)&&S(n,"gameid",u),32&t[1]&&m!==(m=e[82].gameModel.hasFunMode)&&S(n,"gamefunmode",m),32&t[1]&&h!==(h=e[82].gameModel.isFavorite)&&S(n,"gamefavorite",h),4&t[1]&&S(n,"showfavoredcategory",e[33]),40&t[1]&&p!==(p=1==e[34][e[82].id]?"connect":"disconnect")&&S(n,"connectlive",p),16&t[1]&&S(n,"visibilityconnect",e[35]),512&t[0]&&S(n,"currency",e[9]),32&t[1]&&g!==(g=e[82].gameModel.details?e[82].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",g),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),2&t[0]&&S(n,"endpoint",e[1]),1024&t[0]&&S(n,"livecasino",e[10]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13])},d(e){e&&me(n)}}}function hi(e){let n,a=e[82].gameModel&&li(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[82].gameModel?a?a.p(e,t):((a=li(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function pi(n){let a,r,i,s,o=n[22].name+"";function l(e){return e[24]?fi:gi}let c=l(n),d=c(n);return{c(){a=he("div"),r=he("h3"),i=pe(o),s=ge(),d.c(),fe(r,"class","CategoryName"),fe(r,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[51](r),de(a,s),d.m(a,null)},p(e,t){4194304&t[0]&&o!==(o=e[22].name+"")&&ye(i,o),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(a,null)))},d(e){e&&me(a),n[51](null),d.d()}}}function gi(e){let n,a,r,i="true"==e[15]&&yi(e),s="true"==e[16]&&bi(e);return{c(){n=he("div"),i&&i.c(),a=ge(),s&&s.c(),fe(n,"class",r="true"==e[15]&&"true"==e[16]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,a),s&&s.m(n,null)},p(e,t){"true"==e[15]?i?i.p(e,t):((i=yi(e)).c(),i.m(n,a)):i&&(i.d(1),i=null),"true"==e[16]?s?s.p(e,t):((s=bi(e)).c(),s.m(n,null)):s&&(s.d(1),s=null),98304&t[0]&&r!==(r="true"==e[15]&&"true"==e[16]?"CategoryFilterContainer":"")&&fe(n,"class",r)},d(e){e&&me(n),i&&i.d(),s&&s.d()}}}function fi(n){let a,r,i,s,o,l,c,d,u=n[37]("gamesCategorySection.viewAll")+"",m=n[22].games.total+"";return{c(){a=he("a"),r=he("span"),i=pe(u),s=pe(" ("),o=pe(m),l=pe(")"),fe(r,"class","CategoryLoadMore"),fe(r,"part","CategoryLoadMore"),fe(a,"class","CategoryNameLink"),fe(a,"part","CategoryNameLink")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),de(r,l),c||(d=K(a,"click",n[52]),c=!0)},p(e,t){64&t[1]&&u!==(u=e[37]("gamesCategorySection.viewAll")+"")&&ye(i,u),4194304&t[0]&&m!==(m=e[22].games.total+"")&&ye(o,m)},d(e){e&&me(a),c=!1,d()}}}function yi(e){let n;return{c(){S(n=he("casino-filter"),"clientstylingurl",e[8]),S(n,"clientstyling",e[7]),S(n,"endpoint",e[1]),S(n,"datasource",e[2]),S(n,"lang",e[3]),S(n,"categoryid",e[0]),S(n,"addfilterselector",e[15]),S(n,"addsortingselector",e[16]),S(n,"filterbylogo",e[17])},m(e,t){ue(e,n,t)},p(e,t){256&t[0]&&S(n,"clientstylingurl",e[8]),128&t[0]&&S(n,"clientstyling",e[7]),2&t[0]&&S(n,"endpoint",e[1]),4&t[0]&&S(n,"datasource",e[2]),8&t[0]&&S(n,"lang",e[3]),1&t[0]&&S(n,"categoryid",e[0]),32768&t[0]&&S(n,"addfilterselector",e[15]),65536&t[0]&&S(n,"addsortingselector",e[16]),131072&t[0]&&S(n,"filterbylogo",e[17])},d(e){e&&me(n)}}}function bi(e){let n;return{c(){S(n=he("casino-sort"),"clientstylingurl",e[8]),S(n,"clientstyling",e[7]),S(n,"lang",e[3]),S(n,"categoryid",e[0]),S(n,"addsortingselector",e[16])},m(e,t){ue(e,n,t)},p(e,t){256&t[0]&&S(n,"clientstylingurl",e[8]),128&t[0]&&S(n,"clientstyling",e[7]),8&t[0]&&S(n,"lang",e[3]),1&t[0]&&S(n,"categoryid",e[0]),65536&t[0]&&S(n,"addsortingselector",e[16])},d(e){e&&me(n)}}}function vi(e){let n;return{c(){(n=he("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function wi(n){let a,e,r,i=n[23],s=[];for(let e=0;e<i.length;e+=1)s[e]=$i(Zr(n,i,e));return{c(){a=he("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class",e=(0===n[36].items.length&&n[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(a,"part",r=(0===n[36].items.length&&n[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(a,null);n[54](a)},p(t,n){if(8929274&n[0]|280&n[1]){let e;for(i=t[23],e=0;e<i.length;e+=1){const r=Zr(t,i,e);s[e]?s[e].p(r,n):(s[e]=$i(r),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}36&n[1]&&e!==(e=(0===t[36].items.length&&t[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(a,"class",e),36&n[1]&&r!==(r=(0===t[36].items.length&&t[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(a,"part",r)},d(e){e&&me(a),H(s,e),n[54](null)}}}function xi(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function $i(e){let n,a=function(n){let a,r,i,s,o,l,c,d,u,m,h,p,g,f,y=n[84];const b=()=>n[53](a,y),v=()=>n[53](null,y);return{c(){S(a=he("casino-game-thumbnail"),"session",n[4]),S(a,"userid",n[5]),S(a,"lang",n[3]),S(a,"class",r=""+(w+(n[82].cellSize||"1x1"))),S(a,"part",i=""+(w+(n[82].cellSize||"1x1"))),S(a,"favorites",n[6]),S(a,"gamethumbnail",s=n[82].thumbnail),S(a,"gamename",o=n[82].name),S(a,"gamevendor",l=n[82].vendor.name),S(a,"gameisnew",c=n[82].isNew),S(a,"gametag",d=0<n[82].advancedTags?.length&&n[39](n[82].advancedTags)),S(a,"gamecellsize",u=n[82].cellSize),S(a,"gameid",m=n[82].id),S(a,"gamefunmode",h=n[82].hasFunMode),S(a,"gamefavorite",p=n[82].isFavorite),S(a,"connectlive",g=1==n[34][n[82].id]?"connect":"disconnect"),S(a,"visibilityconnect",n[35]),S(a,"currency",n[9]),S(a,"livelobbyendpoint",f=n[82].details?n[82].href:""),S(a,"clientstyling",n[7]),S(a,"clientstylingurl",n[8]),S(a,"endpoint",n[1]),S(a,"livecasino",n[10]),S(a,"gamepagemodalurl",n[11]),S(a,"integratedgameframedesktop",n[12]),S(a,"integratedgameframemobile",n[13])},m(e,t){ue(e,a,t),b()},p(e,t){n=e,16&t[0]&&S(a,"session",n[4]),32&t[0]&&S(a,"userid",n[5]),8&t[0]&&S(a,"lang",n[3]),8388608&t[0]&&r!==(r=""+(w+(n[82].cellSize||"1x1")))&&S(a,"class",r),8388608&t[0]&&i!==(i=""+(w+(n[82].cellSize||"1x1")))&&S(a,"part",i),64&t[0]&&S(a,"favorites",n[6]),8388608&t[0]&&s!==(s=n[82].thumbnail)&&S(a,"gamethumbnail",s),8388608&t[0]&&o!==(o=n[82].name)&&S(a,"gamename",o),8388608&t[0]&&l!==(l=n[82].vendor.name)&&S(a,"gamevendor",l),8388608&t[0]&&c!==(c=n[82].isNew)&&S(a,"gameisnew",c),8388608&t[0]&&d!==(d=0<n[82].advancedTags?.length&&n[39](n[82].advancedTags))&&S(a,"gametag",d),8388608&t[0]&&u!==(u=n[82].cellSize)&&S(a,"gamecellsize",u),8388608&t[0]&&m!==(m=n[82].id)&&S(a,"gameid",m),8388608&t[0]&&h!==(h=n[82].hasFunMode)&&S(a,"gamefunmode",h),8388608&t[0]&&p!==(p=n[82].isFavorite)&&S(a,"gamefavorite",p),8388608&t[0]|8&t[1]&&g!==(g=1==n[34][n[82].id]?"connect":"disconnect")&&S(a,"connectlive",g),16&t[1]&&S(a,"visibilityconnect",n[35]),512&t[0]&&S(a,"currency",n[9]),8388608&t[0]&&f!==(f=n[82].details?n[82].href:"")&&S(a,"livelobbyendpoint",f),128&t[0]&&S(a,"clientstyling",n[7]),256&t[0]&&S(a,"clientstylingurl",n[8]),2&t[0]&&S(a,"endpoint",n[1]),1024&t[0]&&S(a,"livecasino",n[10]),2048&t[0]&&S(a,"gamepagemodalurl",n[11]),4096&t[0]&&S(a,"integratedgameframedesktop",n[12]),8192&t[0]&&S(a,"integratedgameframemobile",n[13]),y!==n[84]&&(v(),y=n[84],b())},d(e){e&&me(a),v()}}}(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function Ci(e){let n,a,r=e[37]("gamesCategorySection.searchedItems")+"";return{c(){n=he("h3"),a=pe(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.searchedItems")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Si(e){let n,a,r=e[37]("gamesCategorySection.noResults")+"";return{c(){n=he("h3"),a=pe(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.noResults")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ki(e){let n,a,r=e[37]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=he("h3"),a=pe(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.recentSearchedItems")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ti(e){let n;return{c(){(n=he("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function _i(t){let a,r,i=!t[29]&&Fi(t),s=t[23],o=[];for(let e=0;e<s.length;e+=1)o[e]=Mi(Kr(t,s,e));return{c(){i&&i.c(),a=ge(),r=he("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(r,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),ue(e,a,t),ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null)},p(t,n){if(t[29]?i&&(i.d(1),i=null):i?i.p(t,n):((i=Fi(t)).c(),i.m(a.parentNode,a)),142622714&n[0]|256&n[1]){let e;for(s=t[23],e=0;e<s.length;e+=1){const i=Kr(t,s,e);o[e]?o[e].p(i,n):(o[e]=Mi(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=s.length}},d(e){i&&i.d(e),e&&me(a),e&&me(r),H(o,e)}}}function Fi(e){let n,a,r=e[37]("gamesCategorySection.noRecentSearch")+"";return{c(){n=he("p"),a=pe(r),fe(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(it(e[38])?"NoRecentSearchesMobile":"")),fe(n,"part","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(it(e[38])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){64&t[1]&&r!==(r=e[37]("gamesCategorySection.noRecentSearch")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Mi(e){let n,a,r,i,s,o,l,c,d,u,m,h,p;return{c(){S(n=he("casino-game-thumbnail"),"class",a=""+(w+(e[82].cellSize||"1x1"))),S(n,"part",r=""+(w+(e[82].cellSize||"1x1"))),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"lang",e[3]),S(n,"searchitem",e[27]),S(n,"favorites",e[6]),S(n,"gamethumbnail",i=e[82].thumbnail),S(n,"gamename",s=e[82].name),S(n,"gamevendor",o=e[82].vendor.name),S(n,"gameisnew",l=e[82].isNew),S(n,"gametag",c=0<e[82].advancedTags?.length&&e[39](e[82].advancedTags)),S(n,"gamecellsize",d=e[82].cellSize),S(n,"gameid",u=e[82].id),S(n,"gamefunmode",m=e[82].hasFunMode),S(n,"gamefavorite",h=e[82].isFavorite),S(n,"currency",e[9]),S(n,"livelobbyendpoint",p=e[82].details?e[82].href:""),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"endpoint",e[1]),S(n,"livecasino",e[10]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){8388608&t[0]&&a!==(a=""+(w+(e[82].cellSize||"1x1")))&&S(n,"class",a),8388608&t[0]&&r!==(r=""+(w+(e[82].cellSize||"1x1")))&&S(n,"part",r),16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),8&t[0]&&S(n,"lang",e[3]),134217728&t[0]&&S(n,"searchitem",e[27]),64&t[0]&&S(n,"favorites",e[6]),8388608&t[0]&&i!==(i=e[82].thumbnail)&&S(n,"gamethumbnail",i),8388608&t[0]&&s!==(s=e[82].name)&&S(n,"gamename",s),8388608&t[0]&&o!==(o=e[82].vendor.name)&&S(n,"gamevendor",o),8388608&t[0]&&l!==(l=e[82].isNew)&&S(n,"gameisnew",l),8388608&t[0]&&c!==(c=0<e[82].advancedTags?.length&&e[39](e[82].advancedTags))&&S(n,"gametag",c),8388608&t[0]&&d!==(d=e[82].cellSize)&&S(n,"gamecellsize",d),8388608&t[0]&&u!==(u=e[82].id)&&S(n,"gameid",u),8388608&t[0]&&m!==(m=e[82].hasFunMode)&&S(n,"gamefunmode",m),8388608&t[0]&&h!==(h=e[82].isFavorite)&&S(n,"gamefavorite",h),512&t[0]&&S(n,"currency",e[9]),8388608&t[0]&&p!==(p=e[82].details?e[82].href:"")&&S(n,"livelobbyendpoint",p),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),2&t[0]&&S(n,"endpoint",e[1]),1024&t[0]&&S(n,"livecasino",e[10]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13])},d(e){e&&me(n)}}}function Ei(e){let n;return{c(){(n=he("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&&me(n)}}}function Li(e){let n;return{c(){(n=he("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&&me(n)}}}function Gi(n){let a;function r(e){return e[21]?Jr:e[25]?qr:Xr}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=V,fe(a,"class","CasinoGamesCategorySectionContainer"),fe(a,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),s.m(a,null),n[57](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:V,o:V,d(e){e&&me(a),s.d(),n[57](null)}}}customElements.get("casino-sort")||customElements.define("casino-sort",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.SorterContainer{color:#fff;position:relative;z-index:16}.SorterSelector{background-color:#58586B;display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:#D1D1D1;text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid #fff;height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-color-primary, #D0046C);width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Yr,Wr,n,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),m()}});const w="game-tile-";function Pi(t,e,c){let D;ot(t,Ua,e=>c(37,D=e));let r,i,s,n,A,a,o,l,d,u,{categoryindex:B=""}=e,{endpoint:m=""}=e,{datasource:h=""}=e,{lang:p=""}=e,{session:N=""}=e,{userid:O=""}=e,{favorites:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{currency:H=""}=e,{categoryid:v=""}=e,{categorygames:j=0}=e,{livecasino:U="false"}=e,{visiblegames:z=""}=e,{gamepagemodalurl:W="false"}=e,{integratedgameframedesktop:Y="false"}=e,{integratedgameframemobile:V="false"}=e,{casinomygames:w="false"}=e,{addfilterselector:Z="false"}=e,{addsortingselector:K="false"}=e,{filterbylogo:X=""}=e,{once:q=!0}=e,{top:J=0}=e,{bottom:Q=0}=e,{left:ee=0}=e,{right:te=0}=e,x=!0,ne=!1,$=!0,ae=window.navigator.userAgent,C=[],S=!0,k=40,T=!1,_=!1,re=!1,F=!1,ie=!1,se=!0,oe=!1,M=!1,le=!1,E=new Array(1e4),L={},ce="",G="",P={items:[],count:0,name:""},de=(Object.keys(Va).forEach(e=>{Ya(e,Va[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>k&&me(v),c(34,L[t]=1,L)):c(34,L[t]=0,L)})}));const I=(e,a,r,t=0)=>{c(20,x=!0);let n,i="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),o=JSON.parse(localStorage.getItem("vendorSortingBy")),l=m.replace(/.$/,"2");return i=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${l}/casino/groups/${h}/${n}/subGroups`)):new URL(`${l}/casino/groups/${h}/`+v),new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",st(ae)),i.searchParams.append("pagination",`games(offset=${a},limit=${r})`),i.searchParams.append("language",p),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),s&&s[v])if(s[v].length&&!1===$&&!1===M){let t="";c(28,ie=!0),s[v].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),i.searchParams.append("filter",(s&&s[v].length<2?"$and":"$or")+`(${t})`)}else c(28,ie=!1);o&&(o[v]?o[v]&&"All"!=o[v]&&("isNew"==o[v]||"advancedTags(name(hot))"==o[v]?(i.searchParams.append("sortedField",`games(${o[v]})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${o[v]})`)):G&&"All"!=G&&("advancedTags(name(hot))"==G||"isNew"==G?(i.searchParams.append("sortedField",`games(${G})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${G})`))),fetch(i).then(e=>e.json()).then(e=>{c(20,x=!1),1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),c(50,u=!0),c(21,ne=!1),A=e.games.total,t(e)},e=>{c(21,ne=!0),console.error(e),n(e)})})},ue=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==v&&(c(25,T=!1),$=!1,c(24,S=!1),c(23,C=t.data.mostPlayedGames),c(22,s={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),c(20,x=!1);break;case"LastPlayedData":"LASTPLAYED"==v&&(c(25,T=!1),$=!1,c(24,S=!1),c(23,C=t.data.lastPlayedGames),c(22,s={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),c(20,x=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":c(25,T=!0),c(26,_=!0),0<t.data.searchData.length?(c(23,C=t.data.searchData),c(29,se=!0),C&&C.forEach(e=>{e.isFavorite=R(e.id)})):(c(23,C=[]),c(29,se=!1));break;case"OutOfRecentSearches":c(25,T=!1),c(26,_=!1);break;case"SearchData":c(25,T=!0),c(26,_=!1),c(23,C=t.data.searchData.items||[]),c(27,F=!0),t.data.receivedFavoriteResults&&(o=t.data.receivedFavoriteResults.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+v:c(25,T=!1),$=!0,c(24,S=!0),c(27,F=!1),le=!1,t.data.receivedFavoriteResults&&(o=t.data.receivedFavoriteResults.items),I(t.data.categoryId,0,t.data.visiblegames).then(e=>{c(22,s=e),c(23,C=s.games.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":k=20;break;case"ApplySorter":c(0,v=t.data.itemId),G=t.data.sortBy,I(0,0,k).then(e=>{c(22,s=e),c(23,C=s.games.items),c(24,S=!1)});break;case"CategoryUpdate":c(25,T=!1),$=!1,c(27,F=!1),le=!0,c(0,v=t.data.itemId),"MOSTPLAYED"!==v&&c(24,S=!1),"true"!==w&&I(0,0,k).then(e=>{c(22,s=e),s.games.items.forEach(e=>{e.isFavorite=R(e.id)}),c(23,C=s.games.items),c(24,S=!1),C.length<10&&0==t.data.origin&&(re=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:re},window.location.href)},500))});break;case"FavoriteUpdate":$=!0,s&&(c(23,C=s.games.items),C.forEach(e=>{e.isFavorite=R(e.id)}));break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(o=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;M?$||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":$=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),c(36,P.items=(e=e,P,n=window.navigator.userAgent,it(n)?e.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):e.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),P),c(36,P.name="Favorites",P),c(33,M=!0),c(20,x=!1));break;case"UserSessionID":if(r=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&r&&0<r.length){var a=`${m}/player/${i}/favorites/`;n=r;c(20,x=!0);let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(a,e).then(e=>e.json()).then(e=>{c(20,x=!1),o=e?e.items:[],C.forEach(e=>{e.isFavorite=R(e.id)});e=C;c(23,C=void 0),c(23,C=e),t(o)}).catch(e=>{console.error(e),n(e)})});return}else return void 0}var e,n},me=e=>{k+=1,c(30,oe=!0),k<=A&&I(0,0,k).then(e=>{c(22,s=e),s.games.items.length>C.length&&(c(23,C=s.games.items),C.forEach(e=>{e.isFavorite=R(e.id)})),c(30,oe=!1)})},R=t=>!!o&&-1!==o.findIndex(e=>e.id==t),he=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return lt(()=>(window.addEventListener("visibilitychange",e=>{document[d]?c(35,ce="disconnect"):c(35,ce="connect")}),window.addEventListener("message",ue,!1),"FAVORITES"===v&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ue),window.removeEventListener("visibilitychange",ue)})),t.$$set=e=>{"categoryindex"in e&&c(41,B=e.categoryindex),"endpoint"in e&&c(1,m=e.endpoint),"datasource"in e&&c(2,h=e.datasource),"lang"in e&&c(3,p=e.lang),"session"in e&&c(4,N=e.session),"userid"in e&&c(5,O=e.userid),"favorites"in e&&c(6,g=e.favorites),"clientstyling"in e&&c(7,f=e.clientstyling),"clientstylingurl"in e&&c(8,y=e.clientstylingurl),"translationurl"in e&&c(42,b=e.translationurl),"currency"in e&&c(9,H=e.currency),"categoryid"in e&&c(0,v=e.categoryid),"categorygames"in e&&c(43,j=e.categorygames),"livecasino"in e&&c(10,U=e.livecasino),"visiblegames"in e&&c(44,z=e.visiblegames),"gamepagemodalurl"in e&&c(11,W=e.gamepagemodalurl),"integratedgameframedesktop"in e&&c(12,Y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(13,V=e.integratedgameframemobile),"casinomygames"in e&&c(14,w=e.casinomygames),"addfilterselector"in e&&c(15,Z=e.addfilterselector),"addsortingselector"in e&&c(16,K=e.addsortingselector),"filterbylogo"in e&&c(17,X=e.filterbylogo),"once"in e&&c(45,q=e.once),"top"in e&&c(46,J=e.top),"bottom"in e&&c(47,Q=e.bottom),"left"in e&&c(48,ee=e.left),"right"in e&&c(49,te=e.right)},t.$$.update=()=>{if(524288&t.$$.dirty[0]|524288&t.$$.dirty[1]&&u&&E&&le&&E.forEach((e,t)=>{e&&(e.elems_index=t,de.observe(e))}),9&t.$$.dirty[0]&&p&&v)switch(v){case"FAVORITES":c(33,M=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&c(33,M=!1)}if(2048&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ya(e,t[e])})}).catch(e=>{console.log(e)}),262272&t.$$.dirty[0]&&f&&l&&((e=document.createElement("style")).innerHTML=f,l.appendChild(e)),262400&t.$$.dirty[0]&&y&&l){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})}var e},[v,m,h,p,N,O,g,f,y,H,U,W,Y,V,w,Z,K,X,l,E,x,ne,s,C,S,T,_,F,ie,se,oe,n,a,M,L,ce,P,D,ae,a=>{if(0===(null==a?void 0:a.length))return"";let r,i="",s=999999999999;const o=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Xa(e).diff(o)<s&&(s=Xa(e).diff(o),r=t),Xa(o).isAfter(n)&&Xa(o).isBefore(e)&&(i=a[r].name)}),i},he,B,b,j,z,q,J,Q,ee,te,u,function(e){at[e?"unshift":"push"](()=>{a=e,c(32,a)})},e=>he(s.id),function(e,t){at[e?"unshift":"push"](()=>{E[t]=e,c(19,E)})},function(e){at[e?"unshift":"push"](()=>{n=e,c(31,n)})},function(e){at[e?"unshift":"push"](()=>{a=e,c(32,a)})},function(e){at[e?"unshift":"push"](()=>{n=e,c(31,n)})},function(e){at[e?"unshift":"push"](()=>{l=e,c(18,l)})}]}function Ii(e,t){Sa(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media only screen and (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Pi,Gi,n,{categoryindex:41,endpoint:1,datasource:2,lang:3,session:4,userid:5,favorites:6,clientstyling:7,clientstylingurl:8,translationurl:42,currency:9,categoryid:0,categorygames:43,livecasino:10,visiblegames:44,gamepagemodalurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,casinomygames:14,addfilterselector:15,addsortingselector:16,filterbylogo:17,once:45,top:46,bottom:47,left:48,right:49},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[41]}set categoryindex(e){this.$$set({categoryindex:e}),m()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[42]}set translationurl(e){this.$$set({translationurl:e}),m()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),m()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),m()}get categorygames(){return this.$$.ctx[43]}set categorygames(e){this.$$set({categorygames:e}),m()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),m()}get visiblegames(){return this.$$.ctx[44]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get once(){return this.$$.ctx[45]}set once(e){this.$$set({once:e}),m()}get top(){return this.$$.ctx[46]}set top(e){this.$$set({top:e}),m()}get bottom(){return this.$$.ctx[47]}set bottom(e){this.$$set({bottom:e}),m()}get left(){return this.$$.ctx[48]}set left(e){this.$$set({left:e}),m()}get right(){return this.$$.ctx[49]}set right(e){this.$$set({right:e}),m()}});const Ri={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},"zh-hk":{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Di(e,t,n){e=e.slice();return e[35]=t[n],e[37]=n,e}function Ai(n){let a,r,i,s,o,l,c,d=!n[7]&&Bi(n),u=n[7]&&Oi(n);return{c(){a=he("div"),r=he("div"),(i=he("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>',s=ge(),d&&d.c(),o=ge(),u&&u.c(),fe(i,"class","ModalCloseBtn"),fe(i,"part","ModalCloseBtn"),fe(i,"role","button"),fe(r,"class","ModalContainer"),fe(r,"part","ModalContainer"),fe(a,"class","ModalWindow"),fe(a,"part","ModalWindow")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),d&&d.m(r,null),de(r,o),u&&u.m(r,null),l||(c=K(i,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Bi(e)).c(),d.m(r,o)),e[7]?u?u.p(e,t):((u=Oi(e)).c(),u.m(r,null)):u&&(u.d(1),u=null)},d(e){e&&me(a),d&&d.d(),u&&u.d(),l=!1,c()}}}function Bi(t){let n,a,r,i,s,o,e=t[8]("randomGame.randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Ni(Di(t,l,e));return{c(){n=he("div"),a=he("main"),r=he("div");for(let e=0;e<c.length;e+=1)c[e].c();i=ge(),s=he("p"),o=pe(e),fe(r,"class","items"),fe(r,"part","items"),T(r,"transform","translateY("+t[6]+"px)"),fe(a,"class","RandomGamesSliderWrapper"),fe(a,"part","RandomGamesSliderWrapper"),fe(s,"class","RandomGameLoading"),fe(s,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,r);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(r,null);de(n,i),de(n,s),de(s,o)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var a=Di(t,l,e);c[e]?c[e].p(a,n):(c[e]=Ni(a),c[e].c(),c[e].m(r,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&T(r,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(o,e)},d(e){e&&me(n),H(c,e)}}}function Ni(e){let n,a,r,i,s,o;return{c(){n=he("div"),a=he("img"),o=ge(),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,r=e[35].thumbnail)||fe(a,"src",r),fe(a,"alt",i=e[35].name),fe(a,"title",s=e[35].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,a),de(n,o)},p(e,t){16&t[0]&&!ce(a.src,r=e[35].thumbnail)&&fe(a,"src",r),16&t[0]&&i!==(i=e[35].name)&&fe(a,"alt",i),16&t[0]&&s!==(s=e[35].name)&&fe(a,"title",s)},d(e){e&&me(n)}}}function Oi(n){let a,r,i,s,o,l,c,d,u,m,h,p,g,f,y,b,v,w,x,$,C=n[3].name+"",S=n[3].vendor.name+"",k=n[8]("randomGame.playNowRandomGame")+"";return{c(){a=he("div"),r=he("div"),i=he("img"),c=ge(),(d=he("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(),m=he("div"),h=he("p"),p=pe(C),g=ge(),f=he("p"),y=pe(S),b=ge(),v=he("button"),w=pe(k),fe(i,"class","RandomGameImage"),fe(i,"part","RandomGameImage"),ce(i.src,s=n[3].thumbnail)||fe(i,"src",s),fe(i,"alt",o=n[3].name),fe(i,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(r,"class","item"),fe(r,"part","item"),fe(h,"class","RandomGameTitle"),fe(h,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(m,"part","RandomGameDetails"),fe(a,"class","RandomGameWrapper"),fe(a,"part","RandomGameWrapper")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,c),de(r,d),de(a,u),de(a,m),de(m,h),de(h,p),de(m,g),de(m,f),de(f,y),de(m,b),de(m,v),de(v,w),x||($=[K(d,"click",n[20]),K(v,"click",n[21])],x=!0)},p(e,t){8&t[0]&&!ce(i.src,s=e[3].thumbnail)&&fe(i,"src",s),8&t[0]&&o!==(o=e[3].name)&&fe(i,"alt",o),8&t[0]&&l!==(l=e[3].name)&&fe(i,"title",l),8&t[0]&&C!==(C=e[3].name+"")&&ye(p,C),8&t[0]&&S!==(S=e[3].vendor.name+"")&&ye(y,S),256&t[0]&&k!==(k=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,k)},d(e){e&&me(a),x=!1,Z($)}}}function Hi(e){let n,a,r=e[8]("randomGame.playRandomGame")+"";return{c(){n=he("span"),a=pe(r),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&r!==(r=e[8]("randomGame.playRandomGame")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ji(e){let n,a;return{c(){n=he("span"),a=pe(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2&t[0]&&ye(a,e[1])},d(e){e&&me(n)}}}function Ui(n){let a,r,i,s,o,l,c,d,u=n[5]&&Ai(n);function m(e){return e[1]?ji:e[1]?void 0:Hi}let h=m(n),p=h&&h(n);return{c(){a=he("div"),u&&u.c(),r=ge(),i=he("div"),s=he("button"),p&&p.c(),o=ge(),l=he("span"),this.c=V,fe(l,"class","RandomButtonIcon"),fe(l,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(i,"class","RandomButtonWrapper"),fe(i,"part","RandomButtonWrapper"),fe(a,"part","CustomStylingContainer")},m(e,t){ue(e,a,t),u&&u.m(a,null),de(a,r),de(a,i),de(i,s),p&&p.m(s,null),de(s,o),de(s,l),l.innerHTML=n[0],n[23](a),c||(d=K(s,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=Ai(e)).c(),u.m(a,r)):u&&(u.d(1),u=null),h===(h=m(e))&&p?p.p(e,t):(p&&p.d(1),(p=h&&h(e))&&(p.c(),p.m(s,o))),1&t[0]&&(l.innerHTML=e[0])},i:V,o:V,d(e){e&&me(a),u&&u.d(),p&&p.d(),n[23](null),c=!1,d()}}}function zi(n,e,a){let t;ot(n,Ua,e=>a(8,t=e));let r,i,{endpoint:s=""}=e,{datasource:o=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:m=""}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{filteredrandomgamecategories:g=""}=e,f=[],y="",b=!1,v=0,w=0,x=!1,$=window.navigator.userAgent;var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&($a.set(S),rt.set(C))}),Object.keys(Ri).forEach(e=>{Ii(e,Ri[e])});const k=()=>{a(4,r=F(r)),a(6,v=0),w=0,a(7,x=!1),a(3,y=f[Math.floor(Math.random()*f.length)]),a(5,b=!0)};let T;const _=e=>{if(g)for(;k(),!g.includes(y.vendor.name););else k();clearInterval(T),T=setInterval(()=>{a(6,v-=75),20==++w&&(a(7,x=!0),clearInterval(T))},150),e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},F=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},M=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),a(5,b=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return n.$$set=e=>{"endpoint"in e&&a(12,s=e.endpoint),"datasource"in e&&a(13,o=e.datasource),"gameevent"in e&&a(14,l=e.gameevent),"lang"in e&&a(15,c=e.lang),"randombuttonicon"in e&&a(0,d=e.randombuttonicon),"buttontext"in e&&a(1,u=e.buttontext),"translationurl"in e&&a(16,m=e.translationurl),"clientstyling"in e&&a(17,h=e.clientstyling),"clientstylingurl"in e&&a(18,p=e.clientstylingurl),"filteredrandomgamecategories"in e&&a(19,g=e.filteredrandomgamecategories)},n.$$.update=()=>{if(32768&n.$$.dirty[0]&&c&&(t=c,rt.set(t)),65536&n.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ii(e,t[e])})}).catch(e=>{console.log(e)}),12288&n.$$.dirty[0]&&s&&o&&((t=new URL(s+"/casino/games")).searchParams.append("platform",st($)),t.searchParams.append("datasource",o),t.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),t.searchParams.append("expand","vendor"),t.searchParams.append("pagination","offset=0,limit=1000"),fetch(t.href).then(e=>e.json()).then(e=>{f=e.items,a(4,r=f.slice(0,19))})),131076&n.$$.dirty[0]&&h&&i&&((e=document.createElement("style")).innerHTML=h,i.appendChild(e)),262148&n.$$.dirty[0]&&p&&i){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,t},[d,u,i,y,r,b,v,x,t,_,M,()=>{a(5,b=!1),window.postMessage({type:"RandomWidgetState",state:b},window.location.href)},s,o,l,c,m,h,p,g,()=>_(!0),()=>M(),()=>_(),function(e){at[e?"unshift":"push"](()=>{i=e,a(2,i)})}]}function Wi(e,t){Sa(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden;transition:transform 400ms ease-in-out}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},zi,Ui,n,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),m()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),m()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),m()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),m()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}});const Yi={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},"zh-hk":{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function Vi(e,t,n){e=e.slice();return e[63]=t[n],e}function Zi(e,t,n){e=e.slice();return e[66]=t[n],e}function Ki(n){let r,a,i,s,o,l,c,d,e,u,m,h,p,g,f,y,b,v,w,x,$=n[14],C=[];for(let e=0;e<$.length;e+=1)C[e]=Qi(Zi(n,$,e));let S=n[9],k=[];for(let e=0;e<S.length;e+=1)k[e]=es(Vi(n,S,e));return{c(){r=he("div"),a=he("div"),i=he("div");for(let e=0;e<C.length;e+=1)C[e].c();s=ge(),o=he("div"),l=he("button"),c=j("svg"),d=j("path"),u=ge(),m=he("button"),h=j("svg"),p=j("path"),y=ge(),b=he("div");for(let e=0;e<k.length;e+=1)k[e].c();fe(i,"class","WinnerButtonsContainer"),fe(d,"style",e=n[10]>=n[9].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(p,"style",g=n[10]>=n[9].length?"fill:#F6F6F62E":""),fe(p,"id","Path_36"),fe(p,"data-name","Path 36"),fe(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(p,"transform","translate(0 24.656) rotate(-90)"),fe(p,"fill","#fff"),fe(h,"id","Component_46_2"),fe(h,"data-name","Component 46 – 2"),fe(h,"xmlns","http://www.w3.org/2000/svg"),fe(h,"width","15"),fe(h,"height","15"),fe(h,"viewBox","0 0 16 24.656"),fe(m,"class","SliderButton"),fe(o,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(a,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(r,"class",v="CasinoWinners "+(n[11]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i);for(let e=0;e<C.length;e+=1)C[e]&&C[e].m(i,null);de(a,s),de(a,o),de(o,l),de(l,c),de(c,d),de(o,u),de(o,m),de(m,h),de(h,p),de(r,y),de(r,b);for(let e=0;e<k.length;e+=1)k[e]&&k[e].m(b,null);n[42](b),w||(x=[K(l,"click",n[39]),K(m,"click",n[40])],w=!0)},p(t,n){if(114947&n[0]){let e;for($=t[14],e=0;e<$.length;e+=1){var a=Zi(t,$,e);C[e]?C[e].p(a,n):(C[e]=Qi(a),C[e].c(),C[e].m(i,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=$.length}if(1536&n[0]&&e!==(e=t[10]>=t[9].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),1536&n[0]&&g!==(g=t[10]>=t[9].length?"fill:#F6F6F62E":"")&&fe(p,"style",g),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(o,"class",f),434732&n[0]){let e;for(S=t[9],e=0;e<S.length;e+=1){const i=Vi(t,S,e);k[e]?k[e].p(i,n):(k[e]=es(i),k[e].c(),k[e].m(b,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=S.length}2048&n[0]&&v!==(v="CasinoWinners "+(t[11]?"Mobile":""))&&fe(r,"class",v)},d(e){e&&me(r),H(C,e),H(k,e),n[42](null),w=!1,Z(x)}}}function Xi(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function qi(n){let a,r,i,s,o,l=n[15]("Translations.recentWinners")+"";return{c(){a=he("button"),r=pe(l),fe(a,"class",i="WinnersButton "+("recent"==n[8]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=K(a,"click",n[37]),s=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(r,l),257&t[0]&&i!==(i="WinnersButton "+("recent"==e[8]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(a,"class",i)},d(e){e&&me(a),s=!1,o()}}}function Ji(n){let a,r,i,s,o,l,c=n[15]("Translations.topWinners")+"";return{c(){a=he("button"),r=pe(c),i=ge(),fe(a,"class",s="WinnersButton "+("top"==n[8]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),o||(l=K(a,"click",n[38]),o=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(r,c),258&t[0]&&s!==(s="WinnersButton "+("top"==e[8]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(a,"class",s)},d(e){e&&me(a),o=!1,l()}}}function Qi(e){let n,a,r="recent"==e[66]&&qi(e),i="top"==e[66]&&Ji(e);return{c(){r&&r.c(),n=ge(),i&&i.c(),a=l()},m(e,t){r&&r.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,a,t)},p(e,t){"recent"==e[66]?r?r.p(e,t):((r=qi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"top"==e[66]?i?i.p(e,t):((i=Ji(e)).c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},d(e){r&&r.d(e),e&&me(n),i&&i.d(e),e&&me(a)}}}function es(n){let a,r,i,s,o,l,c,d,u,m,h,p,g,f,y,b,v,w,x,$,C,S,k,T,_=n[63].gameName+"",F=n[17](n[63].username)+"",M=n[15]("Translations.won")+"",E=n[63].specifiedCurrencyAmount.toFixed(2)+"",L=(n[5]?n[3]:n[2])+"";function G(){return n[41](n[63])}return{c(){a=he("div"),r=he("div"),i=he("img"),l=ge(),c=he("p"),d=pe(_),u=ge(),m=he("p"),h=pe(F),p=ge(),g=he("p"),f=pe(M),y=ge(),b=he("p"),v=pe(E),w=ge(),x=he("span"),$=pe(L),C=ge(),ce(i.src,s=n[63]?.gameModel?.thumbnail)||fe(i,"src",s),fe(i,"alt",o=n[63]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(r,"class","WinnerCard"),fe(a,"class",S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,l),de(r,c),de(c,d),de(r,u),de(r,m),de(m,h),de(r,p),de(r,g),de(g,f),de(r,y),de(r,b),de(b,v),de(b,w),de(b,x),de(x,$),de(a,C),k||(T=K(i,"click",G),k=!0)},p(e,t){n=e,512&t[0]&&!ce(i.src,s=n[63]?.gameModel?.thumbnail)&&fe(i,"src",s),512&t[0]&&o!==(o=n[63]?.gameModel?.thumbnail)&&fe(i,"alt",o),512&t[0]&&_!==(_=n[63].gameName+"")&&ye(d,_),512&t[0]&&F!==(F=n[17](n[63].username)+"")&&ye(h,F),32768&t[0]&&M!==(M=n[15]("Translations.won")+"")&&ye(f,M),512&t[0]&&E!==(E=n[63].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,E),44&t[0]&&L!==(L=(n[5]?n[3]:n[2])+"")&&ye($,L),8192&t[0]&&S!==(S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(a,"class",S)},d(e){e&&me(a),k=!1,T()}}}function ts(n){let a;function r(e){return e[12]?Xi:Ki}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=V},m(e,t){ue(e,a,t),s.m(a,null),n[43](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:V,o:V,d(e){e&&me(a),s.d(),n[43](null)}}}function ns(n,e,a){let D;ot(n,Ua,e=>a(15,D=e));let r,i,A,s,B,o,N,l,c,d,{endpoint:u=""}=e,{session:m=""}=e,{userid:h=""}=e,{periodrecent:p="Today"}=e,{periodtop:g="Last7Days"}=e,{numberusersrecent:f="20"}=e,{numberuserstop:y="20"}=e,{amountlimit:b="1"}=e,{vendorCategory:v="All"}=e,{lang:w="en"}=e,{isrecentavailable:x="true"}=e,{istopavailable:$="true"}=e,{defaultcurrency:t=""}=e,{usercurrency:C=""}=e,{clientstyling:S=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:T=""}=e,{tabsorder:_=""}=e,{translationurl:F=""}=e,{winnersdatasources:M=""}=e,E=[],L=0,G=0,O=window.navigator.userAgent,P=!0,H=!1,j=[];Object.keys(Yi).forEach(e=>{Wi(e,Yi[e])});const I=()=>{j=M.split(",").map(function(e){return e.trim()});const t=new URL(`${u}/casino/${i}-winners`);t.searchParams.append("limit","recent"==i?f:y),t.searchParams.append("specifiedCurrency",d),t.searchParams.append("period","recent"==i?p:g),t.searchParams.append("language",w),t.searchParams.append("amountLimit",b),t.searchParams.append("vendorCategory",v),j.forEach(e=>{t.searchParams.append("dataSource",e)}),fetch(t.href).then(e=>e.json()).then(e=>{a(9,E=[]),a(9,E=e.items.map(e=>e)),setTimeout(()=>{a(10,G=Math.round(r.offsetWidth/225)),z(),"true"==T&&(clearInterval(l),L=0,G<N?l=setInterval(()=>{V()},3e3):clearInterval(l)),a(12,P=!1)},5)})},R=e=>{i!==e&&(a(9,E=[]),a(8,i=e),I())},U=(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:""+(B||"Not logged in")})},z=n=>{var e=[...r.children];N=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{a(13,H=!0)},10)},W=()=>{z(L)},Y=()=>{var e;G>=E.length||(e=E.length,0===L?L=e-G:L-G<0?L=0:L-=G,W())},V=()=>{var e;G>=E.length||(e=E.length,"true"==T&&(L===e-G?L=0:L++),"false"==T&&(L===e-G?L=0:e-G<L+G?L=e-G:L+=G),W())},Z=()=>{a(36,d=s?C:t)};return lt(()=>(a(11,A=it(O)),()=>{clearInterval(l)})),n.$$set=e=>{"endpoint"in e&&a(22,u=e.endpoint),"session"in e&&a(23,m=e.session),"userid"in e&&a(24,h=e.userid),"periodrecent"in e&&a(25,p=e.periodrecent),"periodtop"in e&&a(26,g=e.periodtop),"numberusersrecent"in e&&a(27,f=e.numberusersrecent),"numberuserstop"in e&&a(28,y=e.numberuserstop),"amountlimit"in e&&a(21,b=e.amountlimit),"vendorCategory"in e&&a(29,v=e.vendorCategory),"lang"in e&&a(30,w=e.lang),"isrecentavailable"in e&&a(0,x=e.isrecentavailable),"istopavailable"in e&&a(1,$=e.istopavailable),"defaultcurrency"in e&&a(2,t=e.defaultcurrency),"usercurrency"in e&&a(3,C=e.usercurrency),"clientstyling"in e&&a(31,S=e.clientstyling),"clientstylingurl"in e&&a(32,k=e.clientstylingurl),"enableautoscroll"in e&&a(4,T=e.enableautoscroll),"tabsorder"in e&&a(33,_=e.tabsorder),"translationurl"in e&&a(34,F=e.translationurl),"winnersdatasources"in e&&a(35,M=e.winnersdatasources)},n.$$.update=()=>{if(2116026371&n.$$.dirty[0]|4&n.$$.dirty[1]&&x&&$&&p&&g&&f&&y&&b&&v&&w&&_&&(a(14,c=_.split(",")),a(8,i=c[0]),"false"==x&&a(21,b=""),Z(),a(12,P=!1)),12582912&n.$$.dirty[0]&&m&&u&&(a(5,s=!0),B=h),32&n.$$.dirty[0]&&s&&Z(),4194304&n.$$.dirty[0]|32&n.$$.dirty[1]&&u&&d&&I(),1073741824&n.$$.dirty[0]&&w&&(t=w,rt.set(t)),8&n.$$.dirty[1]&&F&&(t=new URL(F),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Wi(e,t[e])})}).catch(e=>{console.log(e)})),64&n.$$.dirty[0]|1&n.$$.dirty[1]&&S&&o&&((e=document.createElement("style")).innerHTML=S,o.appendChild(e)),64&n.$$.dirty[0]|2&n.$$.dirty[1]&&k&&o){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e,t;16&n.$$.dirty[1]&&M&&I()},[x,$,t,C,T,s,o,r,i,E,G,A,P,H,c,D,R,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),U,Y,V,b,u,m,h,p,g,f,y,v,w,S,k,_,F,M,d,()=>R("recent"),()=>R("top"),()=>Y(),()=>V(),e=>U(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){at[e?"unshift":"push"](()=>{r=e,a(7,r)})},function(e){at[e?"unshift":"push"](()=>{o=e,a(6,o)})}]}function as(e,t){Sa(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.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}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},ns,ts,n,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,vendorCategory:29,lang:30,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:31,clientstylingurl:32,enableautoscroll:4,tabsorder:33,translationurl:34,winnersdatasources:35},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),m()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),m()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get vendorCategory(){return this.$$.ctx[29]}set vendorCategory(e){this.$$set({vendorCategory:e}),m()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),m()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),m()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get tabsorder(){return this.$$.ctx[33]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get translationurl(){return this.$$.ctx[34]}set translationurl(e){this.$$set({translationurl:e}),m()}get winnersdatasources(){return this.$$.ctx[35]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}});const rs={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},"zh-hk":{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando"}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function is(e,t,n){e=e.slice();return e[48]=t[n],e[50]=n,e}function ss(n){let a,r,i,s,o,l,c,d,u,m,h,p,g,f,y,b,v;function w(e){return e[5]?cs:ds}let x=w(n),$=x(n);return{c(){a=he("div"),r=he("div"),i=he("div"),s=he("div"),o=he("img"),c=ge(),d=he("div"),$.c(),u=ge(),m=he("div"),h=he("img"),ce(o.src,l=n[6])||fe(o,"src",l),fe(o,"alt",""),fe(s,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(h.src,p=n[11])||fe(h,"src",p),fe(h,"alt",""),fe(m,"class","title"),fe(i,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),T(i,"background","url("+n[10]+")"),fe(r,"class","jackpotBanner"),fe(a,"class",f=n[12]?"DisplayNone":""),fe(a,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(s,o),de(i,c),de(i,d),$.m(d,null),de(i,u),de(i,m),de(m,h),b||(v=K(r,"click",n[31]),b=!0)},p(e,t){64&t[0]&&!ce(o.src,l=e[6])&&fe(o,"src",l),x===(x=w(e))&&$?$.p(e,t):($.d(1),($=x(e))&&($.c(),$.m(d,null))),2048&t[0]&&!ce(h.src,p=e[11])&&fe(h,"src",p),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",g),1024&t[0]&&T(i,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(a,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(a,"part",y)},d(e){e&&me(a),$.d(),b=!1,v()}}}function os(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function ls(e){let n;return{c(){(n=he("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function cs(e){let n,a,r,i,s,o,A,l,c,B,N,d,O,H,u,m,h,p,g,j,f,y,U,z,b,W,Y,v,w,x,$,C,S,V,k,T,Z,K,_,X,q,F,M,E,L,G,J,P,I,Q,ee,R,te,D=e[8][0]+"",ne=e[7][0]+"",ae=e[8][1]+"",re=e[7][1]+"",ie=e[8][2]+"",se=e[7][2]+"",oe=e[8][3]+"",le=e[7][3]+"";return{c(){n=he("div"),a=he("div"),r=he("div"),i=he("img"),o=he("span"),A=pe(D),l=he("span"),c=he("span"),B=pe(ne),N=ge(),d=he("span"),O=pe(e[1]),H=ge(),u=he("div"),m=he("div"),h=he("img"),g=he("span"),j=pe(ae),f=he("span"),y=he("span"),U=pe(re),z=ge(),b=he("span"),W=pe(e[1]),Y=ge(),v=he("div"),w=he("div"),x=he("div"),$=he("img"),S=he("span"),V=pe(ie),k=he("span"),T=he("span"),Z=pe(se),K=ge(),_=he("span"),X=pe(e[1]),q=ge(),F=he("div"),M=he("div"),E=he("img"),G=he("span"),J=pe(oe),P=he("span"),I=he("span"),Q=pe(le),ee=ge(),R=he("span"),te=pe(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,s=e[9][0])||fe(i,"src",s),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(a,"class","displayCard"),fe(h,"class","displayCardIcon"),ce(h.src,p=e[9][1])||fe(h,"src",p),fe(h,"alt",""),fe(g,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe($,"class","displayCardIcon"),ce($.src,C=e[9][2])||fe($,"src",C),fe($,"alt",""),fe(S,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(T,"class","jackpotValue"),fe(_,"class","jackpot-currency"),fe(k,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(E,"class","displayCardIcon"),ce(E.src,L=e[9][3])||fe(E,"src",L),fe(E,"alt",""),fe(G,"class","cardLabel"),fe(M,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(F,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(r,i),de(r,o),de(o,A),de(a,l),de(l,c),de(c,B),de(l,N),de(l,d),de(d,O),de(n,H),de(n,u),de(u,m),de(m,h),de(m,g),de(g,j),de(u,f),de(f,y),de(y,U),de(f,z),de(f,b),de(b,W),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,x),de(x,$),de(x,S),de(S,V),de(w,k),de(k,T),de(T,Z),de(k,K),de(k,_),de(_,X),de(v,q),de(v,F),de(F,M),de(M,E),de(M,G),de(G,J),de(F,P),de(P,I),de(I,Q),de(P,ee),de(P,R),de(R,te)},p(e,t){512&t[0]&&!ce(i.src,s=e[9][0])&&fe(i,"src",s),256&t[0]&&D!==(D=e[8][0]+"")&&ye(A,D),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(B,ne),2&t[0]&&ye(O,e[1]),512&t[0]&&!ce(h.src,p=e[9][1])&&fe(h,"src",p),256&t[0]&&ae!==(ae=e[8][1]+"")&&ye(j,ae),128&t[0]&&re!==(re=e[7][1]+"")&&ye(U,re),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce($.src,C=e[9][2])&&fe($,"src",C),256&t[0]&&ie!==(ie=e[8][2]+"")&&ye(V,ie),128&t[0]&&se!==(se=e[7][2]+"")&&ye(Z,se),2&t[0]&&ye(X,e[1]),512&t[0]&&!ce(E.src,L=e[9][3])&&fe(E,"src",L),256&t[0]&&oe!==(oe=e[8][3]+"")&&ye(J,oe),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&me(n),e&&me(Y),e&&me(v)}}}function ds(t){let r,i=Array(4),s=[];for(let e=0;e<i.length;e+=1)s[e]=us(is(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);ue(t,r,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var a=is(t,i,e);s[e]?s[e].p(a,n):(s[e]=us(a),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){H(s,e),e&&me(r)}}}function us(e){let n,a,r,i,s,o,l,c,d,u,m,h,p=e[8][e[50]]+"",g=(e[7][e[50]]??"")+"";return{c(){n=he("div"),a=he("div"),r=he("img"),s=he("span"),o=pe(p),l=he("span"),c=he("span"),d=pe(g),u=ge(),m=he("span"),h=pe(e[1]),fe(r,"class","displayCardIcon"),ce(r.src,i=e[9][e[50]])||fe(r,"src",i),fe(r,"alt",""),fe(s,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(m,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,s),de(s,o),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,h)},p(e,t){512&t[0]&&!ce(r.src,i=e[9][e[50]])&&fe(r,"src",i),256&t[0]&&p!==(p=e[8][e[50]]+"")&&ye(o,p),128&t[0]&&g!==(g=(e[7][e[50]]??"")+"")&&ye(d,g),2&t[0]&&ye(h,e[1])},d(e){e&&me(n)}}}function ms(n){let a;function r(e){return e[13]?ls:e[3]?os:ss}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=V},m(e,t){ue(e,a,t),s.m(a,null),n[32](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:V,o:V,d(e){e&&me(a),s.d(),n[32](null)}}}function hs(a,e,r){let i,s,{visualstructure:o=""}=e,{title:t=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:h=""}=e,{currency:p=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:x=""}=e,{gameid:$=""}=e,A=window.navigator.userAgent,C=!1,S=!1,k="",T=[],_=[],F=[],M=[],E=[],L="",G="",P=!1,I=!0,R=!1;Object.keys(rs).forEach(e=>{as(e,rs[e])});const D=["typeSpread","typeLeft"],n=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:$},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+$})};return a.$$set=e=>{"visualstructure"in e&&r(0,o=e.visualstructure),"title"in e&&r(15,t=e.title),"caticon0"in e&&r(16,l=e.caticon0),"caticon1"in e&&r(17,c=e.caticon1),"caticon2"in e&&r(18,d=e.caticon2),"caticon3"in e&&r(19,u=e.caticon3),"iconlabels"in e&&r(20,m=e.iconlabels),"backgroundsrc"in e&&r(21,h=e.backgroundsrc),"currency"in e&&r(1,p=e.currency),"backgroundsrcmobile"in e&&r(22,g=e.backgroundsrcmobile),"titlelogopath"in e&&r(23,f=e.titlelogopath),"lang"in e&&r(24,y=e.lang),"clientstyling"in e&&r(25,b=e.clientstyling),"clientstylingurl"in e&&r(26,v=e.clientstylingurl),"translationurl"in e&&r(27,w=e.translationurl),"endpoint"in e&&r(28,x=e.endpoint),"gameid"in e&&r(29,$=e.gameid)},a.$$.update=()=>{if(268435456&a.$$.dirty[0]&&x&&(n=new URL(x+"/casino/jackpots/config"),fetch(n.href).then(e=>e.json()).then(e=>{r(30,_=e.egtJackpotIds.map(e=>e))})),33554436&a.$$.dirty[0]&&i&&b&&((n=document.createElement("style")).innerHTML=b,i.appendChild(n)),67108868&a.$$.dirty[0]&&i&&v){r(12,P=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{r(12,P=!1)},500)})}var e,t,n;1358954498&a.$$.dirty[0]&&x&&y&&p&&0<_.length&&x&&y&&p&&((t=new URL(x+"/casino/jackpots")).searchParams.append("filter","id="+$),t.searchParams.append("language",y),t.searchParams.append("additionalDataCurrency",p),fetch(t.href).then(e=>e.json().then(e=>{r(3,I=!1),s=e,_.includes($)&&((e=null==(e=null==(e=s)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>T.push(+e)),e=s,r(6,k=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{r(13,R=!0),r(3,I=!1),console.error(e)}))),16777226&a.$$.dirty[0]&&p&&y&&!I&&(r(4,C=it(A)&&1<window.innerHeight/window.innerWidth),r(5,S=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==T.length&&r(7,F=T.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),r(8,M=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),D.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 "${D[0]}"`),r(0,o=D[0])),r(10,L=g&&C&&!S?g:h),r(11,G=f),r(9,E=[l,c,d,u])),16777216&a.$$.dirty[0]&&y&&(e=y,rt.set(e)),134217728&a.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{as(e,t[e])})}).catch(e=>{console.log(e)})},[o,p,i,I,C,S,k,F,M,E,L,G,P,R,n,t,l,c,d,u,m,h,g,f,y,b,v,w,x,$,_,()=>n(),function(e){at[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}function ps(e,t){Sa(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},hs,ms,n,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get title(){return this.$$.ctx[15]}set title(e){this.$$set({title:e}),m()}get caticon0(){return this.$$.ctx[16]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[17]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[18]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[19]}set caticon3(e){this.$$set({caticon3:e}),m()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get lang(){return this.$$.ctx[24]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[27]}set translationurl(e){this.$$set({translationurl:e}),m()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),m()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),m()}});const gs={en:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},"zh-hk":{Translations:{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."}},de:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."}},it:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},fr:{Translations:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."}},es:{Translations:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}}};function fs(e,t,n){e=e.slice();return e[39]=t[n],e}function ys(e,t,n){e=e.slice();return e[42]=t[n],e}function bs(n){let r,a,i,s,o,l,c,d,u,m,h,e,p,g,f=("vendor"==n[0]?n[8]("Translations.providers"):n[8]("Translations.collections"))+"",y=n[3],b=[];for(let e=0;e<y.length;e+=1)b[e]=Ss(fs(n,y,e));return{c(){r=he("div"),a=he("div"),i=he("p"),s=pe(f),o=ge(),l=he("div"),(c=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',d=ge(),(u=he("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(),h=he("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(i,"class","Title"),fe(l,"class","ButtonsContainer"),fe(a,"class","CategoriesHeader"),fe(h,"class","CategoriesSlider"),fe(r,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,s),de(a,o),de(a,l),de(l,c),de(l,d),de(l,u),de(r,m),de(r,h);for(let e=0;e<b.length;e+=1)b[e]&&b[e].m(h,null);n[23](h),p||(g=[K(c,"click",n[19]),K(u,"click",n[20])],p=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("Translations.providers"):t[8]("Translations.collections"))+"")&&ye(s,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var a=fs(t,y,e);b[e]?b[e].p(a,n):(b[e]=Ss(a),b[e].c(),b[e].m(h,null))}for(;e<b.length;e+=1)b[e].d(1);b.length=y.length}128&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[7]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),H(b,e),n[23](null),p=!1,Z(g)}}}function vs(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function ws(e){let n,a,r=e[39].name+"";return{c(){n=he("p"),a=pe(r),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&r!==(r=e[39].name+"")&&ye(a,r)},d(e){e&&me(n)}}}function xs(e){let n,a,r;return{c(){fe(n=he("img"),"class","CategorySlideLogo"),ce(n.src,a=e[39].icon)||fe(n,"src",a),fe(n,"alt",r=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,a=e[39].icon)&&fe(n,"src",a),8&t[0]&&r!==(r=e[39].name+" icon")&&fe(n,"alt",r)},d(e){e&&me(n)}}}function $s(e){let n,a,r,i=e[42].name+"";return{c(){n=he("p"),a=pe(i),fe(n,"title",r=e[42].name)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&i!==(i=e[42].name+"")&&ye(a,i),8&t[0]&&r!==(r=e[42].name)&&fe(n,"title",r)},d(e){e&&me(n)}}}function Cs(n){let a,r,i,s,o,l,c,d;function u(){return n[21](n[42])}let m="true"==n[2]&&$s(n);return{c(){a=he("div"),r=he("img"),o=ge(),m&&m.c(),l=ge(),fe(r,"class","CategorySlideGameImage"),ce(r.src,i=n[42].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",s=n[42].name),fe(a,"class","CategorySlideGames")},m(e,t){var n;ue(e,a,t),de(a,r),de(a,o),m&&m.m(a,null),de(a,l),c||(d=K(r,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(r.src,i=n[42].defaultThumbnail)&&fe(r,"src",i),8&t[0]&&s!==(s=n[42].name)&&fe(r,"alt",s),"true"==n[2]?m?m.p(n,t):((m=$s(n)).c(),m.m(a,l)):m&&(m.d(1),m=null)},d(e){e&&me(a),m&&m.d(),c=!1,d()}}}function Ss(n){let a,r,i,s,o,l,c,d,u;function m(e){return"logo"==e[1]?xs:"title"==e[1]?ws:void 0}let h=m(n),p=h&&h(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=Cs(ys(n,g,e));function y(){return n[22](n[39])}return{c(){a=he("div"),r=he("div"),i=he("div"),p&&p.c(),s=ge(),o=he("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(i,"class","CategorySlideTopContainer"),fe(o,"class","CategorySlideGameContainer"),fe(r,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),T(r,"background-image","url("+n[39]?.background+")"),fe(a,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,a,t),de(a,r),de(r,i),p&&p.m(i,null),de(r,s),de(r,o);for(let e=0;e<f.length;e+=1)f[e]&&f[e].m(o,null);de(a,c),d||(u=K(r,"click",y),d=!0)},p(e,t){if(h===(h=m(n=e))&&p?p.p(n,t):(p&&p.d(1),(p=h&&h(n))&&(p.c(),p.m(i,null))),2060&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const r=ys(n,g,e);f[e]?f[e].p(r,t):(f[e]=Cs(r),f[e].c(),f[e].m(o,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(r,"class",l),8&t[0]&&T(r,"background-image","url("+n[39]?.background+")")},d(e){e&&me(a),p&&p.d(),H(f,e),d=!1,u()}}}function ks(n){let a;function r(e){return e[6]?vs:bs}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=V},m(e,t){ue(e,a,t),s.m(a,null),n[24](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:V,o:V,d(e){e&&me(a),s.d(),n[24](null)}}}function Ts(n,e,a){let t;ot(n,Ua,e=>a(8,t=e));let r,i,s,o,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:g=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,b=[],v=!0,w=0,x=0,$=0,C=window.navigator.userAgent;Object.keys(gs).forEach(e=>{ps(e,gs[e])});const S=n=>{(s=[...r.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),s.map(e=>i=e.getBoundingClientRect().width),$=Math.round(r.offsetWidth/i)},k=()=>{S(w)},T=()=>{$>=x||(0===w?w=x-$:w-$<-1?w=0:w--,k())},_=()=>{$>=x||(w===x-$?w=0:x-$<w+1?w=x-$:w++,k())},F=(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 lt(()=>{a(7,l=it(C))}),n.$$set=e=>{"endpoint"in e&&a(13,c=e.endpoint),"datasource"in e&&a(14,d=e.datasource),"lang"in e&&a(15,u=e.lang),"type"in e&&a(0,m=e.type),"titletype"in e&&a(1,h=e.titletype),"clientstyling"in e&&a(16,p=e.clientstyling),"clientstylingurl"in e&&a(17,g=e.clientstylingurl),"translationurl"in e&&a(18,f=e.translationurl),"collectionprovidersgamenames"in e&&a(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u&&((t=new URL(c+"/v2/casino/groups/"+d)).searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{a(6,v=!1);e=e.items.filter(e=>e.flags==m);a(3,b=e.map(e=>{var t;return{id:e.id,name:e.name,icon:e.icon||(null==(t=null==(t=null==(t=e.vendors)?void 0:t.items[0])?void 0:t.subVendors[0])?void 0:t.logo),games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}})),x=b.length})),24&n.$$.dirty[0]&&b&&r&&S(),32768&n.$$.dirty[0]&&u&&(t=u,rt.set(t)),65568&n.$$.dirty[0]&&p&&o&&((e=document.createElement("style")).innerHTML=p,o.appendChild(e)),131104&n.$$.dirty[0]&&g&&o){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ps(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,y,b,r,o,v,l,t,T,_,F,M,c,d,u,p,g,f,()=>T(),()=>_(),e=>F(e.gameId,e.launchUrl,e.name),e=>M(e.id),function(e){at[e?"unshift":"push"](()=>{r=e,a(4,r)})},function(e){at[e?"unshift":"push"](()=>{o=e,a(5,o)})}]}function _s(n){let a,r,i,s,o;return{c(){a=he("div"),r=he("casino-games-category-section"),this.c=V,S(r,"session",n[0]),S(r,"userid",n[1]),S(r,"endpoint",n[2]),S(r,"datasource",n[3]),S(r,"lang",n[5]),S(r,"currency",n[4]),S(r,"favorites",n[13]),S(r,"categoryid","FAVORITES"),S(r,"class","CategoryContainer"),S(r,"clientstyling",n[6]),S(r,"clientstylingurl",n[7]),S(r,"livecasino",n[8]),S(r,"visiblegames",n[12]),S(r,"gamepagemodalurl",n[11]),S(r,"integratedgameframedesktop",n[10]),S(r,"integratedgameframemobile",n[9]),S(r,"casinomygames",n[14]),fe(a,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,a,t),de(a,r),n[18](a),s||(o=_(i=n[16].call(null,r,(n[2],n[1],n[0],n[1]))),s=!0)},p(e,[t]){1&t&&S(r,"session",e[0]),2&t&&S(r,"userid",e[1]),4&t&&S(r,"endpoint",e[2]),8&t&&S(r,"datasource",e[3]),32&t&&S(r,"lang",e[5]),16&t&&S(r,"currency",e[4]),8192&t&&S(r,"favorites",e[13]),64&t&&S(r,"clientstyling",e[6]),128&t&&S(r,"clientstylingurl",e[7]),256&t&&S(r,"livecasino",e[8]),4096&t&&S(r,"visiblegames",e[12]),2048&t&&S(r,"gamepagemodalurl",e[11]),1024&t&&S(r,"integratedgameframedesktop",e[10]),512&t&&S(r,"integratedgameframemobile",e[9]),16384&t&&S(r,"casinomygames",e[14]),i&&k(i.update)&&7&t&&i.update.call(null,(e[2],e[1],e[0],e[1]))},i:V,o:V,d(e){e&&me(a),n[18](null),s=!1,o()}}}function Fs(t,e,o){let n,a,{endpoint:l=""}=e,{datasource:r=""}=e,{currency:i=""}=e,{lang:s=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,{visiblegames:y=""}=e,{favorites:b=""}=e,{categoryid:v=""}=e,{casinomygames:w="false"}=e,x=[];var $,C;({withLocale:$,translations:C}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&($a.set(C),rt.set($))});const S=n=>{if(n.data)switch(n.data.type){case"UserSessionID":o(0,c=n.data.session),o(1,d=n.data.userID),d&&d.length&&c&&0<c.length&&k(l,c,d);break;case"SetUnfavoredGame":e=`${l}/player/${d}/favorites`,t=c,d,s=n.data.id,n.data.triggerFactor,x.includes(s)&&(x=x.filter(e=>e!=s)),fetch(e+"/"+s,{method:"DELETE",headers:{"X-SessionID":t}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+s},window.location.href),T(e,t)});break;case"SetFavoredGame":{var a=`${l}/player/${d}/favorites`;var r=c;d;var i=n.data.id;n.data.triggerFactor;x.includes(i)||x.push(i);let e={items:x},t={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(a,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),T(a,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&k(l,c,d)}var e,t,s};let k=(e,t,n)=>{"true"==b&&c&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((a=e)&&(_(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:a,favStadalone:!0},window.location.href),F(a.items)),a)).then(e=>e).catch(e=>{console.error(e)})};let T=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(a=e,_(),a&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:a,favStadalone:!0},window.location.href),a)).catch(e=>{console.error(e)})};const _=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:a},window.location.href)},F=(e=[])=>(x=[],0<e.length&&e.forEach(e=>{x.push(e.id)}),x);return lt(()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)})),t.$$set=e=>{"endpoint"in e&&o(2,l=e.endpoint),"datasource"in e&&o(3,r=e.datasource),"currency"in e&&o(4,i=e.currency),"lang"in e&&o(5,s=e.lang),"session"in e&&o(0,c=e.session),"userid"in e&&o(1,d=e.userid),"clientstyling"in e&&o(6,u=e.clientstyling),"clientstylingurl"in e&&o(7,m=e.clientstylingurl),"livecasino"in e&&o(8,h=e.livecasino),"integratedgameframemobile"in e&&o(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&o(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&o(11,f=e.gamepagemodalurl),"visiblegames"in e&&o(12,y=e.visiblegames),"favorites"in e&&o(13,b=e.favorites),"categoryid"in e&&o(17,v=e.categoryid),"casinomygames"in e&&o(14,w=e.casinomygames)},t.$$.update=()=>{if(8231&t.$$.dirty&&l&&d&&c&&s&&b&&"true"==b&&k(l,c,d),32832&t.$$.dirty&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),32896&t.$$.dirty&&m&&n){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e},[c,d,l,r,i,s,u,m,h,p,g,f,y,b,w,n,k,v,function(e){at[e?"unshift":"push"](()=>{n=e,o(15,n)})}]}function Ms(e,t){Sa(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ts,ks,n,{endpoint:13,datasource:14,lang:15,type:0,titletype:1,clientstyling:16,clientstylingurl:17,translationurl:18,collectionprovidersgamenames:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl","collectionprovidersgamenames"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),m()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),m()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Fs,_s,n,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:17,casinomygames:14},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),m()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),m()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),m()}});const Es={en:{LastPlayedTranslations:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}},de:{LastPlayedTranslations:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."}}};function Ls(e){let n;return{c(){S(n=he("casino-games-category-section"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[13]),S(n,"categoryid","LASTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),4096&t[0]&&S(n,"visiblegames",e[12]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),1024&t[0]&&S(n,"integratedgameframedesktop",e[10]),512&t[0]&&S(n,"integratedgameframemobile",e[9]),16384&t[0]&&S(n,"casinomygames",e[14])},d(e){e&&me(n)}}}function Gs(e){let n,a,r=e[17]("LastPlayedTranslations.noRecentGames")+"";return{c(){n=he("p"),a=pe(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){131072&t[0]&&r!==(r=e[17]("LastPlayedTranslations.noRecentGames")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ps(n){let a,r;function i(e){return e[16]?Gs:Ls}let s=i(n),o=s(n);return{c(){a=he("div"),r=he("div"),o.c(),this.c=V,fe(r,"class","CasinoLastPlayedSection"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,r),o.m(r,null),n[23](a)},p(e,t){s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(r,null)))},i:V,o:V,d(e){e&&me(a),o.d(),n[23](null)}}}function Is(n,e,a){let t;ot(n,Ua,e=>a(17,t=e));let r,i,{endpoint:s=""}=e,{datasource:o=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{translationurl:p=""}=e,{livecasino:g="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:v=""}=e,{favorites:w=""}=e,{lastplayedperiod:x="Last30Days"}=e,{lastplayedorder:$=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:k="true"}=e,T=window.navigator.userAgent,_=!1,F;Object.keys(Es).forEach(e=>{Ms(e,Es[e])});return n.$$set=e=>{"endpoint"in e&&a(0,s=e.endpoint),"datasource"in e&&a(1,o=e.datasource),"currency"in e&&a(2,l=e.currency),"lang"in e&&a(3,c=e.lang),"session"in e&&a(4,d=e.session),"userid"in e&&a(5,u=e.userid),"clientstyling"in e&&a(6,m=e.clientstyling),"clientstylingurl"in e&&a(7,h=e.clientstylingurl),"translationurl"in e&&a(18,p=e.translationurl),"livecasino"in e&&a(8,g=e.livecasino),"integratedgameframemobile"in e&&a(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&a(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&a(11,b=e.gamepagemodalurl),"visiblegames"in e&&a(12,v=e.visiblegames),"favorites"in e&&a(13,w=e.favorites),"lastplayedperiod"in e&&a(19,x=e.lastplayedperiod),"lastplayedorder"in e&&a(20,$=e.lastplayedorder),"lastplayedlimit"in e&&a(21,C=e.lastplayedlimit),"casinomygames"in e&&a(14,S=e.casinomygames),"lastplayedunique"in e&&a(22,k=e.lastplayedunique)},n.$$.update=()=>{if(41&n.$$.dirty[0]&&s&&u&&c&&new Promise((e,t)=>{var n=new URL(`${s}/player/${u}/games/last-played`);n.searchParams.append("unique",k),n.searchParams.append("limit",C),n.searchParams.append("order",$),n.searchParams.append("period",x),"PC"===st(T)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),r=g?n:n.href,fetch(r).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(s+"/casino/games/"+e.gameId);e.searchParams.append("datasource",o),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{F=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:F},window.location.href)})}else a(16,_=!0)}),262144&n.$$.dirty[0]&&p&&(t=translationUrl,fetch(t).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ms(e,t[e])})}).catch(e=>{console.log(e)})),32832&n.$$.dirty[0]&&m&&i&&((t=document.createElement("style")).innerHTML=m,i.appendChild(t)),32896&n.$$.dirty[0]&&h&&i){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,t;8&n.$$.dirty[0]&&c&&(e=c,rt.set(e))},[s,o,l,c,d,u,m,h,g,f,y,b,v,w,S,i,_,t,p,x,$,C,k,function(e){at[e?"unshift":"push"](()=>{i=e,a(15,i)})}]}function Rs(e){let n;return{c(){S(n=he("casino-games-category-section"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[13]),S(n,"categoryid","MOSTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),4096&t[0]&&S(n,"visiblegames",e[12]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),1024&t[0]&&S(n,"integratedgameframedesktop",e[10]),512&t[0]&&S(n,"integratedgameframemobile",e[9]),16384&t[0]&&S(n,"casinomygames",e[14])},d(e){e&&me(n)}}}function Ds(e){let n;return{c(){(n=he("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function As(n){let a,r;function i(e){return e[16]?Ds:Rs}let s=i(n),o=s(n);return{c(){a=he("div"),r=he("div"),o.c(),this.c=V,fe(r,"class","casino-most-played-section"),fe(a,"class","CasinoGamesCategorySectionContainer"),fe(a,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,r),o.m(r,null),n[20](a)},p(e,t){s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(r,null)))},i:V,o:V,d(e){e&&me(a),o.d(),n[20](null)}}}function Bs(a,e,r){let i,s,{endpoint:o=""}=e,{datasource:l=""}=e,{currency:t=""}=e,{lang:c=""}=e,{session:n=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,{casinomygames:w="false"}=e,{mostplayedperiod:x="Last30Days"}=e,{mostplayedrounds:$="10"}=e,C=window.navigator.userAgent,S=[],k=!1;return a.$$set=e=>{"endpoint"in e&&r(0,o=e.endpoint),"datasource"in e&&r(1,l=e.datasource),"currency"in e&&r(2,t=e.currency),"lang"in e&&r(3,c=e.lang),"session"in e&&r(4,n=e.session),"userid"in e&&r(5,d=e.userid),"clientstyling"in e&&r(6,u=e.clientstyling),"clientstylingurl"in e&&r(7,m=e.clientstylingurl),"livecasino"in e&&r(8,h=e.livecasino),"integratedgameframemobile"in e&&r(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&r(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&r(11,f=e.gamepagemodalurl),"visiblegames"in e&&r(12,y=e.visiblegames),"favorites"in e&&r(13,b=e.favorites),"lastPlayedEmpty"in e&&r(17,v=e.lastPlayedEmpty),"casinomygames"in e&&r(14,w=e.casinomygames),"mostplayedperiod"in e&&r(18,x=e.mostplayedperiod),"mostplayedrounds"in e&&r(19,$=e.mostplayedrounds)},a.$$.update=()=>{if(41&a.$$.dirty[0]&&o&&d&&c&&(e={limit:100,device:st(C),rounds:$},t=new URL(`${o}/player/${d}/games/most-played`),e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x),(n=e.device)?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),i=h?t:t.href,new Promise((e,t)=>{fetch(i).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(o+"/casino/games/"+e.gameId);e.searchParams.append("datasource",l),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{S=e.map(e=>e[0]),"true"===w&&(S=S.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:S},window.location.href)})}else r(16,k=!0)})),32832&a.$$.dirty[0]&&u&&s&&((n=document.createElement("style")).innerHTML=u,s.appendChild(n)),32896&a.$$.dirty[0]&&m&&s){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,t,n;8&a.$$.dirty[0]&&c&&(e=c,rt.set(e))},[o,l,t,c,n,d,u,m,h,p,g,f,y,b,w,s,k,v,x,$,function(e){at[e?"unshift":"push"](()=>{s=e,r(15,s)})}]}function Ns(e,t){Sa(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Is,Ps,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:18,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,casinomygames:14,lastplayedunique:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),m()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Bs,As,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:17,casinomygames:14,mostplayedperiod:18,mostplayedrounds:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),m()}get lastPlayedEmpty(){return this.$$.ctx[17]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),m()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get mostplayedrounds(){return this.$$.ctx[19]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});const Os={en:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},"zh-hk":{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},de:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},it:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},fr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},es:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},tr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ru:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ro:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hu:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pt:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}}};function Hs(e,t,n){e=e.slice();return e[42]=t[n],e}function js(t){let r,n,i,a,s,e,o=t[26],l=[];for(let e=0;e<o.length;e+=1)l[e]=Ys(Hs(t,o,e));function c(e){return"Favorites"==e[24]?Ks:"MostPlayed"==e[24]?Zs:"LastPlayed"==e[24]?Vs:void 0}let d=c(t),u=d&&d(t);return{c(){r=he("div"),n=he("div"),i=he("div");for(let e=0;e<l.length;e+=1)l[e].c();a=ge(),s=he("div"),u&&u.c(),fe(i,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(r,"class",e="CasinoMyGames "+(t[25]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,i);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(i,null);de(r,a),de(r,s),u&&u.m(s,null)},p(t,n){if(1023467520&n[0]){let e;for(o=t[26],e=0;e<o.length;e+=1){var a=Hs(t,o,e);l[e]?l[e].p(a,n):(l[e]=Ys(a),l[e].c(),l[e].m(i,null))}for(;e<l.length;e+=1)l[e].d(1);l.length=o.length}d===(d=c(t))&&u?u.p(t,n):(u&&u.d(1),(u=d&&d(t))&&(u.c(),u.m(s,null))),33554432&n[0]&&e!==(e="CasinoMyGames "+(t[25]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),H(l,e),u&&u.d()}}}function Us(n){let a,r,i,s,o,l,c,d,u,m,h=n[28]("Translations.favorites")+"";return{c(){a=he("button"),r=pe(h),i=ge(),s=he("span"),o=pe("("),l=pe(n[27]),c=pe(")"),fe(a,"class",d="MyGamesButton "+("Favorites"==n[24]?"Active":"")+" "+("false"==n[13]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),de(a,s),de(s,o),de(s,l),de(s,c),u||(m=K(a,"click",n[31]),u=!0)},p(e,t){268435456&t[0]&&h!==(h=e[28]("Translations.favorites")+"")&&ye(r,h),134217728&t[0]&&ye(l,e[27]),16785408&t[0]&&d!==(d="MyGamesButton "+("Favorites"==e[24]?"Active":"")+" "+("false"==e[13]?"Off":""))&&fe(a,"class",d)},d(e){e&&me(a),u=!1,m()}}}function zs(n){let a,r,i,s,o,l=n[28]("Translations.mostPlayed")+"";return{c(){a=he("button"),r=pe(l),fe(a,"class",i="MyGamesButton "+("MostPlayed"==n[24]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),s||(o=K(a,"click",n[32]),s=!0)},p(e,t){268435456&t[0]&&l!==(l=e[28]("Translations.mostPlayed")+"")&&ye(r,l),16793600&t[0]&&i!==(i="MyGamesButton "+("MostPlayed"==e[24]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(a,"class",i)},d(e){e&&me(a),s=!1,o()}}}function Ws(n){let a,r,i,s,o,l,c=n[28]("Translations.recentlyPlayed")+"";return{c(){a=he("button"),r=pe(c),i=ge(),fe(a,"class",s="MyGamesButton "+("LastPlayed"==n[24]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),o||(l=K(a,"click",n[33]),o=!0)},p(e,t){268435456&t[0]&&c!==(c=e[28]("Translations.recentlyPlayed")+"")&&ye(r,c),16809984&t[0]&&s!==(s="MyGamesButton "+("LastPlayed"==e[24]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(a,"class",s)},d(e){e&&me(a),o=!1,l()}}}function Ys(e){let n,a,r,i="Favorites"==e[42]&&Us(e),s="MostPlayed"==e[42]&&zs(e),o="LastPlayed"==e[42]&&Ws(e);return{c(){i&&i.c(),n=ge(),s&&s.c(),a=ge(),o&&o.c(),r=l()},m(e,t){i&&i.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,a,t),o&&o.m(e,t),ue(e,r,t)},p(e,t){"Favorites"==e[42]?i?i.p(e,t):((i=Us(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"MostPlayed"==e[42]?s?s.p(e,t):((s=zs(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null),"LastPlayed"==e[42]?o?o.p(e,t):((o=Ws(e)).c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){i&&i.d(e),e&&me(n),s&&s.d(e),e&&me(a),o&&o.d(e),e&&me(r)}}}function Vs(e){let n;return{c(){S(n=he("casino-last-played-section"),"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"favorites",e[13]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"lastplayedperiod",e[17]),S(n,"lastplayedorder",e[19]),S(n,"lastplayedlimit",e[20]),S(n,"lastplayedunique",e[21]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[11]),S(n,"integratedgameframemobile",e[12]),S(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),8192&t[0]&&S(n,"favorites",e[13]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),131072&t[0]&&S(n,"lastplayedperiod",e[17]),524288&t[0]&&S(n,"lastplayedorder",e[19]),1048576&t[0]&&S(n,"lastplayedlimit",e[20]),2097152&t[0]&&S(n,"lastplayedunique",e[21]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),2048&t[0]&&S(n,"integratedgameframedesktop",e[11]),4096&t[0]&&S(n,"integratedgameframemobile",e[12]),65536&t[0]&&S(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function Zs(e){let n;return{c(){S(n=he("casino-most-played-section"),"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"userid",e[0]),S(n,"favorites",e[13]),S(n,"categoryindex","0"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"mostplayedrounds",e[22]),S(n,"integratedgameframedesktop",e[11]),S(n,"integratedgameframemobile",e[12]),S(n,"mostplayedperiod",e[18]),S(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),4194304&t[0]&&S(n,"mostplayedrounds",e[22]),2048&t[0]&&S(n,"integratedgameframedesktop",e[11]),4096&t[0]&&S(n,"integratedgameframemobile",e[12]),262144&t[0]&&S(n,"mostplayedperiod",e[18]),65536&t[0]&&S(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function Ks(e){let n;return{c(){S(n=he("casino-favorites-section"),"session",e[1]),S(n,"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"favorites",e[13]),S(n,"categoryid","FAVORITES"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[11]),S(n,"integratedgameframemobile",e[12]),S(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),2048&t[0]&&S(n,"integratedgameframedesktop",e[11]),4096&t[0]&&S(n,"integratedgameframemobile",e[12]),65536&t[0]&&S(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function Xs(n){let a;function r(e){if(e[16])return js}let i=r(n),s=i&&i(n);return{c(){a=he("div"),s&&s.c(),this.c=V},m(e,t){ue(e,a,t),s&&s.m(a,null),n[34](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s&&s.d(1),(s=i&&i(e))&&(s.c(),s.m(a,null)))},i:V,o:V,d(e){e&&me(a),s&&s.d(),n[34](null)}}}function qs(t,e,n){let a;ot(t,Ua,e=>n(28,a=e));let r,{userid:i=""}=e,{session:s=""}=e,{endpoint:o=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{currency:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h=""}=e,{visiblegames:p=""}=e,{gamepagemodalurl:g=""}=e,{integratedgameframedesktop:f=""}=e,{integratedgameframemobile:y=""}=e,{translationurl:b=""}=e,{favorites:v="false"}=e,{mostplayed:w="false"}=e,{lastplayed:x="false"}=e,{casinomygames:$="false"}=e,{lastplayedperiod:C="Last30Days"}=e,{mostplayedperiod:S="Last30Days"}=e,{lastplayedorder:k=""}=e,{lastplayedlimit:T=""}=e,{lastplayedunique:_="true"}=e,{mostplayedrounds:F=""}=e,D=window.navigator.userAgent,M="",E=!1,L=["","",""],G="0";var P,I;({withLocale:P,translations:I}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&($a.set(I),rt.set(P))}),Object.keys(Os).forEach(e=>{Ns(e,Os[e])});const R=e=>{M!==e&&n(24,M=e)},A=()=>{var e;n(24,M="true"===v?"Favorites":"true"===w?"MostPlayed":"true"===x?"LastPlayed":""),n(26,L[0]="true"===v?"Favorites":"",L),n(26,L[1]="true"===w?"MostPlayed":"",L),n(26,L[2]="true"===x?"LastPlayed":"",L),e=c,rt.set(e)},B=e=>{e.data&&"UpdateCategoryFavoriteGames"===e.data.type&&n(27,G=e.data.receivedFavoriteResults.count)};return lt(()=>(window.addEventListener("message",B,!1),n(25,E=it(D)),()=>{window.removeEventListener("message",B)})),t.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,s=e.session),"endpoint"in e&&n(2,o=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"visiblegames"in e&&n(9,p=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(11,f=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(12,y=e.integratedgameframemobile),"translationurl"in e&&n(30,b=e.translationurl),"favorites"in e&&n(13,v=e.favorites),"mostplayed"in e&&n(14,w=e.mostplayed),"lastplayed"in e&&n(15,x=e.lastplayed),"casinomygames"in e&&n(16,$=e.casinomygames),"lastplayedperiod"in e&&n(17,C=e.lastplayedperiod),"mostplayedperiod"in e&&n(18,S=e.mostplayedperiod),"lastplayedorder"in e&&n(19,k=e.lastplayedorder),"lastplayedlimit"in e&&n(20,T=e.lastplayedlimit),"lastplayedunique"in e&&n(21,_=e.lastplayedunique),"mostplayedrounds"in e&&n(22,F=e.mostplayedrounds)},t.$$.update=()=>{if(28&t.$$.dirty[0]&&o&&l&&c&&A(),57344&t.$$.dirty[0]&&v&&w&&x&&A(),1073741824&t.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ns(e,t[e])})}).catch(e=>{console.log(e)}),8388672&t.$$.dirty[0]&&u&&r&&((e=document.createElement("style")).innerHTML=u,r.appendChild(e)),8388736&t.$$.dirty[0]&&m&&r){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e},[i,s,o,l,c,d,u,m,h,p,g,f,y,v,w,x,$,C,S,k,T,_,F,r,M,E,L,G,a,R,b,()=>R("Favorites"),()=>R("MostPlayed"),()=>R("LastPlayed"),function(e){at[e?"unshift":"push"](()=>{r=e,n(23,r)})}]}function Js(e,t){Sa(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:20px;font-weight:500;margin-right:60px;transition:linear 100ms;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;margin-right:10px}.Mobile .MyGamesButton.Active{padding-bottom:4px}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},qs,Xs,n,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,integratedgameframedesktop:11,integratedgameframemobile:12,translationurl:30,favorites:13,mostplayed:14,lastplayed:15,casinomygames:16,lastplayedperiod:17,mostplayedperiod:18,lastplayedorder:19,lastplayedlimit:20,lastplayedunique:21,mostplayedrounds:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),m()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),m()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[12]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),m()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[15]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedperiod(){return this.$$.ctx[17]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[19]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[20]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[21]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});const Qs={en:{Translations:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},"zh-hk":{Translations:{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"}},de:{Translations:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"}},it:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},fr:{Translations:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."}},es:{Translations:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"}},gr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},tr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},ru:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."}},ro:{Translations:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului. ",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre."}},hr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},hu:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},pl:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},pt:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},sl:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},sr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}}};function eo(e,t,n){e=e.slice();return e[48]=t[n],e}function to(e){let n,a,r,i;function s(e){return 1==e[13]&&e[8].length<2?ro:0!=e[11].length?ao:void 0}let o=s(e),l=o&&o(e),c=!1===e[9]&&so(e),d=2<=e[8].length&&0==e[11].length&&lo(e);return{c(){l&&l.c(),n=ge(),a=he("div"),c&&c.c(),r=ge(),d&&d.c(),fe(a,"class",i="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,a,t),c&&c.m(a,null),de(a,r),d&&d.m(a,null)},p(e,t){o===(o=s(e))&&l?l.p(e,t):(l&&l.d(1),(l=o&&o(e))&&(l.c(),l.m(n.parentNode,n))),!1===e[9]?c?c.p(e,t):((c=so(e)).c(),c.m(a,r)):c&&(c.d(1),c=null),2<=e[8].length&&0==e[11].length?d?d.p(e,t):((d=lo(e)).c(),d.m(a,null)):d&&(d.d(1),d=null),8192&t[0]&&i!==(i="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))&&fe(a,"class",i)},d(e){l&&l.d(e),e&&me(n),e&&me(a),c&&c.d(),d&&d.d()}}}function no(e){let n,a,r=e[17]("Translations.loading")+"";return{c(){n=he("p"),a=pe(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.loading")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ao(e){let n,a,r=e[17]("Translations.searchResult")+"";return{c(){n=he("p"),a=pe(r),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.searchResult")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ro(e){let n,a,r,i,s=e[17]("Translations.recentSearch")+"",o=0==e[11].length&&io(e);return{c(){n=he("p"),a=pe(s),r=ge(),o&&o.c(),i=l(),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,a),ue(e,r,t),o&&o.m(e,t),ue(e,i,t)},p(e,t){131072&t[0]&&s!==(s=e[17]("Translations.recentSearch")+"")&&ye(a,s),0==e[11].length?o?o.p(e,t):((o=io(e)).c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(e){e&&me(n),e&&me(r),o&&o.d(e),e&&me(i)}}}function io(e){let n,a,r,i=e[17]("Translations.noRecentSearches")+"";return{c(){n=he("div"),a=he("p"),r=pe(i),fe(a,"class","SearchMessage"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,a),de(a,r)},p(e,t){131072&t[0]&&i!==(i=e[17]("Translations.noRecentSearches")+"")&&ye(r,i)},d(e){e&&me(n)}}}function so(t){let r,i=t[11],s=[];for(let e=0;e<i.length;e+=1)s[e]=oo(eo(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);ue(t,r,n)},p(t,n){if(1149183&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var a=eo(t,i,e);s[e]?s[e].p(a,n):(s[e]=oo(a),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){H(s,e),e&&me(r)}}}function oo(e){let n,a,r,i,s,o,l,c,d,u,m;return{c(){S(n=he("casino-game-thumbnail"),"endpoint",e[0]),S(n,"session",e[15]),S(n,"userid",e[16]),S(n,"favorites",e[7]),S(n,"lang",e[1]),S(n,"gamethumbnail",a=e[48].thumbnail),S(n,"gamename",r=e[48].name),S(n,"gamevendor",i=e[48].vendor.name),S(n,"gameisnew",s=e[48].isNew),S(n,"gametag",o=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags)),S(n,"gamecellsize",l=e[48].cellSize),S(n,"gameid",c=e[48].id),S(n,"gamefunmode",d=e[48].hasFunMode),S(n,"gamefavorite",u=e[48].isFavorite),S(n,"livelobbyendpoint",m=e[48].details?e[48].launchUrl:""),S(n,"integratedgameframedesktop",e[4]),S(n,"integratedgameframemobile",e[5]),S(n,"clientstyling",e[2]),S(n,"clientstylingurl",e[3]),S(n,"gamepagemodalurl",e[6])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"endpoint",e[0]),32768&t[0]&&S(n,"session",e[15]),65536&t[0]&&S(n,"userid",e[16]),128&t[0]&&S(n,"favorites",e[7]),2&t[0]&&S(n,"lang",e[1]),2048&t[0]&&a!==(a=e[48].thumbnail)&&S(n,"gamethumbnail",a),2048&t[0]&&r!==(r=e[48].name)&&S(n,"gamename",r),2048&t[0]&&i!==(i=e[48].vendor.name)&&S(n,"gamevendor",i),2048&t[0]&&s!==(s=e[48].isNew)&&S(n,"gameisnew",s),2048&t[0]&&o!==(o=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags))&&S(n,"gametag",o),2048&t[0]&&l!==(l=e[48].cellSize)&&S(n,"gamecellsize",l),2048&t[0]&&c!==(c=e[48].id)&&S(n,"gameid",c),2048&t[0]&&d!==(d=e[48].hasFunMode)&&S(n,"gamefunmode",d),2048&t[0]&&u!==(u=e[48].isFavorite)&&S(n,"gamefavorite",u),2048&t[0]&&m!==(m=e[48].details?e[48].launchUrl:"")&&S(n,"livelobbyendpoint",m),16&t[0]&&S(n,"integratedgameframedesktop",e[4]),32&t[0]&&S(n,"integratedgameframemobile",e[5]),4&t[0]&&S(n,"clientstyling",e[2]),8&t[0]&&S(n,"clientstylingurl",e[3]),64&t[0]&&S(n,"gamepagemodalurl",e[6])},d(e){e&&me(n)}}}function lo(e){let n,a,r,i,s,o,l=e[17]("Translations.notFound")+"",c=e[17]("Translations.notFoundText")+"";return{c(){n=he("div"),a=he("p"),r=pe(l),i=ge(),s=he("p"),o=pe(c),fe(a,"class","SearchMessage"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(n,i),de(n,s),de(s,o)},p(e,t){131072&t[0]&&l!==(l=e[17]("Translations.notFound")+"")&&ye(r,l),131072&t[0]&&c!==(c=e[17]("Translations.notFoundText")+"")&&ye(o,c)},d(e){e&&me(n)}}}function co(n){let a,r,i,s,o,l,c,d,u,m,h,p,g,f,y,b,v,w,x,$=n[17]("Translations.cancel")+"";function C(e){return e[14]?no:to}let S=C(n),k=S(n);return{c(){a=he("div"),r=he("div"),(i=he("div")).innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',s=ge(),o=he("input"),c=ge(),d=he("span"),u=j("svg"),m=j("path"),p=ge(),g=he("small"),f=pe($),v=ge(),k.c(),this.c=V,fe(i,"class","SearchIcon"),fe(o,"class","SearchInput"),fe(o,"type","search"),fe(o,"placeholder",l=n[17]("Translations.placeHolderSearchGames")),fe(o,"maxlength",50),fe(m,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(m,"stroke","#717171"),fe(m,"stroke-width","2"),fe(m,"stroke-linecap","round"),fe(m,"stroke-linejoin","round"),fe(u,"width","11"),fe(u,"height","11"),fe(u,"fill","none"),fe(u,"xmlns","http://www.w3.org/2000/svg"),fe(d,"class",h="SearchClearButton "+(0!=n[8].length?"":"NotVisible")),fe(g,"class",y="SearchCancelButton "+(n[9]?"NotVisible":"")),fe(r,"class",b="Search "+(n[9]?"":"SearchAnimation")),fe(a,"class",("PC"!==st(n[18])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),E(o,n[8]),n[29](o),de(r,c),de(r,d),de(d,u),de(u,m),de(r,p),de(r,g),de(g,f),de(a,v),k.m(a,null),n[32](a),w||(x=[K(o,"input",n[28]),K(o,"focus",n[19]),K(d,"click",n[30]),K(g,"click",n[31])],w=!0)},p(e,t){131072&t[0]&&l!==(l=e[17]("Translations.placeHolderSearchGames"))&&fe(o,"placeholder",l),256&t[0]&&o.value!==e[8]&&E(o,e[8]),256&t[0]&&h!==(h="SearchClearButton "+(0!=e[8].length?"":"NotVisible"))&&fe(d,"class",h),131072&t[0]&&$!==($=e[17]("Translations.cancel")+"")&&ye(f,$),512&t[0]&&y!==(y="SearchCancelButton "+(e[9]?"NotVisible":""))&&fe(g,"class",y),512&t[0]&&b!==(b="Search "+(e[9]?"":"SearchAnimation"))&&fe(r,"class",b),S===(S=C(e))&&k?k.p(e,t):(k.d(1),(k=S(e))&&(k.c(),k.m(a,null)))},i:V,o:V,d(e){e&&me(a),n[29](null),k.d(),n[32](null),w=!1,Z(x)}}}function uo(a,e,s){let t;ot(a,Ua,e=>s(17,t=e));let n,r,i,o,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{integratedgameframedesktop:g="false"}=e,{integratedgameframemobile:f="false"}=e,{gamepagemodalurl:y="true"}=e,{translationurl:b=""}=e,{showfavorites:v=""}=e,w=window.navigator.userAgent,x=[],$=[],C={},S="",k=!0,T=!1,_=!1,F=!1,M=[];Object.keys(Qs).forEach(e=>{Js(e,Qs[e])});const E=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===($=($=localStorage.getItem("searchedGamesWds_casino"))?$.split(","):[]).indexOf(t))&&($.unshift(t),n=$.join(","),localStorage.setItem("searchedGamesWds_casino",n))}"UserSessionID"==e.data.type&&(s(15,i=e.data.session),s(16,o=e.data.userid),s(27,F=!0)),"CategoryChange"==e.data.type&&P()},L=()=>{if(s(9,k=!1),s(13,T=!0),l&&c&&m&&S.length<2){s(11,x=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],a=0,r=(t=e?e.split(","):t).length;if(0<r){for(a=0;a<r;a++){var i=new URL(l+"/casino/games/"+t[a]);i.searchParams.append("language",m),i.searchParams.append("datasource",c),i.searchParams.append("platform",st(w)),n.push(((e,a)=>new Promise((t,n)=>{s(14,_=!0),a&&Object.keys(C).indexOf(a)>=0?(s(14,_=!1),t(C[a])):fetch(e).then(e=>e.json()).then(e=>{s(14,_=!1),e.error||(C[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{s(14,_=!1),console.error(e),n(e)})}))(i,t[a]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),s(11,x=e.map(e=>(e.isFavorite=G(e.id),e)))})}}R(T),"function"==typeof gtag&>ag("event","SearchInitialized",{context:"SearchWidget"})},G=t=>-1!==M.findIndex(e=>e==t),P=()=>{s(8,S=""),s(9,k=!0),s(14,_=!1),s(11,x=[]),s(13,T=!1),R(T)},I=()=>{s(8,S=""),n.focus()},R=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e})};return lt(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),a.$$set=e=>{"endpoint"in e&&s(0,l=e.endpoint),"datasource"in e&&s(23,c=e.datasource),"session"in e&&s(24,d=e.session),"userid"in e&&s(25,u=e.userid),"lang"in e&&s(1,m=e.lang),"clientstyling"in e&&s(2,h=e.clientstyling),"clientstylingurl"in e&&s(3,p=e.clientstylingurl),"integratedgameframedesktop"in e&&s(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(5,f=e.integratedgameframemobile),"gamepagemodalurl"in e&&s(6,y=e.gamepagemodalurl),"translationurl"in e&&s(26,b=e.translationurl),"showfavorites"in e&&s(7,v=e.showfavorites)},a.$$.update=()=>{if(8389379&a.$$.dirty[0])if(2<=S.length){const a=new URL(l+"/casino/games");a.searchParams.append("datasource",c),a.searchParams.append("expand","vendor"),a.searchParams.append("platform",st(w)),a.searchParams.append("language",m),a.searchParams.append("pagination","offset=0,limit=30"),a.searchParams.append("filter","name="+S),e=a,new Promise((t,n)=>{s(14,_=!0),fetch(e.href).then(e=>e.json()).then(e=>{s(14,_=!1),t(e)}).catch(e=>{s(14,_=!1),console.error(e),n(e)})}).then(e=>{s(11,x=e.items.map(e=>(e.isFavorite=G(e.id),e)))})}else k||L();var e,t,n;if(2&a.$$.dirty[0]&&m&&(n=m,rt.set(n)),67108864&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Js(e,t[e])})}).catch(e=>{console.log(e)}),50331648&a.$$.dirty[0]&&d&&u&&(s(27,F=!0),s(15,i=d),s(16,o=u)),134217856&a.$$.dirty[0]&&v&&F&&(n=new URL(`${l}/player/${o}/favorites/`),s(14,_=!0),t={method:"GET",headers:{"X-SessionID":i}},fetch(n.href,t).then(e=>e.json()).then(e=>{s(14,_=!1),M=e.items.map(e=>e.id)})),1028&a.$$.dirty[0]&&h&&r&&((t=document.createElement("style")).innerHTML=h,r.appendChild(t)),1032&a.$$.dirty[0]&&p&&r){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[l,m,h,p,g,f,y,v,S,k,r,x,n,T,_,i,o,t,w,L,a=>{if(0===(null==a?void 0:a.length))return"";let r,i,s=99999999999;const o=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Xa(e).diff(o)<s&&(s=Xa(e).diff(o),i=t),Xa(o).isAfter(n)&&Xa(o).isBefore(e)&&(r=a[i].name)}),r},P,I,c,d,u,b,F,function(){S=this.value,s(8,S)},function(e){at[e?"unshift":"push"](()=>{n=e,s(12,n)})},()=>I(),()=>P(),function(e){at[e?"unshift":"push"](()=>{r=e,s(10,r)})}]}function mo(e,{delay:t=0,duration:n=400,easing:a=v}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:a,css:e=>"opacity: "+e*r}}function ho(n){let a,r,i,s,o,l,c,d,t,u,m,h;return{c(){a=he("div"),r=he("div"),(i=he("div")).innerHTML="<slot></slot>",s=ge(),o=he("span"),(l=he("slot")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(l,"name","close"),fe(o,"class",c="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"),X(()=>n[19].call(r)),fe(a,"part","CustomStylingContainer")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),de(o,l),n[18](r),d=function(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=he("iframe"),a=(n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1,function(){if(void 0===L){L=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){L=!0}}return L}());let r;return a?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=K(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{r=K(n.contentWindow,"resize",t),t()}),de(e,n),()=>{(a||r&&n.contentWindow)&&r(),me(n)}}(r,n[19].bind(r)),n[20](a),u=!0,m||(h=K(o,"click",n[8]),m=!0)},p(e,t){n=e,(!u||10&t&&c!==(c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")))&&fe(o,"class",c)},i(e){u||(X(()=>{u&&(t=t||se(r,mo,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||se(r,mo,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&me(a),n[18](null),d(),e&&t&&t.end(),n[20](null),m=!1,h()}}}function po(e){let n,a,r=e[7]&&ho(e);return{c(){r&&r.c(),n=l(),this.c=V},m(e,t){r&&r.m(e,t),ue(e,n,t),a=!0},p(e,[t]){e[7]?r?(r.p(e,t),128&t&&ae(r,1)):((r=ho(e)).c(),ae(r,1),r.m(n.parentNode,n)):r&&(ne={r:0,c:[],p:ne},re(r,1,1,()=>{r=null}),ne.r||Z(ne.c),ne=ne.p)},i(e){a||(ae(r),a=!0)},o(e){re(r),a=!1},d(e){r&&r.d(e),e&&me(n)}}}function go(t,e,n){let a,i,r,s,{duration:o=350}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{identifier:u=""}=e,{clientstylingurl:m=""}=e,{endpoint:h=""}=e,{haspanicbutton:p="false"}=e,{gamepagemodalurl:g="false"}=e,{sessioncheck:f="true"}=e,{integratedgameframedesktop:y="false"}=e,b=window.navigator.userAgent,v=!1,w=!1,x=!1;const $=e=>{var t;"ShowModal"==e.data.type&&u==e.data.identifier&&(n(7,x=!0),window.postMessage({type:"DisableScroll"},window.location.href)),"ModalClosed"!=e.data.type||"false"==y&&!it(b)||n(7,x=!1),"ShowGameModal"===e.data.type&&(n(7,x=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrameModal"===e.data.type&&(n(7,x=!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:a?getComputedStyle(a).width:null,modalHeight:a?getComputedStyle(a).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(w=e.data.detailsObtained)},C=e=>{var t;w&&(t={modalWidth:getComputedStyle(a).width,modalHeight:getComputedStyle(a).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return lt(()=>(n(3,v=it(b)),window.addEventListener("message",$,!1),window.addEventListener("resize",C,!1),()=>{window.removeEventListener("message",$),window.removeEventListener("resize",$)})),t.$$set=e=>{"duration"in e&&n(0,o=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"identifier"in e&&n(12,u=e.identifier),"clientstylingurl"in e&&n(13,m=e.clientstylingurl),"endpoint"in e&&n(14,h=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(15,g=e.gamepagemodalurl),"sessioncheck"in e&&n(16,f=e.sessioncheck),"integratedgameframedesktop"in e&&n(17,y=e.integratedgameframedesktop)},t.$$.update=()=>{if(17920&t.$$.dirty&&l&&c&&h&&"true"==f&&(a=h,r=l,new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",r),Ne(a+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)})),2052&t.$$.dirty&&d&&i&&((e=document.createElement("style")).innerHTML=d,i.appendChild(e)),8196&t.$$.dirty&&m&&i){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,a,r},[o,p,i,v,a,void 0,void 0,x,()=>{n(7,x=!1),n(3,v=it(b)),window.postMessage({type:"ModalClosed",gamepagemodalurl:g,mobileView:v},window.location.href)},l,c,d,u,m,h,g,f,y,function(e){at[e?"unshift":"push"](()=>{a=e,n(4,a)})},function(){r=this.clientWidth,s=this.clientHeight,n(5,r),n(6,s)},function(e){at[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function fo(e,t,n){e=e.slice();return e[26]=t[n],e[27]=t,e[28]=n,e}function yo(e,t,n){e=e.slice();return e[29]=t[n],e[28]=n,e}function bo(t){let r,n,i,a,e,s=t[3],o=[];for(let e=0;e<s.length;e+=1)o[e]=ko(fo(t,s,e));return{c(){r=he("div"),n=he("div"),i=pe(t[1]),a=ge();for(let e=0;e<o.length;e+=1)o[e].c();fe(n,"class","CasinoCalendarDailyDay"),fe(r,"class",e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,i),de(r,a);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null)},p(t,n){if(2&n&&ye(i,t[1]),409&n){let e;for(s=t[3],e=0;e<s.length;e+=1){var a=fo(t,s,e);o[e]?o[e].p(a,n):(o[e]=ko(a),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=s.length}64&n&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),H(o,e)}}}function vo(e){let n;return{c(){(n=he("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function wo(e){let n,a;return{c(){n=j("svg"),fe(a=j("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","currentColor"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&me(n)}}}function xo(e){let n,a;return{c(){n=j("svg"),fe(a=j("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","currentColor"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&me(n)}}}function $o(t){let a,r,i=t[26].details,s=[];for(let e=0;e<i.length;e+=1)s[e]=Co(yo(t,i,e));let o=t[26].detailsExpanded&&So(t);return{c(){for(let e=0;e<s.length;e+=1)s[e].c();a=ge(),o&&o.c(),r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);ue(t,a,n),o&&o.m(t,n),ue(t,r,n)},p(t,n){if(280&n){let e;for(i=t[26].details,e=0;e<i.length;e+=1){const o=yo(t,i,e);s[e]?s[e].p(o,n):(s[e]=Co(o),s[e].c(),s[e].m(a.parentNode,a))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}t[26].detailsExpanded?o?o.p(t,n):((o=So(t)).c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){H(s,e),e&&me(a),o&&o.d(e),e&&me(r)}}}function Co(n){let a,r,i,s,o,l,c,d,u=n[29].title+"";function m(){return n[18](n[26],n[28])}return{c(){a=he("div"),r=he("div"),i=he("button"),s=pe(u),fe(i,"class",o="HeaderButton "+(n[29].expandedTab?"Active":"")),fe(r,"class","Header"),fe(a,"class",l=n[28]==n[4]?"SelectedTab":""),fe(a,"id","CollapseMoreInfoButton"),T(a,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),c||(d=K(i,"click",m),c=!0)},p(e,t){n=e,8&t&&u!==(u=n[29].title+"")&&ye(s,u),8&t&&o!==(o="HeaderButton "+(n[29].expandedTab?"Active":""))&&fe(i,"class",o),16&t&&l!==(l=n[28]==n[4]?"SelectedTab":"")&&fe(a,"class",l),8&t&&T(a,"height",n[26].expandedInfo?"100%":"")},d(e){e&&me(a),c=!1,d()}}}function So(e){let n,a,r,i=e[26].details[e[4]].description+"";return{c(){n=he("div"),a=pe(i),fe(n,"class",r="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){24&t&&i!==(i=e[26].details[e[4]].description+"")&&ye(a,i),24&t&&r!==(r="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))&&fe(n,"class",r)},d(e){e&&me(n)}}}function ko(n){let a,r,i,s,o,l,c,d,u,m,h,p,g,f,y,b,v,w,x,$,C=n[26].title+"",S=n[26].description+"";function k(e){return 1==e[26].expandedInfo?xo:wo}let T=k(n),_=T(n);function F(){return n[17](n[26],n[27],n[28])}let M=1==n[26].expandedInfo&&$o(n);return{c(){a=he("div"),r=he("div"),i=pe(C),s=ge(),o=he("div"),l=he("img"),u=ge(),m=he("div"),h=pe(S),p=ge(),g=he("div"),f=he("button"),y=pe(n[0]),b=ge(),_.c(),v=ge(),M&&M.c(),w=ge(),fe(r,"class","CasinoCalendarDailyTitle"),fe(l,"class","CasinoCalendarFitImage"),ce(l.src,c=n[26].image)||fe(l,"src",c),fe(l,"alt",d=n[26].image),fe(o,"class","CasinoCalendarImage"),fe(m,"class","CasinoCalendarDailyDescription"),fe(f,"class","MoreInfoButton"),fe(g,"class","CasinoCalendarTabs"),fe(a,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(a,s),de(a,o),de(o,l),de(a,u),de(a,m),de(m,h),de(a,p),de(a,g),de(g,f),de(f,y),de(f,b),_.m(f,null),de(g,v),M&&M.m(g,null),de(a,w),x||($=K(f,"click",F),x=!0)},p(e,t){n=e,8&t&&C!==(C=n[26].title+"")&&ye(i,C),8&t&&!ce(l.src,c=n[26].image)&&fe(l,"src",c),8&t&&d!==(d=n[26].image)&&fe(l,"alt",d),8&t&&S!==(S=n[26].description+"")&&ye(h,S),1&t&&ye(y,n[0]),T!==(T=k(n))&&(_.d(1),_=T(n))&&(_.c(),_.m(f,null)),1==n[26].expandedInfo?M?M.p(n,t):((M=$o(n)).c(),M.m(g,null)):M&&(M.d(1),M=null)},d(e){e&&me(a),_.d(),M&&M.d(),x=!1,$()}}}function To(n){let a;function r(e){return e[5]?vo:bo}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=V},m(e,t){ue(e,a,t),s.m(a,null),n[19](a)},p(e,[t]){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:V,o:V,d(e){e&&me(a),s.d(),n[19](null)}}}function _o(t,e,a){let n,{dailybackground:r=""}=e,{dailybuttontitle:i=""}=e,{dailyday:s=""}=e,{dailydescription:o="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{translationUrl:h=""}=e,p=[],g=0,f=!0,y=!1,b=window.navigator.userAgent;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&($a.set(w),rt.set(v))});const x=e=>{"DailyEventsData"==e.data.type&&(a(5,f=!1),a(3,p=e.data.data),p.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.details.forEach((e,t)=>{e.expandedTab=0==t})})),"ModalClosed"==e.data.type&&(a(4,g=0),p.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t}))},$=e=>{a(4,g=0),a(3,p[e].detailsExpanded=!p[e].detailsExpanded,p),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},C=(e,t)=>{a(4,g=t),e.details.forEach((e,t)=>{e.expandedTab=g==t})};return lt(()=>(window.addEventListener("message",x,!1),it(b)&&a(6,y=!0),()=>{window.removeEventListener("message",x)})),t.$$set=e=>{"dailybackground"in e&&a(9,r=e.dailybackground),"dailybuttontitle"in e&&a(0,i=e.dailybuttontitle),"dailyday"in e&&a(1,s=e.dailyday),"dailydescription"in e&&a(10,o=e.dailydescription),"dailyicon"in e&&a(11,l=e.dailyicon),"dailytitle"in e&&a(12,c=e.dailytitle),"lang"in e&&a(13,d=e.lang),"clientstyling"in e&&a(14,u=e.clientstyling),"clientstylingurl"in e&&a(15,m=e.clientstylingurl),"translationUrl"in e&&a(16,h=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty&&d&&(e=d,rt.set(e)),16388&t.$$.dirty&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),32772&t.$$.dirty&&m&&n){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[i,s,n,p,g,f,y,$,C,r,o,l,c,d,u,m,h,(e,t,n)=>{a(3,t[n].expandedInfo=!e.expandedInfo,p),$(n)},(e,t)=>{C(e,t)},function(e){at[e?"unshift":"push"](()=>{n=e,a(2,n)})}]}function Fo(n){let a,r,i,s,o,l,c,d,u,m,h,p,g,f,y,b,v,w,x,$,C,S,k;return{c(){a=he("div"),r=he("div"),i=he("div"),s=he("div"),(o=he("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=ge(),c=he("div"),d=he("div"),u=he("img"),h=ge(),p=he("div"),g=pe(n[2]),f=ge(),y=he("div"),b=ge(),v=he("div"),w=he("button"),x=pe(n[3]),this.c=V,fe(o,"class","CalendarBar"),ce(u.src,m=n[1])||fe(u,"src",m),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(p,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(v,"class","CasinoCalendarDailyItemButton"),fe(c,"class",$="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),T(c,"background-image","url('"+n[0]+"')"),T(c,"background-size","cover"),T(c,"background-position","center"),T(c,"-webkit-background-size","cover"),T(c,"-moz-background-size","cover"),T(c,"-o-background-size","cover"),fe(s,"class","CalendarCard"),fe(i,"class","CasinoCalendarItems"),fe(r,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(s,o),de(s,l),de(s,c),de(c,d),de(d,u),de(c,h),de(c,p),de(p,g),de(c,f),de(c,y),n[14](y),de(c,b),de(c,v),de(v,w),de(w,x),n[16](a),S||(k=K(w,"click",n[15]),S=!0)},p(e,[t]){2&t&&!ce(u.src,m=e[1])&&fe(u,"src",m),2&t&&fe(u,"alt",e[1]),4&t&&ye(g,e[2]),8&t&&ye(x,e[3]),16&t&&$!==($="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",$),1&t&&T(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(r,"class",C)},i:V,o:V,d(e){e&&me(a),n[14](null),n[16](null),S=!1,k()}}}function Mo(t,e,n){let a,r,{cmsendpoint:i=""}=e,{lang:s=""}=e,{dailybackground:o=""}=e,{dailyicon:l=""}=e,{dailyday:c=""}=e,{dailydescription:d="<p></p>"}=e,{dailybuttontitle:u=""}=e,{index:m="0"}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e;var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&($a.set(f),rt.set(g))});let y=!1,b=window.navigator.userAgent;const v=()=>{window.postMessage({type:"OpenCalendar",index:m},window.location.href),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};return lt(()=>{it(b)&&n(7,y=!0)}),t.$$set=e=>{"cmsendpoint"in e&&n(9,i=e.cmsendpoint),"lang"in e&&n(10,s=e.lang),"dailybackground"in e&&n(0,o=e.dailybackground),"dailyicon"in e&&n(1,l=e.dailyicon),"dailyday"in e&&n(2,c=e.dailyday),"dailydescription"in e&&n(11,d=e.dailydescription),"dailybuttontitle"in e&&n(3,u=e.dailybuttontitle),"index"in e&&n(4,m=e.index),"clientstyling"in e&&n(12,h=e.clientstyling),"clientstylingurl"in e&&n(13,p=e.clientstylingurl)},t.$$.update=()=>{if(2063&t.$$.dirty&&l&&c&&d&&u&&o&&((e=document.createElement("div")).innerHTML=d,a)&&a.append(e),4128&t.$$.dirty&&h&&r&&((e=document.createElement("style")).innerHTML=h,r.appendChild(e)),8224&t.$$.dirty&&p&&r){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[o,l,c,u,m,r,a,y,v,i,s,d,h,p,function(e){at[e?"unshift":"push"](()=>{a=e,n(6,a)})},()=>v(),function(e){at[e?"unshift":"push"](()=>{r=e,n(5,r)})}]}function Eo(e,t,n){e=e.slice();return e[12]=t[n],e[14]=n,e}function Lo(t){let a,r,e,i=t[1],s=[];for(let e=0;e<i.length;e+=1)s[e]=Io(Eo(t,i,e));let o=1==t[6]&&Ro(t);return{c(){a=he("div");for(let e=0;e<s.length;e+=1)s[e].c();r=ge(),o&&o.c(),fe(a,"class",e="CasinoCalendarItem "+(t[5]?"Mobile":""))},m(e,t){ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(a,null);de(a,r),o&&o.m(a,null)},p(t,n){if(3&n){let e;for(i=t[1],e=0;e<i.length;e+=1){const o=Eo(t,i,e);s[e]?s[e].p(o,n):(s[e]=Io(o),s[e].c(),s[e].m(a,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}1==t[6]?o?o.p(t,n):((o=Ro(t)).c(),o.m(a,null)):o&&(o.d(1),o=null),32&n&&e!==(e="CasinoCalendarItem "+(t[5]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),H(s,e),o&&o.d()}}}function Go(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function Po(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&me(n)}}}function Io(e){let n,a,r,i,s,o;return{c(){S(n=he("casino-calendar-daily-item"),"dailybackground",a=e[12].dailyBackground),S(n,"dailyicon",r=e[12].dailyIcon),S(n,"dailyday",i=e[12].dailyDay),S(n,"dailydescription",s=e[12].dailyDescription),S(n,"dailybuttontitle",o=e[12].dailyButtonTitle),S(n,"index",e[14]),S(n,"lang",e[0])},m(e,t){ue(e,n,t)},p(e,t){2&t&&a!==(a=e[12].dailyBackground)&&S(n,"dailybackground",a),2&t&&r!==(r=e[12].dailyIcon)&&S(n,"dailyicon",r),2&t&&i!==(i=e[12].dailyDay)&&S(n,"dailyday",i),2&t&&s!==(s=e[12].dailyDescription)&&S(n,"dailydescription",s),2&t&&o!==(o=e[12].dailyButtonTitle)&&S(n,"dailybuttontitle",o),1&t&&S(n,"lang",e[0])},d(e){e&&me(n)}}}function Ro(e){let n,a,r,i,s,o,l,c;return{c(){n=he("casino-modal"),S(a=he("casino-calendar-daily-details"),"dailybackground",r=e[1][e[2]].dailyBackground),S(a,"dailybuttontitle",i=e[1][e[2]].dailyButtonTitle),S(a,"dailyday",s=e[1][e[2]].dailyDay),S(a,"dailydescription",o=e[1][e[2]].dailyDescription),S(a,"dailyicon",l=e[1][e[2]].dailyIcon),S(a,"dailytitle",c=e[1][e[2]].dailyTitle),S(a,"lang",e[0]),S(n,"identifier","Calendar")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){6&t&&r!==(r=e[1][e[2]].dailyBackground)&&S(a,"dailybackground",r),6&t&&i!==(i=e[1][e[2]].dailyButtonTitle)&&S(a,"dailybuttontitle",i),6&t&&s!==(s=e[1][e[2]].dailyDay)&&S(a,"dailyday",s),6&t&&o!==(o=e[1][e[2]].dailyDescription)&&S(a,"dailydescription",o),6&t&&l!==(l=e[1][e[2]].dailyIcon)&&S(a,"dailyicon",l),6&t&&c!==(c=e[1][e[2]].dailyTitle)&&S(a,"dailytitle",c),1&t&&S(a,"lang",e[0])},d(e){e&&me(n)}}}function Do(e){let n;function a(e){return e[4]?Po:e[3]?Go:e[1]?.length?Lo:void 0}let r=a(e),i=r&&r(e);return{c(){i&&i.c(),n=l(),this.c=V},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,[t]){r===(r=a(e))&&i?i.p(e,t):(i&&i.d(1),(i=r&&r(e))&&(i.c(),i.m(n.parentNode,n)))},i:V,o:V,d(e){i&&i.d(e),e&&me(n)}}}function Ao(e,t,n){let a,{cmsendpoint:r=""}=t,{lang:i="en"}=t,s=0,o=!0,l=!1,c=!1,d=window.navigator.userAgent,u=!1;const m=e=>{var t;e.data&&"OpenCalendar"==e.data.type&&(n(2,s=e.data.index),n(6,u=!0),window.postMessage({type:"ShowModal",selectedIndex:s,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:null==(t=a[s])?void 0:t.dailyEvents})),e.data&&"ModalClosed"==e.data.type&&n(6,u=!1)};return lt(()=>(window.addEventListener("message",m,!1),it(d)&&n(5,c=!0),()=>{window.removeEventListener("message",m)})),e.$$set=e=>{"cmsendpoint"in e&&n(7,r=e.cmsendpoint),"lang"in e&&n(0,i=e.lang)},e.$$.update=()=>{129&e.$$.dirty&&r&&i&&fetch(`${r}/${i}/daily-calendar/`).then(e=>e.json()).then(e=>{n(1,a=e)}).catch(e=>{console.log(e),n(4,l=!0)}).finally(()=>{n(3,o=!1)})},[i,a,s,o,l,c,u,r]}function Bo(e,t,n){e=e.slice();return e[135]=t[n],e[137]=n,e}function No(e){let n,a,r,i,s,o,l,c="PC"!==st(e[78])&&"false"===e[13],d=c&&Ho(),u="true"==e[20]&&0==il&&!e[74]&&jo(e),m=!e[73]&&!e[72]&&"false"==e[50]&&Uo(e);function h(e){return e[68]?Yo:e[74]?void 0:Wo}let p=h(e),g=p&&p(e),f=e[70]&&"true"==e[16]&&al(e);return{c(){n=he("section"),d&&d.c(),a=ge(),r=he("casino-search"),i=ge(),u&&u.c(),s=ge(),m&&m.c(),o=ge(),g&&g.c(),l=ge(),f&&f.c(),S(r,"endpoint",e[1]),S(r,"datasource",e[2]),S(r,"lang",e[4]),S(r,"clientstyling",e[7]),S(r,"clientstylingurl",e[8]),S(r,"integratedgameframedesktop",e[28]),S(r,"integratedgameframemobile",e[29]),S(r,"translationurl",e[9]),S(r,"showfavorites",e[14]),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),T(n,"max-width",e[15]+"px")},m(e,t){ue(e,n,t),d&&d.m(n,null),de(n,a),de(n,r),de(n,i),u&&u.m(n,null),de(n,s),m&&m.m(n,null),de(n,o),g&&g.m(n,null),de(n,l),f&&f.m(n,null)},p(e,t){(c=8192&t[0]?"PC"!==st(e[78])&&"false"===e[13]:c)?d||((d=Ho()).c(),d.m(n,a)):d&&(d.d(1),d=null),2&t[0]&&S(r,"endpoint",e[1]),4&t[0]&&S(r,"datasource",e[2]),16&t[0]&&S(r,"lang",e[4]),128&t[0]&&S(r,"clientstyling",e[7]),256&t[0]&&S(r,"clientstylingurl",e[8]),268435456&t[0]&&S(r,"integratedgameframedesktop",e[28]),536870912&t[0]&&S(r,"integratedgameframemobile",e[29]),512&t[0]&&S(r,"translationurl",e[9]),16384&t[0]&&S(r,"showfavorites",e[14]),"true"!=e[20]||0!=il||e[74]?u&&(u.d(1),u=null):u?u.p(e,t):((u=jo(e)).c(),u.m(n,s)),e[73]||e[72]||"false"!=e[50]?m&&(m.d(1),m=null):m?m.p(e,t):((m=Uo(e)).c(),m.m(n,o)),p===(p=h(e))&&g?g.p(e,t):(g&&g.d(1),(g=p&&p(e))&&(g.c(),g.m(n,l))),e[70]&&"true"==e[16]?f?f.p(e,t):((f=al(e)).c(),f.m(n,null)):f&&(f.d(1),f=null),32768&t[0]&&T(n,"max-width",e[15]+"px")},d(e){e&&me(n),d&&d.d(),u&&u.d(),m&&m.d(),g&&g.d(),f&&f.d()}}}function Oo(e){let n,a,r=e[77]("casinoPage.500")+"";return{c(){n=he("p"),a=pe(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32768&t[2]&&r!==(r=e[77]("casinoPage.500")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ho(){let n;return{c(){fe(n=he("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function jo(e){let n;return{c(){S(n=he("casino-random-game"),"datasource",e[2]),S(n,"filteredrandomgamecategories",e[21]),S(n,"endpoint",e[1]),S(n,"lang",e[4]),S(n,"gameevent",e[67]),S(n,"randombuttonicon",e[63]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&S(n,"datasource",e[2]),2097152&t[0]&&S(n,"filteredrandomgamecategories",e[21]),2&t[0]&&S(n,"endpoint",e[1]),16&t[0]&&S(n,"lang",e[4]),32&t[2]&&S(n,"gameevent",e[67]),2&t[2]&&S(n,"randombuttonicon",e[63]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Uo(n){let a,r,i,s,o,l,c,d,u,m,h,p,g,f,y,b,v,w,x=n[77]("casinoPage.filters")+"",$=n[76]&&zo(n);return{c(){a=he("div"),$&&$.c(),r=ge(),i=he("div"),s=he("div"),o=pe(x),l=ge(),c=he("div"),d=j("svg"),u=j("defs"),m=j("style"),h=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),p=j("path"),g=ge(),f=he("div"),y=he("span"),b=pe(n[76]),fe(s,"class","FilterButton"),fe(s,"part","FilterButton"),fe(p,"class","a"),fe(p,"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(p,"transform","translate(-5 -6.2)"),fe(d,"xmlns","http://www.w3.org/2000/svg"),fe(d,"width","20"),fe(d,"height","20"),fe(d,"viewBox","0 0 26 26"),fe(y,"class","NumberOfFilters"),fe(y,"part","NumberOfFilters"),fe(f,"class","NumberOfFiltersContainer"),fe(f,"part","NumberOfFiltersContainer"),fe(c,"class","FilterIconContainer"),fe(c,"part","FilterIconContainer"),fe(i,"class","FilterButtonWrapper"),fe(i,"part","FilterButtonWrapper"),fe(a,"class","FiltersButtonsContainer"),fe(a,"part","FiltersButtonsContainer")},m(e,t){ue(e,a,t),$&&$.m(a,null),de(a,r),de(a,i),de(i,s),de(s,o),de(i,l),de(i,c),de(c,d),de(d,u),de(u,m),de(m,h),de(d,p),de(c,g),de(c,f),de(f,y),de(y,b),v||(w=K(i,"click",n[86]),v=!0)},p(e,t){e[76]?$?$.p(e,t):(($=zo(e)).c(),$.m(a,r)):$&&($.d(1),$=null),32768&t[2]&&x!==(x=e[77]("casinoPage.filters")+"")&&ye(o,x),16384&t[2]&&ye(b,e[76])},d(e){e&&me(a),$&&$.d(),v=!1,w()}}}function zo(n){let a,r,i,s,o,l,c,d=n[77]("casinoPage.clear")+"";return{c(){a=he("div"),r=he("div"),i=pe(d),s=ge(),(o=he("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(o,"class","ClearIcon"),fe(o,"part","ClearIcon"),fe(r,"class","ClearButton"),fe(r,"part","ClearButton"),fe(a,"class","ClearFilterButtonWrapper"),fe(a,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,o),l||(c=K(a,"click",n[85]),l=!0)},p(e,t){32768&t[2]&&d!==(d=e[77]("casinoPage.clear")+"")&&ye(i,d)},d(e){e&&me(a),l=!1,c()}}}function Wo(e){let n;function a(e){return e[73]?Ko:e[72]?Zo:Vo}let r=a(e),i=r(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i.d(1),(i=r(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Yo(e){let n,a,r=e[77]("casinoPage.loading")+"";return{c(){n=he("p"),a=pe(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32768&t[2]&&r!==(r=e[77]("casinoPage.loading")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Vo(e){let n;return{c(){S(n=he("casino-games-category-section"),"userid",e[6]),S(n,"endpoint",e[1]),S(n,"datasource",e[2]),S(n,"favorites",e[14]),S(n,"lang",e[4]),S(n,"currency",e[3]),S(n,"session",e[5]),S(n,"categoryid",e[65]),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"livecasino",e[19]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[22]),S(n,"integratedgameframedesktop",e[28]),S(n,"integratedgameframemobile",e[29]),S(n,"casinomygames",e[0]),S(n,"filterbylogo",e[52]),S(n,"addfilterselector",e[50]),S(n,"addsortingselector",e[51])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&S(n,"userid",e[6]),2&t[0]&&S(n,"endpoint",e[1]),4&t[0]&&S(n,"datasource",e[2]),16384&t[0]&&S(n,"favorites",e[14]),16&t[0]&&S(n,"lang",e[4]),8&t[0]&&S(n,"currency",e[3]),32&t[0]&&S(n,"session",e[5]),8&t[2]&&S(n,"categoryid",e[65]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),524288&t[0]&&S(n,"livecasino",e[19]),4096&t[0]&&S(n,"visiblegames",e[12]),4194304&t[0]&&S(n,"gamepagemodalurl",e[22]),268435456&t[0]&&S(n,"integratedgameframedesktop",e[28]),536870912&t[0]&&S(n,"integratedgameframemobile",e[29]),1&t[0]&&S(n,"casinomygames",e[0]),2097152&t[1]&&S(n,"filterbylogo",e[52]),524288&t[1]&&S(n,"addfilterselector",e[50]),1048576&t[1]&&S(n,"addsortingselector",e[51])},d(e){e&&me(n)}}}function Zo(e){let n;return{c(){S(n=he("casino-my-games"),"userid",e[6]),S(n,"session",e[5]),S(n,"endpoint",e[1]),S(n,"datasource",e[2]),S(n,"lang",e[4]),S(n,"currency",e[3]),S(n,"favorites",e[14]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"livecasino",e[19]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[22]),S(n,"integratedgameframedesktop",e[28]),S(n,"integratedgameframemobile",e[29]),S(n,"translationurl",e[9]),S(n,"mostplayed",e[54]),S(n,"lastplayed",e[55]),S(n,"filteredcategories",e[17]),S(n,"activecategory",e[18]),S(n,"lastplayedunique",e[60]),S(n,"categoryindex","0"),S(n,"categoryid","MYGAMES"),S(n,"casinomygames",e[0]),S(n,"lastplayedperiod",e[56]),S(n,"mostplayedperiod",e[57]),S(n,"lastplayedorder",e[58]),S(n,"lastplayedlimit",e[59]),S(n,"mostplayedrounds",e[61])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&S(n,"userid",e[6]),32&t[0]&&S(n,"session",e[5]),2&t[0]&&S(n,"endpoint",e[1]),4&t[0]&&S(n,"datasource",e[2]),16&t[0]&&S(n,"lang",e[4]),8&t[0]&&S(n,"currency",e[3]),16384&t[0]&&S(n,"favorites",e[14]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),524288&t[0]&&S(n,"livecasino",e[19]),4096&t[0]&&S(n,"visiblegames",e[12]),4194304&t[0]&&S(n,"gamepagemodalurl",e[22]),268435456&t[0]&&S(n,"integratedgameframedesktop",e[28]),536870912&t[0]&&S(n,"integratedgameframemobile",e[29]),512&t[0]&&S(n,"translationurl",e[9]),8388608&t[1]&&S(n,"mostplayed",e[54]),16777216&t[1]&&S(n,"lastplayed",e[55]),131072&t[0]&&S(n,"filteredcategories",e[17]),262144&t[0]&&S(n,"activecategory",e[18]),536870912&t[1]&&S(n,"lastplayedunique",e[60]),1&t[0]&&S(n,"casinomygames",e[0]),33554432&t[1]&&S(n,"lastplayedperiod",e[56]),67108864&t[1]&&S(n,"mostplayedperiod",e[57]),134217728&t[1]&&S(n,"lastplayedorder",e[58]),268435456&t[1]&&S(n,"lastplayedlimit",e[59]),1073741824&t[1]&&S(n,"mostplayedrounds",e[61])},d(e){e&&me(n)}}}function Ko(t){let r,i=t[75],s=[];for(let e=0;e<i.length;e+=1)s[e]=nl(Bo(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);ue(t,r,n)},p(t,n){if(2143837695&n[0]|8388607&n[1]|8193&n[2]){let e;for(i=t[75],e=0;e<i.length;e+=1){var a=Bo(t,i,e);s[e]?s[e].p(a,n):(s[e]=nl(a),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){H(s,e),e&&me(r)}}}function Xo(e){let n,a;return{c(){n=he("div"),S(a=he("casino-winners"),"session",e[5]),S(a,"userid",e[6]),S(a,"periodrecent",e[30]),S(a,"periodtop",e[31]),S(a,"numberusersrecent",e[32]),S(a,"numberuserstop",e[33]),S(a,"amountlimit",e[34]),S(a,"isrecentavailable",e[27]),S(a,"istopavailable",e[26]),S(a,"defaultcurrency",e[35]),S(a,"usercurrency",e[3]),S(a,"enableautoscroll",e[25]),S(a,"tabsorder",e[24]),S(a,"lang",e[4]),S(a,"clientstyling",e[7]),S(a,"clientstylingurl",e[8]),S(a,"endpoint",e[1]),S(a,"winnersdatasources",e[62]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){32&t[0]&&S(a,"session",e[5]),64&t[0]&&S(a,"userid",e[6]),1073741824&t[0]&&S(a,"periodrecent",e[30]),1&t[1]&&S(a,"periodtop",e[31]),2&t[1]&&S(a,"numberusersrecent",e[32]),4&t[1]&&S(a,"numberuserstop",e[33]),8&t[1]&&S(a,"amountlimit",e[34]),134217728&t[0]&&S(a,"isrecentavailable",e[27]),67108864&t[0]&&S(a,"istopavailable",e[26]),16&t[1]&&S(a,"defaultcurrency",e[35]),8&t[0]&&S(a,"usercurrency",e[3]),33554432&t[0]&&S(a,"enableautoscroll",e[25]),16777216&t[0]&&S(a,"tabsorder",e[24]),16&t[0]&&S(a,"lang",e[4]),128&t[0]&&S(a,"clientstyling",e[7]),256&t[0]&&S(a,"clientstylingurl",e[8]),2&t[0]&&S(a,"endpoint",e[1]),1&t[2]&&S(a,"winnersdatasources",e[62])},d(e){e&&me(n)}}}function qo(e){let n,a,r;return{c(){n=he("br"),a=ge(),S(r=he("casino-calendar"),"cmsendpoint",e[10]),S(r,"lang",e[4])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){1024&t[0]&&S(r,"cmsendpoint",e[10]),16&t[0]&&S(r,"lang",e[4])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function Jo(e){let n,a,r,i;return{c(){n=he("br"),a=ge(),S(r=he("jackpot-banner"),"title","Jackpot Cards"),S(r,"currency",i=e[3]||"RON"),S(r,"gameid","999"),S(r,"endpoint",e[1]),S(r,"lang",e[4]),S(r,"backgroundsrc","/assets/background0.jpg"),S(r,"backgroundsrcmobile","/assets/background0.jpg"),S(r,"titlelogopath","/assets/jackpots_logo.svg"),S(r,"caticon0","/assets/icon0.svg"),S(r,"caticon1","/assets/icon1.svg"),S(r,"caticon2","/assets/icon2.svg"),S(r,"caticon3","/assets/icon3.svg"),S(r,"visualstructure","typeSpread"),S(r,"clientstyling",e[7]),S(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){8&t[0]&&i!==(i=e[3]||"RON")&&S(r,"currency",i),2&t[0]&&S(r,"endpoint",e[1]),16&t[0]&&S(r,"lang",e[4]),128&t[0]&&S(r,"clientstyling",e[7]),256&t[0]&&S(r,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function Qo(e){let n,a,r,i;return{c(){n=he("br"),a=ge(),S(r=he("jackpot-banner"),"title","Egypt Quest"),S(r,"currency",i=e[3]||"RON"),S(r,"gameid","998"),S(r,"endpoint",e[1]),S(r,"lang",e[4]),S(r,"backgroundsrc",e[41]),S(r,"backgroundsrcmobile",e[42]),S(r,"titlelogopath",e[43]),S(r,"caticon0",e[37]),S(r,"caticon1",e[38]),S(r,"caticon2",e[39]),S(r,"caticon3",e[40]),S(r,"iconlabels",e[44]),S(r,"visualstructure",e[45]),S(r,"clientstyling",e[7]),S(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){8&t[0]&&i!==(i=e[3]||"RON")&&S(r,"currency",i),2&t[0]&&S(r,"endpoint",e[1]),16&t[0]&&S(r,"lang",e[4]),1024&t[1]&&S(r,"backgroundsrc",e[41]),2048&t[1]&&S(r,"backgroundsrcmobile",e[42]),4096&t[1]&&S(r,"titlelogopath",e[43]),64&t[1]&&S(r,"caticon0",e[37]),128&t[1]&&S(r,"caticon1",e[38]),256&t[1]&&S(r,"caticon2",e[39]),512&t[1]&&S(r,"caticon3",e[40]),8192&t[1]&&S(r,"iconlabels",e[44]),16384&t[1]&&S(r,"visualstructure",e[45]),128&t[0]&&S(r,"clientstyling",e[7]),256&t[0]&&S(r,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function el(e){let n,a;return{c(){S(n=he("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),S(n,"datasource",e[2]),S(n,"lang",e[4]),S(n,"type","vendor"),S(n,"titletype","logo"),S(n,"collectionprovidersgamenames",e[49]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&S(n,"endpoint",a),4&t[0]&&S(n,"datasource",e[2]),16&t[0]&&S(n,"lang",e[4]),262144&t[1]&&S(n,"collectionprovidersgamenames",e[49]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function tl(e){let n,a;return{c(){S(n=he("casino-collections-providers"),"endpoint",a=e[1].slice(0,-2)),S(n,"datasource",e[2]),S(n,"lang",e[4]),S(n,"type",e[47]),S(n,"collectionprovidersgamenames",e[49]),S(n,"titletype",e[48]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&a!==(a=e[1].slice(0,-2))&&S(n,"endpoint",a),4&t[0]&&S(n,"datasource",e[2]),16&t[0]&&S(n,"lang",e[4]),65536&t[1]&&S(n,"type",e[47]),262144&t[1]&&S(n,"collectionprovidersgamenames",e[49]),131072&t[1]&&S(n,"titletype",e[48]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function nl(n){let a,r,i,s,o,l,c,d,u,m,h,p,g,f=n[23]&&n[137]==+n[23]&&Xo(n),y=n[53]&&n[137]==+n[53]&&qo(n);function b(e,t){return 32&t[1]|8192&t[2]&&(i=null),32&t[1]|8192&t[2]&&(s=null),(i=null==i?!(!e[36]||e[137]!=(""==e[36].split(",")[0]?e[75].length:+e[36].split(",")[0])):i)?Qo:(s=null==s?!(!e[36]||e[137]!=(""==e[36].split(",")[1]?e[75].length:+e[36].split(",")[1])):s)?Jo:void 0}let v=b(n,[-1,-1,-1,-1,-1]),w=v&&v(n);function x(e,t){return 32768&t[1]|8192&t[2]&&(l=null),32768&t[1]|8192&t[2]&&(c=null),(l=null==l?!(!e[46]||e[137]!=(""==e[46].split(",")[0]?e[75].length:+e[46].split(",")[0])):l)?tl:(c=null==c?!(!e[46]||e[137]!=(""==e[46].split(",")[1]?e[75].length:+e[46].split(",")[1])):c)?el:void 0}let $=x(n,[-1,-1,-1,-1,-1]),C=$&&$(n);return{c(){f&&f.c(),a=ge(),y&&y.c(),r=ge(),w&&w.c(),o=ge(),C&&C.c(),d=ge(),S(u=he("casino-games-category-section"),"session",n[5]),S(u,"userid",n[6]),S(u,"endpoint",n[1]),S(u,"datasource",n[2]),S(u,"lang",n[4]),S(u,"currency",n[3]),S(u,"categoryid",m=n[135]),S(u,"categoryindex",n[137]),S(u,"categorygames","9"),S(u,"favorites",n[14]),S(u,"class","CategoryContainer"),T(u,"background-color",n[137]%2!=0?n[11]:"transparent"),S(u,"clientstyling",n[7]),S(u,"clientstylingurl",n[8]),S(u,"livecasino",n[19]),S(u,"visiblegames",n[12]),S(u,"gamepagemodalurl",n[22]),S(u,"integratedgameframedesktop",n[28]),S(u,"integratedgameframemobile",n[29]),S(u,"casinomygames",n[0]),S(u,"filterbylogo",n[52]),S(u,"addfilterselector",n[50]),S(u,"addsortingselector",n[51])},m(e,t){f&&f.m(e,t),ue(e,a,t),y&&y.m(e,t),ue(e,r,t),w&&w.m(e,t),ue(e,o,t),C&&C.m(e,t),ue(e,d,t),ue(e,u,t),p||(g=_(h=n[81].call(null,u,n[135])),p=!0)},p(e,t){(n=e)[23]&&n[137]==+n[23]?f?f.p(n,t):((f=Xo(n)).c(),f.m(a.parentNode,a)):f&&(f.d(1),f=null),n[53]&&n[137]==+n[53]?y?y.p(n,t):((y=qo(n)).c(),y.m(r.parentNode,r)):y&&(y.d(1),y=null),v===(v=b(n,t))&&w?w.p(n,t):(w&&w.d(1),(w=v&&v(n))&&(w.c(),w.m(o.parentNode,o))),$===($=x(n,t))&&C?C.p(n,t):(C&&C.d(1),(C=$&&$(n))&&(C.c(),C.m(d.parentNode,d))),32&t[0]&&S(u,"session",n[5]),64&t[0]&&S(u,"userid",n[6]),2&t[0]&&S(u,"endpoint",n[1]),4&t[0]&&S(u,"datasource",n[2]),16&t[0]&&S(u,"lang",n[4]),8&t[0]&&S(u,"currency",n[3]),8192&t[2]&&m!==(m=n[135])&&S(u,"categoryid",m),16384&t[0]&&S(u,"favorites",n[14]),2048&t[0]&&T(u,"background-color",n[137]%2!=0?n[11]:"transparent"),128&t[0]&&S(u,"clientstyling",n[7]),256&t[0]&&S(u,"clientstylingurl",n[8]),524288&t[0]&&S(u,"livecasino",n[19]),4096&t[0]&&S(u,"visiblegames",n[12]),4194304&t[0]&&S(u,"gamepagemodalurl",n[22]),268435456&t[0]&&S(u,"integratedgameframedesktop",n[28]),536870912&t[0]&&S(u,"integratedgameframemobile",n[29]),1&t[0]&&S(u,"casinomygames",n[0]),2097152&t[1]&&S(u,"filterbylogo",n[52]),524288&t[1]&&S(u,"addfilterselector",n[50]),1048576&t[1]&&S(u,"addsortingselector",n[51]),h&&k(h.update)&&8192&t[2]&&h.update.call(null,n[135])},d(e){f&&f.d(e),e&&me(a),y&&y.d(e),e&&me(r),w&&w.d(e),e&&me(o),C&&C.d(e),e&&me(d),e&&me(u),p=!1,g()}}}function al(n){let a,r,i,s=n[77]("casinoPage.breakButton")+"";return{c(){a=he("div"),r=he("button"),i=pe(s),fe(r,"class","PanicButton "+("PC"!==st(n[78])?"PanicButtonMobile ":"")),fe(r,"part","PanicButton "+("PC"!==st(n[78])?"PanicButtonMobile":"")),G(r,"PanicButtonAnimation",n[71]),fe(a,"class","PanicSection "+("PC"!==st(n[78])?"PanicSectionMobile":"")),fe(a,"part","PanicSection "+("PC"!==st(n[78])?"PanicSectionMobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[87](r)},p(e,t){32768&t[2]&&s!==(s=e[77]("casinoPage.breakButton")+"")&&ye(i,s),512&t[2]&&G(r,"PanicButtonAnimation",e[71])},d(e){e&&me(a),n[87](null)}}}function rl(n){let a;function r(e){return e[69]?Oo:No}let i=r(n),s=i(n);return{c(){a=he("div"),s.c(),this.c=V},m(e,t){ue(e,a,t),s.m(a,null),n[88](a)},p(e,t){i===(i=r(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(a,null)))},i:V,o:V,d(e){e&&me(a),s.d(),n[88](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoSearch{margin:30px 16px}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop.CasinoSearch{margin:30px 16px}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchInput{width:50%}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},uo,co,n,{endpoint:0,datasource:23,session:24,userid:25,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,gamepagemodalurl:6,translationurl:26,showfavorites:7},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","translationurl","showfavorites"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[23]}set datasource(e){this.$$set({datasource:e}),m()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get gamepagemodalurl(){return this.$$.ctx[6]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get translationurl(){return this.$$.ctx[26]}set translationurl(e){this.$$set({translationurl:e}),m()}get showfavorites(){return this.$$.ctx[7]}set showfavorites(e){this.$$set({showfavorites:e}),m()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},go,po,n,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["duration","session","userid","clientstyling","identifier","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),m()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get identifier(){return this.$$.ctx[12]}set identifier(e){this.$$set({identifier:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),m()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);cursor:pointer}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:50vw;padding:20px;text-align:center;margin-bottom:50px;overflow:scroll}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6))}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-color-primary, #D0046C)}.Mobile{max-height:70vh;margin-bottom:0}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},_o,To,n,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),m()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),m()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:scroll;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:linear-gradient(#e2e2e2, #b5b5b5);border-radius:4px 4px 0 0;border-bottom:3px solid #888;display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 16px;text-align:center;border-radius:0 0 2px 2px;color:#fff;position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:#fff;position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:72px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:80%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:10px 6px;border-radius:5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);cursor:pointer}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Mo,Fo,n,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),m()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),m()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:flex-start;text-align:left;gap:10px}.Mobile{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto\n }.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ao,Do,n,{cmsendpoint:7,lang:0},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","lang"]}get cmsendpoint(){return this.$$.ctx[7]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}});let il=!1;function sl(n,e,l){let D;ot(n,Ua,e=>l(77,D=e));let A,{endpoint:c=""}=e,{datasource:r=""}=e,{currency:B=""}=e,{lang:i=""}=e,{session:s=""}=e,{userid:o=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{translationurl:m=""}=e,{cmsendpoint:N=""}=e,{categorybackground:O=""}=e,a=e["visiblegames"],{alternativesearch:H="false"}=e,{favorites:h=""}=e,{containermaxwidth:j="1300"}=e,{lobbyid:U="casinodefault"}=e,{haspanicbutton:z="false"}=e,{filteredcategories:p=""}=e,{activecategory:g=""}=e,{livecasino:W="false"}=e,{playrandomgame:Y="false"}=e,{filteredrandomgamecategories:V=""}=e,{gamepagemodalurl:Z="false"}=e,{positionwinnerswidget:K=""}=e,{tabsorder:X=""}=e,{enableautoscroll:q=""}=e,{istopavailable:J=""}=e,{isrecentavailable:Q=""}=e,{integratedgameframedesktop:ee="false"}=e,{integratedgameframemobile:te="false"}=e,{periodrecent:ne=""}=e,{periodtop:ae=""}=e,{numberusersrecent:re=""}=e,{numberuserstop:ie=""}=e,{amountlimit:se=""}=e,{defaultcurrency:oe=""}=e,{showsubgroups:le=""}=e,{positionjackpotbanners:ce=""}=e,{caticon0:de=""}=e,{caticon1:ue=""}=e,{caticon2:me=""}=e,{caticon3:he=""}=e,{backgroundsrc:pe=""}=e,{backgroundsrcmobile:ge=""}=e,{titlelogopath:fe=""}=e,{iconlabels:ye=""}=e,{visualstructure:be=""}=e,{positioncollections:ve=""}=e,{type:we=""}=e,{titletype:xe=""}=e,{collectionprovidersgamenames:$e=""}=e,{addfilterselector:Ce="false"}=e,{addsortingselector:Se="false"}=e,{filterbylogo:ke=""}=e,{positioncasinocalendar:Te=""}=e,{casinomygames:f="false"}=e,{mostplayed:_e=""}=e,{lastplayed:Fe=""}=e,{lastplayedperiod:Me="Last30Days"}=e,{mostplayedperiod:Ee="Last30Days"}=e,{lastplayedorder:Le=""}=e,{lastplayedlimit:Ge=""}=e,{lastplayedunique:Pe="true"}=e,{mostplayedrounds:Ie=""}=e,{winnersdatasources:Re=""}=e,{randombuttonicon:De=""}=e,Ae=window.navigator.userAgent;A=it(Ae)?"OpenGameFrame":"ShowGameModal";let y,b,v,Be,w,Ne,Oe,He,x,$,C=!1,S=!1,je=!1,k="",t=!1,T=0,_=!1,F=!0,Ue=!1,ze=[],M=[],We=!1,E=[],Ye=0,L="",Ve=!1;var Ze,Ke;({withLocale:Ze,translations:Ke}={withLocale:"en",translations:{}}),rt.subscribe(e=>{null==e&&($a.set(Ke),rt.set(Ze))}),Object.keys(Wa).forEach(e=>{za(e,Wa[e])});const Xe=e=>{switch(We=!0,l(0,f="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:We},window.location.href)}),e.data.itemId){case"LOBBY":l(73,F=!0),l(72,_=!1),l(65,w="");break;case"MYGAMES":l(0,f="true"),l(73,F=!1),l(72,_=!0),l(65,w="");break;case"FAVORITES":l(73,F=!1),l(72,_=!0),l(65,w="");break;case"MOSTPLAYED":"true"==_e&&(l(65,w=""),l(73,F=!1),l(72,_=!0));break;case"LASTPLAYED":"true"==Fe&&(l(65,w=""),l(73,F=!1),l(72,_=!0));break;default:l(73,F=!1),l(72,_=!1),l(65,w=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500)}},qe=n=>{if(n.data)switch(n.data.type){case"CategoryChange":Xe(n);break;case"UserSessionID":b=n.data.session,(y=n.data.userID)&&y.length&&b&&0<b.length&&G(c,b,y);break;case"SetUnfavoredGame":t=`${c}/player/${y}/favorites`,s=b,y,o=n.data.id,E.includes(o)&&(E=E.filter(e=>e!=o)),fetch(t+"/"+o,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+o},window.location.href),Je(t,s)});break;case"SetFavoredGame":{var a=`${c}/player/${y}/favorites`;var r=b;y;var i=n.data.id;E.includes(i)||E.push(i);let e={items:E},t={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(a,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),Je(a,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":y&&y.length&&b&&0<b.length&&G(c,b,y);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),P();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),P();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:L,origin:n.data.origin},window.location.href),P();break;case"CategoryVendors":L=n.data.categoryid,P();break;case"searchCancelled":l(74,Ue=!1),w&&Xe({data:{itemId:w}});break;case"searchActive":l(74,Ue=!0);break;case"ModalClosed":break;case"SubgroupsIds":M.some(e=>n.data.subGroupsIds.includes(e))||M.push(...n.data.subGroupsIds)}var e,t,s,o};let G=(e,t,n)=>{"true"==h&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((x=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:x},window.location.href),tt(x.items)),x)).then(e=>e).catch(e=>{console.error(e)})},Je=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((x=e)&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:x},window.location.href),x)).catch(e=>{console.error(e)})};const Qe=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},et=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},tt=(e=[])=>(E=[],0<e.length&&e.forEach(e=>{E.push(e.id)}),E);const P=()=>{var e=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e&&L&&(e[L]?l(76,Ye=e[L].length):l(76,Ye=0))},nt=()=>{Ne&&(Oe=Ne.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},I=e=>{T=0,Be=setInterval(()=>{T+=1,l(71,t=!0),3<=T&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Be))},1e3)},R=e=>{T<3&&l(71,t=!1),clearInterval(Be)};return lt(()=>(window.addEventListener("scroll",nt,!1),window.addEventListener("message",qe,!1),()=>{window.removeEventListener("scroll",nt),window.removeEventListener("message",qe),l(71,t=!1),null!=v&&v.removeEventListener("mousedown",I),null!=v&&v.removeEventListener("touchstart",I),null!=v&&v.removeEventListener("mouseup",R),null!=v&&v.removeEventListener("touchend",R)})),n.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"datasource"in e&&l(2,r=e.datasource),"currency"in e&&l(3,B=e.currency),"lang"in e&&l(4,i=e.lang),"session"in e&&l(5,s=e.session),"userid"in e&&l(6,o=e.userid),"clientstyling"in e&&l(7,d=e.clientstyling),"clientstylingurl"in e&&l(8,u=e.clientstylingurl),"translationurl"in e&&l(9,m=e.translationurl),"cmsendpoint"in e&&l(10,N=e.cmsendpoint),"categorybackground"in e&&l(11,O=e.categorybackground),"visiblegames"in e&&l(12,a=e.visiblegames),"alternativesearch"in e&&l(13,H=e.alternativesearch),"favorites"in e&&l(14,h=e.favorites),"containermaxwidth"in e&&l(15,j=e.containermaxwidth),"lobbyid"in e&&l(82,U=e.lobbyid),"haspanicbutton"in e&&l(16,z=e.haspanicbutton),"filteredcategories"in e&&l(17,p=e.filteredcategories),"activecategory"in e&&l(18,g=e.activecategory),"livecasino"in e&&l(19,W=e.livecasino),"playrandomgame"in e&&l(20,Y=e.playrandomgame),"filteredrandomgamecategories"in e&&l(21,V=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(22,Z=e.gamepagemodalurl),"positionwinnerswidget"in e&&l(23,K=e.positionwinnerswidget),"tabsorder"in e&&l(24,X=e.tabsorder),"enableautoscroll"in e&&l(25,q=e.enableautoscroll),"istopavailable"in e&&l(26,J=e.istopavailable),"isrecentavailable"in e&&l(27,Q=e.isrecentavailable),"integratedgameframedesktop"in e&&l(28,ee=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(29,te=e.integratedgameframemobile),"periodrecent"in e&&l(30,ne=e.periodrecent),"periodtop"in e&&l(31,ae=e.periodtop),"numberusersrecent"in e&&l(32,re=e.numberusersrecent),"numberuserstop"in e&&l(33,ie=e.numberuserstop),"amountlimit"in e&&l(34,se=e.amountlimit),"defaultcurrency"in e&&l(35,oe=e.defaultcurrency),"showsubgroups"in e&&l(83,le=e.showsubgroups),"positionjackpotbanners"in e&&l(36,ce=e.positionjackpotbanners),"caticon0"in e&&l(37,de=e.caticon0),"caticon1"in e&&l(38,ue=e.caticon1),"caticon2"in e&&l(39,me=e.caticon2),"caticon3"in e&&l(40,he=e.caticon3),"backgroundsrc"in e&&l(41,pe=e.backgroundsrc),"backgroundsrcmobile"in e&&l(42,ge=e.backgroundsrcmobile),"titlelogopath"in e&&l(43,fe=e.titlelogopath),"iconlabels"in e&&l(44,ye=e.iconlabels),"visualstructure"in e&&l(45,be=e.visualstructure),"positioncollections"in e&&l(46,ve=e.positioncollections),"type"in e&&l(47,we=e.type),"titletype"in e&&l(48,xe=e.titletype),"collectionprovidersgamenames"in e&&l(49,$e=e.collectionprovidersgamenames),"addfilterselector"in e&&l(50,Ce=e.addfilterselector),"addsortingselector"in e&&l(51,Se=e.addsortingselector),"filterbylogo"in e&&l(52,ke=e.filterbylogo),"positioncasinocalendar"in e&&l(53,Te=e.positioncasinocalendar),"casinomygames"in e&&l(0,f=e.casinomygames),"mostplayed"in e&&l(54,_e=e.mostplayed),"lastplayed"in e&&l(55,Fe=e.lastplayed),"lastplayedperiod"in e&&l(56,Me=e.lastplayedperiod),"mostplayedperiod"in e&&l(57,Ee=e.mostplayedperiod),"lastplayedorder"in e&&l(58,Le=e.lastplayedorder),"lastplayedlimit"in e&&l(59,Ge=e.lastplayedlimit),"lastplayedunique"in e&&l(60,Pe=e.lastplayedunique),"mostplayedrounds"in e&&l(61,Ie=e.mostplayedrounds),"winnersdatasources"in e&&l(62,Re=e.winnersdatasources),"randombuttonicon"in e&&l(63,De=e.randombuttonicon)},n.$$.update=()=>{if(262160&n.$$.dirty[0]&&i&&g&&(l(65,w=g),Xe({data:{itemId:w}})),98&n.$$.dirty[0]&&s&&o&&c&&(l(70,je=!0),b=s,y=o)&&y.length&&b&&0<b.length&&"true"!=f&&G(c,b,y),4194312&n.$$.dirty[2]&&w&&M&&M&&!M.includes(decodeURI(w))&&""!=w&&window.postMessage({type:"NonExistentCategory"},window.location.href),8214&n.$$.dirty[0]&&c&&r&&i&&H&&(c||(k="Endpoint is missing! Please provide a valid endpointURL.",l(69,S=!0),l(68,C=!1),console.error(k)),r||(k="Datasource is missing! Please provide a valid datasource.",l(69,S=!0),l(68,C=!1),console.error(k)),(!i||i.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",l(69,S=!0),l(68,C=!1),console.error(k)),S||(l(68,C=!0),"true"==h&&G(c,b,y),t=i,rt.set(t),(t=new URL(c+"/casino/groups/"+r)).searchParams.append("language",i),t.searchParams.append("platform",st(Ae)),a=t,new Promise((t,n)=>{l(68,C=!0),fetch(a).then(e=>e.json()).then(e=>{l(68,C=!1),t(e)}).catch(e=>{l(69,S=!0),l(68,C=!1),console.error(e),n(e)})}).then(e=>{let a=p.split(",");e&&(He=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,p))for(var n of a)e.flags==n&&(t=!1);return t}),l(75,ze=He.filter(e=>{return!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==le)}).map(e=>e.id)),l(84,M=e.items.map(e=>e.id.toString())),l(68,C=!1))}),P(),Ne=void 0)),16&n.$$.dirty[0]&&i&&(Ve&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500),Ve=!1),512&n.$$.dirty[0]&&m&&(t=new URL(m),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{za(e,t[e])})}).catch(e=>{console.log(e)})),128&n.$$.dirty[0]|16&n.$$.dirty[2]&&d&&$&&((e=document.createElement("style")).innerHTML=d,$.appendChild(e)),256&n.$$.dirty[0]|16&n.$$.dirty[2]&&u&&$){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}var e,a,t;4&n.$$.dirty[2]&&v&&(null!=v&&v.addEventListener("mousedown",I,!1),null!=v&&v.addEventListener("touchstart",I,!1),null!=v&&v.addEventListener("mouseup",R,!1),null!=v)&&v.addEventListener("touchend",R,!1)},[f,c,r,B,i,s,o,d,u,m,N,O,a,H,h,j,z,p,g,W,Y,V,Z,K,X,q,J,Q,ee,te,ne,ae,re,ie,se,oe,ce,de,ue,me,he,pe,ge,fe,ye,be,ve,we,xe,$e,Ce,Se,ke,Te,_e,Fe,Me,Ee,Le,Ge,Pe,Ie,Re,De,v,w,$,A,C,S,je,t,_,F,Ue,ze,Ye,D,Ae,Qe,et,(e,t)=>{L=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:a,receivedFavoriteResults:x},window.location.href)},U,le,M,()=>et(),()=>{Qe()},function(e){at[e?"unshift":"push"](()=>{v=e,l(64,v)})},function(e){at[e?"unshift":"push"](()=>{$=e,l(66,$)})}]}class ol extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;position:relative}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.FiltersButtonsContainer{display:flex;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}@media screen and (max-width: 1300px){}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}@media(max-width: 768px){}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},sl,rl,n,{endpoint:1,datasource:2,currency:3,lang:4,session:5,userid:6,clientstyling:7,clientstylingurl:8,translationurl:9,cmsendpoint:10,categorybackground:11,visiblegames:12,alternativesearch:13,favorites:14,containermaxwidth:15,lobbyid:82,haspanicbutton:16,filteredcategories:17,activecategory:18,livecasino:19,playrandomgame:20,filteredrandomgamecategories:21,gamepagemodalurl:22,positionwinnerswidget:23,tabsorder:24,enableautoscroll:25,istopavailable:26,isrecentavailable:27,integratedgameframedesktop:28,integratedgameframemobile:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:34,defaultcurrency:35,showsubgroups:83,positionjackpotbanners:36,caticon0:37,caticon1:38,caticon2:39,caticon3:40,backgroundsrc:41,backgroundsrcmobile:42,titlelogopath:43,iconlabels:44,visualstructure:45,positioncollections:46,type:47,titletype:48,collectionprovidersgamenames:49,addfilterselector:50,addsortingselector:51,filterbylogo:52,positioncasinocalendar:53,casinomygames:0,mostplayed:54,lastplayed:55,lastplayedperiod:56,mostplayedperiod:57,lastplayedorder:58,lastplayedlimit:59,lastplayedunique:60,mostplayedrounds:61,winnersdatasources:62,randombuttonicon:63},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","alternativesearch","favorites","containermaxwidth","lobbyid","haspanicbutton","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","showsubgroups","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","collectionprovidersgamenames","addfilterselector","addsortingselector","filterbylogo","positioncasinocalendar","casinomygames","mostplayed","lastplayed","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds","winnersdatasources","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[3]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[5]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[6]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),m()}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get categorybackground(){return this.$$.ctx[11]}set categorybackground(e){this.$$set({categorybackground:e}),m()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get containermaxwidth(){return this.$$.ctx[15]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),m()}get lobbyid(){return this.$$.ctx[82]}set lobbyid(e){this.$$set({lobbyid:e}),m()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get activecategory(){return this.$$.ctx[18]}set activecategory(e){this.$$set({activecategory:e}),m()}get livecasino(){return this.$$.ctx[19]}set livecasino(e){this.$$set({livecasino:e}),m()}get playrandomgame(){return this.$$.ctx[20]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[21]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get gamepagemodalurl(){return this.$$.ctx[22]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get positionwinnerswidget(){return this.$$.ctx[23]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[24]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[25]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[26]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[27]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[28]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[29]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[31]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[34]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get showsubgroups(){return this.$$.ctx[83]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positionjackpotbanners(){return this.$$.ctx[36]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[37]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[38]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[39]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[40]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[41]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[42]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[43]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[44]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get visualstructure(){return this.$$.ctx[45]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get positioncollections(){return this.$$.ctx[46]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[47]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[48]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[49]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get addfilterselector(){return this.$$.ctx[50]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[51]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[52]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get positioncasinocalendar(){return this.$$.ctx[53]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayed(){return this.$$.ctx[54]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[55]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get lastplayedperiod(){return this.$$.ctx[56]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[57]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[58]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[59]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[60]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[61]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get winnersdatasources(){return this.$$.ctx[62]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get randombuttonicon(){return this.$$.ctx[63]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}}return customElements.get("casino-page")||customElements.define("casino-page",ol),ol});
|
|
32
|
+
`},q,f,b,v,w,$,ne,S,k,_,F,M,E,L,G,T,pe,ge,function(e){rt[e?"unshift":"push"](()=>{o=e,s(19,o)})},()=>be(a),()=>ye(a),()=>be(a),function(e){rt[e?"unshift":"push"](()=>{g=e,s(14,g)})},function(e){rt[e?"unshift":"push"](()=>{l=e,s(11,l)})}]}function Ma(e,t){Sr(e,t)}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Fa,$a,n,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),h()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),h()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),h()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),h()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),h()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),h()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),h()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),h()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),h()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),h()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),h()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),h()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),h()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),h()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),h()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),h()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),h()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),h()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),h()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),h()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),h()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),h()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),h()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),h()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const Ea={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}};function La(e,t,n){e=e.slice();return e[36]=t[n],e[37]=t,e[38]=n,e}function Ga(n){let r,a,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,e,x,A,$,C,B,S,k,_,F,M,E,N,L=n[11]("filterby")+"",G=n[11]("providers")+"",T=n[11]("clear")+"";function O(e){return e[7]?Ia:Pa}let P=O(n),I=P(n),R=n[5],D=[];for(let e=0;e<R.length;e+=1)D[e]=Aa(La(n,R,e));return{c(){r=me("div"),a=me("div"),i=me("div"),s=j("svg"),o=j("path"),l=ge(),c=me("div"),d=me("span"),u=pe(L),h=ge(),m=me("div"),p=me("span"),g=pe(G),f=ge(),I.c(),y=ge(),b=me("span"),v=j("svg"),w=j("path"),A=ge(),$=me("div"),C=me("ul");for(let e=0;e<D.length;e+=1)D[e].c();B=ge(),S=me("button"),k=pe(T),fe(o,"id","noun_filter_736223"),fe(o,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),fe(o,"transform","translate(-5 -6.2)"),fe(o,"fill","#fff"),fe(s,"xmlns","http://www.w3.org/2000/svg"),fe(s,"width","16"),fe(s,"height","16"),fe(s,"viewBox","0 0 16 16"),fe(d,"class","FilterName"),fe(m,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(i,"class","FilterMainArea"),fe(w,"id","arrow"),fe(w,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(w,"transform","translate(-274.511 -441.088)"),fe(w,"fill","#d1d1d1"),fe(v,"xmlns","http://www.w3.org/2000/svg"),fe(v,"width","14"),fe(v,"height","6.835"),fe(v,"viewBox","0 0 14 6.835"),fe(b,"class",e="TriangleInactive "+(n[4]?"TriangleActive":"")),fe(a,"class",x="FilterSelector "+(n[4]?"FilterSelectorOpen":"")),fe(C,"class","FilterDropdown"),fe(S,"class","ClearFilters"),S.disabled=_=n[7]&&n[6].length!=n[5].length,fe($,"class",F="FilterDropdownContainer "+(n[4]?"FilterOpen":"")),fe(r,"class",M="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,s),de(s,o),de(i,l),de(i,c),de(c,d),de(d,u),de(c,h),de(c,m),de(m,p),de(p,g),de(m,f),I.m(m,null),de(a,y),de(a,b),de(b,v),de(v,w),de(r,A),de(r,$),de($,C);for(let e=0;e<D.length;e+=1)D[e]&&D[e].m(C,null);de($,B),de($,S),de(S,k),E||(N=[K(a,"click",n[22]),K(S,"click",n[25])],E=!0)},p(t,n){if(2048&n[0]&&L!==(L=t[11]("filterby")+"")&&ye(u,L),2048&n[0]&&G!==(G=t[11]("providers")+"")&&ye(g,G),P===(P=O(t))&&I?I.p(t,n):(I.d(1),(I=P(t))&&(I.c(),I.m(m,null))),16&n[0]&&e!==(e="TriangleInactive "+(t[4]?"TriangleActive":""))&&fe(b,"class",e),16&n[0]&&x!==(x="FilterSelector "+(t[4]?"FilterSelectorOpen":""))&&fe(a,"class",x),8228&n[0]){let e;for(R=t[5],e=0;e<R.length;e+=1){const a=La(t,R,e);D[e]?D[e].p(a,n):(D[e]=Aa(a),D[e].c(),D[e].m(C,null))}for(;e<D.length;e+=1)D[e].d(1);D.length=R.length}2048&n[0]&&T!==(T=t[11]("clear")+"")&&ye(k,T),224&n[0]&&_!==(_=t[7]&&t[6].length!=t[5].length)&&(S.disabled=_),16&n[0]&&F!==(F="FilterDropdownContainer "+(t[4]?"FilterOpen":""))&&fe($,"class",F),3&n[0]&&M!==(M="FilterContainer "+("true"==t[0]&&"true"==t[1]?"FilerContainerSplit":""))&&fe(r,"class",M)},d(e){e&&he(r),I.d(),H(D,e),E=!1,Z(N)}}}function Ta(e){let n,r,a=e[11]("500")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2048&t[0]&&a!==(a=e[11]("500")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Pa(e){let n,r;return{c(){n=me("span"),r=pe(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&ye(r,e[8])},d(e){e&&he(n)}}}function Ia(e){let n,r,a=e[11]("all")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2048&t[0]&&a!==(a=e[11]("all")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ra(e){let n,r;return{c(){ce((n=me("img")).src,r=e[36].logo)||fe(n,"src",r),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,r=e[36].logo)&&fe(n,"src",r)},d(e){e&&he(n)}}}function Da(e){let n,r,a,i,s,o,l,c,d=e[36].name+"",u=e[36].games.count+"";return{c(){n=me("div"),r=me("span"),a=pe(d),i=ge(),s=me("span"),o=pe("("),l=pe(u),c=pe(")"),fe(n,"class","FilterItemLabel")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(n,i),de(n,s),de(s,o),de(s,l),de(s,c)},p(e,t){32&t[0]&&d!==(d=e[36].name+"")&&ye(a,d),32&t[0]&&u!==(u=e[36].games.count+"")&&ye(l,u)},d(e){e&&he(n)}}}function Aa(n){let r,a,i,s,o,l,c,d,u,h,m,p;function g(){n[23].call(i,n[37],n[38])}function f(){return n[24](n[36])}function y(e){return"false"===e[2]?Da:"true"===e[2]?Ra:void 0}let b=y(n),v=b&&b(n);return{c(){r=me("li"),a=me("label"),i=me("input"),o=ge(),l=me("span"),c=ge(),v&&v.c(),d=ge(),fe(i,"type","checkbox"),fe(i,"name","checkbox"),i.__value=s=n[36].name,i.value=i.__value,fe(l,"class","FiltersCheckmark"),fe(a,"class","FilterLabel"),fe(r,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),r.value=h=n[36].name},m(e,t){ue(e,r,t),de(r,a),de(a,i),i.checked=n[36].isFilterSelected,de(a,o),de(a,l),de(a,c),v&&v.m(a,null),de(r,d),m||(p=[K(i,"change",g),K(i,"click",f)],m=!0)},p(e,t){n=e,32&t[0]&&s!==(s=n[36].name)&&(i.__value=s,i.value=i.__value),32&t[0]&&(i.checked=n[36].isFilterSelected),b===(b=y(n))&&v?v.p(n,t):(v&&v.d(1),(v=b&&b(n))&&(v.c(),v.m(a,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(r,"class",u),32&t[0]&&h!==(h=n[36].name)&&(r.value=h)},d(e){e&&he(r),v&&v.d(),m=!1,Z(p)}}}function Ba(n){let r;function a(e){return e[10]?Ta:e[9]?void 0:Ga}let i=a(n),s=i&&i(n);return{c(){r=me("div"),s&&s.c(),this.c=V},m(e,t){ue(e,r,t),s&&s.m(r,null),n[26](r)},p(e,t){i===(i=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=i&&i(e))&&(s.c(),s.m(r,null)))},i:V,o:V,d(e){e&&he(r),s&&s.d(),n[26](null)}}}function Na(n,e,r){let t;ot(n,Ur,e=>r(11,t=e));let a,{endpoint:i=""}=e,{datasource:s=""}=e,{lang:o=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:h="false"}=e,{addsortingselector:m="false"}=e,{filterbylogo:p="false"}=e,g=!1,f=window.navigator.userAgent,y=[],b=[],v={},w=!1,x=0,$=!0,C=!1;var S,k;({withLocale:S,translations:k}={withLocale:"en",translations:{}}),at.subscribe(e=>{null==e&&($r.set(k),at.set(S))}),Object.keys(Ea).forEach(e=>{Ma(e,Ea[e])}),v[u]&&(v={[u]:[]});const _=()=>{r(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},F=t=>{var e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,b.length&&0!=b.filter(e=>e.name===t.name).length?r(6,b=b.filter(e=>e.name!==t.name)):b.push(t),null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})):((e=JSON.parse(e))[u]=b.map(e=>e.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),M()},M=()=>{r(7,w=b.length===y.length||0==b.length),r(8,x=b.length)},E=()=>{r(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[u]:b.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),r(5,y),window.postMessage({type:"ApplyFilters"},window.location.href),r(7,w=!0),r(4,g=!1)},L=e=>{"SortingOpened"==e.data.type&&r(4,g=!1)};return lt(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})),n.$$set=e=>{"endpoint"in e&&r(15,i=e.endpoint),"datasource"in e&&r(16,s=e.datasource),"lang"in e&&r(17,o=e.lang),"translationurl"in e&&r(18,l=e.translationurl),"clientstyling"in e&&r(19,c=e.clientstyling),"clientstylingurl"in e&&r(20,d=e.clientstylingurl),"categoryid"in e&&r(21,u=e.categoryid),"addfilterselector"in e&&r(0,h=e.addfilterselector),"addsortingselector"in e&&r(1,m=e.addsortingselector),"filterbylogo"in e&&r(2,p=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&i&&s&&u&&p&&(t=new URL(i+"/casino/vendors"),r(4,g=!1),t.searchParams.append("fields","id,name,logo,subVendors,games"),t.searchParams.append("language",o),t.searchParams.append("datasource",s),t.searchParams.append("platform",st(f)),1<(u.match(/\$/g)||[]).length?(t.searchParams.append("filter",`games(subGroups=${u})`),t.searchParams.append("subVendors",`games(subGroups=${u})`)):t.searchParams.append("filter",`games(groups=${u})`),e=t,r(9,$=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),r(6,b=[]);let n=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach(e=>{var t;0<=(null==(t=(n=n||{currentCategoryId:[]})[u])?void 0:t.indexOf(e.id))?(e.isFilterSelected=!0,b.push(e)):e.isFilterSelected=!1}),r(5,y=e),M()}).catch(e=>{console.error(e),r(10,C=!0),n(e)}).finally(()=>{r(9,$=!1)})})),524296&n.$$.dirty[0]&&c&&a&&((t=document.createElement("style")).innerHTML=c,a.appendChild(t)),1048584&n.$$.dirty[0]&&d&&a){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ma(e,t[e])})}).catch(e=>{console.log(e)})},[h,m,p,a,g,y,b,w,x,$,C,t,_,F,E,i,s,o,l,c,d,u,()=>_(),function(e,t){e[t].isFilterSelected=this.checked,r(5,y)},e=>F(e),()=>E(),function(e){rt[e?"unshift":"push"](()=>{a=e,r(3,a)})}]}function Oa(e,t){Sr(e,t)}customElements.get("casino-filter")||customElements.define("casino-filter",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.FilterContainer{color:#fff;position:relative;z-index:16}.FilterSelector{background-color:#58586B;display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:#D1D1D1;text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid #D0046C}.FilterItem input:checked~.FiltersCheckmark{background-color:#D0046C;border:1px solid #D0046C}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid #fff}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Na,Ba,n,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),h()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),h()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),h()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),h()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),h()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),h()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),h()}});const Ha={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function ja(e,t,n){e=e.slice();return e[23]=t[n],e}function Ua(n){let r,a,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,e,C,S,k,_,F,M,E,L=n[4]("sortby")+"",G=(n[3]||n[4]("all"))+"",T=Object.values(n[5]),P=[];for(let e=0;e<T.length;e+=1)P[e]=za(ja(n,T,e));return{c(){r=me("div"),a=me("div"),i=me("div"),s=j("svg"),o=j("g"),l=j("path"),c=j("path"),d=j("path"),u=ge(),h=me("div"),m=me("span"),p=pe(L),g=ge(),f=me("div"),y=me("span"),b=pe(G),v=ge(),w=me("span"),x=j("svg"),$=j("path"),S=ge(),k=me("div"),_=me("ul");for(let e=0;e<P.length;e+=1)P[e].c();fe(l,"id","Path_5267"),fe(l,"data-name","Path 5267"),fe(l,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),fe(l,"transform","translate(-206.448 0)"),fe(l,"fill","#fff"),fe(c,"id","Path_5268"),fe(c,"data-name","Path 5268"),fe(c,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),fe(c,"transform","translate(0 0)"),fe(c,"fill","#fff"),fe(d,"id","Path_5269"),fe(d,"data-name","Path 5269"),fe(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),fe(d,"transform","translate(-412.896 0)"),fe(d,"fill","#fff"),fe(o,"id","sortby"),fe(o,"transform","translate(-306 -342)"),fe(s,"xmlns","http://www.w3.org/2000/svg"),fe(s,"width","20"),fe(s,"height","20"),fe(s,"viewBox","0 0 26.003 22.819"),fe(m,"class","SorterName"),fe(f,"class","SorterValueContainer"),fe(h,"class","SorterTextContainer"),fe(i,"class","SorterMainArea"),fe($,"id","arrow"),fe($,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe($,"transform","translate(-274.511 -441.088)"),fe($,"fill","#d1d1d1"),fe(x,"xmlns","http://www.w3.org/2000/svg"),fe(x,"width","14"),fe(x,"height","6.835"),fe(x,"viewBox","0 0 14 6.835"),fe(w,"class",e="TriangleInactive "+(n[1]?"TriangleActive":"")),fe(a,"class",C="SorterSelector "+(n[1]?"SorterSelectorOpen":"")),fe(_,"class","SorterDropdown"),fe(k,"class",F="SorterDropdownContainer "+(n[1]?"SorterOpen":"")),fe(r,"class","SorterContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,s),de(s,o),de(o,l),de(o,c),de(o,d),de(i,u),de(i,h),de(h,m),de(m,p),de(h,g),de(h,f),de(f,y),de(y,b),de(a,v),de(a,w),de(w,x),de(x,$),de(r,S),de(r,k),de(k,_);for(let e=0;e<P.length;e+=1)P[e]&&P[e].m(_,null);M||(E=K(a,"click",n[13]),M=!0)},p(t,n){if(16&n&&L!==(L=t[4]("sortby")+"")&&ye(p,L),24&n&&G!==(G=(t[3]||t[4]("all"))+"")&&ye(b,G),2&n&&e!==(e="TriangleInactive "+(t[1]?"TriangleActive":""))&&fe(w,"class",e),2&n&&C!==(C="SorterSelector "+(t[1]?"SorterSelectorOpen":""))&&fe(a,"class",C),120&n){let e;for(T=Object.values(t[5]),e=0;e<T.length;e+=1){var r=ja(t,T,e);P[e]?P[e].p(r,n):(P[e]=za(r),P[e].c(),P[e].m(_,null))}for(;e<P.length;e+=1)P[e].d(1);P.length=T.length}2&n&&F!==(F="SorterDropdownContainer "+(t[1]?"SorterOpen":""))&&fe(k,"class",F)},d(e){e&&he(r),H(P,e),M=!1,E()}}}function za(n){let r,a,i,s,o,l,c,d,u,h,m,p,e=n[23]+"";function g(){return n[14](n[23])}return{c(){r=me("li"),a=me("label"),i=me("input"),o=ge(),l=me("span"),c=ge(),d=me("span"),u=pe(e),h=ge(),fe(i,"type","radio"),fe(i,"name","radio"),i.value=n[23],i.checked=s=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"),fe(l,"class","SortersCheckmark"),fe(a,"class","SorterLabel CustomRadioButton"),fe(r,"class","SorterItem"),r.value=n[23]},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,l),de(a,c),de(a,d),de(d,u),de(r,h),m||(p=K(i,"click",g),m=!0)},p(e,t){n=e,24&t&&s!==(s=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"))&&(i.checked=s)},d(e){e&&he(r),m=!1,p()}}}function Wa(n){let r;function a(e){if(!e[2])return Ua}let i=a(n),s=i&&i(n);return{c(){r=me("div"),s&&s.c(),this.c=V},m(e,t){ue(e,r,t),s&&s.m(r,null),n[15](r)},p(e,[t]){i===(i=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=i&&i(e))&&(s.c(),s.m(r,null)))},i:V,o:V,d(e){e&&he(r),s&&s.d(),n[15](null)}}}function Ya(t,e,r){let n;ot(t,Ur,e=>r(4,n=e));let a,{lang:i=""}=e,{translationurl:s=""}=e,{clientstyling:o=""}=e,{clientstylingurl:l=""}=e,{categoryid:c=""}=e,d=!1,u=!0,h="",m="All";var p,g;({withLocale:p,translations:g}={withLocale:"en",translations:{}}),at.subscribe(e=>{null==e&&($r.set(g),at.set(p))}),Object.keys(Ha).forEach(e=>{Oa(e,Ha[e])});const f={All:n("all"),name:n("az"),isNew:n("newest"),"advancedTags(name(hot))":n("hottest")},y=e=>{r(3,m=e);var t,n=localStorage.getItem("vendorSortingBy");for(t in h=e,f)if(f[t]===e){h=t;break}null==n?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:h})):((n=JSON.parse(n))[c]=h,localStorage.setItem("vendorSortingBy",JSON.stringify(n))),window.postMessage({type:"ApplySorter",sortBy:h,itemId:c},window.location.href)},b=()=>{r(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&r(1,d=!1)};return lt(()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})),t.$$set=e=>{"lang"in e&&r(8,i=e.lang),"translationurl"in e&&r(9,s=e.translationurl),"clientstyling"in e&&r(10,o=e.clientstyling),"clientstylingurl"in e&&r(11,l=e.clientstylingurl),"categoryid"in e&&r(12,c=e.categoryid)},t.$$.update=()=>{if(4096&t.$$.dirty&&c&&(r(3,m="All"),r(2,u=!1),r(1,d=!1),e=null==(e=JSON.parse(localStorage.getItem("vendorSortingBy")))?void 0:e[c],r(3,m=e||"All"),r(3,m=f[e])),1025&t.$$.dirty&&o&&a&&((e=document.createElement("style")).innerHTML=o,a.appendChild(e)),2049&t.$$.dirty&&l&&a){let t=document.createElement("style");fetch(new URL(l)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e;512&t.$$.dirty&&s&&fetch(s).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Oa(e,t[e])})}).catch(e=>{console.log(e)})},[a,d,u,m,n,f,y,b,i,s,o,l,c,()=>b(),e=>y(e),function(e){rt[e?"unshift":"push"](()=>{a=e,r(0,a)})}]}function Va(e,t,n){e=e.slice();return e[82]=t[n],e[84]=n,e}function Za(e,t,n){e=e.slice();return e[82]=t[n],e[85]=t,e[84]=n,e}function Ka(e,t,n){e=e.slice();return e[82]=t[n],e[84]=n,e}function Xa(e){let n;function r(e){return e[22]?ei:e[33]?Qa:void 0}let a=r(e),i=a&&a(e);return{c(){n=me("div"),i&&i.c()},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n,null)))},d(e){e&&he(n),i&&i.d()}}}function qa(e){let n,r,a;function i(e){return e[26]?ki:e[23].length?Ci:Si}let s=i(e),o=s(e);function l(e){return e[23]?Fi:_i}let c=l(e),d=c(e);return{c(){n=me("div"),r=me("div"),o.c(),a=ge(),d.c(),fe(r,"class","CasinoGamesHeader Searched "+(it(e[38])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(it(e[38])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,r),o.m(r,null),de(n,a),d.m(n,null)},p(e,t){s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.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),o.d(),d.d()}}}function Ja(e){let n;function r(e){return e[28]?Gi:Li}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a!==(a=r(e))&&(i.d(1),i=a(e))&&(i.c(),i.m(n.parentNode,n))},d(e){i.d(e),e&&he(n)}}}function Qa(n){let r,a,i,s,o,l="true"!==n[14]&&ti(n);function c(e){return e[20]&&!e[30]?ai:e[36]?ri:ni}let d=c(n),u=d(n);return{c(){r=me("div"),l&&l.c(),a=ge(),i=me("ul"),u.c(),fe(i,"class",s=(0!=n[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(i,"part",o=(0!=n[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),l&&l.m(r,null),de(r,a),de(r,i),u.m(i,null),n[56](i)},p(e,t){"true"!==e[14]?l?l.p(e,t):((l=ti(e)).c(),l.m(r,a)):l&&(l.d(1),l=null),d===(d=c(e))&&u?u.p(e,t):(u.d(1),(u=d(e))&&(u.c(),u.m(i,null))),32&t[1]&&s!==(s=(0!=e[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"class",s),32&t[1]&&o!==(o=(0!=e[36].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"part",o)},d(e){e&&he(r),l&&l.d(),u.d(),n[56](null)}}}function ei(e){let n,r,a="true"!==e[14]&&pi(e);function i(e){return e[20]&&!e[30]?xi:0!==e[23].length?wi:vi}let s=i(e),o=s(e);return{c(){n=me("div"),a&&a.c(),r=ge(),o.c(),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),a&&a.m(n,null),de(n,r),o.m(n,null)},p(e,t){"true"!==e[14]?a?a.p(e,t):((a=pi(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(n,null)))},d(e){e&&he(n),a&&a.d(),o.d()}}}function ti(n){let r,a,i,s,o,l,c,d,u=n[37]("favorites")+"",h=n[36].items.length+"";return{c(){r=me("div"),a=me("h3"),i=pe(u),s=ge(),o=me("span"),l=pe("("),c=pe(h),d=pe(")"),fe(o,"class","CategoryFavName"),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(r,"class","CasinoGamesHeader"),fe(r,"part","CasinoGamesHeader")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,s),de(a,o),de(o,l),de(o,c),de(o,d),n[55](a)},p(e,t){64&t[1]&&u!==(u=e[37]("favorites")+"")&&ye(i,u),32&t[1]&&h!==(h=e[36].items.length+"")&&ye(c,h)},d(e){e&&he(r),n[55](null)}}}function ni(e){let n,r,a=e[37]("waiting")+"";return{c(){n=me("p"),r=pe(a)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){64&t[1]&&a!==(a=e[37]("waiting")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ri(t){let r,a=t[36].items,i=[];for(let e=0;e<a.length;e+=1)i[e]=mi(Va(t,a,e));let s=null;return a.length||(s=ii(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=l(),s&&s.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,r,n),s&&s.m(t,n)},p(t,n){if(16378&n[0]|508&n[1]){let e;for(a=t[36].items,e=0;e<a.length;e+=1){const s=Va(t,a,e);i[e]?i[e].p(s,n):(i[e]=mi(s),i[e].c(),i[e].m(r.parentNode,r))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length,!a.length&&s?s.p(t,n):a.length?s&&(s.d(1),s=null):((s=ii(t)).c(),s.m(r.parentNode,r))}},d(e){H(i,e),e&&he(r),s&&s.d(e)}}}function ai(e){let n;return{c(){fe(n=me("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function ii(e){let n,r,a,i,s,o,l,c,d,u,h,m,p,g,f=e[37]("noFavoritesTitle")+"",t=(b=e,it(b[38])?oi:si),y=t(e);var b;return{c(){n=me("p"),r=j("svg"),a=j("rect"),i=j("rect"),s=j("circle"),o=j("path"),l=j("path"),c=j("path"),d=j("path"),u=ge(),h=me("span"),m=pe(f),p=ge(),y.c(),g=ge(),fe(a,"x","1"),fe(a,"y","18.053"),fe(a,"width","90.263"),fe(a,"height","90.263"),fe(a,"rx","12"),fe(a,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(a,"stroke-width","1.5"),fe(i,"x","106.737"),fe(i,"y","56.737"),fe(i,"width","90.263"),fe(i,"height","90.263"),fe(i,"rx","12"),fe(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(i,"stroke-width","1.5"),fe(s,"cx","70.5"),fe(s,"cy","32.237"),fe(s,"r","31.487"),fe(s,"stroke","var(--emfe-w-color-primary, #D0046C)"),fe(s,"stroke-width","1.5"),fe(s,"stroke-dasharray","5 0"),fe(o,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),fe(o,"fill","var(--emfe-w-color-gray-150, #828282)"),fe(l,"d","M78 43h11v13H78V43z"),fe(l,"stroke","var(--emfe-w-color-primary, #D0046C)"),fe(c,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),fe(c,"fill","var(--emfe-w-color-primary, #D0046C)"),fe(c,"stroke","var(--emfe-w-color-primary, #D0046C)"),fe(c,"stroke-linecap","round"),fe(c,"stroke-linejoin","round"),fe(d,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),fe(d,"stroke","var(--emfe-w-color-primary, #D0046C)"),fe(d,"stroke-width","1.5"),fe(d,"stroke-linecap","round"),fe(d,"stroke-linejoin","round"),fe(r,"width","198"),fe(r,"height","148"),fe(r,"viewBox","0 0 198 148"),fe(r,"fill","none"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(h,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(h,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class","NoFavoriteGames "+(it(e[38])?"NoFavoriteGamesMobile":"")),fe(n,"part","NoFavoriteGames "+(it(e[38])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(r,s),de(r,o),de(r,l),de(r,c),de(r,d),de(n,u),de(n,h),de(h,m),de(n,p),y.m(n,null),de(n,g)},p(e,t){64&t[1]&&f!==(f=e[37]("noFavoritesTitle")+"")&&ye(m,f),y.p(e,t)},d(e){e&&he(n),y.d()}}}function si(e){let n,r,a=e[37]("noFavorites")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){64&t[1]&&a!==(a=e[37]("noFavorites")+"")&&ye(r,a)},d(e){e&&he(n)}}}function oi(e){let n,r,a=e[37]("noFavoritesMobile")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){64&t[1]&&a!==(a=e[37]("noFavoritesMobile")+"")&&ye(r,a)},d(e){e&&he(n)}}}function li(e){let n,r=e[82].gameModel.isFavorite&&ci(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[82].gameModel.isFavorite?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 ci(e){let n,r=function(e){let n,r,a;function i(e,t){return 32&t[1]&&(r=null),(n=null==n?!!it(e[38]):n)?ui:(r=null==r?!!e[82].gameModel.platform.includes("PC"):r)?di:void 0}let s=i(e,[-1,-1,-1]),o=s&&s(e);return{c(){o&&o.c(),a=l()},m(e,t){o&&o.m(e,t),ue(e,a,t)},p(e,t){s===(s=i(e,t))&&o?o.p(e,t):(o&&o.d(1),(o=s&&s(e))&&(o.c(),o.m(a.parentNode,a)))},d(e){o&&o.d(e),e&&he(a)}}}(e);return{c(){r&&r.c(),n=l()},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 di(e){let n,r,a,i,s,o,l,c,d,u,h,m,p,g;return{c(){S(n=me("casino-game-thumbnail"),"class",r=""+(w+(e[82].cellSize||"1x1"))),S(n,"part",a=""+(w+(e[82].cellSize||"1x1"))),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"lang",e[3]),S(n,"favorites",e[6]),S(n,"gamethumbnail",i=e[82].gameModel.thumbnail),S(n,"gamename",s=e[82].gameModel.name),S(n,"gamevendor",o=e[82].gameModel.vendor.name),S(n,"gameisnew",l=e[82].gameModel.isNew),S(n,"gametag",c=0<e[82].gameModel.advancedTags?.length&&e[39](e[82].gameModel.advancedTags)),S(n,"gamecellsize",d=e[82].cellSize),S(n,"gameid",u=e[82].gameModel.id),S(n,"gamefunmode",h=e[82].gameModel.hasFunMode),S(n,"gamefavorite",m=e[82].gameModel.isFavorite),S(n,"showfavoredcategory",e[33]),S(n,"connectlive",p=1==e[34][e[82].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[35]),S(n,"currency",e[9]),S(n,"livelobbyendpoint",g=e[82].gameModel.details?e[82].gameModel.launchUrl:""),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"endpoint",e[1]),S(n,"livecasino",e[10]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){32&t[1]&&r!==(r=""+(w+(e[82].cellSize||"1x1")))&&S(n,"class",r),32&t[1]&&a!==(a=""+(w+(e[82].cellSize||"1x1")))&&S(n,"part",a),16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),8&t[0]&&S(n,"lang",e[3]),64&t[0]&&S(n,"favorites",e[6]),32&t[1]&&i!==(i=e[82].gameModel.thumbnail)&&S(n,"gamethumbnail",i),32&t[1]&&s!==(s=e[82].gameModel.name)&&S(n,"gamename",s),32&t[1]&&o!==(o=e[82].gameModel.vendor.name)&&S(n,"gamevendor",o),32&t[1]&&l!==(l=e[82].gameModel.isNew)&&S(n,"gameisnew",l),32&t[1]&&c!==(c=0<e[82].gameModel.advancedTags?.length&&e[39](e[82].gameModel.advancedTags))&&S(n,"gametag",c),32&t[1]&&d!==(d=e[82].cellSize)&&S(n,"gamecellsize",d),32&t[1]&&u!==(u=e[82].gameModel.id)&&S(n,"gameid",u),32&t[1]&&h!==(h=e[82].gameModel.hasFunMode)&&S(n,"gamefunmode",h),32&t[1]&&m!==(m=e[82].gameModel.isFavorite)&&S(n,"gamefavorite",m),4&t[1]&&S(n,"showfavoredcategory",e[33]),40&t[1]&&p!==(p=1==e[34][e[82].id]?"connect":"disconnect")&&S(n,"connectlive",p),16&t[1]&&S(n,"visibilityconnect",e[35]),512&t[0]&&S(n,"currency",e[9]),32&t[1]&&g!==(g=e[82].gameModel.details?e[82].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",g),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),2&t[0]&&S(n,"endpoint",e[1]),1024&t[0]&&S(n,"livecasino",e[10]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13])},d(e){e&&he(n)}}}function ui(e){let n,r=e[82].gameModel.platform.includes("iPad")||e[82].gameModel.platform.includes("iPhone")||e[82].gameModel.platform.includes("Android"),a=r&&hi(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){(r=32&t[1]?e[82].gameModel.platform.includes("iPad")||e[82].gameModel.platform.includes("iPhone")||e[82].gameModel.platform.includes("Android"):r)?a?a.p(e,t):((a=hi(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&he(n)}}}function hi(e){let n,r,a,i,s,o,l,c,d,u,h,m,p,g;return{c(){S(n=me("casino-game-thumbnail"),"class",r=""+(w+(e[82].cellSize||"1x1"))),S(n,"part",a=""+(w+(e[82].cellSize||"1x1"))),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"lang",e[3]),S(n,"favorites",e[6]),S(n,"gamethumbnail",i=e[82].gameModel.thumbnail),S(n,"gamename",s=e[82].gameModel.name),S(n,"gamevendor",o=e[82].gameModel.vendor.name),S(n,"gameisnew",l=e[82].gameModel.isNew),S(n,"gametag",c=0<e[82].gameModel.advancedTags?.length&&e[39](e[82].gameModel.advancedTags)),S(n,"gamecellsize",d=e[82].cellSize),S(n,"gameid",u=e[82].gameModel.id),S(n,"gamefunmode",h=e[82].gameModel.hasFunMode),S(n,"gamefavorite",m=e[82].gameModel.isFavorite),S(n,"showfavoredcategory",e[33]),S(n,"connectlive",p=1==e[34][e[82].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[35]),S(n,"currency",e[9]),S(n,"livelobbyendpoint",g=e[82].gameModel.details?e[82].gameModel.launchUrl:""),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"endpoint",e[1]),S(n,"livecasino",e[10]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){32&t[1]&&r!==(r=""+(w+(e[82].cellSize||"1x1")))&&S(n,"class",r),32&t[1]&&a!==(a=""+(w+(e[82].cellSize||"1x1")))&&S(n,"part",a),16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),8&t[0]&&S(n,"lang",e[3]),64&t[0]&&S(n,"favorites",e[6]),32&t[1]&&i!==(i=e[82].gameModel.thumbnail)&&S(n,"gamethumbnail",i),32&t[1]&&s!==(s=e[82].gameModel.name)&&S(n,"gamename",s),32&t[1]&&o!==(o=e[82].gameModel.vendor.name)&&S(n,"gamevendor",o),32&t[1]&&l!==(l=e[82].gameModel.isNew)&&S(n,"gameisnew",l),32&t[1]&&c!==(c=0<e[82].gameModel.advancedTags?.length&&e[39](e[82].gameModel.advancedTags))&&S(n,"gametag",c),32&t[1]&&d!==(d=e[82].cellSize)&&S(n,"gamecellsize",d),32&t[1]&&u!==(u=e[82].gameModel.id)&&S(n,"gameid",u),32&t[1]&&h!==(h=e[82].gameModel.hasFunMode)&&S(n,"gamefunmode",h),32&t[1]&&m!==(m=e[82].gameModel.isFavorite)&&S(n,"gamefavorite",m),4&t[1]&&S(n,"showfavoredcategory",e[33]),40&t[1]&&p!==(p=1==e[34][e[82].id]?"connect":"disconnect")&&S(n,"connectlive",p),16&t[1]&&S(n,"visibilityconnect",e[35]),512&t[0]&&S(n,"currency",e[9]),32&t[1]&&g!==(g=e[82].gameModel.details?e[82].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",g),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),2&t[0]&&S(n,"endpoint",e[1]),1024&t[0]&&S(n,"livecasino",e[10]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13])},d(e){e&&he(n)}}}function mi(e){let n,r=e[82].gameModel&&li(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[82].gameModel?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 pi(n){let r,a,i,s,o=n[22].name+"";function l(e){return e[24]?fi:gi}let c=l(n),d=c(n);return{c(){r=me("div"),a=me("h3"),i=pe(o),s=ge(),d.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(r,"class","CasinoGamesHeader"),fe(r,"part","CasinoGamesHeader")},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[51](a),de(r,s),d.m(r,null)},p(e,t){4194304&t[0]&&o!==(o=e[22].name+"")&&ye(i,o),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(r,null)))},d(e){e&&he(r),n[51](null),d.d()}}}function gi(e){let n,r,a,i="true"==e[15]&&yi(e),s="true"==e[16]&&bi(e);return{c(){n=me("div"),i&&i.c(),r=ge(),s&&s.c(),fe(n,"class",a="true"==e[15]&&"true"==e[16]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),s&&s.m(n,null)},p(e,t){"true"==e[15]?i?i.p(e,t):((i=yi(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),"true"==e[16]?s?s.p(e,t):((s=bi(e)).c(),s.m(n,null)):s&&(s.d(1),s=null),98304&t[0]&&a!==(a="true"==e[15]&&"true"==e[16]?"CategoryFilterContainer":"")&&fe(n,"class",a)},d(e){e&&he(n),i&&i.d(),s&&s.d()}}}function fi(n){let r,a,i,s,o,l,c,d,u=n[37]("viewAll")+"",h=n[22].games.total+"";return{c(){r=me("a"),a=me("span"),i=pe(u),s=pe(" ("),o=pe(h),l=pe(")"),fe(a,"class","CategoryLoadMore"),fe(a,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,s),de(a,o),de(a,l),c||(d=K(r,"click",n[52]),c=!0)},p(e,t){64&t[1]&&u!==(u=e[37]("viewAll")+"")&&ye(i,u),4194304&t[0]&&h!==(h=e[22].games.total+"")&&ye(o,h)},d(e){e&&he(r),c=!1,d()}}}function yi(e){let n;return{c(){S(n=me("casino-filter"),"clientstylingurl",e[8]),S(n,"clientstyling",e[7]),S(n,"endpoint",e[1]),S(n,"datasource",e[2]),S(n,"lang",e[3]),S(n,"categoryid",e[0]),S(n,"addfilterselector",e[15]),S(n,"addsortingselector",e[16]),S(n,"filterbylogo",e[17])},m(e,t){ue(e,n,t)},p(e,t){256&t[0]&&S(n,"clientstylingurl",e[8]),128&t[0]&&S(n,"clientstyling",e[7]),2&t[0]&&S(n,"endpoint",e[1]),4&t[0]&&S(n,"datasource",e[2]),8&t[0]&&S(n,"lang",e[3]),1&t[0]&&S(n,"categoryid",e[0]),32768&t[0]&&S(n,"addfilterselector",e[15]),65536&t[0]&&S(n,"addsortingselector",e[16]),131072&t[0]&&S(n,"filterbylogo",e[17])},d(e){e&&he(n)}}}function bi(e){let n;return{c(){S(n=me("casino-sort"),"clientstylingurl",e[8]),S(n,"clientstyling",e[7]),S(n,"lang",e[3]),S(n,"categoryid",e[0]),S(n,"addsortingselector",e[16])},m(e,t){ue(e,n,t)},p(e,t){256&t[0]&&S(n,"clientstylingurl",e[8]),128&t[0]&&S(n,"clientstyling",e[7]),8&t[0]&&S(n,"lang",e[3]),1&t[0]&&S(n,"categoryid",e[0]),65536&t[0]&&S(n,"addsortingselector",e[16])},d(e){e&&he(n)}}}function vi(e){let n;return{c(){(n=me("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function wi(n){let r,e,a,i=n[23],s=[];for(let e=0;e<i.length;e+=1)s[e]=$i(Za(n,i,e));return{c(){r=me("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(r,"class",e=(0===n[36].items.length&&n[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",a=(0===n[36].items.length&&n[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,r,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(r,null);n[54](r)},p(t,n){if(8929274&n[0]|280&n[1]){let e;for(i=t[23],e=0;e<i.length;e+=1){const a=Za(t,i,e);s[e]?s[e].p(a,n):(s[e]=$i(a),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}36&n[1]&&e!==(e=(0===t[36].items.length&&t[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),36&n[1]&&a!==(a=(0===t[36].items.length&&t[33]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",a)},d(e){e&&he(r),H(s,e),n[54](null)}}}function xi(e){let n;return{c(){fe(n=me("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function $i(e){let n,r=function(n){let r,a,i,s,o,l,c,d,u,h,m,p,g,f,y=n[84];const b=()=>n[53](r,y),v=()=>n[53](null,y);return{c(){S(r=me("casino-game-thumbnail"),"session",n[4]),S(r,"userid",n[5]),S(r,"lang",n[3]),S(r,"class",a=""+(w+(n[82].cellSize||"1x1"))),S(r,"part",i=""+(w+(n[82].cellSize||"1x1"))),S(r,"favorites",n[6]),S(r,"gamethumbnail",s=n[82].thumbnail),S(r,"gamename",o=n[82].name),S(r,"gamevendor",l=n[82].vendor.name),S(r,"gameisnew",c=n[82].isNew),S(r,"gametag",d=0<n[82].advancedTags?.length&&n[39](n[82].advancedTags)),S(r,"gamecellsize",u=n[82].cellSize),S(r,"gameid",h=n[82].id),S(r,"gamefunmode",m=n[82].hasFunMode),S(r,"gamefavorite",p=n[82].isFavorite),S(r,"connectlive",g=1==n[34][n[82].id]?"connect":"disconnect"),S(r,"visibilityconnect",n[35]),S(r,"currency",n[9]),S(r,"livelobbyendpoint",f=n[82].details?n[82].href:""),S(r,"clientstyling",n[7]),S(r,"clientstylingurl",n[8]),S(r,"endpoint",n[1]),S(r,"livecasino",n[10]),S(r,"gamepagemodalurl",n[11]),S(r,"integratedgameframedesktop",n[12]),S(r,"integratedgameframemobile",n[13])},m(e,t){ue(e,r,t),b()},p(e,t){n=e,16&t[0]&&S(r,"session",n[4]),32&t[0]&&S(r,"userid",n[5]),8&t[0]&&S(r,"lang",n[3]),8388608&t[0]&&a!==(a=""+(w+(n[82].cellSize||"1x1")))&&S(r,"class",a),8388608&t[0]&&i!==(i=""+(w+(n[82].cellSize||"1x1")))&&S(r,"part",i),64&t[0]&&S(r,"favorites",n[6]),8388608&t[0]&&s!==(s=n[82].thumbnail)&&S(r,"gamethumbnail",s),8388608&t[0]&&o!==(o=n[82].name)&&S(r,"gamename",o),8388608&t[0]&&l!==(l=n[82].vendor.name)&&S(r,"gamevendor",l),8388608&t[0]&&c!==(c=n[82].isNew)&&S(r,"gameisnew",c),8388608&t[0]&&d!==(d=0<n[82].advancedTags?.length&&n[39](n[82].advancedTags))&&S(r,"gametag",d),8388608&t[0]&&u!==(u=n[82].cellSize)&&S(r,"gamecellsize",u),8388608&t[0]&&h!==(h=n[82].id)&&S(r,"gameid",h),8388608&t[0]&&m!==(m=n[82].hasFunMode)&&S(r,"gamefunmode",m),8388608&t[0]&&p!==(p=n[82].isFavorite)&&S(r,"gamefavorite",p),8388608&t[0]|8&t[1]&&g!==(g=1==n[34][n[82].id]?"connect":"disconnect")&&S(r,"connectlive",g),16&t[1]&&S(r,"visibilityconnect",n[35]),512&t[0]&&S(r,"currency",n[9]),8388608&t[0]&&f!==(f=n[82].details?n[82].href:"")&&S(r,"livelobbyendpoint",f),128&t[0]&&S(r,"clientstyling",n[7]),256&t[0]&&S(r,"clientstylingurl",n[8]),2&t[0]&&S(r,"endpoint",n[1]),1024&t[0]&&S(r,"livecasino",n[10]),2048&t[0]&&S(r,"gamepagemodalurl",n[11]),4096&t[0]&&S(r,"integratedgameframedesktop",n[12]),8192&t[0]&&S(r,"integratedgameframemobile",n[13]),y!==n[84]&&(v(),y=n[84],b())},d(e){e&&he(r),v()}}}(e);return{c(){r&&r.c(),n=l()},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 Ci(e){let n,r,a=e[37]("searchedItems")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){64&t[1]&&a!==(a=e[37]("searchedItems")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Si(e){let n,r,a=e[37]("noResults")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){64&t[1]&&a!==(a=e[37]("noResults")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ki(e){let n,r,a=e[37]("recentSearchedItems")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){64&t[1]&&a!==(a=e[37]("recentSearchedItems")+"")&&ye(r,a)},d(e){e&&he(n)}}}function _i(e){let n;return{c(){(n=me("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function Fi(t){let r,a,i=!t[29]&&Mi(t),s=t[23],o=[];for(let e=0;e<s.length;e+=1)o[e]=Ei(Ka(t,s,e));return{c(){i&&i.c(),r=ge(),a=me("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(a,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),ue(e,r,t),ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null)},p(t,n){if(t[29]?i&&(i.d(1),i=null):i?i.p(t,n):((i=Mi(t)).c(),i.m(r.parentNode,r)),142622714&n[0]|256&n[1]){let e;for(s=t[23],e=0;e<s.length;e+=1){const i=Ka(t,s,e);o[e]?o[e].p(i,n):(o[e]=Ei(i),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=s.length}},d(e){i&&i.d(e),e&&he(r),e&&he(a),H(o,e)}}}function Mi(e){let n,r,a=e[37]("noRecentSearch")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(it(e[38])?"NoRecentSearchesMobile":"")),fe(n,"part","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(it(e[38])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){64&t[1]&&a!==(a=e[37]("noRecentSearch")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ei(e){let n,r,a,i,s,o,l,c,d,u,h,m,p;return{c(){S(n=me("casino-game-thumbnail"),"class",r=""+(w+(e[82].cellSize||"1x1"))),S(n,"part",a=""+(w+(e[82].cellSize||"1x1"))),S(n,"session",e[4]),S(n,"userid",e[5]),S(n,"lang",e[3]),S(n,"searchitem",e[27]),S(n,"favorites",e[6]),S(n,"gamethumbnail",i=e[82].thumbnail),S(n,"gamename",s=e[82].name),S(n,"gamevendor",o=e[82].vendor.name),S(n,"gameisnew",l=e[82].isNew),S(n,"gametag",c=0<e[82].advancedTags?.length&&e[39](e[82].advancedTags)),S(n,"gamecellsize",d=e[82].cellSize),S(n,"gameid",u=e[82].id),S(n,"gamefunmode",h=e[82].hasFunMode),S(n,"gamefavorite",m=e[82].isFavorite),S(n,"currency",e[9]),S(n,"livelobbyendpoint",p=e[82].details?e[82].href:""),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"endpoint",e[1]),S(n,"livecasino",e[10]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13])},m(e,t){ue(e,n,t)},p(e,t){8388608&t[0]&&r!==(r=""+(w+(e[82].cellSize||"1x1")))&&S(n,"class",r),8388608&t[0]&&a!==(a=""+(w+(e[82].cellSize||"1x1")))&&S(n,"part",a),16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),8&t[0]&&S(n,"lang",e[3]),134217728&t[0]&&S(n,"searchitem",e[27]),64&t[0]&&S(n,"favorites",e[6]),8388608&t[0]&&i!==(i=e[82].thumbnail)&&S(n,"gamethumbnail",i),8388608&t[0]&&s!==(s=e[82].name)&&S(n,"gamename",s),8388608&t[0]&&o!==(o=e[82].vendor.name)&&S(n,"gamevendor",o),8388608&t[0]&&l!==(l=e[82].isNew)&&S(n,"gameisnew",l),8388608&t[0]&&c!==(c=0<e[82].advancedTags?.length&&e[39](e[82].advancedTags))&&S(n,"gametag",c),8388608&t[0]&&d!==(d=e[82].cellSize)&&S(n,"gamecellsize",d),8388608&t[0]&&u!==(u=e[82].id)&&S(n,"gameid",u),8388608&t[0]&&h!==(h=e[82].hasFunMode)&&S(n,"gamefunmode",h),8388608&t[0]&&m!==(m=e[82].isFavorite)&&S(n,"gamefavorite",m),512&t[0]&&S(n,"currency",e[9]),8388608&t[0]&&p!==(p=e[82].details?e[82].href:"")&&S(n,"livelobbyendpoint",p),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),2&t[0]&&S(n,"endpoint",e[1]),1024&t[0]&&S(n,"livecasino",e[10]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13])},d(e){e&&he(n)}}}function Li(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Gi(e){let n;return{c(){(n=me("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Ti(n){let r;function a(e){return e[21]?Ja:e[25]?qa:Xa}let i=a(n),s=i(n);return{c(){r=me("div"),s.c(),this.c=V,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),s.m(r,null),n[57](r)},p(e,t){i===(i=a(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(r,null)))},i:V,o:V,d(e){e&&he(r),s.d(),n[57](null)}}}customElements.get("casino-sort")||customElements.define("casino-sort",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.SorterContainer{color:#fff;position:relative;z-index:16}.SorterSelector{background-color:#58586B;display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:#D1D1D1;text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid #fff;height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-color-primary, #D0046C);width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ya,Wa,n,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),h()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),h()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),h()}});const w="game-tile-";function Pi(t,e,c){let D;ot(t,Ur,e=>c(37,D=e));let a,i,s,n,A,r,o,l,d,u,{categoryindex:B=""}=e,{endpoint:h=""}=e,{datasource:m=""}=e,{lang:p=""}=e,{session:N=""}=e,{userid:O=""}=e,{favorites:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{currency:H=""}=e,{categoryid:v=""}=e,{categorygames:j=0}=e,{livecasino:U="false"}=e,{visiblegames:z=""}=e,{gamepagemodalurl:W="false"}=e,{integratedgameframedesktop:Y="false"}=e,{integratedgameframemobile:V="false"}=e,{casinomygames:w="false"}=e,{addfilterselector:Z="false"}=e,{addsortingselector:K="false"}=e,{filterbylogo:X=""}=e,{once:q=!0}=e,{top:J=0}=e,{bottom:Q=0}=e,{left:ee=0}=e,{right:te=0}=e,x=!0,ne=!1,$=!0,re=window.navigator.userAgent,C=[],S=!0,k=40,_=!1,F=!1,ae=!1,M=!1,ie=!1,se=!0,oe=!1,E=!1,le=!1,L=new Array(1e4),G={},ce="",T="",P={items:[],count:0,name:""},de=(Object.keys(Vr).forEach(e=>{Yr(e,Vr[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>k&&he(v),c(34,G[t]=1,G)):c(34,G[t]=0,G)})}));const I=(e,r,a,t=0)=>{c(20,x=!0);let n,i="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),o=JSON.parse(localStorage.getItem("vendorSortingBy")),l=h.replace(/.$/,"2");return i=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${l}/casino/groups/${m}/${n}/subGroups`)):new URL(`${l}/casino/groups/${m}/`+v),new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",st(re)),i.searchParams.append("pagination",`games(offset=${r},limit=${a})`),i.searchParams.append("language",p),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),s&&s[v])if(s[v].length&&!1===$&&!1===E){let t="";c(28,ie=!0),s[v].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),i.searchParams.append("filter",(s&&s[v].length<2?"$and":"$or")+`(${t})`)}else c(28,ie=!1);o&&(o[v]?o[v]&&"All"!=o[v]&&("isNew"==o[v]||"advancedTags(name(hot))"==o[v]?(i.searchParams.append("sortedField",`games(${o[v]})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${o[v]})`)):T&&"All"!=T&&("advancedTags(name(hot))"==T||"isNew"==T?(i.searchParams.append("sortedField",`games(${T})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${T})`))),fetch(i).then(e=>e.json()).then(e=>{c(20,x=!1),1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),c(50,u=!0),c(21,ne=!1),A=e.games.total,t(e)},e=>{c(21,ne=!0),console.error(e),n(e)})})},ue=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==v&&(c(25,_=!1),$=!1,c(24,S=!1),c(23,C=t.data.mostPlayedGames),c(22,s={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),c(20,x=!1);break;case"LastPlayedData":"LASTPLAYED"==v&&(c(25,_=!1),$=!1,c(24,S=!1),c(23,C=t.data.lastPlayedGames),c(22,s={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),c(20,x=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":c(25,_=!0),c(26,F=!0),0<t.data.searchData.length?(c(23,C=t.data.searchData),c(29,se=!0),C&&C.forEach(e=>{e.isFavorite=R(e.id)})):(c(23,C=[]),c(29,se=!1));break;case"OutOfRecentSearches":c(25,_=!1),c(26,F=!1);break;case"SearchData":c(25,_=!0),c(26,F=!1),c(23,C=t.data.searchData.items||[]),c(27,M=!0),t.data.receivedFavoriteResults&&(o=t.data.receivedFavoriteResults.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+v:c(25,_=!1),$=!0,c(24,S=!0),c(27,M=!1),le=!1,t.data.receivedFavoriteResults&&(o=t.data.receivedFavoriteResults.items),I(t.data.categoryId,0,t.data.visiblegames).then(e=>{c(22,s=e),c(23,C=s.games.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":k=20;break;case"ApplySorter":c(0,v=t.data.itemId),T=t.data.sortBy,I(0,0,k).then(e=>{c(22,s=e),c(23,C=s.games.items),c(24,S=!1)});break;case"CategoryUpdate":c(25,_=!1),$=!1,c(27,M=!1),le=!0,c(0,v=t.data.itemId),"MOSTPLAYED"!==v&&c(24,S=!1),"true"!==w&&I(0,0,k).then(e=>{c(22,s=e),s.games.items.forEach(e=>{e.isFavorite=R(e.id)}),c(23,C=s.games.items),c(24,S=!1),C.length<10&&0==t.data.origin&&(ae=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ae},window.location.href)},500))});break;case"FavoriteUpdate":$=!0,s&&(c(23,C=s.games.items),C.forEach(e=>{e.isFavorite=R(e.id)}));break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(o=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;E?$||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":$=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),c(36,P.items=(e=e,P,n=window.navigator.userAgent,it(n)?e.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):e.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),P),c(36,P.name="Favorites",P),c(33,E=!0),c(20,x=!1));break;case"UserSessionID":if(a=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&a&&0<a.length){var r=`${h}/player/${i}/favorites/`;n=a;c(20,x=!0);let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{c(20,x=!1),o=e?e.items:[],C.forEach(e=>{e.isFavorite=R(e.id)});e=C;c(23,C=void 0),c(23,C=e),t(o)}).catch(e=>{console.error(e),n(e)})});return}else return void 0}var e,n},he=e=>{k+=1,c(30,oe=!0),k<=A&&I(0,0,k).then(e=>{c(22,s=e),s.games.items.length>C.length&&(c(23,C=s.games.items),C.forEach(e=>{e.isFavorite=R(e.id)})),c(30,oe=!1)})},R=t=>!!o&&-1!==o.findIndex(e=>e.id==t),me=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return lt(()=>(window.addEventListener("visibilitychange",e=>{document[d]?c(35,ce="disconnect"):c(35,ce="connect")}),window.addEventListener("message",ue,!1),"FAVORITES"===v&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ue),window.removeEventListener("visibilitychange",ue)})),t.$$set=e=>{"categoryindex"in e&&c(41,B=e.categoryindex),"endpoint"in e&&c(1,h=e.endpoint),"datasource"in e&&c(2,m=e.datasource),"lang"in e&&c(3,p=e.lang),"session"in e&&c(4,N=e.session),"userid"in e&&c(5,O=e.userid),"favorites"in e&&c(6,g=e.favorites),"clientstyling"in e&&c(7,f=e.clientstyling),"clientstylingurl"in e&&c(8,y=e.clientstylingurl),"translationurl"in e&&c(42,b=e.translationurl),"currency"in e&&c(9,H=e.currency),"categoryid"in e&&c(0,v=e.categoryid),"categorygames"in e&&c(43,j=e.categorygames),"livecasino"in e&&c(10,U=e.livecasino),"visiblegames"in e&&c(44,z=e.visiblegames),"gamepagemodalurl"in e&&c(11,W=e.gamepagemodalurl),"integratedgameframedesktop"in e&&c(12,Y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(13,V=e.integratedgameframemobile),"casinomygames"in e&&c(14,w=e.casinomygames),"addfilterselector"in e&&c(15,Z=e.addfilterselector),"addsortingselector"in e&&c(16,K=e.addsortingselector),"filterbylogo"in e&&c(17,X=e.filterbylogo),"once"in e&&c(45,q=e.once),"top"in e&&c(46,J=e.top),"bottom"in e&&c(47,Q=e.bottom),"left"in e&&c(48,ee=e.left),"right"in e&&c(49,te=e.right)},t.$$.update=()=>{if(524288&t.$$.dirty[0]|524288&t.$$.dirty[1]&&u&&L&&le&&L.forEach((e,t)=>{e&&(e.elems_index=t,de.observe(e))}),9&t.$$.dirty[0]&&p&&v)switch(v){case"FAVORITES":c(33,E=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&c(33,E=!1)}if(2048&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Yr(e,t[e])})}).catch(e=>{console.log(e)}),262272&t.$$.dirty[0]&&f&&l&&((e=document.createElement("style")).innerHTML=f,l.appendChild(e)),262400&t.$$.dirty[0]&&y&&l){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})}var e},[v,h,m,p,N,O,g,f,y,H,U,W,Y,V,w,Z,K,X,l,L,x,ne,s,C,S,_,F,M,ie,se,oe,n,r,E,G,ce,P,D,re,r=>{if(0===(null==r?void 0:r.length))return"";let a,i="",s=999999999999;const o=new Date(Date.now());return r.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Xr(e).diff(o)<s&&(s=Xr(e).diff(o),a=t),Xr(o).isAfter(n)&&Xr(o).isBefore(e)&&(i=r[a].name)}),i},me,B,b,j,z,q,J,Q,ee,te,u,function(e){rt[e?"unshift":"push"](()=>{r=e,c(32,r)})},e=>me(s.id),function(e,t){rt[e?"unshift":"push"](()=>{L[t]=e,c(19,L)})},function(e){rt[e?"unshift":"push"](()=>{n=e,c(31,n)})},function(e){rt[e?"unshift":"push"](()=>{r=e,c(32,r)})},function(e){rt[e?"unshift":"push"](()=>{n=e,c(31,n)})},function(e){rt[e?"unshift":"push"](()=>{l=e,c(18,l)})}]}function Ii(e,t){Sr(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media only screen and (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Pi,Ti,n,{categoryindex:41,endpoint:1,datasource:2,lang:3,session:4,userid:5,favorites:6,clientstyling:7,clientstylingurl:8,translationurl:42,currency:9,categoryid:0,categorygames:43,livecasino:10,visiblegames:44,gamepagemodalurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,casinomygames:14,addfilterselector:15,addsortingselector:16,filterbylogo:17,once:45,top:46,bottom:47,left:48,right:49},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[41]}set categoryindex(e){this.$$set({categoryindex:e}),h()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),h()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),h()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),h()}get favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites:e}),h()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[42]}set translationurl(e){this.$$set({translationurl:e}),h()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),h()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),h()}get categorygames(){return this.$$.ctx[43]}set categorygames(e){this.$$set({categorygames:e}),h()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),h()}get visiblegames(){return this.$$.ctx[44]}set visiblegames(e){this.$$set({visiblegames:e}),h()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),h()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),h()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),h()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),h()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),h()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),h()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),h()}get once(){return this.$$.ctx[45]}set once(e){this.$$set({once:e}),h()}get top(){return this.$$.ctx[46]}set top(e){this.$$set({top:e}),h()}get bottom(){return this.$$.ctx[47]}set bottom(e){this.$$set({bottom:e}),h()}get left(){return this.$$.ctx[48]}set left(e){this.$$set({left:e}),h()}get right(){return this.$$.ctx[49]}set right(e){this.$$set({right:e}),h()}});const Ri={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"},tr:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}};function Di(e,t,n){e=e.slice();return e[35]=t[n],e[37]=n,e}function Ai(n){let r,a,i,s,o,l,c,d=!n[7]&&Bi(n),u=n[7]&&Oi(n);return{c(){r=me("div"),a=me("div"),(i=me("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',s=ge(),d&&d.c(),o=ge(),u&&u.c(),fe(i,"class","ModalCloseBtn"),fe(i,"part","ModalCloseBtn"),fe(i,"role","button"),fe(a,"class","ModalContainer"),fe(a,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,s),d&&d.m(a,null),de(a,o),u&&u.m(a,null),l||(c=K(i,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Bi(e)).c(),d.m(a,o)),e[7]?u?u.p(e,t):((u=Oi(e)).c(),u.m(a,null)):u&&(u.d(1),u=null)},d(e){e&&he(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Bi(t){let n,r,a,i,s,o,e=t[8]("randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Ni(Di(t,l,e));return{c(){n=me("div"),r=me("main"),a=me("div");for(let e=0;e<c.length;e+=1)c[e].c();i=ge(),s=me("p"),o=pe(e),fe(a,"class","items"),fe(a,"part","items"),_(a,"transform","translateY("+t[6]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(s,"class","RandomGameLoading"),fe(s,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(a,null);de(n,i),de(n,s),de(s,o)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var r=Di(t,l,e);c[e]?c[e].p(r,n):(c[e]=Ni(r),c[e].c(),c[e].m(a,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&_(a,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGameLoading")+"")&&ye(o,e)},d(e){e&&he(n),H(c,e)}}}function Ni(e){let n,r,a,i,s,o;return{c(){n=me("div"),r=me("img"),o=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,a=e[35].thumbnail)||fe(r,"src",a),fe(r,"alt",i=e[35].name),fe(r,"title",s=e[35].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,r),de(n,o)},p(e,t){16&t[0]&&!ce(r.src,a=e[35].thumbnail)&&fe(r,"src",a),16&t[0]&&i!==(i=e[35].name)&&fe(r,"alt",i),16&t[0]&&s!==(s=e[35].name)&&fe(r,"title",s)},d(e){e&&he(n)}}}function Oi(n){let r,a,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,C=n[3].name+"",S=n[3].vendor.name+"",k=n[8]("playNowRandomGame")+"";return{c(){r=me("div"),a=me("div"),i=me("img"),c=ge(),(d=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ge(),h=me("div"),m=me("p"),p=pe(C),g=ge(),f=me("p"),y=pe(S),b=ge(),v=me("button"),w=pe(k),fe(i,"class","RandomGameImage"),fe(i,"part","RandomGameImage"),ce(i.src,s=n[3].thumbnail)||fe(i,"src",s),fe(i,"alt",o=n[3].name),fe(i,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(a,"class","item"),fe(a,"part","item"),fe(m,"class","RandomGameTitle"),fe(m,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,c),de(a,d),de(r,u),de(r,h),de(h,m),de(m,p),de(h,g),de(h,f),de(f,y),de(h,b),de(h,v),de(v,w),x||($=[K(d,"click",n[20]),K(v,"click",n[21])],x=!0)},p(e,t){8&t[0]&&!ce(i.src,s=e[3].thumbnail)&&fe(i,"src",s),8&t[0]&&o!==(o=e[3].name)&&fe(i,"alt",o),8&t[0]&&l!==(l=e[3].name)&&fe(i,"title",l),8&t[0]&&C!==(C=e[3].name+"")&&ye(p,C),8&t[0]&&S!==(S=e[3].vendor.name+"")&&ye(y,S),256&t[0]&&k!==(k=e[8]("playNowRandomGame")+"")&&ye(w,k)},d(e){e&&he(r),x=!1,Z($)}}}function Hi(e){let n,r,a=e[8]("playRandomGame")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&a!==(a=e[8]("playRandomGame")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ji(e){let n,r;return{c(){n=me("span"),r=pe(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2&t[0]&&ye(r,e[1])},d(e){e&&he(n)}}}function Ui(n){let r,a,i,s,o,l,c,d,u=n[5]&&Ai(n);function h(e){return e[1]?ji:e[1]?void 0:Hi}let m=h(n),p=m&&m(n);return{c(){r=me("div"),u&&u.c(),a=ge(),i=me("div"),s=me("button"),p&&p.c(),o=ge(),l=me("span"),this.c=V,fe(l,"class","RandomButtonIcon"),fe(l,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(i,"class","RandomButtonWrapper"),fe(i,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),u&&u.m(r,null),de(r,a),de(r,i),de(i,s),p&&p.m(s,null),de(s,o),de(s,l),l.innerHTML=n[0],n[23](r),c||(d=K(s,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=Ai(e)).c(),u.m(r,a)):u&&(u.d(1),u=null),m===(m=h(e))&&p?p.p(e,t):(p&&p.d(1),(p=m&&m(e))&&(p.c(),p.m(s,o))),1&t[0]&&(l.innerHTML=e[0])},i:V,o:V,d(e){e&&he(r),u&&u.d(),p&&p.d(),n[23](null),c=!1,d()}}}function zi(n,e,r){let t;ot(n,Ur,e=>r(8,t=e));let a,i,{endpoint:s=""}=e,{datasource:o=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:h=""}=e,{clientstyling:m=""}=e,{clientstylingurl:p=""}=e,{filteredrandomgamecategories:g=""}=e,f=[],y="",b=!1,v=0,w=0,x=!1,$=window.navigator.userAgent;var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),at.subscribe(e=>{null==e&&($r.set(S),at.set(C))}),Object.keys(Ri).forEach(e=>{Ii(e,Ri[e])});const k=()=>{r(4,a=M(a)),r(6,v=0),w=0,r(7,x=!1),r(3,y=f[Math.floor(Math.random()*f.length)]),r(5,b=!0)};let _;const F=e=>{if(g)for(;k(),!g.includes(y.vendor.name););else k();clearInterval(_),_=setInterval(()=>{r(6,v-=75),20==++w&&(r(7,x=!0),clearInterval(_))},150),e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},M=e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e},E=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),r(5,b=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return n.$$set=e=>{"endpoint"in e&&r(12,s=e.endpoint),"datasource"in e&&r(13,o=e.datasource),"gameevent"in e&&r(14,l=e.gameevent),"lang"in e&&r(15,c=e.lang),"randombuttonicon"in e&&r(0,d=e.randombuttonicon),"buttontext"in e&&r(1,u=e.buttontext),"translationurl"in e&&r(16,h=e.translationurl),"clientstyling"in e&&r(17,m=e.clientstyling),"clientstylingurl"in e&&r(18,p=e.clientstylingurl),"filteredrandomgamecategories"in e&&r(19,g=e.filteredrandomgamecategories)},n.$$.update=()=>{if(32768&n.$$.dirty[0]&&c&&(t=c,at.set(t)),65536&n.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ii(e,t[e])})}).catch(e=>{console.log(e)}),12288&n.$$.dirty[0]&&s&&o&&((t=new URL(s+"/casino/games")).searchParams.append("platform",st($)),t.searchParams.append("datasource",o),t.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),t.searchParams.append("expand","vendor"),t.searchParams.append("pagination","offset=0,limit=1000"),fetch(t.href).then(e=>e.json()).then(e=>{f=e.items,r(4,a=f.slice(0,19))})),131076&n.$$.dirty[0]&&m&&i&&((e=document.createElement("style")).innerHTML=m,i.appendChild(e)),262148&n.$$.dirty[0]&&p&&i){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,t},[d,u,i,y,a,b,v,x,t,F,E,()=>{r(5,b=!1),window.postMessage({type:"RandomWidgetState",state:b},window.location.href)},s,o,l,c,h,m,p,g,()=>F(!0),()=>E(),()=>F(),function(e){rt[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}function Wi(e,t){Sr(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden;transition:transform 400ms ease-in-out}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},zi,Ui,n,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),h()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),h()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),h()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),h()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),h()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),h()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),h()}});const Yi={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}};function Vi(e,t,n){e=e.slice();return e[63]=t[n],e}function Zi(e,t,n){e=e.slice();return e[66]=t[n],e}function Ki(n){let a,r,i,s,o,l,c,d,e,u,h,m,p,g,f,y,b,v,w,x,$=n[14],C=[];for(let e=0;e<$.length;e+=1)C[e]=Qi(Zi(n,$,e));let S=n[9],k=[];for(let e=0;e<S.length;e+=1)k[e]=es(Vi(n,S,e));return{c(){a=me("div"),r=me("div"),i=me("div");for(let e=0;e<C.length;e+=1)C[e].c();s=ge(),o=me("div"),l=me("button"),c=j("svg"),d=j("path"),u=ge(),h=me("button"),m=j("svg"),p=j("path"),y=ge(),b=me("div");for(let e=0;e<k.length;e+=1)k[e].c();fe(i,"class","WinnerButtonsContainer"),fe(d,"style",e=n[10]>=n[9].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(p,"style",g=n[10]>=n[9].length?"fill:#F6F6F62E":""),fe(p,"id","Path_36"),fe(p,"data-name","Path 36"),fe(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(p,"transform","translate(0 24.656) rotate(-90)"),fe(p,"fill","#fff"),fe(m,"id","Component_46_2"),fe(m,"data-name","Component 46 – 2"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(m,"width","15"),fe(m,"height","15"),fe(m,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(o,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(a,"class",v="CasinoWinners "+(n[11]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i);for(let e=0;e<C.length;e+=1)C[e]&&C[e].m(i,null);de(r,s),de(r,o),de(o,l),de(l,c),de(c,d),de(o,u),de(o,h),de(h,m),de(m,p),de(a,y),de(a,b);for(let e=0;e<k.length;e+=1)k[e]&&k[e].m(b,null);n[42](b),w||(x=[K(l,"click",n[39]),K(h,"click",n[40])],w=!0)},p(t,n){if(114947&n[0]){let e;for($=t[14],e=0;e<$.length;e+=1){var r=Zi(t,$,e);C[e]?C[e].p(r,n):(C[e]=Qi(r),C[e].c(),C[e].m(i,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=$.length}if(1536&n[0]&&e!==(e=t[10]>=t[9].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),1536&n[0]&&g!==(g=t[10]>=t[9].length?"fill:#F6F6F62E":"")&&fe(p,"style",g),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(o,"class",f),434732&n[0]){let e;for(S=t[9],e=0;e<S.length;e+=1){const i=Vi(t,S,e);k[e]?k[e].p(i,n):(k[e]=es(i),k[e].c(),k[e].m(b,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=S.length}2048&n[0]&&v!==(v="CasinoWinners "+(t[11]?"Mobile":""))&&fe(a,"class",v)},d(e){e&&he(a),H(C,e),H(k,e),n[42](null),w=!1,Z(x)}}}function Xi(e){let n;return{c(){fe(n=me("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function qi(n){let r,a,i,s,o,l=n[15]("recentWinners")+"";return{c(){r=me("button"),a=pe(l),fe(r,"class",i="WinnersButton "+("recent"==n[8]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),s||(o=K(r,"click",n[37]),s=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("recentWinners")+"")&&ye(a,l),257&t[0]&&i!==(i="WinnersButton "+("recent"==e[8]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",i)},d(e){e&&he(r),s=!1,o()}}}function Ji(n){let r,a,i,s,o,l,c=n[15]("topWinners")+"";return{c(){r=me("button"),a=pe(c),i=ge(),fe(r,"class",s="WinnersButton "+("top"==n[8]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),o||(l=K(r,"click",n[38]),o=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("topWinners")+"")&&ye(a,c),258&t[0]&&s!==(s="WinnersButton "+("top"==e[8]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",s)},d(e){e&&he(r),o=!1,l()}}}function Qi(e){let n,r,a="recent"==e[66]&&qi(e),i="top"==e[66]&&Ji(e);return{c(){a&&a.c(),n=ge(),i&&i.c(),r=l()},m(e,t){a&&a.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,r,t)},p(e,t){"recent"==e[66]?a?a.p(e,t):((a=qi(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"top"==e[66]?i?i.p(e,t):((i=Ji(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&he(n),i&&i.d(e),e&&he(r)}}}function es(n){let r,a,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,C,S,k,_,F=n[63].gameName+"",M=n[17](n[63].username)+"",E=n[15]("won")+"",L=n[63].specifiedCurrencyAmount.toFixed(2)+"",G=(n[5]?n[3]:n[2])+"";function T(){return n[41](n[63])}return{c(){r=me("div"),a=me("div"),i=me("img"),l=ge(),c=me("p"),d=pe(F),u=ge(),h=me("p"),m=pe(M),p=ge(),g=me("p"),f=pe(E),y=ge(),b=me("p"),v=pe(L),w=ge(),x=me("span"),$=pe(G),C=ge(),ce(i.src,s=n[63]?.gameModel?.thumbnail)||fe(i,"src",s),fe(i,"alt",o=n[63]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(a,"class","WinnerCard"),fe(r,"class",S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,l),de(a,c),de(c,d),de(a,u),de(a,h),de(h,m),de(a,p),de(a,g),de(g,f),de(a,y),de(a,b),de(b,v),de(b,w),de(b,x),de(x,$),de(r,C),k||(_=K(i,"click",T),k=!0)},p(e,t){n=e,512&t[0]&&!ce(i.src,s=n[63]?.gameModel?.thumbnail)&&fe(i,"src",s),512&t[0]&&o!==(o=n[63]?.gameModel?.thumbnail)&&fe(i,"alt",o),512&t[0]&&F!==(F=n[63].gameName+"")&&ye(d,F),512&t[0]&&M!==(M=n[17](n[63].username)+"")&&ye(m,M),32768&t[0]&&E!==(E=n[15]("won")+"")&&ye(f,E),512&t[0]&&L!==(L=n[63].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,L),44&t[0]&&G!==(G=(n[5]?n[3]:n[2])+"")&&ye($,G),8192&t[0]&&S!==(S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",S)},d(e){e&&he(r),k=!1,_()}}}function ts(n){let r;function a(e){return e[12]?Xi:Ki}let i=a(n),s=i(n);return{c(){r=me("div"),s.c(),this.c=V},m(e,t){ue(e,r,t),s.m(r,null),n[43](r)},p(e,t){i===(i=a(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(r,null)))},i:V,o:V,d(e){e&&he(r),s.d(),n[43](null)}}}function ns(n,e,r){let D;ot(n,Ur,e=>r(15,D=e));let a,i,A,s,B,o,N,l,c,d,{endpoint:u=""}=e,{session:h=""}=e,{userid:m=""}=e,{periodrecent:p="Today"}=e,{periodtop:g="Last7Days"}=e,{numberusersrecent:f="20"}=e,{numberuserstop:y="20"}=e,{amountlimit:b="1"}=e,{vendorCategory:v="All"}=e,{lang:w="en"}=e,{isrecentavailable:x="true"}=e,{istopavailable:$="true"}=e,{defaultcurrency:t=""}=e,{usercurrency:C=""}=e,{clientstyling:S=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:_=""}=e,{tabsorder:F=""}=e,{translationurl:M=""}=e,{winnersdatasources:E=""}=e,L=[],G=0,T=0,O=window.navigator.userAgent,P=!0,H=!1,j=[];Object.keys(Yi).forEach(e=>{Wi(e,Yi[e])});const I=()=>{j=E.split(",").map(function(e){return e.trim()});const t=new URL(`${u}/casino/${i}-winners`);t.searchParams.append("limit","recent"==i?f:y),t.searchParams.append("specifiedCurrency",d),t.searchParams.append("period","recent"==i?p:g),t.searchParams.append("language",w),t.searchParams.append("amountLimit",b),t.searchParams.append("vendorCategory",v),j.forEach(e=>{t.searchParams.append("dataSource",e)}),fetch(t.href).then(e=>e.json()).then(e=>{r(9,L=[]),r(9,L=e.items.map(e=>e)),setTimeout(()=>{r(10,T=Math.round(a.offsetWidth/225)),z(),"true"==_&&(clearInterval(l),G=0,T<N?l=setInterval(()=>{V()},3e3):clearInterval(l)),r(12,P=!1)},5)})},R=e=>{i!==e&&(r(9,L=[]),r(8,i=e),I())},U=(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:""+(B||"Not logged in")})},z=n=>{var e=[...a.children];N=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{r(13,H=!0)},10)},W=()=>{z(G)},Y=()=>{var e;T>=L.length||(e=L.length,0===G?G=e-T:G-T<0?G=0:G-=T,W())},V=()=>{var e;T>=L.length||(e=L.length,"true"==_&&(G===e-T?G=0:G++),"false"==_&&(G===e-T?G=0:e-T<G+T?G=e-T:G+=T),W())},Z=()=>{r(36,d=s?C:t)};return lt(()=>(r(11,A=it(O)),()=>{clearInterval(l)})),n.$$set=e=>{"endpoint"in e&&r(22,u=e.endpoint),"session"in e&&r(23,h=e.session),"userid"in e&&r(24,m=e.userid),"periodrecent"in e&&r(25,p=e.periodrecent),"periodtop"in e&&r(26,g=e.periodtop),"numberusersrecent"in e&&r(27,f=e.numberusersrecent),"numberuserstop"in e&&r(28,y=e.numberuserstop),"amountlimit"in e&&r(21,b=e.amountlimit),"vendorCategory"in e&&r(29,v=e.vendorCategory),"lang"in e&&r(30,w=e.lang),"isrecentavailable"in e&&r(0,x=e.isrecentavailable),"istopavailable"in e&&r(1,$=e.istopavailable),"defaultcurrency"in e&&r(2,t=e.defaultcurrency),"usercurrency"in e&&r(3,C=e.usercurrency),"clientstyling"in e&&r(31,S=e.clientstyling),"clientstylingurl"in e&&r(32,k=e.clientstylingurl),"enableautoscroll"in e&&r(4,_=e.enableautoscroll),"tabsorder"in e&&r(33,F=e.tabsorder),"translationurl"in e&&r(34,M=e.translationurl),"winnersdatasources"in e&&r(35,E=e.winnersdatasources)},n.$$.update=()=>{if(2116026371&n.$$.dirty[0]|4&n.$$.dirty[1]&&x&&$&&p&&g&&f&&y&&b&&v&&w&&F&&(r(14,c=F.split(",")),r(8,i=c[0]),"false"==x&&r(21,b=""),Z(),r(12,P=!1)),12582912&n.$$.dirty[0]&&h&&u&&(r(5,s=!0),B=m),32&n.$$.dirty[0]&&s&&Z(),4194304&n.$$.dirty[0]|32&n.$$.dirty[1]&&u&&d&&I(),1073741824&n.$$.dirty[0]&&w&&(t=w,at.set(t)),8&n.$$.dirty[1]&&M&&(t=new URL(M),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Wi(e,t[e])})}).catch(e=>{console.log(e)})),64&n.$$.dirty[0]|1&n.$$.dirty[1]&&S&&o&&((e=document.createElement("style")).innerHTML=S,o.appendChild(e)),64&n.$$.dirty[0]|2&n.$$.dirty[1]&&k&&o){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e,t;16&n.$$.dirty[1]&&E&&I()},[x,$,t,C,_,s,o,a,i,L,T,A,P,H,c,D,R,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),U,Y,V,b,u,h,m,p,g,f,y,v,w,S,k,F,M,E,d,()=>R("recent"),()=>R("top"),()=>Y(),()=>V(),e=>U(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){rt[e?"unshift":"push"](()=>{a=e,r(7,a)})},function(e){rt[e?"unshift":"push"](()=>{o=e,r(6,o)})}]}function rs(e,t){Sr(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.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}.Mobile .WinnersButton:not(:last-child){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}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ns,ts,n,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,vendorCategory:29,lang:30,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:31,clientstylingurl:32,enableautoscroll:4,tabsorder:33,translationurl:34,winnersdatasources:35},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),h()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),h()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),h()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),h()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),h()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),h()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),h()}get vendorCategory(){return this.$$.ctx[29]}set vendorCategory(e){this.$$set({vendorCategory:e}),h()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),h()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),h()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),h()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),h()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),h()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),h()}get tabsorder(){return this.$$.ctx[33]}set tabsorder(e){this.$$set({tabsorder:e}),h()}get translationurl(){return this.$$.ctx[34]}set translationurl(e){this.$$set({translationurl:e}),h()}get winnersdatasources(){return this.$$.ctx[35]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),h()}});const as={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."}};function is(e,t,n){e=e.slice();return e[48]=t[n],e[50]=n,e}function ss(n){let r,a,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v;function w(e){return e[5]?cs:ds}let x=w(n),$=x(n);return{c(){r=me("div"),a=me("div"),i=me("div"),s=me("div"),o=me("img"),c=ge(),d=me("div"),$.c(),u=ge(),h=me("div"),m=me("img"),ce(o.src,l=n[6])||fe(o,"src",l),fe(o,"alt",""),fe(s,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(m.src,p=n[11])||fe(m,"src",p),fe(m,"alt",""),fe(h,"class","title"),fe(i,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),_(i,"background","url("+n[10]+")"),fe(a,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,s),de(s,o),de(i,c),de(i,d),$.m(d,null),de(i,u),de(i,h),de(h,m),b||(v=K(a,"click",n[31]),b=!0)},p(e,t){64&t[0]&&!ce(o.src,l=e[6])&&fe(o,"src",l),x===(x=w(e))&&$?$.p(e,t):($.d(1),($=x(e))&&($.c(),$.m(d,null))),2048&t[0]&&!ce(m.src,p=e[11])&&fe(m,"src",p),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",g),1024&t[0]&&_(i,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&he(r),$.d(),b=!1,v()}}}function os(e){let n;return{c(){fe(n=me("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function ls(e){let n;return{c(){(n=me("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function cs(e){let n,r,a,i,s,o,A,l,c,B,N,d,O,H,u,h,m,p,g,j,f,y,U,z,b,W,Y,v,w,x,$,C,S,V,k,_,Z,K,F,X,q,M,E,L,G,T,J,P,I,Q,ee,R,te,D=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ae=e[7][1]+"",ie=e[8][2]+"",se=e[7][2]+"",oe=e[8][3]+"",le=e[7][3]+"";return{c(){n=me("div"),r=me("div"),a=me("div"),i=me("img"),o=me("span"),A=pe(D),l=me("span"),c=me("span"),B=pe(ne),N=ge(),d=me("span"),O=pe(e[1]),H=ge(),u=me("div"),h=me("div"),m=me("img"),g=me("span"),j=pe(re),f=me("span"),y=me("span"),U=pe(ae),z=ge(),b=me("span"),W=pe(e[1]),Y=ge(),v=me("div"),w=me("div"),x=me("div"),$=me("img"),S=me("span"),V=pe(ie),k=me("span"),_=me("span"),Z=pe(se),K=ge(),F=me("span"),X=pe(e[1]),q=ge(),M=me("div"),E=me("div"),L=me("img"),T=me("span"),J=pe(oe),P=me("span"),I=me("span"),Q=pe(le),ee=ge(),R=me("span"),te=pe(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,s=e[9][0])||fe(i,"src",s),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(m,"class","displayCardIcon"),ce(m.src,p=e[9][1])||fe(m,"src",p),fe(m,"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($,"class","displayCardIcon"),ce($.src,C=e[9][2])||fe($,"src",C),fe($,"alt",""),fe(S,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(_,"class","jackpotValue"),fe(F,"class","jackpot-currency"),fe(k,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(L,"class","displayCardIcon"),ce(L.src,G=e[9][3])||fe(L,"src",G),fe(L,"alt",""),fe(T,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(M,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(a,i),de(a,o),de(o,A),de(r,l),de(l,c),de(c,B),de(l,N),de(l,d),de(d,O),de(n,H),de(n,u),de(u,h),de(h,m),de(h,g),de(g,j),de(u,f),de(f,y),de(y,U),de(f,z),de(f,b),de(b,W),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,x),de(x,$),de(x,S),de(S,V),de(w,k),de(k,_),de(_,Z),de(k,K),de(k,F),de(F,X),de(v,q),de(v,M),de(M,E),de(E,L),de(E,T),de(T,J),de(M,P),de(P,I),de(I,Q),de(P,ee),de(P,R),de(R,te)},p(e,t){512&t[0]&&!ce(i.src,s=e[9][0])&&fe(i,"src",s),256&t[0]&&D!==(D=e[8][0]+"")&&ye(A,D),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(B,ne),2&t[0]&&ye(O,e[1]),512&t[0]&&!ce(m.src,p=e[9][1])&&fe(m,"src",p),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ae!==(ae=e[7][1]+"")&&ye(U,ae),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce($.src,C=e[9][2])&&fe($,"src",C),256&t[0]&&ie!==(ie=e[8][2]+"")&&ye(V,ie),128&t[0]&&se!==(se=e[7][2]+"")&&ye(Z,se),2&t[0]&&ye(X,e[1]),512&t[0]&&!ce(L.src,G=e[9][3])&&fe(L,"src",G),256&t[0]&&oe!==(oe=e[8][3]+"")&&ye(J,oe),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 ds(t){let a,i=Array(4),s=[];for(let e=0;e<i.length;e+=1)s[e]=us(is(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();a=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);ue(t,a,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var r=is(t,i,e);s[e]?s[e].p(r,n):(s[e]=us(r),s[e].c(),s[e].m(a.parentNode,a))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){H(s,e),e&&he(a)}}}function us(e){let n,r,a,i,s,o,l,c,d,u,h,m,p=e[8][e[50]]+"",g=(e[7][e[50]]??"")+"";return{c(){n=me("div"),r=me("div"),a=me("img"),s=me("span"),o=pe(p),l=me("span"),c=me("span"),d=pe(g),u=ge(),h=me("span"),m=pe(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,i=e[9][e[50]])||fe(a,"src",i),fe(a,"alt",""),fe(s,"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,a),de(r,s),de(s,o),de(n,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,m)},p(e,t){512&t[0]&&!ce(a.src,i=e[9][e[50]])&&fe(a,"src",i),256&t[0]&&p!==(p=e[8][e[50]]+"")&&ye(o,p),128&t[0]&&g!==(g=(e[7][e[50]]??"")+"")&&ye(d,g),2&t[0]&&ye(m,e[1])},d(e){e&&he(n)}}}function hs(n){let r;function a(e){return e[13]?ls:e[3]?os:ss}let i=a(n),s=i(n);return{c(){r=me("div"),s.c(),this.c=V},m(e,t){ue(e,r,t),s.m(r,null),n[32](r)},p(e,t){i===(i=a(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(r,null)))},i:V,o:V,d(e){e&&he(r),s.d(),n[32](null)}}}function ms(r,e,a){let i,s,{visualstructure:o=""}=e,{title:t=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:h=""}=e,{backgroundsrc:m=""}=e,{currency:p=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:x=""}=e,{gameid:$=""}=e,A=window.navigator.userAgent,C=!1,S=!1,k="",_=[],F=[],M=[],E=[],L=[],G="",T="",P=!1,I=!0,R=!1;Object.keys(as).forEach(e=>{rs(e,as[e])});const D=["typeSpread","typeLeft"],n=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:$},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+$})};return r.$$set=e=>{"visualstructure"in e&&a(0,o=e.visualstructure),"title"in e&&a(15,t=e.title),"caticon0"in e&&a(16,l=e.caticon0),"caticon1"in e&&a(17,c=e.caticon1),"caticon2"in e&&a(18,d=e.caticon2),"caticon3"in e&&a(19,u=e.caticon3),"iconlabels"in e&&a(20,h=e.iconlabels),"backgroundsrc"in e&&a(21,m=e.backgroundsrc),"currency"in e&&a(1,p=e.currency),"backgroundsrcmobile"in e&&a(22,g=e.backgroundsrcmobile),"titlelogopath"in e&&a(23,f=e.titlelogopath),"lang"in e&&a(24,y=e.lang),"clientstyling"in e&&a(25,b=e.clientstyling),"clientstylingurl"in e&&a(26,v=e.clientstylingurl),"translationurl"in e&&a(27,w=e.translationurl),"endpoint"in e&&a(28,x=e.endpoint),"gameid"in e&&a(29,$=e.gameid)},r.$$.update=()=>{if(268435456&r.$$.dirty[0]&&x&&(n=new URL(x+"/casino/jackpots/config"),fetch(n.href).then(e=>e.json()).then(e=>{a(30,F=e.egtJackpotIds.map(e=>e))})),33554436&r.$$.dirty[0]&&i&&b&&((n=document.createElement("style")).innerHTML=b,i.appendChild(n)),67108868&r.$$.dirty[0]&&i&&v){a(12,P=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{a(12,P=!1)},500)})}var e,t,n;1358954498&r.$$.dirty[0]&&x&&y&&p&&0<F.length&&x&&y&&p&&((t=new URL(x+"/casino/jackpots")).searchParams.append("filter","id="+$),t.searchParams.append("language",y),t.searchParams.append("additionalDataCurrency",p),fetch(t.href).then(e=>e.json().then(e=>{a(3,I=!1),s=e,F.includes($)&&((e=null==(e=null==(e=s)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>_.push(+e)),e=s,a(6,k=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{a(13,R=!0),a(3,I=!1),console.error(e)}))),16777226&r.$$.dirty[0]&&p&&y&&!I&&(a(4,C=it(A)&&1<window.innerHeight/window.innerWidth),a(5,S=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==_.length&&a(7,M=_.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),a(8,E=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),D.includes(o.trim())?a(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${D[0]}"`),a(0,o=D[0])),a(10,G=g&&C&&!S?g:m),a(11,T=f),a(9,L=[l,c,d,u])),16777216&r.$$.dirty[0]&&y&&(e=y,at.set(e)),134217728&r.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{rs(e,t[e])})}).catch(e=>{console.log(e)})},[o,p,i,I,C,S,k,M,E,L,G,T,P,R,n,t,l,c,d,u,h,m,g,f,y,b,v,w,x,$,F,()=>n(),function(e){rt[e?"unshift":"push"](()=>{i=e,a(2,i)})}]}function ps(e,t){Sr(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ms,hs,n,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),h()}get title(){return this.$$.ctx[15]}set title(e){this.$$set({title:e}),h()}get caticon0(){return this.$$.ctx[16]}set caticon0(e){this.$$set({caticon0:e}),h()}get caticon1(){return this.$$.ctx[17]}set caticon1(e){this.$$set({caticon1:e}),h()}get caticon2(){return this.$$.ctx[18]}set caticon2(e){this.$$set({caticon2:e}),h()}get caticon3(){return this.$$.ctx[19]}set caticon3(e){this.$$set({caticon3:e}),h()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(e){this.$$set({iconlabels:e}),h()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),h()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),h()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),h()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(e){this.$$set({titlelogopath:e}),h()}get lang(){return this.$$.ctx[24]}set lang(e){this.$$set({lang:e}),h()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[27]}set translationurl(e){this.$$set({translationurl:e}),h()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),h()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),h()}});const gs={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."},hr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function fs(e,t,n){e=e.slice();return e[39]=t[n],e}function ys(e,t,n){e=e.slice();return e[42]=t[n],e}function bs(n){let a,r,i,s,o,l,c,d,u,h,m,e,p,g,f=("vendor"==n[0]?n[8]("providers"):n[8]("collections"))+"",y=n[3],b=[];for(let e=0;e<y.length;e+=1)b[e]=Ss(fs(n,y,e));return{c(){a=me("div"),r=me("div"),i=me("p"),s=pe(f),o=ge(),l=me("div"),(c=me("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',d=ge(),(u=me("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',h=ge(),m=me("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(i,"class","Title"),fe(l,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(m,"class","CategoriesSlider"),fe(a,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,s),de(r,o),de(r,l),de(l,c),de(l,d),de(l,u),de(a,h),de(a,m);for(let e=0;e<b.length;e+=1)b[e]&&b[e].m(m,null);n[23](m),p||(g=[K(c,"click",n[19]),K(u,"click",n[20])],p=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("providers"):t[8]("collections"))+"")&&ye(s,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var r=fs(t,y,e);b[e]?b[e].p(r,n):(b[e]=Ss(r),b[e].c(),b[e].m(m,null))}for(;e<b.length;e+=1)b[e].d(1);b.length=y.length}128&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[7]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&he(a),H(b,e),n[23](null),p=!1,Z(g)}}}function vs(e){let n;return{c(){fe(n=me("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function ws(e){let n,r,a=e[39].name+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){8&t[0]&&a!==(a=e[39].name+"")&&ye(r,a)},d(e){e&&he(n)}}}function xs(e){let n,r,a;return{c(){fe(n=me("img"),"class","CategorySlideLogo"),ce(n.src,r=e[39].icon)||fe(n,"src",r),fe(n,"alt",a=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,r=e[39].icon)&&fe(n,"src",r),8&t[0]&&a!==(a=e[39].name+" icon")&&fe(n,"alt",a)},d(e){e&&he(n)}}}function $s(e){let n,r,a,i=e[42].name+"";return{c(){n=me("p"),r=pe(i),fe(n,"title",a=e[42].name)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){8&t[0]&&i!==(i=e[42].name+"")&&ye(r,i),8&t[0]&&a!==(a=e[42].name)&&fe(n,"title",a)},d(e){e&&he(n)}}}function Cs(n){let r,a,i,s,o,l,c,d;function u(){return n[21](n[42])}let h="true"==n[2]&&$s(n);return{c(){r=me("div"),a=me("img"),o=ge(),h&&h.c(),l=ge(),fe(a,"class","CategorySlideGameImage"),ce(a.src,i=n[42].defaultThumbnail)||fe(a,"src",i),fe(a,"alt",s=n[42].name),fe(r,"class","CategorySlideGames")},m(e,t){var n;ue(e,r,t),de(r,a),de(r,o),h&&h.m(r,null),de(r,l),c||(d=K(a,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(a.src,i=n[42].defaultThumbnail)&&fe(a,"src",i),8&t[0]&&s!==(s=n[42].name)&&fe(a,"alt",s),"true"==n[2]?h?h.p(n,t):((h=$s(n)).c(),h.m(r,l)):h&&(h.d(1),h=null)},d(e){e&&he(r),h&&h.d(),c=!1,d()}}}function Ss(n){let r,a,i,s,o,l,c,d,u;function h(e){return"logo"==e[1]?xs:"title"==e[1]?ws:void 0}let m=h(n),p=m&&m(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=Cs(ys(n,g,e));function y(){return n[22](n[39])}return{c(){r=me("div"),a=me("div"),i=me("div"),p&&p.c(),s=ge(),o=me("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(i,"class","CategorySlideTopContainer"),fe(o,"class","CategorySlideGameContainer"),fe(a,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),_(a,"background-image","url("+n[39]?.background+")"),_(a,"background-size","cover"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,r,t),de(r,a),de(a,i),p&&p.m(i,null),de(a,s),de(a,o);for(let e=0;e<f.length;e+=1)f[e]&&f[e].m(o,null);de(r,c),d||(u=K(a,"click",y),d=!0)},p(e,t){if(m===(m=h(n=e))&&p?p.p(n,t):(p&&p.d(1),(p=m&&m(n))&&(p.c(),p.m(i,null))),2060&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const a=ys(n,g,e);f[e]?f[e].p(a,t):(f[e]=Cs(a),f[e].c(),f[e].m(o,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(a,"class",l),8&t[0]&&_(a,"background-image","url("+n[39]?.background+")")},d(e){e&&he(r),p&&p.d(),H(f,e),d=!1,u()}}}function ks(n){let r;function a(e){return e[6]?vs:bs}let i=a(n),s=i(n);return{c(){r=me("div"),s.c(),this.c=V},m(e,t){ue(e,r,t),s.m(r,null),n[24](r)},p(e,t){i===(i=a(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(r,null)))},i:V,o:V,d(e){e&&he(r),s.d(),n[24](null)}}}function _s(n,e,r){let t;ot(n,Ur,e=>r(8,t=e));let a,i,s,o,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:h=""}=e,{titletype:m=""}=e,{clientstyling:p=""}=e,{clientstylingurl:g=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,b=[],v=!0,w=0,x=0,$=0,C=window.navigator.userAgent;Object.keys(gs).forEach(e=>{ps(e,gs[e])});const S=n=>{(s=[...a.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),s.map(e=>i=e.getBoundingClientRect().width),$=Math.round(a.offsetWidth/i)},k=()=>{S(w)},_=()=>{$>=x||(0===w?w=x-$:w-$<-1?w=0:w--,k())},F=()=>{$>=x||(w===x-$?w=0:x-$<w+1?w=x-$:w++,k())},M=(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})},E=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return lt(()=>{r(7,l=it(C))}),n.$$set=e=>{"endpoint"in e&&r(13,c=e.endpoint),"datasource"in e&&r(14,d=e.datasource),"lang"in e&&r(15,u=e.lang),"type"in e&&r(0,h=e.type),"titletype"in e&&r(1,m=e.titletype),"clientstyling"in e&&r(16,p=e.clientstyling),"clientstylingurl"in e&&r(17,g=e.clientstylingurl),"translationurl"in e&&r(18,f=e.translationurl),"collectionprovidersgamenames"in e&&r(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u&&((t=new URL(c+"/v2/casino/groups/"+d)).searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(6,v=!1);e=e.items.filter(e=>e.flags==h);r(3,b=e.map(e=>{var t;return{id:e.id,name:e.name,icon:e.icon||(null==(t=null==(t=null==(t=e.vendors)?void 0:t.items[0])?void 0:t.subVendors[0])?void 0:t.logo),games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}})),x=b.length})),24&n.$$.dirty[0]&&b&&a&&S(),32768&n.$$.dirty[0]&&u&&(t=u,at.set(t)),65568&n.$$.dirty[0]&&p&&o&&((e=document.createElement("style")).innerHTML=p,o.appendChild(e)),131104&n.$$.dirty[0]&&g&&o){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ps(e,t[e])})}).catch(e=>{console.log(e)})},[h,m,y,b,a,o,v,l,t,_,F,M,E,c,d,u,p,g,f,()=>_(),()=>F(),e=>M(e.gameId,e.launchUrl,e.name),e=>E(e.id),function(e){rt[e?"unshift":"push"](()=>{a=e,r(4,a)})},function(e){rt[e?"unshift":"push"](()=>{o=e,r(5,o)})}]}function Fs(n){let r,a,i,s,o;return{c(){r=me("div"),a=me("casino-games-category-section"),this.c=V,S(a,"session",n[0]),S(a,"userid",n[1]),S(a,"endpoint",n[2]),S(a,"datasource",n[3]),S(a,"lang",n[5]),S(a,"currency",n[4]),S(a,"favorites",n[13]),S(a,"categoryid","FAVORITES"),S(a,"class","CategoryContainer"),S(a,"clientstyling",n[6]),S(a,"clientstylingurl",n[7]),S(a,"livecasino",n[8]),S(a,"visiblegames",n[12]),S(a,"gamepagemodalurl",n[11]),S(a,"integratedgameframedesktop",n[10]),S(a,"integratedgameframemobile",n[9]),S(a,"casinomygames",n[14]),fe(r,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,r,t),de(r,a),n[18](r),s||(o=F(i=n[16].call(null,a,(n[2],n[1],n[0],n[1]))),s=!0)},p(e,[t]){1&t&&S(a,"session",e[0]),2&t&&S(a,"userid",e[1]),4&t&&S(a,"endpoint",e[2]),8&t&&S(a,"datasource",e[3]),32&t&&S(a,"lang",e[5]),16&t&&S(a,"currency",e[4]),8192&t&&S(a,"favorites",e[13]),64&t&&S(a,"clientstyling",e[6]),128&t&&S(a,"clientstylingurl",e[7]),256&t&&S(a,"livecasino",e[8]),4096&t&&S(a,"visiblegames",e[12]),2048&t&&S(a,"gamepagemodalurl",e[11]),1024&t&&S(a,"integratedgameframedesktop",e[10]),512&t&&S(a,"integratedgameframemobile",e[9]),16384&t&&S(a,"casinomygames",e[14]),i&&k(i.update)&&7&t&&i.update.call(null,(e[2],e[1],e[0],e[1]))},i:V,o:V,d(e){e&&he(r),n[18](null),s=!1,o()}}}function Ms(t,e,o){let n,r,{endpoint:l=""}=e,{datasource:a=""}=e,{currency:i=""}=e,{lang:s=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,{visiblegames:y=""}=e,{favorites:b=""}=e,{categoryid:v=""}=e,{casinomygames:w="false"}=e,x=[];var $,C;({withLocale:$,translations:C}={withLocale:"en",translations:{}}),at.subscribe(e=>{null==e&&($r.set(C),at.set($))});const S=n=>{if(n.data)switch(n.data.type){case"UserSessionID":o(0,c=n.data.session),o(1,d=n.data.userID),d&&d.length&&c&&0<c.length&&k(l,c,d);break;case"SetUnfavoredGame":e=`${l}/player/${d}/favorites`,t=c,d,s=n.data.id,n.data.triggerFactor,x.includes(s)&&(x=x.filter(e=>e!=s)),fetch(e+"/"+s,{method:"DELETE",headers:{"X-SessionID":t}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+s},window.location.href),_(e,t)});break;case"SetFavoredGame":{var r=`${l}/player/${d}/favorites`;var a=c;d;var i=n.data.id;n.data.triggerFactor;x.includes(i)||x.push(i);let e={items:x},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),_(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&k(l,c,d)}var e,t,s};let k=(e,t,n)=>{"true"==b&&c&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(F(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),M(r.items)),r)).then(e=>e).catch(e=>{console.error(e)})};let _=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,F(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),r)).catch(e=>{console.error(e)})};const F=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},M=(e=[])=>(x=[],0<e.length&&e.forEach(e=>{x.push(e.id)}),x);return lt(()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)})),t.$$set=e=>{"endpoint"in e&&o(2,l=e.endpoint),"datasource"in e&&o(3,a=e.datasource),"currency"in e&&o(4,i=e.currency),"lang"in e&&o(5,s=e.lang),"session"in e&&o(0,c=e.session),"userid"in e&&o(1,d=e.userid),"clientstyling"in e&&o(6,u=e.clientstyling),"clientstylingurl"in e&&o(7,h=e.clientstylingurl),"livecasino"in e&&o(8,m=e.livecasino),"integratedgameframemobile"in e&&o(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&o(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&o(11,f=e.gamepagemodalurl),"visiblegames"in e&&o(12,y=e.visiblegames),"favorites"in e&&o(13,b=e.favorites),"categoryid"in e&&o(17,v=e.categoryid),"casinomygames"in e&&o(14,w=e.casinomygames)},t.$$.update=()=>{if(8231&t.$$.dirty&&l&&d&&c&&s&&b&&"true"==b&&k(l,c,d),32832&t.$$.dirty&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),32896&t.$$.dirty&&h&&n){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e},[c,d,l,a,i,s,u,h,m,p,g,f,y,b,w,n,k,v,function(e){rt[e?"unshift":"push"](()=>{n=e,o(15,n)})}]}function Es(e,t){Sr(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':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;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},_s,ks,n,{endpoint:13,datasource:14,lang:15,type:0,titletype:1,clientstyling:16,clientstylingurl:17,translationurl:18,collectionprovidersgamenames:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl","collectionprovidersgamenames"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),h()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),h()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),h()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),h()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),h()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ms,Fs,n,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:17,casinomygames:14},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),h()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),h()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),h()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),h()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),h()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),h()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),h()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),h()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),h()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),h()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),h()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),h()}});const Ls={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."}};function Gs(e){let n;return{c(){S(n=me("casino-games-category-section"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[13]),S(n,"categoryid","LASTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),4096&t[0]&&S(n,"visiblegames",e[12]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),1024&t[0]&&S(n,"integratedgameframedesktop",e[10]),512&t[0]&&S(n,"integratedgameframemobile",e[9]),16384&t[0]&&S(n,"casinomygames",e[14])},d(e){e&&he(n)}}}function Ts(e){let n,r,a=e[17]("noRecentGames")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){131072&t[0]&&a!==(a=e[17]("noRecentGames")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ps(n){let r,a;function i(e){return e[16]?Ts:Gs}let s=i(n),o=s(n);return{c(){r=me("div"),a=me("div"),o.c(),this.c=V,fe(a,"class","CasinoLastPlayedSection"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),o.m(a,null),n[23](r)},p(e,t){s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(a,null)))},i:V,o:V,d(e){e&&he(r),o.d(),n[23](null)}}}function Is(t,e,n){let r;ot(t,Ur,e=>n(17,r=e));let a,i,{endpoint:s=""}=e,{datasource:o=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:h=""}=e,{clientstylingurl:m=""}=e,{translationurl:p=""}=e,{livecasino:g="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:v=""}=e,{favorites:w=""}=e,{lastplayedperiod:x="Last30Days"}=e,{lastplayedorder:$=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:k="true"}=e,_=window.navigator.userAgent,F=!1,M;Object.keys(Ls).forEach(e=>{Es(e,Ls[e])});return t.$$set=e=>{"endpoint"in e&&n(0,s=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,l=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,h=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"translationurl"in e&&n(18,p=e.translationurl),"livecasino"in e&&n(8,g=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,b=e.gamepagemodalurl),"visiblegames"in e&&n(12,v=e.visiblegames),"favorites"in e&&n(13,w=e.favorites),"lastplayedperiod"in e&&n(19,x=e.lastplayedperiod),"lastplayedorder"in e&&n(20,$=e.lastplayedorder),"lastplayedlimit"in e&&n(21,C=e.lastplayedlimit),"casinomygames"in e&&n(14,S=e.casinomygames),"lastplayedunique"in e&&n(22,k=e.lastplayedunique)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&s&&u&&c&&new Promise((e,t)=>{var n=new URL(`${s}/player/${u}/games/last-played`);n.searchParams.append("unique",k),n.searchParams.append("limit",C),n.searchParams.append("order",$),n.searchParams.append("period",x),"PC"===st(_)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),a=g?n:n.href,fetch(a).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(s+"/casino/games/"+e.gameId);e.searchParams.append("datasource",o),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{M=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:M},window.location.href)})}else n(16,F=!0)}),262144&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Es(e,t[e])})}).catch(e=>{console.log(e)}),32832&t.$$.dirty[0]&&h&&i&&((e=document.createElement("style")).innerHTML=h,i.appendChild(e)),32896&t.$$.dirty[0]&&m&&i){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;8&t.$$.dirty[0]&&c&&(e=c,at.set(e))},[s,o,l,c,d,u,h,m,g,f,y,b,v,w,S,i,F,r,p,x,$,C,k,function(e){rt[e?"unshift":"push"](()=>{i=e,n(15,i)})}]}function Rs(e){let n;return{c(){S(n=me("casino-games-category-section"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[13]),S(n,"categoryid","MOSTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),4096&t[0]&&S(n,"visiblegames",e[12]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),1024&t[0]&&S(n,"integratedgameframedesktop",e[10]),512&t[0]&&S(n,"integratedgameframemobile",e[9]),16384&t[0]&&S(n,"casinomygames",e[14])},d(e){e&&he(n)}}}function Ds(e){let n;return{c(){(n=me("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function As(n){let r,a;function i(e){return e[16]?Ds:Rs}let s=i(n),o=s(n);return{c(){r=me("div"),a=me("div"),o.c(),this.c=V,fe(a,"class","casino-most-played-section"),fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),o.m(a,null),n[20](r)},p(e,t){s===(s=i(e))&&o?o.p(e,t):(o.d(1),(o=s(e))&&(o.c(),o.m(a,null)))},i:V,o:V,d(e){e&&he(r),o.d(),n[20](null)}}}function Bs(r,e,a){let i,s,{endpoint:o=""}=e,{datasource:l=""}=e,{currency:t=""}=e,{lang:c=""}=e,{session:n=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,{casinomygames:w="false"}=e,{mostplayedperiod:x="Last30Days"}=e,{mostplayedrounds:$="10"}=e,C=window.navigator.userAgent,S=[],k=!1;return r.$$set=e=>{"endpoint"in e&&a(0,o=e.endpoint),"datasource"in e&&a(1,l=e.datasource),"currency"in e&&a(2,t=e.currency),"lang"in e&&a(3,c=e.lang),"session"in e&&a(4,n=e.session),"userid"in e&&a(5,d=e.userid),"clientstyling"in e&&a(6,u=e.clientstyling),"clientstylingurl"in e&&a(7,h=e.clientstylingurl),"livecasino"in e&&a(8,m=e.livecasino),"integratedgameframemobile"in e&&a(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&a(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&a(11,f=e.gamepagemodalurl),"visiblegames"in e&&a(12,y=e.visiblegames),"favorites"in e&&a(13,b=e.favorites),"lastPlayedEmpty"in e&&a(17,v=e.lastPlayedEmpty),"casinomygames"in e&&a(14,w=e.casinomygames),"mostplayedperiod"in e&&a(18,x=e.mostplayedperiod),"mostplayedrounds"in e&&a(19,$=e.mostplayedrounds)},r.$$.update=()=>{if(41&r.$$.dirty[0]&&o&&d&&c&&(e={limit:100,device:st(C),rounds:$},t=new URL(`${o}/player/${d}/games/most-played`),e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x),(n=e.device)?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),i=m?t:t.href,new Promise((e,t)=>{fetch(i).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(o+"/casino/games/"+e.gameId);e.searchParams.append("datasource",l),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{S=e.map(e=>e[0]),"true"===w&&(S=S.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:S},window.location.href)})}else a(16,k=!0)})),32832&r.$$.dirty[0]&&u&&s&&((n=document.createElement("style")).innerHTML=u,s.appendChild(n)),32896&r.$$.dirty[0]&&h&&s){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,t,n;8&r.$$.dirty[0]&&c&&(e=c,at.set(e))},[o,l,t,c,n,d,u,h,m,p,g,f,y,b,w,s,k,v,x,$,function(e){rt[e?"unshift":"push"](()=>{s=e,a(15,s)})}]}function Ns(e,t){Sr(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Is,Ps,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:18,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,casinomygames:14,lastplayedunique:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),h()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),h()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),h()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),h()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),h()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),h()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),h()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),h()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),h()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),h()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),h()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),h()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),h()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),h()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),h()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),h()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Bs,As,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:17,casinomygames:14,mostplayedperiod:18,mostplayedrounds:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),h()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),h()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),h()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),h()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),h()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),h()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),h()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),h()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),h()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),h()}get lastPlayedEmpty(){return this.$$.ctx[17]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),h()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),h()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),h()}get mostplayedrounds(){return this.$$.ctx[19]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),h()}});const Os={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},tr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};function Hs(e,t,n){e=e.slice();return e[42]=t[n],e}function js(t){let a,n,i,r,s,e,o=t[26],l=[];for(let e=0;e<o.length;e+=1)l[e]=Ys(Hs(t,o,e));function c(e){return"Favorites"==e[24]?Ks:"MostPlayed"==e[24]?Zs:"LastPlayed"==e[24]?Vs:void 0}let d=c(t),u=d&&d(t);return{c(){a=me("div"),n=me("div"),i=me("div");for(let e=0;e<l.length;e+=1)l[e].c();r=ge(),s=me("div"),u&&u.c(),fe(i,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(a,"class",e="CasinoMyGames "+(t[25]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,n),de(n,i);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(i,null);de(a,r),de(a,s),u&&u.m(s,null)},p(t,n){if(1023467520&n[0]){let e;for(o=t[26],e=0;e<o.length;e+=1){var r=Hs(t,o,e);l[e]?l[e].p(r,n):(l[e]=Ys(r),l[e].c(),l[e].m(i,null))}for(;e<l.length;e+=1)l[e].d(1);l.length=o.length}d===(d=c(t))&&u?u.p(t,n):(u&&u.d(1),(u=d&&d(t))&&(u.c(),u.m(s,null))),33554432&n[0]&&e!==(e="CasinoMyGames "+(t[25]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&he(a),H(l,e),u&&u.d()}}}function Us(n){let r,a,i,s,o,l,c,d,u,h,m=n[28]("favorites")+"";return{c(){r=me("button"),a=pe(m),i=ge(),s=me("span"),o=pe("("),l=pe(n[27]),c=pe(")"),fe(r,"class",d="MyGamesButton "+("Favorites"==n[24]?"Active":"")+" "+("false"==n[13]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),de(r,s),de(s,o),de(s,l),de(s,c),u||(h=K(r,"click",n[31]),u=!0)},p(e,t){268435456&t[0]&&m!==(m=e[28]("favorites")+"")&&ye(a,m),134217728&t[0]&&ye(l,e[27]),16785408&t[0]&&d!==(d="MyGamesButton "+("Favorites"==e[24]?"Active":"")+" "+("false"==e[13]?"Off":""))&&fe(r,"class",d)},d(e){e&&he(r),u=!1,h()}}}function zs(n){let r,a,i,s,o,l=n[28]("mostPlayed")+"";return{c(){r=me("button"),a=pe(l),fe(r,"class",i="MyGamesButton "+("MostPlayed"==n[24]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),s||(o=K(r,"click",n[32]),s=!0)},p(e,t){268435456&t[0]&&l!==(l=e[28]("mostPlayed")+"")&&ye(a,l),16793600&t[0]&&i!==(i="MyGamesButton "+("MostPlayed"==e[24]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(r,"class",i)},d(e){e&&he(r),s=!1,o()}}}function Ws(n){let r,a,i,s,o,l,c=n[28]("recentlyPlayed")+"";return{c(){r=me("button"),a=pe(c),i=ge(),fe(r,"class",s="MyGamesButton "+("LastPlayed"==n[24]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),o||(l=K(r,"click",n[33]),o=!0)},p(e,t){268435456&t[0]&&c!==(c=e[28]("recentlyPlayed")+"")&&ye(a,c),16809984&t[0]&&s!==(s="MyGamesButton "+("LastPlayed"==e[24]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(r,"class",s)},d(e){e&&he(r),o=!1,l()}}}function Ys(e){let n,r,a,i="Favorites"==e[42]&&Us(e),s="MostPlayed"==e[42]&&zs(e),o="LastPlayed"==e[42]&&Ws(e);return{c(){i&&i.c(),n=ge(),s&&s.c(),r=ge(),o&&o.c(),a=l()},m(e,t){i&&i.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,r,t),o&&o.m(e,t),ue(e,a,t)},p(e,t){"Favorites"==e[42]?i?i.p(e,t):((i=Us(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"MostPlayed"==e[42]?s?s.p(e,t):((s=zs(e)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null),"LastPlayed"==e[42]?o?o.p(e,t):((o=Ws(e)).c(),o.m(a.parentNode,a)):o&&(o.d(1),o=null)},d(e){i&&i.d(e),e&&he(n),s&&s.d(e),e&&he(r),o&&o.d(e),e&&he(a)}}}function Vs(e){let n;return{c(){S(n=me("casino-last-played-section"),"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"favorites",e[13]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"lastplayedperiod",e[17]),S(n,"lastplayedorder",e[19]),S(n,"lastplayedlimit",e[20]),S(n,"lastplayedunique",e[21]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[11]),S(n,"integratedgameframemobile",e[12]),S(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),8192&t[0]&&S(n,"favorites",e[13]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),131072&t[0]&&S(n,"lastplayedperiod",e[17]),524288&t[0]&&S(n,"lastplayedorder",e[19]),1048576&t[0]&&S(n,"lastplayedlimit",e[20]),2097152&t[0]&&S(n,"lastplayedunique",e[21]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),2048&t[0]&&S(n,"integratedgameframedesktop",e[11]),4096&t[0]&&S(n,"integratedgameframemobile",e[12]),65536&t[0]&&S(n,"casinomygames",e[16])},d(e){e&&he(n)}}}function Zs(e){let n;return{c(){S(n=me("casino-most-played-section"),"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"userid",e[0]),S(n,"favorites",e[13]),S(n,"categoryindex","0"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"mostplayedrounds",e[22]),S(n,"integratedgameframedesktop",e[11]),S(n,"integratedgameframemobile",e[12]),S(n,"mostplayedperiod",e[18]),S(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),4194304&t[0]&&S(n,"mostplayedrounds",e[22]),2048&t[0]&&S(n,"integratedgameframedesktop",e[11]),4096&t[0]&&S(n,"integratedgameframemobile",e[12]),262144&t[0]&&S(n,"mostplayedperiod",e[18]),65536&t[0]&&S(n,"casinomygames",e[16])},d(e){e&&he(n)}}}function Ks(e){let n;return{c(){S(n=me("casino-favorites-section"),"session",e[1]),S(n,"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"favorites",e[13]),S(n,"categoryid","FAVORITES"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[11]),S(n,"integratedgameframemobile",e[12]),S(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),8192&t[0]&&S(n,"favorites",e[13]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),2048&t[0]&&S(n,"integratedgameframedesktop",e[11]),4096&t[0]&&S(n,"integratedgameframemobile",e[12]),65536&t[0]&&S(n,"casinomygames",e[16])},d(e){e&&he(n)}}}function Xs(n){let r;function a(e){if(e[16])return js}let i=a(n),s=i&&i(n);return{c(){r=me("div"),s&&s.c(),this.c=V},m(e,t){ue(e,r,t),s&&s.m(r,null),n[34](r)},p(e,t){i===(i=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=i&&i(e))&&(s.c(),s.m(r,null)))},i:V,o:V,d(e){e&&he(r),s&&s.d(),n[34](null)}}}function qs(t,e,n){let r;ot(t,Ur,e=>n(28,r=e));let a,{userid:i=""}=e,{session:s=""}=e,{endpoint:o=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{currency:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{livecasino:m=""}=e,{visiblegames:p=""}=e,{gamepagemodalurl:g=""}=e,{integratedgameframedesktop:f=""}=e,{integratedgameframemobile:y=""}=e,{translationurl:b=""}=e,{favorites:v="false"}=e,{mostplayed:w="false"}=e,{lastplayed:x="false"}=e,{casinomygames:$="false"}=e,{lastplayedperiod:C="Last30Days"}=e,{mostplayedperiod:S="Last30Days"}=e,{lastplayedorder:k=""}=e,{lastplayedlimit:_=""}=e,{lastplayedunique:F="true"}=e,{mostplayedrounds:M=""}=e,D=window.navigator.userAgent,E="",L=!1,G=["","",""],T="0";var P,I;({withLocale:P,translations:I}={withLocale:"en",translations:{}}),at.subscribe(e=>{null==e&&($r.set(I),at.set(P))}),Object.keys(Os).forEach(e=>{Ns(e,Os[e])});const R=e=>{E!==e&&n(24,E=e)},A=()=>{var e;n(24,E="true"===v?"Favorites":"true"===w?"MostPlayed":"true"===x?"LastPlayed":""),n(26,G[0]="true"===v?"Favorites":"",G),n(26,G[1]="true"===w?"MostPlayed":"",G),n(26,G[2]="true"===x?"LastPlayed":"",G),e=c,at.set(e)},B=e=>{e.data&&"UpdateCategoryFavoriteGames"===e.data.type&&n(27,T=e.data.receivedFavoriteResults.count)};return lt(()=>(window.addEventListener("message",B,!1),n(25,L=it(D)),()=>{window.removeEventListener("message",B)})),t.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,s=e.session),"endpoint"in e&&n(2,o=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"visiblegames"in e&&n(9,p=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(11,f=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(12,y=e.integratedgameframemobile),"translationurl"in e&&n(30,b=e.translationurl),"favorites"in e&&n(13,v=e.favorites),"mostplayed"in e&&n(14,w=e.mostplayed),"lastplayed"in e&&n(15,x=e.lastplayed),"casinomygames"in e&&n(16,$=e.casinomygames),"lastplayedperiod"in e&&n(17,C=e.lastplayedperiod),"mostplayedperiod"in e&&n(18,S=e.mostplayedperiod),"lastplayedorder"in e&&n(19,k=e.lastplayedorder),"lastplayedlimit"in e&&n(20,_=e.lastplayedlimit),"lastplayedunique"in e&&n(21,F=e.lastplayedunique),"mostplayedrounds"in e&&n(22,M=e.mostplayedrounds)},t.$$.update=()=>{if(28&t.$$.dirty[0]&&o&&l&&c&&A(),57344&t.$$.dirty[0]&&v&&w&&x&&A(),1073741824&t.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ns(e,t[e])})}).catch(e=>{console.log(e)}),8388672&t.$$.dirty[0]&&u&&a&&((e=document.createElement("style")).innerHTML=u,a.appendChild(e)),8388736&t.$$.dirty[0]&&h&&a){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[i,s,o,l,c,d,u,h,m,p,g,f,y,v,w,x,$,C,S,k,_,F,M,a,E,L,G,T,r,R,b,()=>R("Favorites"),()=>R("MostPlayed"),()=>R("LastPlayed"),function(e){rt[e?"unshift":"push"](()=>{a=e,n(23,a)})}]}function Js(e,t){Sr(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:20px;font-weight:500;margin-right:60px;transition:linear 100ms;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;margin-right:10px}.Mobile .MyGamesButton.Active{padding-bottom:4px}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},qs,Xs,n,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,integratedgameframedesktop:11,integratedgameframemobile:12,translationurl:30,favorites:13,mostplayed:14,lastplayed:15,casinomygames:16,lastplayedperiod:17,mostplayedperiod:18,lastplayedorder:19,lastplayedlimit:20,lastplayedunique:21,mostplayedrounds:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),h()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),h()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),h()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),h()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),h()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),h()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),h()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),h()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),h()}get integratedgameframemobile(){return this.$$.ctx[12]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),h()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),h()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),h()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$$set({mostplayed:e}),h()}get lastplayed(){return this.$$.ctx[15]}set lastplayed(e){this.$$set({lastplayed:e}),h()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),h()}get lastplayedperiod(){return this.$$.ctx[17]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),h()}get mostplayedperiod(){return this.$$.ctx[18]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),h()}get lastplayedorder(){return this.$$.ctx[19]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),h()}get lastplayedlimit(){return this.$$.ctx[20]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),h()}get lastplayedunique(){return this.$$.ctx[21]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),h()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),h()}});const Qs={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre."},hr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}};function eo(e,t,n){e=e.slice();return e[48]=t[n],e}function to(e){let n,r,a,i;function s(e){return 1==e[13]&&e[8].length<2?ao:0!=e[11].length?ro:void 0}let o=s(e),l=o&&o(e),c=!1===e[9]&&so(e),d=2<=e[8].length&&0==e[11].length&&lo(e);return{c(){l&&l.c(),n=ge(),r=me("div"),c&&c.c(),a=ge(),d&&d.c(),fe(r,"class",i="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,r,t),c&&c.m(r,null),de(r,a),d&&d.m(r,null)},p(e,t){o===(o=s(e))&&l?l.p(e,t):(l&&l.d(1),(l=o&&o(e))&&(l.c(),l.m(n.parentNode,n))),!1===e[9]?c?c.p(e,t):((c=so(e)).c(),c.m(r,a)):c&&(c.d(1),c=null),2<=e[8].length&&0==e[11].length?d?d.p(e,t):((d=lo(e)).c(),d.m(r,null)):d&&(d.d(1),d=null),8192&t[0]&&i!==(i="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))&&fe(r,"class",i)},d(e){l&&l.d(e),e&&he(n),e&&he(r),c&&c.d(),d&&d.d()}}}function no(e){let n,r,a=e[17]("loading")+"";return{c(){n=me("p"),r=pe(a)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){131072&t[0]&&a!==(a=e[17]("loading")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ro(e){let n,r,a=e[17]("searchResult")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){131072&t[0]&&a!==(a=e[17]("searchResult")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ao(e){let n,r,a,i,s=e[17]("recentSearch")+"",o=0==e[11].length&&io(e);return{c(){n=me("p"),r=pe(s),a=ge(),o&&o.c(),i=l(),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,r),ue(e,a,t),o&&o.m(e,t),ue(e,i,t)},p(e,t){131072&t[0]&&s!==(s=e[17]("recentSearch")+"")&&ye(r,s),0==e[11].length?o?o.p(e,t):((o=io(e)).c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(e){e&&he(n),e&&he(a),o&&o.d(e),e&&he(i)}}}function io(e){let n,r,a,i=e[17]("noRecentSearches")+"";return{c(){n=me("div"),r=me("p"),a=pe(i),fe(r,"class","SearchMessage"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,r),de(r,a)},p(e,t){131072&t[0]&&i!==(i=e[17]("noRecentSearches")+"")&&ye(a,i)},d(e){e&&he(n)}}}function so(t){let a,i=t[11],s=[];for(let e=0;e<i.length;e+=1)s[e]=oo(eo(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();a=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);ue(t,a,n)},p(t,n){if(1149183&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var r=eo(t,i,e);s[e]?s[e].p(r,n):(s[e]=oo(r),s[e].c(),s[e].m(a.parentNode,a))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){H(s,e),e&&he(a)}}}function oo(e){let n,r,a,i,s,o,l,c,d,u,h;return{c(){S(n=me("casino-game-thumbnail"),"endpoint",e[0]),S(n,"session",e[15]),S(n,"userid",e[16]),S(n,"favorites",e[7]),S(n,"lang",e[1]),S(n,"gamethumbnail",r=e[48].thumbnail),S(n,"gamename",a=e[48].name),S(n,"gamevendor",i=e[48].vendor.name),S(n,"gameisnew",s=e[48].isNew),S(n,"gametag",o=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags)),S(n,"gamecellsize",l=e[48].cellSize),S(n,"gameid",c=e[48].id),S(n,"gamefunmode",d=e[48].hasFunMode),S(n,"gamefavorite",u=e[48].isFavorite),S(n,"livelobbyendpoint",h=e[48].details?e[48].launchUrl:""),S(n,"integratedgameframedesktop",e[4]),S(n,"integratedgameframemobile",e[5]),S(n,"clientstyling",e[2]),S(n,"clientstylingurl",e[3]),S(n,"gamepagemodalurl",e[6])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"endpoint",e[0]),32768&t[0]&&S(n,"session",e[15]),65536&t[0]&&S(n,"userid",e[16]),128&t[0]&&S(n,"favorites",e[7]),2&t[0]&&S(n,"lang",e[1]),2048&t[0]&&r!==(r=e[48].thumbnail)&&S(n,"gamethumbnail",r),2048&t[0]&&a!==(a=e[48].name)&&S(n,"gamename",a),2048&t[0]&&i!==(i=e[48].vendor.name)&&S(n,"gamevendor",i),2048&t[0]&&s!==(s=e[48].isNew)&&S(n,"gameisnew",s),2048&t[0]&&o!==(o=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags))&&S(n,"gametag",o),2048&t[0]&&l!==(l=e[48].cellSize)&&S(n,"gamecellsize",l),2048&t[0]&&c!==(c=e[48].id)&&S(n,"gameid",c),2048&t[0]&&d!==(d=e[48].hasFunMode)&&S(n,"gamefunmode",d),2048&t[0]&&u!==(u=e[48].isFavorite)&&S(n,"gamefavorite",u),2048&t[0]&&h!==(h=e[48].details?e[48].launchUrl:"")&&S(n,"livelobbyendpoint",h),16&t[0]&&S(n,"integratedgameframedesktop",e[4]),32&t[0]&&S(n,"integratedgameframemobile",e[5]),4&t[0]&&S(n,"clientstyling",e[2]),8&t[0]&&S(n,"clientstylingurl",e[3]),64&t[0]&&S(n,"gamepagemodalurl",e[6])},d(e){e&&he(n)}}}function lo(e){let n,r,a,i,s,o,l=e[17]("notFound")+"",c=e[17]("notFoundText")+"";return{c(){n=me("div"),r=me("p"),a=pe(l),i=ge(),s=me("p"),o=pe(c),fe(r,"class","SearchMessage"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(n,i),de(n,s),de(s,o)},p(e,t){131072&t[0]&&l!==(l=e[17]("notFound")+"")&&ye(a,l),131072&t[0]&&c!==(c=e[17]("notFoundText")+"")&&ye(o,c)},d(e){e&&he(n)}}}function co(n){let r,a,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$=n[17]("cancel")+"";function C(e){return e[14]?no:to}let S=C(n),k=S(n);return{c(){r=me("div"),a=me("div"),(i=me("div")).innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',s=ge(),o=me("input"),c=ge(),d=me("span"),u=j("svg"),h=j("path"),p=ge(),g=me("small"),f=pe($),v=ge(),k.c(),this.c=V,fe(i,"class","SearchIcon"),fe(o,"class","SearchInput"),fe(o,"type","search"),fe(o,"placeholder",l=n[17]("placeHolderSearchGames")),fe(o,"maxlength",50),fe(h,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(h,"stroke","#717171"),fe(h,"stroke-width","2"),fe(h,"stroke-linecap","round"),fe(h,"stroke-linejoin","round"),fe(u,"width","11"),fe(u,"height","11"),fe(u,"fill","none"),fe(u,"xmlns","http://www.w3.org/2000/svg"),fe(d,"class",m="SearchClearButton "+(0!=n[8].length?"":"NotVisible")),fe(g,"class",y="SearchCancelButton "+(n[9]?"NotVisible":"")),fe(a,"class",b="Search "+(n[9]?"":"SearchAnimation")),fe(r,"class",("PC"!==st(n[18])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,s),de(a,o),L(o,n[8]),n[29](o),de(a,c),de(a,d),de(d,u),de(u,h),de(a,p),de(a,g),de(g,f),de(r,v),k.m(r,null),n[32](r),w||(x=[K(o,"input",n[28]),K(o,"focus",n[19]),K(d,"click",n[30]),K(g,"click",n[31])],w=!0)},p(e,t){131072&t[0]&&l!==(l=e[17]("placeHolderSearchGames"))&&fe(o,"placeholder",l),256&t[0]&&o.value!==e[8]&&L(o,e[8]),256&t[0]&&m!==(m="SearchClearButton "+(0!=e[8].length?"":"NotVisible"))&&fe(d,"class",m),131072&t[0]&&$!==($=e[17]("cancel")+"")&&ye(f,$),512&t[0]&&y!==(y="SearchCancelButton "+(e[9]?"NotVisible":""))&&fe(g,"class",y),512&t[0]&&b!==(b="Search "+(e[9]?"":"SearchAnimation"))&&fe(a,"class",b),S===(S=C(e))&&k?k.p(e,t):(k.d(1),(k=S(e))&&(k.c(),k.m(r,null)))},i:V,o:V,d(e){e&&he(r),n[29](null),k.d(),n[32](null),w=!1,Z(x)}}}function uo(r,e,s){let t;ot(r,Ur,e=>s(17,t=e));let n,a,i,o,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:h="en"}=e,{clientstyling:m=""}=e,{clientstylingurl:p=""}=e,{integratedgameframedesktop:g="false"}=e,{integratedgameframemobile:f="false"}=e,{gamepagemodalurl:y="true"}=e,{translationurl:b=""}=e,{showfavorites:v=""}=e,w=window.navigator.userAgent,x=[],$=[],C={},S="",k=!0,_=!1,F=!1,M=!1,E=[];Object.keys(Qs).forEach(e=>{Js(e,Qs[e])});const L=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===($=($=localStorage.getItem("searchedGamesWds_casino"))?$.split(","):[]).indexOf(t))&&($.unshift(t),n=$.join(","),localStorage.setItem("searchedGamesWds_casino",n))}"UserSessionID"==e.data.type&&(s(15,i=e.data.session),s(16,o=e.data.userid),s(27,M=!0)),"CategoryChange"==e.data.type&&P()},G=()=>{if(s(9,k=!1),s(13,_=!0),l&&c&&h&&S.length<2){s(11,x=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],r=0,a=(t=e?e.split(","):t).length;if(0<a){for(r=0;r<a;r++){var i=new URL(l+"/casino/games/"+t[r]);i.searchParams.append("language",h),i.searchParams.append("datasource",c),i.searchParams.append("platform",st(w)),n.push(((e,r)=>new Promise((t,n)=>{s(14,F=!0),r&&Object.keys(C).indexOf(r)>=0?(s(14,F=!1),t(C[r])):fetch(e).then(e=>e.json()).then(e=>{s(14,F=!1),e.error||(C[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{s(14,F=!1),console.error(e),n(e)})}))(i,t[r]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),s(11,x=e.map(e=>(e.isFavorite=T(e.id),e)))})}}R(_),"function"==typeof gtag&>ag("event","SearchInitialized",{context:"SearchWidget"})},T=t=>-1!==E.findIndex(e=>e==t),P=()=>{s(8,S=""),s(9,k=!0),s(14,F=!1),s(11,x=[]),s(13,_=!1),R(_)},I=()=>{s(8,S=""),n.focus()},R=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e})};return lt(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})),r.$$set=e=>{"endpoint"in e&&s(0,l=e.endpoint),"datasource"in e&&s(23,c=e.datasource),"session"in e&&s(24,d=e.session),"userid"in e&&s(25,u=e.userid),"lang"in e&&s(1,h=e.lang),"clientstyling"in e&&s(2,m=e.clientstyling),"clientstylingurl"in e&&s(3,p=e.clientstylingurl),"integratedgameframedesktop"in e&&s(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(5,f=e.integratedgameframemobile),"gamepagemodalurl"in e&&s(6,y=e.gamepagemodalurl),"translationurl"in e&&s(26,b=e.translationurl),"showfavorites"in e&&s(7,v=e.showfavorites)},r.$$.update=()=>{if(8389379&r.$$.dirty[0])if(2<=S.length){const r=new URL(l+"/casino/games");r.searchParams.append("datasource",c),r.searchParams.append("expand","vendor"),r.searchParams.append("platform",st(w)),r.searchParams.append("language",h),r.searchParams.append("pagination","offset=0,limit=30"),r.searchParams.append("filter","name="+S),e=r,new Promise((t,n)=>{s(14,F=!0),fetch(e.href).then(e=>e.json()).then(e=>{s(14,F=!1),t(e)}).catch(e=>{s(14,F=!1),console.error(e),n(e)})}).then(e=>{s(11,x=e.items.map(e=>(e.isFavorite=T(e.id),e)))})}else k||G();var e,t,n;if(2&r.$$.dirty[0]&&h&&(n=h,at.set(n)),67108864&r.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Js(e,t[e])})}).catch(e=>{console.log(e)}),50331648&r.$$.dirty[0]&&d&&u&&(s(27,M=!0),s(15,i=d),s(16,o=u)),134217856&r.$$.dirty[0]&&v&&M&&(n=new URL(`${l}/player/${o}/favorites/`),s(14,F=!0),t={method:"GET",headers:{"X-SessionID":i}},fetch(n.href,t).then(e=>e.json()).then(e=>{s(14,F=!1),E=e.items.map(e=>e.id)})),1028&r.$$.dirty[0]&&m&&a&&((t=document.createElement("style")).innerHTML=m,a.appendChild(t)),1032&r.$$.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)})}},[l,h,m,p,g,f,y,v,S,k,a,x,n,_,F,i,o,t,w,G,r=>{if(0===(null==r?void 0:r.length))return"";let a,i,s=99999999999;const o=new Date(Date.now());return r.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Xr(e).diff(o)<s&&(s=Xr(e).diff(o),i=t),Xr(o).isAfter(n)&&Xr(o).isBefore(e)&&(a=r[i].name)}),a},P,I,c,d,u,b,M,function(){S=this.value,s(8,S)},function(e){rt[e?"unshift":"push"](()=>{n=e,s(12,n)})},()=>I(),()=>P(),function(e){rt[e?"unshift":"push"](()=>{a=e,s(10,a)})}]}function ho(e,{delay:t=0,duration:n=400,easing:r=v}={}){const a=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*a}}function mo(n){let r,a,i,s,o,l,c,d,t,u,h,m;return{c(){r=me("div"),a=me("div"),(i=me("div")).innerHTML="<slot></slot>",s=ge(),o=me("span"),(l=me("slot")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(l,"name","close"),fe(o,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(o,"part","ModalCloseBtn"),fe(o,"role","button"),fe(a,"class","ModalWindow"),fe(a,"part","ModalWindow"),fe(a,"id","Modal"),X(()=>n[19].call(a)),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,s),de(a,o),de(o,l),n[18](a),d=function(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=me("iframe"),r=(n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1,function(){if(void 0===G){G=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){G=!0}}return G}());let a;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",a=K(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{a=K(n.contentWindow,"resize",t),t()}),de(e,n),()=>{(r||a&&n.contentWindow)&&a(),he(n)}}(a,n[19].bind(a)),n[20](r),u=!0,h||(m=K(o,"click",n[8]),h=!0)},p(e,t){n=e,(!u||10&t&&c!==(c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")))&&fe(o,"class",c)},i(e){u||(X(()=>{u&&(t=t||se(a,ho,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||se(a,ho,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&he(r),n[18](null),d(),e&&t&&t.end(),n[20](null),h=!1,m()}}}function po(e){let n,r,a=e[7]&&mo(e);return{c(){a&&a.c(),n=l(),this.c=V},m(e,t){a&&a.m(e,t),ue(e,n,t),r=!0},p(e,[t]){e[7]?a?(a.p(e,t),128&t&&re(a,1)):((a=mo(e)).c(),re(a,1),a.m(n.parentNode,n)):a&&(ne={r:0,c:[],p:ne},ae(a,1,1,()=>{a=null}),ne.r||Z(ne.c),ne=ne.p)},i(e){r||(re(a),r=!0)},o(e){ae(a),r=!1},d(e){a&&a.d(e),e&&he(n)}}}function go(t,e,n){let r,i,a,s,{duration:o=350}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{identifier:u=""}=e,{clientstylingurl:h=""}=e,{endpoint:m=""}=e,{haspanicbutton:p="false"}=e,{gamepagemodalurl:g="false"}=e,{sessioncheck:f="true"}=e,{integratedgameframedesktop:y="false"}=e,b=window.navigator.userAgent,v=!1,w=!1,x=!1;const $=e=>{var t;"ShowModal"==e.data.type&&u==e.data.identifier&&(n(7,x=!0),window.postMessage({type:"DisableScroll"},window.location.href)),"ModalClosed"!=e.data.type||"false"==y&&!it(b)||n(7,x=!1),"ShowGameModal"===e.data.type&&(n(7,x=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrameModal"===e.data.type&&(n(7,x=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:r?getComputedStyle(r).width:null,modalHeight:r?getComputedStyle(r).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(w=e.data.detailsObtained)},C=e=>{var t;w&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return lt(()=>(n(3,v=it(b)),window.addEventListener("message",$,!1),window.addEventListener("resize",C,!1),()=>{window.removeEventListener("message",$),window.removeEventListener("resize",$)})),t.$$set=e=>{"duration"in e&&n(0,o=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"identifier"in e&&n(12,u=e.identifier),"clientstylingurl"in e&&n(13,h=e.clientstylingurl),"endpoint"in e&&n(14,m=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(15,g=e.gamepagemodalurl),"sessioncheck"in e&&n(16,f=e.sessioncheck),"integratedgameframedesktop"in e&&n(17,y=e.integratedgameframedesktop)},t.$$.update=()=>{if(17920&t.$$.dirty&&l&&c&&m&&"true"==f&&(r=m,a=l,new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",a),Ne(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)})),2052&t.$$.dirty&&d&&i&&((e=document.createElement("style")).innerHTML=d,i.appendChild(e)),8196&t.$$.dirty&&h&&i){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,r,a},[o,p,i,v,r,void 0,void 0,x,()=>{n(7,x=!1),n(3,v=it(b)),window.postMessage({type:"ModalClosed",gamepagemodalurl:g,mobileView:v},window.location.href)},l,c,d,u,h,m,g,f,y,function(e){rt[e?"unshift":"push"](()=>{r=e,n(4,r)})},function(){a=this.clientWidth,s=this.clientHeight,n(5,a),n(6,s)},function(e){rt[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function fo(e,t,n){e=e.slice();return e[26]=t[n],e[27]=t,e[28]=n,e}function yo(e,t,n){e=e.slice();return e[29]=t[n],e[28]=n,e}function bo(t){let a,n,i,r,e,s=t[3],o=[];for(let e=0;e<s.length;e+=1)o[e]=ko(fo(t,s,e));return{c(){a=me("div"),n=me("div"),i=pe(t[1]),r=ge();for(let e=0;e<o.length;e+=1)o[e].c();fe(n,"class","CasinoCalendarDailyDay"),fe(a,"class",e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,n),de(n,i),de(a,r);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null)},p(t,n){if(2&n&&ye(i,t[1]),409&n){let e;for(s=t[3],e=0;e<s.length;e+=1){var r=fo(t,s,e);o[e]?o[e].p(r,n):(o[e]=ko(r),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=s.length}64&n&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&he(a),H(o,e)}}}function vo(e){let n;return{c(){(n=me("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function wo(e){let n,r;return{c(){n=j("svg"),fe(r=j("path"),"stroke-linecap","round"),fe(r,"stroke-linejoin","round"),fe(r,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","currentColor"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,r)},d(e){e&&he(n)}}}function xo(e){let n,r;return{c(){n=j("svg"),fe(r=j("path"),"stroke-linecap","round"),fe(r,"stroke-linejoin","round"),fe(r,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","currentColor"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,r)},d(e){e&&he(n)}}}function $o(t){let r,a,i=t[26].details,s=[];for(let e=0;e<i.length;e+=1)s[e]=Co(yo(t,i,e));let o=t[26].detailsExpanded&&So(t);return{c(){for(let e=0;e<s.length;e+=1)s[e].c();r=ge(),o&&o.c(),a=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);ue(t,r,n),o&&o.m(t,n),ue(t,a,n)},p(t,n){if(280&n){let e;for(i=t[26].details,e=0;e<i.length;e+=1){const o=yo(t,i,e);s[e]?s[e].p(o,n):(s[e]=Co(o),s[e].c(),s[e].m(r.parentNode,r))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}t[26].detailsExpanded?o?o.p(t,n):((o=So(t)).c(),o.m(a.parentNode,a)):o&&(o.d(1),o=null)},d(e){H(s,e),e&&he(r),o&&o.d(e),e&&he(a)}}}function Co(n){let r,a,i,s,o,l,c,d,u=n[29].title+"";function h(){return n[18](n[26],n[28])}return{c(){r=me("div"),a=me("div"),i=me("button"),s=pe(u),fe(i,"class",o="HeaderButton "+(n[29].expandedTab?"Active":"")),fe(a,"class","Header"),fe(r,"class",l=n[28]==n[4]?"SelectedTab":""),fe(r,"id","CollapseMoreInfoButton"),_(r,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,s),c||(d=K(i,"click",h),c=!0)},p(e,t){n=e,8&t&&u!==(u=n[29].title+"")&&ye(s,u),8&t&&o!==(o="HeaderButton "+(n[29].expandedTab?"Active":""))&&fe(i,"class",o),16&t&&l!==(l=n[28]==n[4]?"SelectedTab":"")&&fe(r,"class",l),8&t&&_(r,"height",n[26].expandedInfo?"100%":"")},d(e){e&&he(r),c=!1,d()}}}function So(e){let n,r,a,i=e[26].details[e[4]].description+"";return{c(){n=me("div"),r=pe(i),fe(n,"class",a="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){24&t&&i!==(i=e[26].details[e[4]].description+"")&&ye(r,i),24&t&&a!==(a="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))&&fe(n,"class",a)},d(e){e&&he(n)}}}function ko(n){let r,a,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,C=n[26].title+"",S=n[26].description+"";function k(e){return 1==e[26].expandedInfo?xo:wo}let _=k(n),F=_(n);function M(){return n[17](n[26],n[27],n[28])}let E=1==n[26].expandedInfo&&$o(n);return{c(){r=me("div"),a=me("div"),i=pe(C),s=ge(),o=me("div"),l=me("img"),u=ge(),h=me("div"),m=pe(S),p=ge(),g=me("div"),f=me("button"),y=pe(n[0]),b=ge(),F.c(),v=ge(),E&&E.c(),w=ge(),fe(a,"class","CasinoCalendarDailyTitle"),fe(l,"class","CasinoCalendarFitImage"),ce(l.src,c=n[26].image)||fe(l,"src",c),fe(l,"alt",d=n[26].image),fe(o,"class","CasinoCalendarImage"),fe(h,"class","CasinoCalendarDailyDescription"),fe(f,"class","MoreInfoButton"),fe(g,"class","CasinoCalendarTabs"),fe(r,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,s),de(r,o),de(o,l),de(r,u),de(r,h),de(h,m),de(r,p),de(r,g),de(g,f),de(f,y),de(f,b),F.m(f,null),de(g,v),E&&E.m(g,null),de(r,w),x||($=K(f,"click",M),x=!0)},p(e,t){n=e,8&t&&C!==(C=n[26].title+"")&&ye(i,C),8&t&&!ce(l.src,c=n[26].image)&&fe(l,"src",c),8&t&&d!==(d=n[26].image)&&fe(l,"alt",d),8&t&&S!==(S=n[26].description+"")&&ye(m,S),1&t&&ye(y,n[0]),_!==(_=k(n))&&(F.d(1),F=_(n))&&(F.c(),F.m(f,null)),1==n[26].expandedInfo?E?E.p(n,t):((E=$o(n)).c(),E.m(g,null)):E&&(E.d(1),E=null)},d(e){e&&he(r),F.d(),E&&E.d(),x=!1,$()}}}function _o(n){let r;function a(e){return e[5]?vo:bo}let i=a(n),s=i(n);return{c(){r=me("div"),s.c(),this.c=V},m(e,t){ue(e,r,t),s.m(r,null),n[19](r)},p(e,[t]){i===(i=a(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(r,null)))},i:V,o:V,d(e){e&&he(r),s.d(),n[19](null)}}}function Fo(t,e,r){let n,{dailybackground:a=""}=e,{dailybuttontitle:i=""}=e,{dailyday:s=""}=e,{dailydescription:o="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{translationUrl:m=""}=e,p=[],g=0,f=!0,y=!1,b=window.navigator.userAgent;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),at.subscribe(e=>{null==e&&($r.set(w),at.set(v))});const x=e=>{"DailyEventsData"==e.data.type&&(r(5,f=!1),r(3,p=e.data.data),p.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.details.forEach((e,t)=>{e.expandedTab=0==t})})),"ModalClosed"==e.data.type&&(r(4,g=0),p.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t}))},$=e=>{r(4,g=0),r(3,p[e].detailsExpanded=!p[e].detailsExpanded,p),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},C=(e,t)=>{r(4,g=t),e.details.forEach((e,t)=>{e.expandedTab=g==t})};return lt(()=>(window.addEventListener("message",x,!1),it(b)&&r(6,y=!0),()=>{window.removeEventListener("message",x)})),t.$$set=e=>{"dailybackground"in e&&r(9,a=e.dailybackground),"dailybuttontitle"in e&&r(0,i=e.dailybuttontitle),"dailyday"in e&&r(1,s=e.dailyday),"dailydescription"in e&&r(10,o=e.dailydescription),"dailyicon"in e&&r(11,l=e.dailyicon),"dailytitle"in e&&r(12,c=e.dailytitle),"lang"in e&&r(13,d=e.lang),"clientstyling"in e&&r(14,u=e.clientstyling),"clientstylingurl"in e&&r(15,h=e.clientstylingurl),"translationUrl"in e&&r(16,m=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty&&d&&(e=d,at.set(e)),16388&t.$$.dirty&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),32772&t.$$.dirty&&h&&n){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[i,s,n,p,g,f,y,$,C,a,o,l,c,d,u,h,m,(e,t,n)=>{r(3,t[n].expandedInfo=!e.expandedInfo,p),$(n)},(e,t)=>{C(e,t)},function(e){rt[e?"unshift":"push"](()=>{n=e,r(2,n)})}]}function Mo(n){let r,a,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x,$,C,S,k;return{c(){r=me("div"),a=me("div"),i=me("div"),s=me("div"),(o=me("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=ge(),c=me("div"),d=me("div"),u=me("img"),m=ge(),p=me("div"),g=pe(n[2]),f=ge(),y=me("div"),b=ge(),v=me("div"),w=me("button"),x=pe(n[3]),this.c=V,fe(o,"class","CalendarBar"),ce(u.src,h=n[1])||fe(u,"src",h),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(p,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(v,"class","CasinoCalendarDailyItemButton"),fe(c,"class",$="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),_(c,"background-image","url('"+n[0]+"')"),_(c,"background-size","cover"),_(c,"background-position","center"),_(c,"-webkit-background-size","cover"),_(c,"-moz-background-size","cover"),_(c,"-o-background-size","cover"),fe(s,"class","CalendarCard"),fe(i,"class","CasinoCalendarItems"),fe(a,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,s),de(s,o),de(s,l),de(s,c),de(c,d),de(d,u),de(c,m),de(c,p),de(p,g),de(c,f),de(c,y),n[14](y),de(c,b),de(c,v),de(v,w),de(w,x),n[16](r),S||(k=K(w,"click",n[15]),S=!0)},p(e,[t]){2&t&&!ce(u.src,h=e[1])&&fe(u,"src",h),2&t&&fe(u,"alt",e[1]),4&t&&ye(g,e[2]),8&t&&ye(x,e[3]),16&t&&$!==($="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",$),1&t&&_(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(a,"class",C)},i:V,o:V,d(e){e&&he(r),n[14](null),n[16](null),S=!1,k()}}}function Eo(t,e,n){let r,a,{cmsendpoint:i=""}=e,{lang:s=""}=e,{dailybackground:o=""}=e,{dailyicon:l=""}=e,{dailyday:c=""}=e,{dailydescription:d="<p></p>"}=e,{dailybuttontitle:u=""}=e,{index:h="0"}=e,{clientstyling:m=""}=e,{clientstylingurl:p=""}=e;var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),at.subscribe(e=>{null==e&&($r.set(f),at.set(g))});let y=!1,b=window.navigator.userAgent;const v=()=>{window.postMessage({type:"OpenCalendar",index:h},window.location.href),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};return lt(()=>{it(b)&&n(7,y=!0)}),t.$$set=e=>{"cmsendpoint"in e&&n(9,i=e.cmsendpoint),"lang"in e&&n(10,s=e.lang),"dailybackground"in e&&n(0,o=e.dailybackground),"dailyicon"in e&&n(1,l=e.dailyicon),"dailyday"in e&&n(2,c=e.dailyday),"dailydescription"in e&&n(11,d=e.dailydescription),"dailybuttontitle"in e&&n(3,u=e.dailybuttontitle),"index"in e&&n(4,h=e.index),"clientstyling"in e&&n(12,m=e.clientstyling),"clientstylingurl"in e&&n(13,p=e.clientstylingurl)},t.$$.update=()=>{if(2063&t.$$.dirty&&l&&c&&d&&u&&o&&((e=document.createElement("div")).innerHTML=d,r)&&r.append(e),4128&t.$$.dirty&&m&&a&&((e=document.createElement("style")).innerHTML=m,a.appendChild(e)),8224&t.$$.dirty&&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),setTimeout(()=>{},500)})}var e},[o,l,c,u,h,a,r,y,v,i,s,d,m,p,function(e){rt[e?"unshift":"push"](()=>{r=e,n(6,r)})},()=>v(),function(e){rt[e?"unshift":"push"](()=>{a=e,n(5,a)})}]}function Lo(e,t,n){e=e.slice();return e[12]=t[n],e[14]=n,e}function Go(t){let r,a,e,i=t[1],s=[];for(let e=0;e<i.length;e+=1)s[e]=Io(Lo(t,i,e));let o=1==t[6]&&Ro(t);return{c(){r=me("div");for(let e=0;e<s.length;e+=1)s[e].c();a=ge(),o&&o.c(),fe(r,"class",e="CasinoCalendarItem "+(t[5]?"Mobile":""))},m(e,t){ue(e,r,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(r,null);de(r,a),o&&o.m(r,null)},p(t,n){if(3&n){let e;for(i=t[1],e=0;e<i.length;e+=1){const o=Lo(t,i,e);s[e]?s[e].p(o,n):(s[e]=Io(o),s[e].c(),s[e].m(r,a))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}1==t[6]?o?o.p(t,n):((o=Ro(t)).c(),o.m(r,null)):o&&(o.d(1),o=null),32&n&&e!==(e="CasinoCalendarItem "+(t[5]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&he(r),H(s,e),o&&o.d()}}}function To(e){let n;return{c(){fe(n=me("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function Po(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:V,d(e){e&&he(n)}}}function Io(e){let n,r,a,i,s,o;return{c(){S(n=me("casino-calendar-daily-item"),"dailybackground",r=e[12].dailyBackground),S(n,"dailyicon",a=e[12].dailyIcon),S(n,"dailyday",i=e[12].dailyDay),S(n,"dailydescription",s=e[12].dailyDescription),S(n,"dailybuttontitle",o=e[12].dailyButtonTitle),S(n,"index",e[14]),S(n,"lang",e[0])},m(e,t){ue(e,n,t)},p(e,t){2&t&&r!==(r=e[12].dailyBackground)&&S(n,"dailybackground",r),2&t&&a!==(a=e[12].dailyIcon)&&S(n,"dailyicon",a),2&t&&i!==(i=e[12].dailyDay)&&S(n,"dailyday",i),2&t&&s!==(s=e[12].dailyDescription)&&S(n,"dailydescription",s),2&t&&o!==(o=e[12].dailyButtonTitle)&&S(n,"dailybuttontitle",o),1&t&&S(n,"lang",e[0])},d(e){e&&he(n)}}}function Ro(e){let n,r,a,i,s,o,l,c;return{c(){n=me("casino-modal"),S(r=me("casino-calendar-daily-details"),"dailybackground",a=e[1][e[2]].dailyBackground),S(r,"dailybuttontitle",i=e[1][e[2]].dailyButtonTitle),S(r,"dailyday",s=e[1][e[2]].dailyDay),S(r,"dailydescription",o=e[1][e[2]].dailyDescription),S(r,"dailyicon",l=e[1][e[2]].dailyIcon),S(r,"dailytitle",c=e[1][e[2]].dailyTitle),S(r,"lang",e[0]),S(n,"identifier","Calendar")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){6&t&&a!==(a=e[1][e[2]].dailyBackground)&&S(r,"dailybackground",a),6&t&&i!==(i=e[1][e[2]].dailyButtonTitle)&&S(r,"dailybuttontitle",i),6&t&&s!==(s=e[1][e[2]].dailyDay)&&S(r,"dailyday",s),6&t&&o!==(o=e[1][e[2]].dailyDescription)&&S(r,"dailydescription",o),6&t&&l!==(l=e[1][e[2]].dailyIcon)&&S(r,"dailyicon",l),6&t&&c!==(c=e[1][e[2]].dailyTitle)&&S(r,"dailytitle",c),1&t&&S(r,"lang",e[0])},d(e){e&&he(n)}}}function Do(e){let n;function r(e){return e[4]?Po:e[3]?To:e[1]?.length?Go:void 0}let a=r(e),i=a&&a(e);return{c(){i&&i.c(),n=l(),this.c=V},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,[t]){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n.parentNode,n)))},i:V,o:V,d(e){i&&i.d(e),e&&he(n)}}}function Ao(e,t,n){let r,{cmsendpoint:a=""}=t,{lang:i="en"}=t,s=0,o=!0,l=!1,c=!1,d=window.navigator.userAgent,u=!1;const h=e=>{var t;e.data&&"OpenCalendar"==e.data.type&&(n(2,s=e.data.index),n(6,u=!0),window.postMessage({type:"ShowModal",selectedIndex:s,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:null==(t=r[s])?void 0:t.dailyEvents})),e.data&&"ModalClosed"==e.data.type&&n(6,u=!1)};return lt(()=>(window.addEventListener("message",h,!1),it(d)&&n(5,c=!0),()=>{window.removeEventListener("message",h)})),e.$$set=e=>{"cmsendpoint"in e&&n(7,a=e.cmsendpoint),"lang"in e&&n(0,i=e.lang)},e.$$.update=()=>{129&e.$$.dirty&&a&&i&&fetch(`${a}/${i}/daily-calendar/`).then(e=>e.json()).then(e=>{n(1,r=e)}).catch(e=>{console.log(e),n(4,l=!0)}).finally(()=>{n(3,o=!1)})},[i,r,s,o,l,c,u,a]}function Bo(e,t,n){e=e.slice();return e[135]=t[n],e[137]=n,e}function No(e){let n,r,a,i,s,o,l,c="PC"!==st(e[78])&&"false"===e[13],d=c&&Ho(),u="true"==e[20]&&0==il&&!e[74]&&jo(e),h=!e[73]&&!e[72]&&"false"==e[50]&&Uo(e);function m(e){return e[68]?Yo:e[74]?void 0:Wo}let p=m(e),g=p&&p(e),f=e[70]&&"true"==e[16]&&rl(e);return{c(){n=me("section"),d&&d.c(),r=ge(),a=me("casino-search"),i=ge(),u&&u.c(),s=ge(),h&&h.c(),o=ge(),g&&g.c(),l=ge(),f&&f.c(),S(a,"endpoint",e[1]),S(a,"datasource",e[2]),S(a,"lang",e[4]),S(a,"clientstyling",e[7]),S(a,"clientstylingurl",e[8]),S(a,"integratedgameframedesktop",e[28]),S(a,"integratedgameframemobile",e[29]),S(a,"translationurl",e[9]),S(a,"showfavorites",e[14]),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),_(n,"max-width",e[15]+"px")},m(e,t){ue(e,n,t),d&&d.m(n,null),de(n,r),de(n,a),de(n,i),u&&u.m(n,null),de(n,s),h&&h.m(n,null),de(n,o),g&&g.m(n,null),de(n,l),f&&f.m(n,null)},p(e,t){(c=8192&t[0]?"PC"!==st(e[78])&&"false"===e[13]:c)?d||((d=Ho()).c(),d.m(n,r)):d&&(d.d(1),d=null),2&t[0]&&S(a,"endpoint",e[1]),4&t[0]&&S(a,"datasource",e[2]),16&t[0]&&S(a,"lang",e[4]),128&t[0]&&S(a,"clientstyling",e[7]),256&t[0]&&S(a,"clientstylingurl",e[8]),268435456&t[0]&&S(a,"integratedgameframedesktop",e[28]),536870912&t[0]&&S(a,"integratedgameframemobile",e[29]),512&t[0]&&S(a,"translationurl",e[9]),16384&t[0]&&S(a,"showfavorites",e[14]),"true"!=e[20]||0!=il||e[74]?u&&(u.d(1),u=null):u?u.p(e,t):((u=jo(e)).c(),u.m(n,s)),e[73]||e[72]||"false"!=e[50]?h&&(h.d(1),h=null):h?h.p(e,t):((h=Uo(e)).c(),h.m(n,o)),p===(p=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=p&&p(e))&&(g.c(),g.m(n,l))),e[70]&&"true"==e[16]?f?f.p(e,t):((f=rl(e)).c(),f.m(n,null)):f&&(f.d(1),f=null),32768&t[0]&&_(n,"max-width",e[15]+"px")},d(e){e&&he(n),d&&d.d(),u&&u.d(),h&&h.d(),g&&g.d(),f&&f.d()}}}function Oo(e){let n,r,a=e[77]("500")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32768&t[2]&&a!==(a=e[77]("500")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ho(){let n;return{c(){fe(n=me("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function jo(e){let n;return{c(){S(n=me("casino-random-game"),"datasource",e[2]),S(n,"filteredrandomgamecategories",e[21]),S(n,"endpoint",e[1]),S(n,"lang",e[4]),S(n,"gameevent",e[67]),S(n,"randombuttonicon",e[63]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&S(n,"datasource",e[2]),2097152&t[0]&&S(n,"filteredrandomgamecategories",e[21]),2&t[0]&&S(n,"endpoint",e[1]),16&t[0]&&S(n,"lang",e[4]),32&t[2]&&S(n,"gameevent",e[67]),2&t[2]&&S(n,"randombuttonicon",e[63]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8])},d(e){e&&he(n)}}}function Uo(n){let r,a,i,s,o,l,c,d,u,h,m,p,g,f,y,b,v,w,x=n[77]("filters")+"",$=n[76]&&zo(n);return{c(){r=me("div"),$&&$.c(),a=ge(),i=me("div"),s=me("div"),o=pe(x),l=ge(),c=me("div"),d=j("svg"),u=j("defs"),h=j("style"),m=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),p=j("path"),g=ge(),f=me("div"),y=me("span"),b=pe(n[76]),fe(s,"class","FilterButton"),fe(s,"part","FilterButton"),fe(p,"class","a"),fe(p,"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(p,"transform","translate(-5 -6.2)"),fe(d,"xmlns","http://www.w3.org/2000/svg"),fe(d,"width","20"),fe(d,"height","20"),fe(d,"viewBox","0 0 26 26"),fe(y,"class","NumberOfFilters"),fe(y,"part","NumberOfFilters"),fe(f,"class","NumberOfFiltersContainer"),fe(f,"part","NumberOfFiltersContainer"),fe(c,"class","FilterIconContainer"),fe(c,"part","FilterIconContainer"),fe(i,"class","FilterButtonWrapper"),fe(i,"part","FilterButtonWrapper"),fe(r,"class","FiltersButtonsContainer"),fe(r,"part","FiltersButtonsContainer")},m(e,t){ue(e,r,t),$&&$.m(r,null),de(r,a),de(r,i),de(i,s),de(s,o),de(i,l),de(i,c),de(c,d),de(d,u),de(u,h),de(h,m),de(d,p),de(c,g),de(c,f),de(f,y),de(y,b),v||(w=K(i,"click",n[86]),v=!0)},p(e,t){e[76]?$?$.p(e,t):(($=zo(e)).c(),$.m(r,a)):$&&($.d(1),$=null),32768&t[2]&&x!==(x=e[77]("filters")+"")&&ye(o,x),16384&t[2]&&ye(b,e[76])},d(e){e&&he(r),$&&$.d(),v=!1,w()}}}function zo(n){let r,a,i,s,o,l,c,d=n[77]("clear")+"";return{c(){r=me("div"),a=me("div"),i=pe(d),s=ge(),(o=me("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(o,"class","ClearIcon"),fe(o,"part","ClearIcon"),fe(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,s),de(a,o),l||(c=K(r,"click",n[85]),l=!0)},p(e,t){32768&t[2]&&d!==(d=e[77]("clear")+"")&&ye(i,d)},d(e){e&&he(r),l=!1,c()}}}function Wo(e){let n;function r(e){return e[73]?Ko:e[72]?Zo:Vo}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&he(n)}}}function Yo(e){let n,r,a=e[77]("loading")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32768&t[2]&&a!==(a=e[77]("loading")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Vo(e){let n;return{c(){S(n=me("casino-games-category-section"),"userid",e[6]),S(n,"endpoint",e[1]),S(n,"datasource",e[2]),S(n,"favorites",e[14]),S(n,"lang",e[4]),S(n,"currency",e[3]),S(n,"session",e[5]),S(n,"categoryid",e[65]),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"livecasino",e[19]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[22]),S(n,"integratedgameframedesktop",e[28]),S(n,"integratedgameframemobile",e[29]),S(n,"casinomygames",e[0]),S(n,"filterbylogo",e[52]),S(n,"addfilterselector",e[50]),S(n,"addsortingselector",e[51])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&S(n,"userid",e[6]),2&t[0]&&S(n,"endpoint",e[1]),4&t[0]&&S(n,"datasource",e[2]),16384&t[0]&&S(n,"favorites",e[14]),16&t[0]&&S(n,"lang",e[4]),8&t[0]&&S(n,"currency",e[3]),32&t[0]&&S(n,"session",e[5]),8&t[2]&&S(n,"categoryid",e[65]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),524288&t[0]&&S(n,"livecasino",e[19]),4096&t[0]&&S(n,"visiblegames",e[12]),4194304&t[0]&&S(n,"gamepagemodalurl",e[22]),268435456&t[0]&&S(n,"integratedgameframedesktop",e[28]),536870912&t[0]&&S(n,"integratedgameframemobile",e[29]),1&t[0]&&S(n,"casinomygames",e[0]),2097152&t[1]&&S(n,"filterbylogo",e[52]),524288&t[1]&&S(n,"addfilterselector",e[50]),1048576&t[1]&&S(n,"addsortingselector",e[51])},d(e){e&&he(n)}}}function Zo(e){let n;return{c(){S(n=me("casino-my-games"),"userid",e[6]),S(n,"session",e[5]),S(n,"endpoint",e[1]),S(n,"datasource",e[2]),S(n,"lang",e[4]),S(n,"currency",e[3]),S(n,"favorites",e[14]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8]),S(n,"livecasino",e[19]),S(n,"visiblegames",e[12]),S(n,"gamepagemodalurl",e[22]),S(n,"integratedgameframedesktop",e[28]),S(n,"integratedgameframemobile",e[29]),S(n,"translationurl",e[9]),S(n,"mostplayed",e[54]),S(n,"lastplayed",e[55]),S(n,"filteredcategories",e[17]),S(n,"activecategory",e[18]),S(n,"lastplayedunique",e[60]),S(n,"categoryindex","0"),S(n,"categoryid","MYGAMES"),S(n,"casinomygames",e[0]),S(n,"lastplayedperiod",e[56]),S(n,"mostplayedperiod",e[57]),S(n,"lastplayedorder",e[58]),S(n,"lastplayedlimit",e[59]),S(n,"mostplayedrounds",e[61])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&S(n,"userid",e[6]),32&t[0]&&S(n,"session",e[5]),2&t[0]&&S(n,"endpoint",e[1]),4&t[0]&&S(n,"datasource",e[2]),16&t[0]&&S(n,"lang",e[4]),8&t[0]&&S(n,"currency",e[3]),16384&t[0]&&S(n,"favorites",e[14]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8]),524288&t[0]&&S(n,"livecasino",e[19]),4096&t[0]&&S(n,"visiblegames",e[12]),4194304&t[0]&&S(n,"gamepagemodalurl",e[22]),268435456&t[0]&&S(n,"integratedgameframedesktop",e[28]),536870912&t[0]&&S(n,"integratedgameframemobile",e[29]),512&t[0]&&S(n,"translationurl",e[9]),8388608&t[1]&&S(n,"mostplayed",e[54]),16777216&t[1]&&S(n,"lastplayed",e[55]),131072&t[0]&&S(n,"filteredcategories",e[17]),262144&t[0]&&S(n,"activecategory",e[18]),536870912&t[1]&&S(n,"lastplayedunique",e[60]),1&t[0]&&S(n,"casinomygames",e[0]),33554432&t[1]&&S(n,"lastplayedperiod",e[56]),67108864&t[1]&&S(n,"mostplayedperiod",e[57]),134217728&t[1]&&S(n,"lastplayedorder",e[58]),268435456&t[1]&&S(n,"lastplayedlimit",e[59]),1073741824&t[1]&&S(n,"mostplayedrounds",e[61])},d(e){e&&he(n)}}}function Ko(t){let a,i=t[75],s=[];for(let e=0;e<i.length;e+=1)s[e]=nl(Bo(t,i,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();a=l()},m(t,n){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,n);ue(t,a,n)},p(t,n){if(2143837695&n[0]|8388607&n[1]|8193&n[2]){let e;for(i=t[75],e=0;e<i.length;e+=1){var r=Bo(t,i,e);s[e]?s[e].p(r,n):(s[e]=nl(r),s[e].c(),s[e].m(a.parentNode,a))}for(;e<s.length;e+=1)s[e].d(1);s.length=i.length}},d(e){H(s,e),e&&he(a)}}}function Xo(e){let n,r;return{c(){n=me("div"),S(r=me("casino-winners"),"session",e[5]),S(r,"userid",e[6]),S(r,"periodrecent",e[30]),S(r,"periodtop",e[31]),S(r,"numberusersrecent",e[32]),S(r,"numberuserstop",e[33]),S(r,"amountlimit",e[34]),S(r,"isrecentavailable",e[27]),S(r,"istopavailable",e[26]),S(r,"defaultcurrency",e[35]),S(r,"usercurrency",e[3]),S(r,"enableautoscroll",e[25]),S(r,"tabsorder",e[24]),S(r,"lang",e[4]),S(r,"clientstyling",e[7]),S(r,"clientstylingurl",e[8]),S(r,"endpoint",e[1]),S(r,"winnersdatasources",e[62]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[0]&&S(r,"session",e[5]),64&t[0]&&S(r,"userid",e[6]),1073741824&t[0]&&S(r,"periodrecent",e[30]),1&t[1]&&S(r,"periodtop",e[31]),2&t[1]&&S(r,"numberusersrecent",e[32]),4&t[1]&&S(r,"numberuserstop",e[33]),8&t[1]&&S(r,"amountlimit",e[34]),134217728&t[0]&&S(r,"isrecentavailable",e[27]),67108864&t[0]&&S(r,"istopavailable",e[26]),16&t[1]&&S(r,"defaultcurrency",e[35]),8&t[0]&&S(r,"usercurrency",e[3]),33554432&t[0]&&S(r,"enableautoscroll",e[25]),16777216&t[0]&&S(r,"tabsorder",e[24]),16&t[0]&&S(r,"lang",e[4]),128&t[0]&&S(r,"clientstyling",e[7]),256&t[0]&&S(r,"clientstylingurl",e[8]),2&t[0]&&S(r,"endpoint",e[1]),1&t[2]&&S(r,"winnersdatasources",e[62])},d(e){e&&he(n)}}}function qo(e){let n,r,a;return{c(){n=me("br"),r=ge(),S(a=me("casino-calendar"),"cmsendpoint",e[10]),S(a,"lang",e[4])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){1024&t[0]&&S(a,"cmsendpoint",e[10]),16&t[0]&&S(a,"lang",e[4])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function Jo(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),S(a=me("jackpot-banner"),"title","Jackpot Cards"),S(a,"currency",i=e[3]||"RON"),S(a,"gameid","999"),S(a,"endpoint",e[1]),S(a,"lang",e[4]),S(a,"backgroundsrc","/assets/background0.jpg"),S(a,"backgroundsrcmobile","/assets/background0.jpg"),S(a,"titlelogopath","/assets/jackpots_logo.svg"),S(a,"caticon0","/assets/icon0.svg"),S(a,"caticon1","/assets/icon1.svg"),S(a,"caticon2","/assets/icon2.svg"),S(a,"caticon3","/assets/icon3.svg"),S(a,"visualstructure","typeSpread"),S(a,"clientstyling",e[7]),S(a,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){8&t[0]&&i!==(i=e[3]||"RON")&&S(a,"currency",i),2&t[0]&&S(a,"endpoint",e[1]),16&t[0]&&S(a,"lang",e[4]),128&t[0]&&S(a,"clientstyling",e[7]),256&t[0]&&S(a,"clientstylingurl",e[8])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function Qo(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),S(a=me("jackpot-banner"),"title","Egypt Quest"),S(a,"currency",i=e[3]||"RON"),S(a,"gameid","998"),S(a,"endpoint",e[1]),S(a,"lang",e[4]),S(a,"backgroundsrc",e[41]),S(a,"backgroundsrcmobile",e[42]),S(a,"titlelogopath",e[43]),S(a,"caticon0",e[37]),S(a,"caticon1",e[38]),S(a,"caticon2",e[39]),S(a,"caticon3",e[40]),S(a,"iconlabels",e[44]),S(a,"visualstructure",e[45]),S(a,"clientstyling",e[7]),S(a,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){8&t[0]&&i!==(i=e[3]||"RON")&&S(a,"currency",i),2&t[0]&&S(a,"endpoint",e[1]),16&t[0]&&S(a,"lang",e[4]),1024&t[1]&&S(a,"backgroundsrc",e[41]),2048&t[1]&&S(a,"backgroundsrcmobile",e[42]),4096&t[1]&&S(a,"titlelogopath",e[43]),64&t[1]&&S(a,"caticon0",e[37]),128&t[1]&&S(a,"caticon1",e[38]),256&t[1]&&S(a,"caticon2",e[39]),512&t[1]&&S(a,"caticon3",e[40]),8192&t[1]&&S(a,"iconlabels",e[44]),16384&t[1]&&S(a,"visualstructure",e[45]),128&t[0]&&S(a,"clientstyling",e[7]),256&t[0]&&S(a,"clientstylingurl",e[8])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function el(e){let n,r;return{c(){S(n=me("casino-collections-providers"),"endpoint",r=e[1].slice(0,-2)),S(n,"datasource",e[2]),S(n,"lang",e[4]),S(n,"type","vendor"),S(n,"titletype","logo"),S(n,"collectionprovidersgamenames",e[49]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&r!==(r=e[1].slice(0,-2))&&S(n,"endpoint",r),4&t[0]&&S(n,"datasource",e[2]),16&t[0]&&S(n,"lang",e[4]),262144&t[1]&&S(n,"collectionprovidersgamenames",e[49]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8])},d(e){e&&he(n)}}}function tl(e){let n,r;return{c(){S(n=me("casino-collections-providers"),"endpoint",r=e[1].slice(0,-2)),S(n,"datasource",e[2]),S(n,"lang",e[4]),S(n,"type",e[47]),S(n,"collectionprovidersgamenames",e[49]),S(n,"titletype",e[48]),S(n,"clientstyling",e[7]),S(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&r!==(r=e[1].slice(0,-2))&&S(n,"endpoint",r),4&t[0]&&S(n,"datasource",e[2]),16&t[0]&&S(n,"lang",e[4]),65536&t[1]&&S(n,"type",e[47]),262144&t[1]&&S(n,"collectionprovidersgamenames",e[49]),131072&t[1]&&S(n,"titletype",e[48]),128&t[0]&&S(n,"clientstyling",e[7]),256&t[0]&&S(n,"clientstylingurl",e[8])},d(e){e&&he(n)}}}function nl(n){let r,a,i,s,o,l,c,d,u,h,m,p,g,f=n[23]&&n[137]==+n[23]&&Xo(n),y=n[53]&&n[137]==+n[53]&&qo(n);function b(e,t){return 32&t[1]|8192&t[2]&&(i=null),32&t[1]|8192&t[2]&&(s=null),(i=null==i?!(!e[36]||e[137]!=(""==e[36].split(",")[0]?e[75].length:+e[36].split(",")[0])):i)?Qo:(s=null==s?!(!e[36]||e[137]!=(""==e[36].split(",")[1]?e[75].length:+e[36].split(",")[1])):s)?Jo:void 0}let v=b(n,[-1,-1,-1,-1,-1]),w=v&&v(n);function x(e,t){return 32768&t[1]|8192&t[2]&&(l=null),32768&t[1]|8192&t[2]&&(c=null),(l=null==l?!(!e[46]||e[137]!=(""==e[46].split(",")[0]?e[75].length:+e[46].split(",")[0])):l)?tl:(c=null==c?!(!e[46]||e[137]!=(""==e[46].split(",")[1]?e[75].length:+e[46].split(",")[1])):c)?el:void 0}let $=x(n,[-1,-1,-1,-1,-1]),C=$&&$(n);return{c(){f&&f.c(),r=ge(),y&&y.c(),a=ge(),w&&w.c(),o=ge(),C&&C.c(),d=ge(),S(u=me("casino-games-category-section"),"session",n[5]),S(u,"userid",n[6]),S(u,"endpoint",n[1]),S(u,"datasource",n[2]),S(u,"lang",n[4]),S(u,"currency",n[3]),S(u,"categoryid",h=n[135]),S(u,"categoryindex",n[137]),S(u,"categorygames","9"),S(u,"favorites",n[14]),S(u,"class","CategoryContainer"),_(u,"background-color",n[137]%2!=0?n[11]:"transparent"),S(u,"clientstyling",n[7]),S(u,"clientstylingurl",n[8]),S(u,"livecasino",n[19]),S(u,"visiblegames",n[12]),S(u,"gamepagemodalurl",n[22]),S(u,"integratedgameframedesktop",n[28]),S(u,"integratedgameframemobile",n[29]),S(u,"casinomygames",n[0]),S(u,"filterbylogo",n[52]),S(u,"addfilterselector",n[50]),S(u,"addsortingselector",n[51])},m(e,t){f&&f.m(e,t),ue(e,r,t),y&&y.m(e,t),ue(e,a,t),w&&w.m(e,t),ue(e,o,t),C&&C.m(e,t),ue(e,d,t),ue(e,u,t),p||(g=F(m=n[81].call(null,u,n[135])),p=!0)},p(e,t){(n=e)[23]&&n[137]==+n[23]?f?f.p(n,t):((f=Xo(n)).c(),f.m(r.parentNode,r)):f&&(f.d(1),f=null),n[53]&&n[137]==+n[53]?y?y.p(n,t):((y=qo(n)).c(),y.m(a.parentNode,a)):y&&(y.d(1),y=null),v===(v=b(n,t))&&w?w.p(n,t):(w&&w.d(1),(w=v&&v(n))&&(w.c(),w.m(o.parentNode,o))),$===($=x(n,t))&&C?C.p(n,t):(C&&C.d(1),(C=$&&$(n))&&(C.c(),C.m(d.parentNode,d))),32&t[0]&&S(u,"session",n[5]),64&t[0]&&S(u,"userid",n[6]),2&t[0]&&S(u,"endpoint",n[1]),4&t[0]&&S(u,"datasource",n[2]),16&t[0]&&S(u,"lang",n[4]),8&t[0]&&S(u,"currency",n[3]),8192&t[2]&&h!==(h=n[135])&&S(u,"categoryid",h),16384&t[0]&&S(u,"favorites",n[14]),2048&t[0]&&_(u,"background-color",n[137]%2!=0?n[11]:"transparent"),128&t[0]&&S(u,"clientstyling",n[7]),256&t[0]&&S(u,"clientstylingurl",n[8]),524288&t[0]&&S(u,"livecasino",n[19]),4096&t[0]&&S(u,"visiblegames",n[12]),4194304&t[0]&&S(u,"gamepagemodalurl",n[22]),268435456&t[0]&&S(u,"integratedgameframedesktop",n[28]),536870912&t[0]&&S(u,"integratedgameframemobile",n[29]),1&t[0]&&S(u,"casinomygames",n[0]),2097152&t[1]&&S(u,"filterbylogo",n[52]),524288&t[1]&&S(u,"addfilterselector",n[50]),1048576&t[1]&&S(u,"addsortingselector",n[51]),m&&k(m.update)&&8192&t[2]&&m.update.call(null,n[135])},d(e){f&&f.d(e),e&&he(r),y&&y.d(e),e&&he(a),w&&w.d(e),e&&he(o),C&&C.d(e),e&&he(d),e&&he(u),p=!1,g()}}}function rl(n){let r,a,i,s=n[77]("breakButton")+"";return{c(){r=me("div"),a=me("button"),i=pe(s),fe(a,"class","PanicButton "+("PC"!==st(n[78])?"PanicButtonMobile ":"")),fe(a,"part","PanicButton "+("PC"!==st(n[78])?"PanicButtonMobile":"")),T(a,"PanicButtonAnimation",n[71]),fe(r,"class","PanicSection "+("PC"!==st(n[78])?"PanicSectionMobile":"")),fe(r,"part","PanicSection "+("PC"!==st(n[78])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[87](a)},p(e,t){32768&t[2]&&s!==(s=e[77]("breakButton")+"")&&ye(i,s),512&t[2]&&T(a,"PanicButtonAnimation",e[71])},d(e){e&&he(r),n[87](null)}}}function al(n){let r;function a(e){return e[69]?Oo:No}let i=a(n),s=i(n);return{c(){r=me("div"),s.c(),this.c=V},m(e,t){ue(e,r,t),s.m(r,null),n[88](r)},p(e,t){i===(i=a(e))&&s?s.p(e,t):(s.d(1),(s=i(e))&&(s.c(),s.m(r,null)))},i:V,o:V,d(e){e&&he(r),s.d(),n[88](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoSearch{margin:30px 16px}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop.CasinoSearch{margin:30px 16px}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchInput{width:50%}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},uo,co,n,{endpoint:0,datasource:23,session:24,userid:25,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,gamepagemodalurl:6,translationurl:26,showfavorites:7},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","translationurl","showfavorites"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[23]}set datasource(e){this.$$set({datasource:e}),h()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),h()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),h()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),h()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),h()}get gamepagemodalurl(){return this.$$.ctx[6]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),h()}get translationurl(){return this.$$.ctx[26]}set translationurl(e){this.$$set({translationurl:e}),h()}get showfavorites(){return this.$$.ctx[7]}set showfavorites(e){this.$$set({showfavorites:e}),h()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},go,po,n,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["duration","session","userid","clientstyling","identifier","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),h()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),h()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get identifier(){return this.$$.ctx[12]}set identifier(e){this.$$set({identifier:e}),h()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),h()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),h()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),h()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(e){this.$$set({sessioncheck:e}),h()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),h()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);cursor:pointer}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:50vw;padding:20px;text-align:center;margin-bottom:50px;overflow:scroll}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6))}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-color-primary, #D0046C)}.Mobile{max-height:70vh;margin-bottom:0}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Fo,_o,n,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(e){this.$$set({dailybackground:e}),h()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),h()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),h()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),h()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),h()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),h()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),h()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),h()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:scroll;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:linear-gradient(#e2e2e2, #b5b5b5);border-radius:4px 4px 0 0;border-bottom:3px solid #888;display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 16px;text-align:center;border-radius:0 0 2px 2px;color:#fff;position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:#fff;position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:72px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:80%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:10px 6px;border-radius:5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);cursor:pointer}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Eo,Mo,n,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),h()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),h()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),h()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),h()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),h()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),h()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),h()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),h()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:flex-start;text-align:left;gap:10px}.Mobile{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto\n }.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ao,Do,n,{cmsendpoint:7,lang:0},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["cmsendpoint","lang"]}get cmsendpoint(){return this.$$.ctx[7]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),h()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),h()}});let il=!1;function sl(n,e,l){let D;ot(n,Ur,e=>l(77,D=e));let A,{endpoint:c=""}=e,{datasource:a=""}=e,{currency:B=""}=e,{lang:i=""}=e,{session:s=""}=e,{userid:o=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{translationurl:h=""}=e,{cmsendpoint:N=""}=e,{categorybackground:O=""}=e,r=e["visiblegames"],{alternativesearch:H="false"}=e,{favorites:m=""}=e,{containermaxwidth:j="1300"}=e,{lobbyid:U="casinodefault"}=e,{haspanicbutton:z="false"}=e,{filteredcategories:p=""}=e,{activecategory:g=""}=e,{livecasino:W="false"}=e,{playrandomgame:Y="false"}=e,{filteredrandomgamecategories:V=""}=e,{gamepagemodalurl:Z="false"}=e,{positionwinnerswidget:K=""}=e,{tabsorder:X=""}=e,{enableautoscroll:q=""}=e,{istopavailable:J=""}=e,{isrecentavailable:Q=""}=e,{integratedgameframedesktop:ee="false"}=e,{integratedgameframemobile:te="false"}=e,{periodrecent:ne=""}=e,{periodtop:re=""}=e,{numberusersrecent:ae=""}=e,{numberuserstop:ie=""}=e,{amountlimit:se=""}=e,{defaultcurrency:oe=""}=e,{showsubgroups:le=""}=e,{positionjackpotbanners:ce=""}=e,{caticon0:de=""}=e,{caticon1:ue=""}=e,{caticon2:he=""}=e,{caticon3:me=""}=e,{backgroundsrc:pe=""}=e,{backgroundsrcmobile:ge=""}=e,{titlelogopath:fe=""}=e,{iconlabels:ye=""}=e,{visualstructure:be=""}=e,{positioncollections:ve=""}=e,{type:we=""}=e,{titletype:xe=""}=e,{collectionprovidersgamenames:$e=""}=e,{addfilterselector:Ce="false"}=e,{addsortingselector:Se="false"}=e,{filterbylogo:ke=""}=e,{positioncasinocalendar:_e=""}=e,{casinomygames:f="false"}=e,{mostplayed:Fe=""}=e,{lastplayed:Me=""}=e,{lastplayedperiod:Ee="Last30Days"}=e,{mostplayedperiod:Le="Last30Days"}=e,{lastplayedorder:Ge=""}=e,{lastplayedlimit:Te=""}=e,{lastplayedunique:Pe="true"}=e,{mostplayedrounds:Ie=""}=e,{winnersdatasources:Re=""}=e,{randombuttonicon:De=""}=e,Ae=window.navigator.userAgent;A=it(Ae)?"OpenGameFrame":"ShowGameModal";let y,b,v,Be,w,Ne,Oe,He,x,$,C=!1,S=!1,je=!1,k="",t=!1,_=0,F=!1,M=!0,Ue=!1,ze=[],E=[],We=!1,L=[],Ye=0,G="",Ve=!1;var Ze,Ke;({withLocale:Ze,translations:Ke}={withLocale:"en",translations:{}}),at.subscribe(e=>{null==e&&($r.set(Ke),at.set(Ze))}),Object.keys(Wr).forEach(e=>{zr(e,Wr[e])});const Xe=e=>{switch(We=!0,l(0,f="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:We},window.location.href)}),e.data.itemId){case"LOBBY":l(73,M=!0),l(72,F=!1),l(65,w="");break;case"MYGAMES":l(0,f="true"),l(73,M=!1),l(72,F=!0),l(65,w="");break;case"FAVORITES":l(73,M=!1),l(72,F=!0),l(65,w="");break;case"MOSTPLAYED":"true"==Fe&&(l(65,w=""),l(73,M=!1),l(72,F=!0));break;case"LASTPLAYED":"true"==Me&&(l(65,w=""),l(73,M=!1),l(72,F=!0));break;default:l(73,M=!1),l(72,F=!1),l(65,w=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500)}},qe=n=>{if(n.data)switch(n.data.type){case"CategoryChange":Xe(n);break;case"UserSessionID":b=n.data.session,(y=n.data.userID)&&y.length&&b&&0<b.length&&T(c,b,y);break;case"SetUnfavoredGame":t=`${c}/player/${y}/favorites`,s=b,y,o=n.data.id,L.includes(o)&&(L=L.filter(e=>e!=o)),fetch(t+"/"+o,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+o},window.location.href),Je(t,s)});break;case"SetFavoredGame":{var r=`${c}/player/${y}/favorites`;var a=b;y;var i=n.data.id;L.includes(i)||L.push(i);let e={items:L},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),Je(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":y&&y.length&&b&&0<b.length&&T(c,b,y);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),P();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),P();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:G,origin:n.data.origin},window.location.href),P();break;case"CategoryVendors":G=n.data.categoryid,P();break;case"searchCancelled":l(74,Ue=!1),w&&Xe({data:{itemId:w}});break;case"searchActive":l(74,Ue=!0);break;case"ModalClosed":break;case"SubgroupsIds":E.some(e=>n.data.subGroupsIds.includes(e))||E.push(...n.data.subGroupsIds)}var e,t,s,o};let T=(e,t,n)=>{"true"==m&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((x=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:x},window.location.href),tt(x.items)),x)).then(e=>e).catch(e=>{console.error(e)})},Je=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((x=e)&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:x},window.location.href),x)).catch(e=>{console.error(e)})};const Qe=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},et=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},tt=(e=[])=>(L=[],0<e.length&&e.forEach(e=>{L.push(e.id)}),L);const P=()=>{var e=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e&&G&&(e[G]?l(76,Ye=e[G].length):l(76,Ye=0))},nt=()=>{Ne&&(Oe=Ne.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},I=e=>{_=0,Be=setInterval(()=>{_+=1,l(71,t=!0),3<=_&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Be))},1e3)},R=e=>{_<3&&l(71,t=!1),clearInterval(Be)};return lt(()=>(window.addEventListener("scroll",nt,!1),window.addEventListener("message",qe,!1),()=>{window.removeEventListener("scroll",nt),window.removeEventListener("message",qe),l(71,t=!1),null!=v&&v.removeEventListener("mousedown",I),null!=v&&v.removeEventListener("touchstart",I),null!=v&&v.removeEventListener("mouseup",R),null!=v&&v.removeEventListener("touchend",R)})),n.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"datasource"in e&&l(2,a=e.datasource),"currency"in e&&l(3,B=e.currency),"lang"in e&&l(4,i=e.lang),"session"in e&&l(5,s=e.session),"userid"in e&&l(6,o=e.userid),"clientstyling"in e&&l(7,d=e.clientstyling),"clientstylingurl"in e&&l(8,u=e.clientstylingurl),"translationurl"in e&&l(9,h=e.translationurl),"cmsendpoint"in e&&l(10,N=e.cmsendpoint),"categorybackground"in e&&l(11,O=e.categorybackground),"visiblegames"in e&&l(12,r=e.visiblegames),"alternativesearch"in e&&l(13,H=e.alternativesearch),"favorites"in e&&l(14,m=e.favorites),"containermaxwidth"in e&&l(15,j=e.containermaxwidth),"lobbyid"in e&&l(82,U=e.lobbyid),"haspanicbutton"in e&&l(16,z=e.haspanicbutton),"filteredcategories"in e&&l(17,p=e.filteredcategories),"activecategory"in e&&l(18,g=e.activecategory),"livecasino"in e&&l(19,W=e.livecasino),"playrandomgame"in e&&l(20,Y=e.playrandomgame),"filteredrandomgamecategories"in e&&l(21,V=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(22,Z=e.gamepagemodalurl),"positionwinnerswidget"in e&&l(23,K=e.positionwinnerswidget),"tabsorder"in e&&l(24,X=e.tabsorder),"enableautoscroll"in e&&l(25,q=e.enableautoscroll),"istopavailable"in e&&l(26,J=e.istopavailable),"isrecentavailable"in e&&l(27,Q=e.isrecentavailable),"integratedgameframedesktop"in e&&l(28,ee=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(29,te=e.integratedgameframemobile),"periodrecent"in e&&l(30,ne=e.periodrecent),"periodtop"in e&&l(31,re=e.periodtop),"numberusersrecent"in e&&l(32,ae=e.numberusersrecent),"numberuserstop"in e&&l(33,ie=e.numberuserstop),"amountlimit"in e&&l(34,se=e.amountlimit),"defaultcurrency"in e&&l(35,oe=e.defaultcurrency),"showsubgroups"in e&&l(83,le=e.showsubgroups),"positionjackpotbanners"in e&&l(36,ce=e.positionjackpotbanners),"caticon0"in e&&l(37,de=e.caticon0),"caticon1"in e&&l(38,ue=e.caticon1),"caticon2"in e&&l(39,he=e.caticon2),"caticon3"in e&&l(40,me=e.caticon3),"backgroundsrc"in e&&l(41,pe=e.backgroundsrc),"backgroundsrcmobile"in e&&l(42,ge=e.backgroundsrcmobile),"titlelogopath"in e&&l(43,fe=e.titlelogopath),"iconlabels"in e&&l(44,ye=e.iconlabels),"visualstructure"in e&&l(45,be=e.visualstructure),"positioncollections"in e&&l(46,ve=e.positioncollections),"type"in e&&l(47,we=e.type),"titletype"in e&&l(48,xe=e.titletype),"collectionprovidersgamenames"in e&&l(49,$e=e.collectionprovidersgamenames),"addfilterselector"in e&&l(50,Ce=e.addfilterselector),"addsortingselector"in e&&l(51,Se=e.addsortingselector),"filterbylogo"in e&&l(52,ke=e.filterbylogo),"positioncasinocalendar"in e&&l(53,_e=e.positioncasinocalendar),"casinomygames"in e&&l(0,f=e.casinomygames),"mostplayed"in e&&l(54,Fe=e.mostplayed),"lastplayed"in e&&l(55,Me=e.lastplayed),"lastplayedperiod"in e&&l(56,Ee=e.lastplayedperiod),"mostplayedperiod"in e&&l(57,Le=e.mostplayedperiod),"lastplayedorder"in e&&l(58,Ge=e.lastplayedorder),"lastplayedlimit"in e&&l(59,Te=e.lastplayedlimit),"lastplayedunique"in e&&l(60,Pe=e.lastplayedunique),"mostplayedrounds"in e&&l(61,Ie=e.mostplayedrounds),"winnersdatasources"in e&&l(62,Re=e.winnersdatasources),"randombuttonicon"in e&&l(63,De=e.randombuttonicon)},n.$$.update=()=>{if(262160&n.$$.dirty[0]&&i&&g&&(l(65,w=g),Xe({data:{itemId:w}})),98&n.$$.dirty[0]&&s&&o&&c&&(l(70,je=!0),b=s,y=o)&&y.length&&b&&0<b.length&&"true"!=f&&T(c,b,y),4194312&n.$$.dirty[2]&&w&&E&&E&&!E.includes(decodeURI(w))&&""!=w&&window.postMessage({type:"NonExistentCategory"},window.location.href),8214&n.$$.dirty[0]&&c&&a&&i&&H&&(c||(k="Endpoint is missing! Please provide a valid endpointURL.",l(69,S=!0),l(68,C=!1),console.error(k)),a||(k="Datasource is missing! Please provide a valid datasource.",l(69,S=!0),l(68,C=!1),console.error(k)),(!i||i.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",l(69,S=!0),l(68,C=!1),console.error(k)),S||(l(68,C=!0),"true"==m&&T(c,b,y),t=i,at.set(t),(t=new URL(c+"/casino/groups/"+a)).searchParams.append("language",i),t.searchParams.append("platform",st(Ae)),r=t,new Promise((t,n)=>{l(68,C=!0),fetch(r).then(e=>e.json()).then(e=>{l(68,C=!1),t(e)}).catch(e=>{l(69,S=!0),l(68,C=!1),console.error(e),n(e)})}).then(e=>{let r=p.split(",");e&&(He=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,p))for(var n of r)e.flags==n&&(t=!1);return t}),l(75,ze=He.filter(e=>{return!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==le)}).map(e=>e.id)),l(84,E=e.items.map(e=>e.id.toString())),l(68,C=!1))}),P(),Ne=void 0)),16&n.$$.dirty[0]&&i&&(Ve&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500),Ve=!1),512&n.$$.dirty[0]&&h&&(t=new URL(h),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{zr(e,t[e])})}).catch(e=>{console.log(e)})),128&n.$$.dirty[0]|16&n.$$.dirty[2]&&d&&$&&((e=document.createElement("style")).innerHTML=d,$.appendChild(e)),256&n.$$.dirty[0]|16&n.$$.dirty[2]&&u&&$){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}var e,r,t;4&n.$$.dirty[2]&&v&&(null!=v&&v.addEventListener("mousedown",I,!1),null!=v&&v.addEventListener("touchstart",I,!1),null!=v&&v.addEventListener("mouseup",R,!1),null!=v)&&v.addEventListener("touchend",R,!1)},[f,c,a,B,i,s,o,d,u,h,N,O,r,H,m,j,z,p,g,W,Y,V,Z,K,X,q,J,Q,ee,te,ne,re,ae,ie,se,oe,ce,de,ue,he,me,pe,ge,fe,ye,be,ve,we,xe,$e,Ce,Se,ke,_e,Fe,Me,Ee,Le,Ge,Te,Pe,Ie,Re,De,v,w,$,A,C,S,je,t,F,M,Ue,ze,Ye,D,Ae,Qe,et,(e,t)=>{G=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:r,receivedFavoriteResults:x},window.location.href)},U,le,E,()=>et(),()=>{Qe()},function(e){rt[e?"unshift":"push"](()=>{v=e,l(64,v)})},function(e){rt[e?"unshift":"push"](()=>{$=e,l(66,$)})}]}class ol extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;position:relative}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.FiltersButtonsContainer{display:flex;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}@media screen and (max-width: 1300px){}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}@media(max-width: 768px){}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},sl,al,n,{endpoint:1,datasource:2,currency:3,lang:4,session:5,userid:6,clientstyling:7,clientstylingurl:8,translationurl:9,cmsendpoint:10,categorybackground:11,visiblegames:12,alternativesearch:13,favorites:14,containermaxwidth:15,lobbyid:82,haspanicbutton:16,filteredcategories:17,activecategory:18,livecasino:19,playrandomgame:20,filteredrandomgamecategories:21,gamepagemodalurl:22,positionwinnerswidget:23,tabsorder:24,enableautoscroll:25,istopavailable:26,isrecentavailable:27,integratedgameframedesktop:28,integratedgameframemobile:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:34,defaultcurrency:35,showsubgroups:83,positionjackpotbanners:36,caticon0:37,caticon1:38,caticon2:39,caticon3:40,backgroundsrc:41,backgroundsrcmobile:42,titlelogopath:43,iconlabels:44,visualstructure:45,positioncollections:46,type:47,titletype:48,collectionprovidersgamenames:49,addfilterselector:50,addsortingselector:51,filterbylogo:52,positioncasinocalendar:53,casinomygames:0,mostplayed:54,lastplayed:55,lastplayedperiod:56,mostplayedperiod:57,lastplayedorder:58,lastplayedlimit:59,lastplayedunique:60,mostplayedrounds:61,winnersdatasources:62,randombuttonicon:63},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","alternativesearch","favorites","containermaxwidth","lobbyid","haspanicbutton","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","showsubgroups","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","collectionprovidersgamenames","addfilterselector","addsortingselector","filterbylogo","positioncasinocalendar","casinomygames","mostplayed","lastplayed","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds","winnersdatasources","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),h()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),h()}get currency(){return this.$$.ctx[3]}set currency(e){this.$$set({currency:e}),h()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),h()}get session(){return this.$$.ctx[5]}set session(e){this.$$set({session:e}),h()}get userid(){return this.$$.ctx[6]}set userid(e){this.$$set({userid:e}),h()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),h()}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),h()}get categorybackground(){return this.$$.ctx[11]}set categorybackground(e){this.$$set({categorybackground:e}),h()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),h()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),h()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),h()}get containermaxwidth(){return this.$$.ctx[15]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),h()}get lobbyid(){return this.$$.ctx[82]}set lobbyid(e){this.$$set({lobbyid:e}),h()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),h()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(e){this.$$set({filteredcategories:e}),h()}get activecategory(){return this.$$.ctx[18]}set activecategory(e){this.$$set({activecategory:e}),h()}get livecasino(){return this.$$.ctx[19]}set livecasino(e){this.$$set({livecasino:e}),h()}get playrandomgame(){return this.$$.ctx[20]}set playrandomgame(e){this.$$set({playrandomgame:e}),h()}get filteredrandomgamecategories(){return this.$$.ctx[21]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),h()}get gamepagemodalurl(){return this.$$.ctx[22]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),h()}get positionwinnerswidget(){return this.$$.ctx[23]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),h()}get tabsorder(){return this.$$.ctx[24]}set tabsorder(e){this.$$set({tabsorder:e}),h()}get enableautoscroll(){return this.$$.ctx[25]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),h()}get istopavailable(){return this.$$.ctx[26]}set istopavailable(e){this.$$set({istopavailable:e}),h()}get isrecentavailable(){return this.$$.ctx[27]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),h()}get integratedgameframedesktop(){return this.$$.ctx[28]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),h()}get integratedgameframemobile(){return this.$$.ctx[29]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),h()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(e){this.$$set({periodrecent:e}),h()}get periodtop(){return this.$$.ctx[31]}set periodtop(e){this.$$set({periodtop:e}),h()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),h()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(e){this.$$set({numberuserstop:e}),h()}get amountlimit(){return this.$$.ctx[34]}set amountlimit(e){this.$$set({amountlimit:e}),h()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),h()}get showsubgroups(){return this.$$.ctx[83]}set showsubgroups(e){this.$$set({showsubgroups:e}),h()}get positionjackpotbanners(){return this.$$.ctx[36]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),h()}get caticon0(){return this.$$.ctx[37]}set caticon0(e){this.$$set({caticon0:e}),h()}get caticon1(){return this.$$.ctx[38]}set caticon1(e){this.$$set({caticon1:e}),h()}get caticon2(){return this.$$.ctx[39]}set caticon2(e){this.$$set({caticon2:e}),h()}get caticon3(){return this.$$.ctx[40]}set caticon3(e){this.$$set({caticon3:e}),h()}get backgroundsrc(){return this.$$.ctx[41]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),h()}get backgroundsrcmobile(){return this.$$.ctx[42]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),h()}get titlelogopath(){return this.$$.ctx[43]}set titlelogopath(e){this.$$set({titlelogopath:e}),h()}get iconlabels(){return this.$$.ctx[44]}set iconlabels(e){this.$$set({iconlabels:e}),h()}get visualstructure(){return this.$$.ctx[45]}set visualstructure(e){this.$$set({visualstructure:e}),h()}get positioncollections(){return this.$$.ctx[46]}set positioncollections(e){this.$$set({positioncollections:e}),h()}get type(){return this.$$.ctx[47]}set type(e){this.$$set({type:e}),h()}get titletype(){return this.$$.ctx[48]}set titletype(e){this.$$set({titletype:e}),h()}get collectionprovidersgamenames(){return this.$$.ctx[49]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),h()}get addfilterselector(){return this.$$.ctx[50]}set addfilterselector(e){this.$$set({addfilterselector:e}),h()}get addsortingselector(){return this.$$.ctx[51]}set addsortingselector(e){this.$$set({addsortingselector:e}),h()}get filterbylogo(){return this.$$.ctx[52]}set filterbylogo(e){this.$$set({filterbylogo:e}),h()}get positioncasinocalendar(){return this.$$.ctx[53]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),h()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),h()}get mostplayed(){return this.$$.ctx[54]}set mostplayed(e){this.$$set({mostplayed:e}),h()}get lastplayed(){return this.$$.ctx[55]}set lastplayed(e){this.$$set({lastplayed:e}),h()}get lastplayedperiod(){return this.$$.ctx[56]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),h()}get mostplayedperiod(){return this.$$.ctx[57]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),h()}get lastplayedorder(){return this.$$.ctx[58]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),h()}get lastplayedlimit(){return this.$$.ctx[59]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),h()}get lastplayedunique(){return this.$$.ctx[60]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),h()}get mostplayedrounds(){return this.$$.ctx[61]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),h()}get winnersdatasources(){return this.$$.ctx[62]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),h()}get randombuttonicon(){return this.$$.ctx[63]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),h()}}return customElements.get("casino-page")||customElements.define("casino-page",ol),ol});
|
|
33
33
|
//# sourceMappingURL=casino-page.js.map
|