@everymatrix/casino-header-controller 1.27.0 → 1.27.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
|
|
1
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 x=e=>e;function E(e){return e()}function M(){return Object.create(null)}function P(e){e.forEach(E)}function $(e){return"function"==typeof e}function T(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let H;function C(e,t){return(H=H||document.createElement("a")).href=t,e===H.href}function A(e,...t){if(null==e)return v;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ye(e,t,n){e.$$.on_destroy.push(A(t,n))}function S(e){return e&&$(e.destroy)?e.destroy:v}var _="undefined"!=typeof window;let I=_?()=>window.performance.now():()=>Date.now(),k=_?e=>requestAnimationFrame(e):v;const R=new Set;function D(t){R.forEach(e=>{e.c(t)||(R.delete(e),e.f())}),0!==R.size&&k(D)}_="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function ie(e,t){e.appendChild(t)}function N(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function ae(e,t,n){e.insertBefore(t,n||null)}function se(e){e.parentNode&&e.parentNode.removeChild(e)}function L(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function le(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function t(e){return document.createTextNode(e)}function ce(){return t(" ")}function c(){return t("")}function O(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function ue(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function F(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:ue(e,t,n)}function he(e,t){e.data!==(t=""+t)&&(e.data=t)}function U(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function j(t,n,e){for(let e=0;e<t.options.length;e+=1){var r=t.options[e];if(r.__value===n)return r.selected=!0}e&&void 0===n||(t.selectedIndex=-1)}function be(e){e=e.querySelector(":checked");return e&&e.__value}function G(e){var t={};for(const n of e)t[n.name]=n.value;return t}const z=new Map;let W,V=0;function X(e,t,n,r,o,i,a,s=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+`%{${a(r,1-r)}}
|
2
2
|
`}var u,h=c+`100% {${a(n,1-n)}}
|
3
|
-
}`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(h)}_`+s,p=N(e),{stylesheet:d,rules:f}=z.get(p)||(p=p,u={stylesheet:(u=e,f=le("style"),u=N(u),d=f,ie(u.head||u,d),d.sheet,f.sheet),rules:{}},z.set(p,u),u),p=(f[s]||(f[s]=!0,d.insertRule(`@keyframes ${s} `+h,d.cssRules.length)),e.style.animation||"");return e.style.animation=(p?p+", ":"")+s+` ${r}ms linear ${o}ms 1 both`,V+=1,s}function Z(e){W=e}function ve(e){!function(){if(W)return W;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const Y=[],me=[];let K=[];const J=[],Q=Promise.resolve();let q=!1;function B(e){K.push(e)}const ee=new Set;let te,ne=0;function p(){if(0===ne){const r=W;do{try{for(;ne<Y.length;){const r=Y[ne];ne++,Z(r),e=t=void 0;var e,t=r.$$;null!==t.fragment&&(t.update(),P(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(B))}}catch(r){throw Y.length=0,ne=0,r}for(Z(null),Y.length=0,ne=0;me.length;)me.pop()();for(let e=0;e<K.length;e+=1){var n=K[e];ee.has(n)||(ee.add(n),n())}}while(K.length=0,Y.length);for(;J.length;)J.pop()();q=!1,ee.clear(),Z(r)}}function re(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 oe=new Set;let pe;function de(e,t){e&&e.i&&(oe.delete(e),e.i(t))}function fe(e,t,n,r){e&&e.o?oe.has(e)||(oe.add(e),pe.c.push(()=>{oe.delete(e),r&&(n&&e.d(1),r())}),e.o(t)):r&&r()}const we={duration:0};function xe(l,e,t,n){const r={direction:"both"};let c=e(l,t,r),u=n?0:1,h=null,p=null,d=null;function f(){var e,t,n,r;d&&(e=l,t=d,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(", "),V-=n)||k(()=>{V||(z.forEach(e=>{e=e.stylesheet.ownerNode;e&&se(e)}),z.clear())}))}function m(e,t){var n=e.b-u;return t*=Math.abs(n),{a:u,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function o(e){const{delay:t=0,duration:n=300,easing:r=x,tick:o=v,css:i}=c||we,a={start:I()+t,b:e};if(e||((a.group=pe).r+=1),h||p)p=a;else{i&&(f(),d=X(l,u,e,n,t,r,i)),e&&o(0,1),h=m(a,n),B(()=>re(l,e,"start"));{var s=e=>{return p&&e>p.start&&(h=m(p,n),p=null,re(l,h.b,"start"),i)&&(f(),d=X(l,u,h.b,h.duration,0,r,c.css)),h&&(e>=h.end?(o(u=h.b,1-u),re(l,h.b,"end"),p||(h.b?f():--h.group.r||P(h.group.c)),h=null):e>=h.start&&(e=e-h.start,u=h.a+h.d*r(e/h.duration),o(u,1-u))),!(!h&&!p)};let t;0===R.size&&k(D),new Promise(e=>{R.add(t={c:s,f:e})})}}}return{run(e){$(c)?(te||(te=Promise.resolve()).then(()=>{te=null}),te.then(()=>{c=c(r),o(e)})):o(e)},end(){f(),h=p=null}}}function Ee(e,t){e.d(1),t.delete(e.key)}function Ce(t,n,r,o,i,a,s,l,e,c,u,h){let p=t.length,d=a.length,f=p;for(var m={};f--;)m[t[f].key]=f;var g=[],y=new Map,b=new Map,v=[];for(f=d;f--;){const t=h(i,a,f),P=r(t);let e=s.get(P);e?o&&v.push(()=>e.p(t,n)):(e=c(P,t)).c(),y.set(P,g[f]=e),P in m&&b.set(P,Math.abs(f-m[P]))}var w=new Set,x=new Set;function E(e){de(e,1),e.m(l,u),s.set(e.key,e),u=e.first,d--}for(;p&&d;){const n=g[d-1],r=t[p-1],o=n.key,P=r.key;n===r?(u=n.first,p--,d--):y.has(P)?!s.has(o)||w.has(o)?E(n):x.has(P)?p--:b.get(o)>b.get(P)?(x.add(o),E(n)):(w.add(P),p--):(e(r,s),p--)}for(;p--;){const n=t[p];y.has(n.key)||e(n,s)}for(;d;)E(g[d-1]);return P(v),g}function Be(r,e,t,n,o,i,a,s=[-1]){var l=W;Z(r);const c=r.$$={fragment:null,ctx:[],props:i,update:v,not_equal:o,bound:M(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:M(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u)&&(n=e,-1===(e=r).$$.dirty[0]&&(Y.push(e),q||(q=!0,Q.then(p)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),u=!0,P(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(se)}else c.fragment&&c.fragment.c();e.intro&&de(r.$$.fragment);var h=r,s=e.target,a=e.anchor,t=e.customElement,{fragment:n,after_update:i}=h.$$;n&&n.m(s,a),t||B(()=>{var e=h.$$.on_mount.map(E).filter($);h.$$.on_destroy?h.$$.on_destroy.push(...e):P(e),h.$$.on_mount=[]}),i.forEach(B),p()}Z(l)}let Me;"function"==typeof HTMLElement&&(Me=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(E).filter($);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){P(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const r=[],o=[];K.forEach(e=>(-1===n.indexOf(e)?r:o).push(e)),o.forEach(e=>e()),K=r}P(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=v}$on(e,t){if(!$(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 $e,Te,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},He="URLSearchParams"in l,Ae="Symbol"in l&&"iterator"in Symbol,Se="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),_e="FormData"in l,Ie="ArrayBuffer"in l;function Le(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 Fe(e){return e="string"!=typeof e?String(e):e}function Pe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ae&&(e[Symbol.iterator]=function(){return e}),e}function u(t){this.map={},t instanceof u?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Oe(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ke(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Re(e){var t=new FileReader,n=ke(t);return t.readAsArrayBuffer(e),n}function De(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Ne(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Se&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:_e&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:He&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ie&&Se&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=De(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ie&&(ArrayBuffer.prototype.isPrototypeOf(e)||Te(e))?this._bodyArrayBuffer=De(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):He&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Se&&(this.blob=function(){var e=Oe(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return Oe(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(Se)return this.blob().then(Re);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r=Oe(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=ke(e),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?n[1]:"utf-8",e.readAsText(r,n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},_e&&(this.formData=function(){return this.text().then(Ge)}),this.json=function(){return this.text().then(JSON.parse)},this}Ie&&($e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Te=ArrayBuffer.isView||function(e){return e&&-1<$e.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=Le(e),t=Fe(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},u.prototype.delete=function(e){delete this.map[Le(e)]},u.prototype.get=function(e){return e=Le(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(Le(e))},u.prototype.set=function(e,t){this.map[Le(e)]=Fe(t)},u.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},u.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Pe(n)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Pe(t)},u.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Pe(n)},Ae&&(u.prototype[Symbol.iterator]=u.prototype.entries);var Ue=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function je(e,t){if(!(this instanceof je))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 je){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new u(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Ue.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ge(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 h(e,t){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}je.prototype.clone=function(){return new je(this,{body:this._bodyInit})},Ne.call(je.prototype),Ne.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var ze=[301,302,303,307,308],We=(h.redirect=function(e,t){if(-1===ze.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},l.DOMException);try{new We}catch(v){(We=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),We.prototype.constructor=We}function Ve(r,s){return new Promise(function(o,e){var i=new je(r,s);if(i.signal&&i.signal.aborted)return e(new We("Aborted","AbortError"));var n,a=new XMLHttpRequest;function t(){a.abort()}a.onload=function(){var e,r,t={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",r=new u,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{r.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),r)},n=(i.url.startsWith("file://")&&(a.status<200||599<a.status)?t.status=200:t.status=a.status,t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){o(new h(n,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){e(new We("Aborted","AbortError"))},0)},a.open(i.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&(Se?a.responseType="blob":Ie&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof u||l.Headers&&s.headers instanceof l.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(Le(e)),a.setRequestHeader(e,Fe(s.headers[e]))}),i.headers.forEach(function(e,t){-1===n.indexOf(t)&&a.setRequestHeader(t,e)})):i.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",t),a.onreadystatechange=function(){4===a.readyState&&i.signal.removeEventListener("abort",t)}),a.send(void 0===i._bodyInit?null:i._bodyInit)})}Ve.polyfill=!0,l.fetch||(l.fetch=Ve,l.Headers=u,l.Request=je,l.Response=h);var Xe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ze(e,t,n){return e(n={path:t,exports:{},require:function(e,t){throw null==t&&n.path,new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}},n.exports),n.exports}self.fetch.bind(self);var Ye=function(e,t){return(Ye=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 Ke(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}Ye(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 Qe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function qe(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function d(e){return"function"==typeof e}function et(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 tt=et(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 nt(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}n.prototype.unsubscribe=function(){var e,t,n,r,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=Je(i),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(d(i))try{i()}catch(e){o=e instanceof tt?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 u=c.value;try{at(u)}catch(e){o=null!=o?o:[],e instanceof tt?o=qe(qe([],Qe(o)),Qe(e.errors)):o.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(o)throw new tt(o)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)at(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},n.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},n.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},n.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&nt(t,e)},n.prototype.remove=function(e){var t=this._finalizers;t&&nt(t,e),e instanceof n&&e._removeParent(this)},n.EMPTY=((o=new n).closed=!0,o);var rt=n,ot=rt.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function it(e){return e instanceof rt||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function at(e){d(e)?e():e.unsubscribe()}var st=void 0,lt=!1,ct=!1,ut={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=ut.delegate;return null!=o&&o.setTimeout?o.setTimeout.apply(o,qe([e,t],Qe(n))):setTimeout.apply(void 0,qe([e,t],Qe(n)))},clearTimeout:function(e){var t=ut.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ht(){}var pt=null;function dt(e){if(lt){var t=!pt;if(t&&(pt={errorThrown:!1,error:null}),e(),t){var t=pt,n=t.errorThrown,t=t.error;if(pt=null,n)throw t}}else e()}Ke(r,ft=rt),r.create=function(e,t,n){return new wt(e,t,n)},r.prototype.next=function(e){this.isStopped||this._next(e)},r.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ft.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ft,mt=r,gt=Function.prototype.bind;function r(e){var t=ft.call(this)||this;return t.isStopped=!1,e?it(t.destination=e)&&e.add(t):t.destination=Bt,t}function yt(e,t){return gt.call(e,t)}Et.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ct(e)}},Et.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ct(e)}else Ct(e)},Et.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ct(e)}};var bt,vt=Et,wt=(Ke(xt,bt=mt),xt);function xt(e,t,n){var r=bt.call(this)||this,n=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&ct?((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 Et(e){this.partialObserver=e}function Ct(e){var t=e;ut.setTimeout(function(){throw t})}var Bt={closed:!0,next:ht,error:function(e){throw e},complete:ht},o="function"==typeof Symbol&&Symbol.observable||"@@observable";i.prototype.lift=function(e){var t=new i;return t.source=this,t.operator=e,t},i.prototype.subscribe=function(e,t,n){var r,o=this,i=(r=e)&&r instanceof mt||r&&d(r.next)&&d(r.error)&&d(r.complete)&&it(r)?e:new wt(e,t,n);return dt(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(r,e){var o=this;return new(e=$t(e))(function(e,t){var n=new wt({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});o.subscribe(n)})},i.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},i.prototype[o]=function(){return this},i.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},i.prototype.toPromise=function(e){var r=this;return new(e=$t(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},i.create=function(e){return new i(e)};var Mt=i;function i(e){e&&(this._subscribe=e)}function $t(e){return null!=(e=null!=e?e:st)?e:Promise}var Tt,Ht,At,St=et(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(Ke(a,At=Mt),a.prototype.lift=function(e){var t=new _t(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new St},a.prototype.next=function(o){var i=this;dt(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(o)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var n=this;dt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},a.prototype.complete=function(){var t=this;dt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},a.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(a.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),a.prototype._trySubscribe=function(e){return this._throwIfClosed(),At.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,o=this.observers;return n||r?ot:(this.currentObservers=null,o.push(e),new rt(function(){t.currentObservers=null,nt(o,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},a.prototype.asObservable=function(){var e=new Mt;return e.source=this,e},a.create=function(e,t){return new _t(e,t)},a),_t=(Ke(Pt,Ht=o),Pt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Pt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Pt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Pt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:ot},Pt),It={now:function(){return(It.delegate||Date).now()},delegate:void 0},Lt=(Ke(Ft,Tt=o),Ft.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),o)||r.push(i.now()+t),this._trimBuffer(),Tt.prototype.next.call(this,e)},Ft.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),o=0;o<r.length&&!e.closed;o+=n?1:2)e.next(r[o]);return this._checkFinalizedStatuses(e),t},Ft.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var i=t.now(),a=0,s=1;s<n.length&&n[s]<=i;s+=2)a=s;a&&n.splice(0,a+1)}},Ft);function Ft(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=It);var r=Tt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function Pt(e,t){var n=Ht.call(this)||this;return n.destination=e,n.source=t,n}function a(){var e=At.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ot=[],kt={};const Rt=[];function Dt(r,o=v){let i;const a=new Set;function s(e){if(T(r,e)&&(r=e,i)){const e=!Rt.length;for(const e of a)e[1](),Rt.push(e,r);if(e){for(let e=0;e<Rt.length;e+=2)Rt[e][0](Rt[e+1]);Rt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=v){const n=[e,t];return a.add(n),1===a.size&&(i=o(s)||v),e(r),()=>{a.delete(n),0===a.size&&i&&(i(),i=null)}}}}function Nt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Dt(t,t=>{let n=!1;const r=[];let o=0,i=v;const a=()=>{var e;o||(i(),e=s(l?r[0]:r,t),u?t(e):i=$(e)?e:v)},e=c.map((e,t)=>A(e,e=>{r[t]=e,o&=~(1<<t),n&&a()},()=>{o|=1<<t}));return n=!0,a(),function(){P(e),i(),n=!1}}).subscribe}}function Ut(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===jt);var t}var jt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Gt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Zt(Array.isArray(e)?[]:{},e,t):e}function zt(e,t,n){return e.concat(t).map(function(e){return Gt(e,n)})}function Wt(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 Xt(r,o,i){var a={};return i.isMergeableObject(r)&&Wt(r).forEach(function(e){a[e]=Gt(r[e],i)}),Wt(o).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(o[e])?a[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Zt)(r[e],o[e],i):a[e]=Gt(o[e],i))}),a}function Zt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||zt,n.isMergeableObject=n.isMergeableObject||Ut,n.cloneUnlessOtherwiseSpecified=Gt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Xt(e,t,n):Gt(t,n)}Zt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Zt(e,t,n)},{});throw new Error("first argument should be an array")};var Yt=Zt,Kt=function(e,t){return(Kt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function 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}Kt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m,y,Qt,g=function(){return(g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function qt(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function en(e){return e.type===y.literal}function tn(e){return e.type===y.number}function nn(e){return e.type===y.date}function rn(e){return e.type===y.time}function on(e){return e.type===y.select}function an(e){return e.type===y.plural}function sn(e){return e.type===y.tag}function ln(e){return e&&"object"==typeof e&&e.type===Qt.number}function cn(e){return e&&"object"==typeof e&&e.type===Qt.dateTime}(o=m=m||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=y=y||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=Qt=Qt||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \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,pn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,dn=/^(@+)?(\+|#+)?[rs]?$/g,fn=/(\*)(0+)|(#+)(0+)|(0+)/g,mn=/^(0+)$/;function gn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(dn,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 yn(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 bn(e){return yn(e)||{}}function vn(e){for(var a={},t=0,n=e;t<n.length;t++){var r,o=n[t];switch(o.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=o.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=g(g(g({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return g(g({},e),bn(t))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return g(g({},e),bn(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(fn,function(e,t,n,r,o,i){if(t)a.minimumIntegerDigits=n.length;else{if(r&&o)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(mn.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(pn.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(pn,function(e,t,n,r,o,i){return"*"===n?a.minimumFractionDigits=t.length:r&&"#"===r[0]?a.maximumFractionDigits=r.length:o&&i?(a.minimumFractionDigits=o.length,a.maximumFractionDigits=o.length+i.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var i=o.options[0];"w"===i?a=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):i&&(a=g(g({},a),gn(i)))}else dn.test(o.stem)?a=g(g({},a),gn(o.stem)):((i=yn(o.stem))&&(a=g(g({},a),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)),!mn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=g(g({},a),r)))}return a}var wn={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 xn=new RegExp("^".concat(o.source,"*")),En=new RegExp("".concat(o.source,"*$"));function b(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,Cn=!!String.fromCodePoint,Bn=!!Object.fromEntries,Mn=!!String.prototype.codePointAt,$n=!!String.prototype.trimStart,Tn=!!String.prototype.trimEnd,Hn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},An=!0;try{An="a"===(null==(Kn=Rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Kn[0])}catch(v){An=!1}var Sn,_n,In=o?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Ln=Cn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,i=0;i<o;){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},Fn=Bn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],o=o[1];t[i]=o}return t},Pn=Mn?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},On=$n?function(e){return e.trimStart()}:function(e){return e.replace(xn,"")},kn=Tn?function(e){return e.trimEnd()}:function(e){return e.replace(En,"")};function Rn(e,t){return new RegExp(e,t)}_n=An?(Sn=Rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Sn.lastIndex=t,null!=(t=Sn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var o=Pn(e,t);if(void 0===o||Un(o)||33<=(n=o)&&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(o),t+=65536<=o?2:1}return Ln.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 o,i=this.char();if(123===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.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(m.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Nn(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o}else if((o=this.parseLiteral(e,t)).err)return o;r.push(o.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(),o=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(o,"/>"),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()||!Nn(this.char())?this.error(m.INVALID_TAG,b(e,this.clonePosition())):(n=this.clonePosition(),o!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,b(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:o,children:t,location:b(r,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,b(e,this.clonePosition())))):this.error(m.UNCLOSED_TAG,b(r,this.clonePosition()))):this.error(m.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 o=this.tryParseQuote(t);if(o)r+=o;else{o=this.tryParseUnquoted(e,t);if(o)r+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}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&&(Nn(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 Ln.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(),Ln(n))},s.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,b(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(m.MALFORMED_ARGUMENT,b(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.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(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(m.MALFORMED_ARGUMENT,b(n,this.clonePosition()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=_n(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 o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,b(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=kn(h.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(r)).err?c:(d=b(r,this.clonePosition()),l&&In(null==l?void 0:l.style,"::",0)?(f=On(l.style.slice(2)),"number"===a?(h=this.parseNumberSkeletonFromString(f,l.styleLocation)).err?h:{val:{type:y.number,value:n,location:d,style:h.val},err:null}:0===f.length?this.error(m.EXPECT_DATE_TIME_SKELETON,d):(u=f,this.locale&&(u=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var a=1+(1&i),s=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),(wn[t||""]||wn[n||""]||wn["".concat(n,"-001")]||wn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<a--;)n=l+n}else n+="J"===o?"H":o}return n}(f,this.locale)),p={type:Qt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},u.replace(un,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.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":o.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":o.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":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.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":o.minute=["numeric","2-digit"][t-1];break;case"s":o.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":o.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""}),o):{}},{val:{type:"date"===a?y.date:y.time,value:n,location:d,style:p},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:n,location:d,style:null!=(f=null==l?void 0:l.style)?f:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,b(u,g({},u)));this.bumpSpace();var h,p=this.parseIdentifierIfPossible(),d=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),p=this.parseIdentifierIfPossible(),d=h.val}var f,l=this.tryParsePluralOrSelectOptions(e,a,t,p);return l.err?l:(c=this.tryParseArgumentClose(r)).err?c:(f=b(r,this.clonePosition()),"select"===a?{val:{type:y.select,value:n,options:Fn(l.val),location:f},err:null}:{val:{type:y.plural,value:n,options:Fn(l.val),offset:d,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null});default:return this.error(m.INVALID_ARGUMENT_TYPE,b(i,s))}},s.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.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(m.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 o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),a=0,s=o;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:Qt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?vn(n):{}},err:null}},s.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o=!1,i=[],a=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=b(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;i.push([s,{value:c.val,location:b(u,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===i.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(m.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 o=!1,i=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}r=b(r,this.clonePosition());return o?Hn(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=Pn(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 Dn=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 Nn(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 jn(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Dn(e,t).parse();if(e.err)throw(n=SyntaxError(m[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,on(e)||an(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else tn(e)&&ln(e.style)||(nn(e)||rn(e))&&cn(e.style)?delete e.style.location:sn(e)&&n(e.children)})}(e.val),e.val}function Gn(e,t){var n=t&&t.cache?t.cache:Jn,r=t&&t.serializer?t.serializer:Xn;return(t&&t.strategy?t.strategy:function(e,t){return Vn(e,this,1===e.length?zn:Wn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function zn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),o=t.get(n);return void 0===o&&(o=e.call(this,r),t.set(n,o)),o}function Wn(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),o=t.get(n);return void 0===o&&(o=e.apply(this,r),t.set(n,o)),o}function Vn(e,t,n,r,o){return n.bind(t,e,r,o)}var Xn=function(){return JSON.stringify(arguments)};function Zn(){this.cache=Object.create(null)}Zn.prototype.get=function(e){return this.cache[e]},Zn.prototype.set=function(e,t){this.cache[e]=t};var Yn,Kn,Jn={create:function(){return new Zn}},Qn={variadic:function(e,t){return Vn(e,this,Wn,t.cache.create(),t.serializer)},monadic:function(e,t){return Vn(e,this,zn,t.cache.create(),t.serializer)}};(Kn=Yn=Yn||{}).MISSING_VALUE="MISSING_VALUE",Kn.INVALID_VALUE="INVALID_VALUE",Kn.MISSING_INTL_API="MISSING_INTL_API";Jt(ur,nr=Error),ur.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var w,qn,er,tr,nr,rr=ur,or=(Jt(cr,tr=rr),cr),ir=(Jt(lr,er=rr),lr),ar=(Jt(sr,qn=rr),sr);function sr(e,t){return qn.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Yn.MISSING_VALUE,t)||this}function lr(e,t,n){return er.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Yn.INVALID_VALUE,n)||this}function cr(e,t,n,r){return tr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Yn.INVALID_VALUE,r)||this}function ur(e,t,n){e=nr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function hr(e,t,n,r,o,i,a){if(1===e.length&&en(e[0]))return[{type:w.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(en(u))s.push({type:w.literal,value:u.value});else if(u.type===y.pound)"number"==typeof i&&s.push({type:w.literal,value:n.getNumberFormat(t).format(i)});else{var h=u.value;if(!(o&&h in o))throw new ar(h,a);h=o[h];if(u.type===y.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?w.literal:w.object,value:h});else if(nn(u)){var p="string"==typeof u.style?r.date[u.style]:cn(u.style)?u.style.parsedOptions:void 0;s.push({type:w.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(rn(u))p="string"==typeof u.style?r.time[u.style]:cn(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:w.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(tn(u))(p="string"==typeof u.style?r.number[u.style]:ln(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:w.literal,value:n.getNumberFormat(t,p).format(h)});else{if(sn(u)){var d=u.children,f=u.value,m=o[f];if("function"!=typeof m)throw new ir(f,"function",a);f=m(hr(d,t,n,r,o,i).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),s.push.apply(s,f.map(function(e){return{type:"string"==typeof e?w.literal:w.object,value:e}}))}if(on(u)){if(!(g=u.options[h]||u.options.other))throw new or(u.value,h,Object.keys(u.options),a);s.push.apply(s,hr(g.value,t,n,r,o))}else if(an(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new rr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Yn.MISSING_INTL_API,a);var m=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new or(u.value,h,Object.keys(u.options),a);s.push.apply(s,hr(g.value,t,n,r,o,h-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===w.literal&&t.type===w.literal?n.value+=t.value:e.push(t),e},[])}function pr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(o=w=w||{})[o.literal=0]="literal",o[o.object=1]="object";Object.defineProperty(f,"defaultLocale",{get:function(){return f.memoizedDefaultLocale||(f.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),f.memoizedDefaultLocale},enumerable:!1,configurable:!0}),f.memoizedDefaultLocale=null,f.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])},f.__parse=jn,f.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 dr=f;function f(e,t,n,r){var o,i,a=this;if(void 0===t&&(t=f.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===w.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 hr(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=f.resolveLocale(t),"string"==typeof e){if(this.message=e,!f.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=f.__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=(o=f.formats,(i=n)?Object.keys(o).reduce(function(e,t){var n,r;return e[t]=(n=o[t],(r=i[t])?g(g(g({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=g(g({},n[t]),r[t]||{}),e},{})):n),e},g({},o)):o),this.formatters=r&&r.formatters||{getNumberFormat:Gn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,qt([void 0],t,!1)))},{cache:pr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Qn.variadic}),getDateTimeFormat:Gn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,qt([void 0],t,!1)))},{cache:pr(t.dateTime),strategy:Qn.variadic}),getPluralRules:Gn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,qt([void 0],t,!1)))},{cache:pr(t.pluralRules),strategy:Qn.variadic})}}const fr={},mr=(e,t,n)=>n&&(t in fr||(fr[t]={}),e in fr[t]||(fr[t][e]=n),n),gr=(t,n)=>{if(null!=n){if(n in fr&&t in fr[n])return fr[n][t];var r=Or(n);for(let e=0;e<r.length;e++){var o=function(e,t){if(!vr(e))return null;e=function(e){return yr[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(o)return mr(t,n,o)}}};let yr;const br=Dt({});function vr(e){return e in yr}function wr(t,...n){delete fr[t],br.update(e=>(e[t]=Yt.all([e[t]||{},...n]),e))}Nt([br],([e])=>Object.keys(e)),br.subscribe(e=>yr=e);const xr={};function Er(e){return xr[e]}function Cr(e){return null!=e&&Or(e).some(e=>{return null==(e=Er(e))?void 0:e.size})}function Br(r,e){return Promise.all(e.map(e=>{return t=r,n=e,xr[t].delete(n),0===xr[t].size&&delete xr[t],e().then(e=>e.default||e);var t,n})).then(e=>wr(r,...e))}const Mr={};const $r={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 Tr=Dt(!1);var Hr=Object.defineProperty,Cn=Object.defineProperties,Bn=Object.getOwnPropertyDescriptors,Ar=Object.getOwnPropertySymbols,Sr=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,Ir=(e,t,n)=>t in e?Hr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Lr;const Fr=Dt(null);function Pr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Or(e,t=$r.fallbackLocale){e=Pr(e);return t?[...new Set([...e,...Pr(t)])]:e}function kr(){return null!=Lr?Lr:void 0}Fr.subscribe(e=>{Lr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ge=Cn(((e,t)=>{for(var n in t=t||{})Sr.call(t,n)&&Ir(e,n,t[n]);if(Ar)for(var n of Ar(t))_r.call(t,n)&&Ir(e,n,t[n]);return e})({},Fr),Bn({set:t=>{if(t&&function(e){if(null!=e){var t=Or(e);for(let e=0;e<t.length;e++){var n=t[e];if(vr(n))return n}}}(t)&&Cr(t)){var n=$r["loadingDelay"];let e;return"undefined"!=typeof window&&null!=kr()&&n?e=window.setTimeout(()=>Tr.set(!0),n):Tr.set(!0),function e(t){var n;return Cr(t)?(n=Or(t).map(e=>{var t=Er(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Mr[t]=Promise.all(n.map(([e,t])=>Br(e,t))).then(()=>{if(Cr(t))return e(t);delete Mr[t]}),Mr[t]):t in Mr?Mr[t]:Promise.resolve()}(t).then(()=>{Fr.set(t)}).finally(()=>{clearTimeout(e),Tr.set(!1)})}return Fr.set(t)}}));var Mn=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Rr=Object.defineProperty,Dr=Object.getOwnPropertySymbols,Nr=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable,jr=(e,t,n)=>t in e?Rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gr=(e,t)=>{for(var n in t=t||{})Nr.call(t,n)&&jr(e,n,t[n]);if(Dr)for(var n of Dr(t))Ur.call(t,n)&&jr(e,n,t[n]);return e},zr=(e,t)=>{var n={};for(r in e)Nr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Dr)for(var r of Dr(e))t.indexOf(r)<0&&Ur.call(e,r)&&(n[r]=e[r]);return n};const Wr=(e,t)=>{var n=$r["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Vr=Mn(e=>{var{locale:t,format:n}=e,e=zr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Wr("number",n)),new Intl.NumberFormat(t,e)}),Xr=Mn(e=>{var{locale:t,format:n}=e,e=zr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Wr("date",n):0===Object.keys(e).length&&(e=Wr("date","short")),new Intl.DateTimeFormat(t,e)}),Zr=Mn(e=>{var{locale:t,format:n}=e,e=zr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Wr("time",n):0===Object.keys(e).length&&(e=Wr("time","short")),new Intl.DateTimeFormat(t,e)}),Yr=Mn((e,t=kr())=>new dr(e,t,$r.formats,{ignoreTag:$r.ignoreTag})),Kr=Nt([ge,br],()=>(e,t={})=>{var n,r;let o=t;"object"==typeof e&&(e=(o=e).id);var{values:i,locale:a=kr(),default:s}=o;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=gr(e,a);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=$r).handleMissingMessage)?void 0:n.call(r,{locale:a,id:e,defaultValue:s}))?n:s)?r:e;if(!i)return l;let c=l;try{c=Yr(l,a).format(i)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Jr=(Nt([ge],()=>(e,t)=>((e={})=>{var{locale:t=kr()}=e,e=zr(e,["locale"]);return Zr(Gr({locale:t},e))})(t).format(e)),Nt([ge],()=>(e,t)=>((e={})=>{var{locale:t=kr()}=e,e=zr(e,["locale"]);return Xr(Gr({locale:t},e))})(t).format(e)),Nt([ge],()=>(e,t)=>((e={})=>{var{locale:t=kr()}=e,e=zr(e,["locale"]);return Vr(Gr({locale:t},e))})(t).format(e)),Nt([ge,br],()=>(e,t=kr())=>gr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ot.indexOf(e)&&(t=new Lt(t),kt[e]=t,Ot.push(e)),kt[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))),Qr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function qr(e,t){wr(e,t)}const eo={en:{login:"Login",register:"Register",deposit:"Deposit",promotions:"Promotions"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金",promotions:"促销活动"},fr:{login:"Connexion",register:"Enregistrer",deposit:"Dépôt",promotions:"Promotions"},tr:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito",promotions:"Promosyonlar"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit",promotions:"Promotii"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita",promotions:"Promociones"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito",promotions:"Promoções"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata",promotions:"Promocije"}};function to(e,t){wr(e,t)}const no={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"}};function ro(e,t,n){e=e.slice();return e[51]=t[n],e[53]=n,e}function oo(e,t,n){e=e.slice();return e[54]=t[n],e}function io(e,t,n){e=e.slice();return e[57]=t[n],e[59]=n,e}function ao(t){let r,o=[],n=new Map,i=t[10];const a=e=>e[51].id;for(let e=0;e<i.length;e+=1){var s=ro(t,i,e),l=a(s);n.set(l,o[e]=mo(l,s))}return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ae(t,r,n)},p(e,t){155549&t[0]&&(i=e[10],o=Ce(o,t,a,1,e,i,n,r.parentNode,Ee,mo,r,ro))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&se(r)}}}function so(e){let n,r,o=e[51].name+"";return{c(){n=le("a"),r=t(o),ue(n,"href","#")},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){1024&t[0]&&o!==(o=e[51].name+"")&&he(r,o)},d(e){e&&se(n)}}}function lo(e){let n,r,o=e[51].label+"";return{c(){n=le("a"),r=t(o),ue(n,"href","#")},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){1024&t[0]&&o!==(o=e[51].label+"")&&he(r,o)},d(e){e&&se(n)}}}function co(e){let n,r=0<e[11].length&&"true"==e[3]&&uo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ae(e,n,t)},p(e,t){0<e[11].length&&"true"==e[3]?r?r.p(e,t):((r=uo(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&se(n)}}}function uo(t){let o,i=t[11],a=[];for(let e=0;e<i.length;e+=1)a[e]=fo(oo(t,i,e));return{c(){o=le("ul");for(let e=0;e<a.length;e+=1)a[e].c();ue(o,"class","DropDown")},m(e,t){ae(e,o,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(o,null)},p(t,n){if(20352&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var r=oo(t,i,e);a[e]?a[e].p(r,n):(a[e]=fo(r),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length}},d(e){e&&se(o),L(a,e)}}}function ho(n){let r,o,i,a,s,l,c,u=n[57]?.name+"";function h(...e){return n[33](n[51],n[53],n[57],n[59],...e)}return{c(){r=le("li"),o=le("a"),i=t(u),s=ce(),ue(o,"class",a="SubDropDown "+(n[53]!=n[7]||n[8]!=n[59]&&n[9]!=n[59]?"":"active"))},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,s),l||(c=O(r,"click",h),l=!0)},p(e,t){n=e,2048&t[0]&&u!==(u=n[57]?.name+"")&&he(i,u),3968&t[0]&&a!==(a="SubDropDown "+(n[53]!=n[7]||n[8]!=n[59]&&n[9]!=n[59]?"":"active"))&&ue(o,"class",a)},d(e){e&&se(r),l=!1,c()}}}function po(e,n){let r,o,i=n[53]==n[54].index&&ho(n);return{key:e,first:null,c(){r=c(),i&&i.c(),o=c(),this.first=r},m(e,t){ae(e,r,t),i&&i.m(e,t),ae(e,o,t)},p(e,t){(n=e)[53]==n[54].index?i?i.p(n,t):((i=ho(n)).c(),i.m(o.parentNode,o)):i&&(i.d(1),i=null)},d(e){e&&se(r),i&&i.d(e),e&&se(o)}}}function fo(t){let r,o=[],n=new Map,i=t[54].items;const a=e=>e[57].id;for(let e=0;e<i.length;e+=1){var s=io(t,i,e),l=a(s);n.set(l,o[e]=po(l,s))}return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ae(t,r,n)},p(e,t){20352&t[0]&&(i=e[54].items,o=Ce(o,t,a,1,e,i,n,r.parentNode,Ee,po,r,io))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&se(r)}}}function mo(e,n){let r,o,i,a,s,l,c,u,h,p,d;function f(e){return"headerMain"===e[0]?lo:so}let m=f(n),g=m(n),y=1==n[12][n[53]]&&co(n);function b(...e){return n[34](n[51],n[53],...e)}return{key:e,first:null,c(){r=le("li"),o=le("div"),i=le("img"),l=ce(),g.c(),c=ce(),y&&y.c(),u=ce(),ue(i,"class",a="CategoryIconImg "+("true"===n[4]?"":"DisplayNone")),C(i.src,s=n[17](n[51]))||ue(i,"src",s),ue(o,"class","CategoryIcon"),ue(r,"class",h="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[51].id.split("$").pop()?"active":"":n[2]==n[51].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),ue(r,"part","CarouselItem"),this.first=r},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,l),g.m(r,null),ie(r,c),y&&y.m(r,null),ie(r,u),p||(d=O(r,"click",b),p=!0)},p(e,t){n=e,16&t[0]&&a!==(a="CategoryIconImg "+("true"===n[4]?"":"DisplayNone"))&&ue(i,"class",a),1024&t[0]&&!C(i.src,s=n[17](n[51]))&&ue(i,"src",s),m===(m=f(n))&&g?g.p(n,t):(g.d(1),(g=m(n))&&(g.c(),g.m(r,c))),1==n[12][n[53]]?y?y.p(n,t):((y=co(n)).c(),y.m(r,u)):y&&(y.d(1),y=null),1029&t[0]&&h!==(h="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[51].id.split("$").pop()?"active":"":n[2]==n[51].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&ue(r,"class",h)},d(e){e&&se(r),g.d(),y&&y.d(),p=!1,d()}}}function go(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b=0<n[10].length&&ao(n);return{c(){r=le("div"),o=le("div"),(i=le("div")).innerHTML='<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',a=ce(),s=le("div"),l=le("ul"),(c=le("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',u=ce(),b&&b.c(),h=ce(),(p=le("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',this.c=v,ue(i,"class","CarouselLeftArrow"),ue(c,"class","TouchOnly"),ue(l,"id","CarouselNav"),ue(l,"class","CarouselItems"),ue(s,"class","CarouselNavWrap"),ue(p,"class","CarouselRightArrow"),ue(o,"class",d="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),ue(o,"style",f="headerMain"===n[0]?"max-width: auto":`max-width: ${n[1]}px`),ue(r,"class",m="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(o,a),ie(o,s),ie(s,l),ie(l,c),ie(l,u),b&&b.m(l,null),n[35](l),n[36](s),ie(o,h),ie(o,p),n[38](r),g||(y=[O(i,"click",n[32]),O(p,"click",n[37])],g=!0)},p(e,t){0<e[10].length?b?b.p(e,t):((b=ao(e)).c(),b.m(l,null)):b&&(b.d(1),b=null),1&t[0]&&d!==(d="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&ue(o,"class",d),3&t[0]&&f!==(f="headerMain"===e[0]?"max-width: auto":`max-width: ${e[1]}px`)&&ue(o,"style",f),1&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&ue(r,"class",m)},i:v,o:v,d(e){e&&se(r),b&&b.d(),n[35](null),n[36](null),n[38](null),g=!1,P(y)}}}function yo(t,e,i){let{endpoint:a=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:r="0"}=e,{location:c=""}=e,{clientstyling:o=""}=e,{clientstylingurl:u=""}=e,{identity:h=""}=e,{translationurl:p=""}=e,{containermaxwidth:d=""}=e,{isprimarymenu:f=!1}=e,{issecondarymenu:m=!1}=e,{lang:g=""}=e,{activeindex:y="0"}=e,{showsubgroups:b="false"}=e,{categoriesicon:v="false"}=e,{lobbyiconimage:w=""}=e,{mygamesiconimage:x=""}=e;var E,C;({withLocale:E,translations:C}={withLocale:"en",translations:{}}),ge.subscribe(e=>{null==e&&(br.set(C),ge.set(E))}),Object.keys(no).forEach(e=>{to(e,no[e])});let B,M,$,T,H,O=window.navigator.userAgent;Qr(O);let A,S=[],_=[],I=[],L=(e,t,n,r,o)=>{e.subGroups&&null===r||(P(),i(7,M=t),i(7,M),"secondary"!=o?(window.postMessage({type:"CategoryChange"==l?"CategoryChange":"NavigateTo",buzz:"1",itemId:e.id,index:t,item:e,path:e.path,externalLink:e.externalLink||!1,target:(null==(o=e.attrs)?void 0:o.target)||null},window.location.href),i(8,$=null),i(9,T=null)):(i(8,$=r),i(8,$),i(9,T=$),window.postMessage({type:l,itemId:n.id,subIndex:r,subItem:n},window.location.href)))},F=()=>{A.scrollBy({left:-250,behavior:"smooth"})},k=()=>{A.scrollBy({left:250,behavior:"smooth"})};const R=e=>{"SliderData"==e.data.type&&e.data.identity==h&&(i(10,S=e.data.data),i(12,I=new Array(S.length).fill(!1)),"true"==b)&&S.forEach((e,t)=>{var r,o,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(i(12,I[t]=!0,I),r=e,o=t,"secondaryMenu"==c&&a&&s&&g&&r.id&&(n=new URL(`${a}/v1/casino/groups/${s}/${r.id}/subGroups?language=`+g),fetch(n.href).then(e=>e.json()).then(e=>{e.index=o,i(11,_=_.concat(e)),"false"==b&&window.postMessage({type:l,itemId:r.id,index:o,item:r},window.location.href);const n=[];_.map(e=>(e.items.forEach(t=>{n.find(e=>t.id==e)||n.push(t.id)}),n.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:n},window.location.href)}).then(()=>{B.querySelectorAll(".DropDown")&&P()})),"headerMain"==c)&&window.postMessage({type:l,item:r},window.location.href)}),"GoToHomepage"==e.data.type&&S.forEach((e,t)=>{e.path.endsWith("/casino")&&(i(7,M=t),i(7,M))})},P=()=>{var t=B.querySelectorAll(".DropDown");document.activeElement.blur(),A.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+A.scrollLeft+"px)";A.classList.remove("isScrolling")};return ve(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",R,!1),setTimeout(()=>{A.addEventListener("scroll",P)},500),()=>{window.removeEventListener("message",R),B.removeEventListener("scroll",P)})),t.$$set=e=>{"endpoint"in e&&i(18,a=e.endpoint),"datasource"in e&&i(19,s=e.datasource),"onclickeventname"in e&&i(20,n=e.onclickeventname),"actionevent"in e&&i(21,l=e.actionevent),"favoritesnumber"in e&&i(22,r=e.favoritesnumber),"location"in e&&i(0,c=e.location),"clientstyling"in e&&i(23,o=e.clientstyling),"clientstylingurl"in e&&i(24,u=e.clientstylingurl),"identity"in e&&i(25,h=e.identity),"translationurl"in e&&i(26,p=e.translationurl),"containermaxwidth"in e&&i(1,d=e.containermaxwidth),"isprimarymenu"in e&&i(27,f=e.isprimarymenu),"issecondarymenu"in e&&i(28,m=e.issecondarymenu),"lang"in e&&i(29,g=e.lang),"activeindex"in e&&i(2,y=e.activeindex),"showsubgroups"in e&&i(3,b=e.showsubgroups),"categoriesicon"in e&&i(4,v=e.categoriesicon),"lobbyiconimage"in e&&i(30,w=e.lobbyiconimage),"mygamesiconimage"in e&&i(31,x=e.mygamesiconimage)},t.$$.update=()=>{if(t.$$.dirty[0],67108864&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{to(e,t[e])})}).catch(e=>{console.log(e)}),8388640&t.$$.dirty[0]&&o&&H&&((e=document.createElement("style")).innerHTML=o,H.appendChild(e)),16777248&t.$$.dirty[0]&&u&&H){let t=document.createElement("style"),e=new URL(u);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{H.appendChild(t)},1)})}var e;536870912&t.$$.dirty[0]&&g&&(e=g,ge.set(e))},[c,d,y,b,v,H,B,M,$,T,S,_,I,A,L,F,k,e=>{let t="";return"LOBBY"===e.id?t=w:"MYGAMES"===e.id&&(t=x),e.icon||t},a,s,n,l,r,o,u,h,p,f,m,g,w,x,()=>F(),(e,t,n,r,o)=>{L(e,t,n,r,"secondary"),o.stopPropagation()},(e,t,n)=>{L(e,t,null,null,"main"),n.preventDefault()},function(e){me[e?"unshift":"push"](()=>{B=e,i(6,B)})},function(e){me[e?"unshift":"push"](()=>{A=e,i(13,A)})},()=>k(),function(e){me[e?"unshift":"push"](()=>{H=e,i(5,H)})}]}function bo(e,{delay:t=0,duration:n=400,easing:r=x}={}){const o=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*o}}function vo(e,t){wr(e,t)}customElements.get("casino-slider")||customElements.define("casino-slider",class extends Me{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}',this.shadowRoot.appendChild(t),Be(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},yo,go,T,{endpoint:18,datasource:19,onclickeventname:20,actionevent:21,favoritesnumber:22,location:0,clientstyling:23,clientstylingurl:24,identity:25,translationurl:26,containermaxwidth:1,isprimarymenu:27,issecondarymenu:28,lang:29,activeindex:2,showsubgroups:3,categoriesicon:4,lobbyiconimage:30,mygamesiconimage:31},null,[-1,-1]),e&&(e.target&&ae(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups","categoriesicon","lobbyiconimage","mygamesiconimage"]}get endpoint(){return this.$$.ctx[18]}set endpoint(e){this.$$set({endpoint:e}),p()}get datasource(){return this.$$.ctx[19]}set datasource(e){this.$$set({datasource:e}),p()}get onclickeventname(){return this.$$.ctx[20]}set onclickeventname(e){this.$$set({onclickeventname:e}),p()}get actionevent(){return this.$$.ctx[21]}set actionevent(e){this.$$set({actionevent:e}),p()}get favoritesnumber(){return this.$$.ctx[22]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),p()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),p()}get clientstyling(){return this.$$.ctx[23]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[24]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get identity(){return this.$$.ctx[25]}set identity(e){this.$$set({identity:e}),p()}get translationurl(){return this.$$.ctx[26]}set translationurl(e){this.$$set({translationurl:e}),p()}get containermaxwidth(){return this.$$.ctx[1]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),p()}get isprimarymenu(){return this.$$.ctx[27]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),p()}get issecondarymenu(){return this.$$.ctx[28]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),p()}get lang(){return this.$$.ctx[29]}set lang(e){this.$$set({lang:e}),p()}get activeindex(){return this.$$.ctx[2]}set activeindex(e){this.$$set({activeindex:e}),p()}get showsubgroups(){return this.$$.ctx[3]}set showsubgroups(e){this.$$set({showsubgroups:e}),p()}get categoriesicon(){return this.$$.ctx[4]}set categoriesicon(e){this.$$set({categoriesicon:e}),p()}get lobbyiconimage(){return this.$$.ctx[30]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),p()}get mygamesiconimage(){return this.$$.ctx[31]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),p()}});const wo={en:{language:"Select Language"},"zh-hk":{language:"選擇語言"},fr:{language:"Sélectionner la langue"},tr:{language:"Dil Seçin"},ro:{language:"Selecteaza limba"},es:{language:"Seleccionar idioma"},pt:{language:"Selecione o idioma"},hr:{language:"Izaberi jezik"}};function xo(e,t,n){e=e.slice();return e[51]=t[n],e}function Eo(e,t,n){e=e.slice();return e[1]=t[n],e}function Co(e,t,n){e=e.slice();return e[54]=t[n],e}function Bo(e,t,n){e=e.slice();return e[57]=t[n],e}function Mo(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,t,g,y,b,v=n[4],w=[];for(let e=0;e<v.length;e+=1)w[e]=$o(Bo(n,v,e));let x=n[6],E=[];for(let e=0;e<x.length;e+=1)E[e]=To(Co(n,x,e));let C=1<n[10].length&&Ho(n);return{c(){r=le("div"),o=le("span"),(i=le("slot")).innerHTML='<svg class="w-6 h-6" part="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>',s=ce(),l=le("div"),c=le("ul");for(let e=0;e<w.length;e+=1)w[e].c();h=ce(),p=le("ul");for(let e=0;e<E.length;e+=1)E[e].c();f=ce(),C&&C.c(),ue(i,"name","close"),ue(o,"class",a=n[7]?"ModalCloseBtn":""),ue(o,"role","button"),ue(c,"class",u="HamburgerPrimaryMenu "+(n[8]?"HamburgerPrimaryMenuFixed":"")),ue(p,"class",d="HamburgerSecondaryMenu "+(n[8]?"HamburgerSecondaryMenuFixed":"")),ue(l,"class",m="HamburgerModalContainer "+(n[7]?"ActiveHamburgerMenu":"")),ue(r,"class","HamburgerModalWindow"),ue(r,"part","HamburgerModalWindow")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,s),ie(r,l),ie(l,c);for(let e=0;e<w.length;e+=1)w[e]&&w[e].m(c,null);ie(l,h),ie(l,p);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(p,null);ie(l,f),C&&C.m(l,null),n[35](r),g=!0,y||(b=O(o,"click",n[14]),y=!0)},p(e,t){if(n=e,(!g||128&t[0]&&a!==(a=n[7]?"ModalCloseBtn":""))&&ue(o,"class",a),32816&t[0]){let e;for(v=n[4],e=0;e<v.length;e+=1){const o=Bo(n,v,e);w[e]?w[e].p(o,t):(w[e]=$o(o),w[e].c(),w[e].m(c,null))}for(;e<w.length;e+=1)w[e].d(1);w.length=v.length}if((!g||256&t[0]&&u!==(u="HamburgerPrimaryMenu "+(n[8]?"HamburgerPrimaryMenuFixed":"")))&&ue(c,"class",u),65600&t[0]){let e;for(x=n[6],e=0;e<x.length;e+=1){const o=Co(n,x,e);E[e]?E[e].p(o,t):(E[e]=To(o),E[e].c(),E[e].m(p,null))}for(;e<E.length;e+=1)E[e].d(1);E.length=x.length}(!g||256&t[0]&&d!==(d="HamburgerSecondaryMenu "+(n[8]?"HamburgerSecondaryMenuFixed":"")))&&ue(p,"class",d),1<n[10].length?C?C.p(n,t):((C=Ho(n)).c(),C.m(l,null)):C&&(C.d(1),C=null),(!g||128&t[0]&&m!==(m="HamburgerModalContainer "+(n[7]?"ActiveHamburgerMenu":"")))&&ue(l,"class",m)},i(e){g||(B(()=>{g&&(t=t||xe(r,bo,{transitionDuration:Po},!0)).run(1)}),g=!0)},o(e){(t=t||xe(r,bo,{transitionDuration:Po},!1)).run(0),g=!1},d(e){e&&se(r),L(w,e),L(E,e),C&&C.d(),n[35](null),e&&t&&t.end(),y=!1,b()}}}function $o(n){let r,o,i,a,s,l,c,u,h,p,d=n[57].label+"";function f(){return n[29](n[57])}return{c(){r=le("li"),o=le("div"),i=le("img"),s=ce(),l=t(d),c=ce(),C(i.src,a=n[57].img)||ue(i,"src",a),ue(i,"alt","menu icon"),ue(o,"class","HamburgerItemContainer"),ue(r,"class",u=n[5]===n[57].id?"ActiveItem":"")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(o,s),ie(o,l),ie(r,c),h||(p=O(r,"click",f),h=!0)},p(e,t){n=e,16&t[0]&&!C(i.src,a=n[57].img)&&ue(i,"src",a),16&t[0]&&d!==(d=n[57].label+"")&&he(l,d),48&t[0]&&u!==(u=n[5]===n[57].id?"ActiveItem":"")&&ue(r,"class",u)},d(e){e&&se(r),h=!1,p()}}}function To(n){let r,o,i,a,s,l,c,u,h=n[54].label+"";function p(...e){return n[30](n[54],...e)}return{c(){r=le("li"),o=le("img"),a=ce(),s=t(h),l=ce(),C(o.src,i=n[54].img)||ue(o,"src",i),ue(o,"alt","menu icon")},m(e,t){ae(e,r,t),ie(r,o),ie(r,a),ie(r,s),ie(r,l),c||(u=O(r,"click",p),c=!0)},p(e,t){n=e,64&t[0]&&!C(o.src,i=n[54].img)&&ue(o,"src",i),64&t[0]&&h!==(h=n[54].label+"")&&he(s,h)},d(e){e&&se(r),c=!1,u()}}}function Ho(e){let n,r,o,i,a=e[13]("language")+"";function s(e){return"true"!==e[0]?So:Ao}let l=s(e),c=l(e);return{c(){n=le("div"),r=le("span"),o=t(a),i=ce(),c.c(),ue(r,"class","LanguageSelect"),ue(n,"class","LanguageSelectorTitle")},m(e,t){ae(e,n,t),ie(n,r),ie(r,o),ie(n,i),c.m(n,null)},p(e,t){8192&t[0]&&a!==(a=e[13]("language")+"")&&he(o,a),l===(l=s(e))&&c?c.p(e,t):(c.d(1),(c=l(e))&&(c.c(),c.m(n,null)))},d(e){e&&se(n),c.d()}}}function Ao(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,E=n[11]&&_o(n);return{c(){r=le("div"),o=le("div"),i=le("span"),a=le("img"),l=ce(),c=le("span"),u=t(n[12]),h=ce(),p=le("span"),d=e("svg"),f=e("g"),m=e("g"),g=e("g"),y=e("path"),v=ce(),E&&E.c(),C(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[20](n[12])}.svg`)||ue(a,"src",s),ue(i,"class","FlagIcon"),ue(c,"class","LanguageName"),ue(y,"d","M223.708 6534.634c.39-.405.39-1.06 0-1.464l-8.264-8.563a1.95 1.95 0 0 0-2.827 0l-8.325 8.625c-.385.4-.39 1.048-.01 1.454a.976.976 0 0 0 1.425.01l7.617-7.893a.975.975 0 0 1 1.414 0l7.557 7.83a.974.974 0 0 0 1.413 0"),ue(g,"transform","translate(56 160)"),ue(m,"fill","#000"),ue(m,"transform","translate(-260 -6684)"),ue(f,"fill","none"),ue(f,"fill-rule","evenodd"),ue(d,"xmlns","http://www.w3.org/2000/svg"),ue(d,"width","20"),ue(d,"height","11"),ue(d,"viewBox","0 0 20 11"),ue(d,"id","arrow"),ue(p,"class",b="TriangleInactive "+(n[11]?"TriangleActive":"")),ue(o,"class","SelectedOption Item ItemLanguage"),ue(r,"class","LanguageDropdown")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(o,l),ie(o,c),ie(c,u),ie(o,h),ie(o,p),ie(p,d),ie(d,f),ie(f,m),ie(m,g),ie(g,y),ie(r,v),E&&E.m(r,null),w||(x=O(o,"click",n[33]),w=!0)},p(e,t){5120&t[0]&&!C(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[20](e[12])}.svg`)&&ue(a,"src",s),4096&t[0]&&he(u,e[12]),2048&t[0]&&b!==(b="TriangleInactive "+(e[11]?"TriangleActive":""))&&ue(p,"class",b),e[11]?E?E.p(e,t):((E=_o(e)).c(),E.m(r,null)):E&&(E.d(1),E=null)},d(e){e&&se(r),E&&E.d(),w=!1,x()}}}function So(n){let o,r,i,a=n[10],s=[];for(let e=0;e<a.length;e+=1)s[e]=Lo(Eo(n,a,e));return{c(){o=le("select");for(let e=0;e<s.length;e+=1)s[e].c();ue(o,"class","Item ItemLanguage NoFlag"),void 0===n[12]&&B(()=>n[31].call(o))},m(e,t){ae(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);j(o,n[12],!0),r||(i=[O(o,"change",n[31]),O(o,"change",n[32])],r=!0)},p(t,n){if(1024&n[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){var r=Eo(t,a,e);s[e]?s[e].p(r,n):(s[e]=Lo(r),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}5120&n[0]&&j(o,t[12])},d(e){e&&se(o),L(s,e),r=!1,P(i)}}}function _o(t){let o,i=t[10],a=[];for(let e=0;e<i.length;e+=1)a[e]=Io(xo(t,i,e));return{c(){o=le("div");for(let e=0;e<a.length;e+=1)a[e].c();ue(o,"class","OptionList")},m(e,t){ae(e,o,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(o,null)},p(t,n){if(1311744&n[0]){let e;for(i=t[10],e=0;e<i.length;e+=1){var r=xo(t,i,e);a[e]?a[e].p(r,n):(a[e]=Io(r),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length}},d(e){e&&se(o),L(a,e)}}}function Io(n){let r,o,i,a,s,l,c,u,h,p,d=n[51]+"";function f(){return n[34](n[51])}return{c(){r=le("div"),o=le("span"),i=le("img"),s=ce(),l=le("span"),c=t(d),u=ce(),C(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[20](n[51])}.svg`)||ue(i,"src",a),ue(o,"class","FlagIcon"),ue(l,"class","LanguageName"),ue(r,"class","LanguageOption")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,s),ie(r,l),ie(l,c),ie(r,u),h||(p=O(r,"click",f),h=!0)},p(e,t){n=e,1024&t[0]&&!C(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[20](n[51])}.svg`)&&ue(i,"src",a),1024&t[0]&&d!==(d=n[51]+"")&&he(c,d)},d(e){e&&se(r),h=!1,p()}}}function Lo(e){let n,r,o,i=e[1]+"";return{c(){n=le("option"),r=t(i),n.__value=o=e[1],n.value=n.__value,n.selected=!0},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){1024&t[0]&&i!==(i=e[1]+"")&&he(r,i),1024&t[0]&&o!==(o=e[1])&&(n.__value=o,n.value=n.__value)},d(e){e&&se(n)}}}function Fo(n){let r,o,i=!0===n[9]&&Mo(n);return{c(){r=le("div"),i&&i.c(),this.c=v},m(e,t){ae(e,r,t),i&&i.m(r,null),n[36](r),o=!0},p(e,t){!0===e[9]?i?(i.p(e,t),512&t[0]&&de(i,1)):((i=Mo(e)).c(),de(i,1),i.m(r,null)):i&&(pe={r:0,c:[],p:pe},fe(i,1,1,()=>{i=null}),pe.r||P(pe.c),pe=pe.p)},i(e){o||(de(i),o=!0)},o(e){fe(i),o=!1},d(e){e&&se(r),i&&i.d(),n[36](null)}}}let Po=350;function Oo(t,e,r){let n;ye(t,Kr,e=>r(13,n=e));let o,i,a,{menuitemsurl:s=""}=e,{lang:l="en"}=e,{activecategory:c=""}=e,{languageslist:u=""}=e,{translationurl:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:d=""}=e,{customlocaleidentifier:f=""}=e,{countryflaghamburger:m=""}=e,O=window.navigator.userAgent,g=[],y="",b=[],v=!1,w=!1,x=!1,E=!0,C=[],B=!1,M=!1,$="";Object.keys(wo).forEach(e=>{vo(e,wo[e])});const T=()=>{r(9,x=!1),r(7,v=!1),r(8,w=!1),r(11,M=!1),window.postMessage({type:"CloseHamburgerMenu",showhamburger:!0},window.location.href)},H=e=>{var n;"OpenHamburgerMenuModal"===e.data.type&&(window.postMessage({type:"DisableScroll"},window.location.href),r(9,x=!0),setTimeout(()=>{r(7,v=!0)},500),setTimeout(()=>{r(8,w=!0)},1500),n=s,new Promise((e,t)=>{i&&!B?e(i):_(n)}))},A=(e,t)=>{r(5,y=e),r(6,b=t||[]),"function"==typeof gtag&>ag("event","ChangeMenu",{context:"HamburgerMenu",menuItem:""+y})},S=()=>{var e=g.filter(e=>{let t=!1;return null!=(e=e.children)&&e.forEach(e=>{e.path.includes(c)&&(t=!0)}),t});0<e.length&&A(e[0].id,e[0].children)},_=e=>{fetch(e).then(e=>e.json()).then(e=>{r(4,g=e.filter(e=>"banner"!==(null==e?void 0:e.type))),S(),r(28,E=!1),i=e,B=!1},e=>{console.error(e)})};let I=e=>{window.postMessage({type:"NavigateTo",path:e.path,externalLink:e.externalLink||!1,target:e.attrs.target||null},window.location.href),T()};const L=()=>{B=!0,window.postMessage({type:"LanguageChanged",selectedLanguage:$},window.location.href)},F=e=>{r(12,$=e),r(11,M=!1),L()},P=()=>{r(11,M=!M)};return ve(()=>(window.addEventListener("message",H,!1),Jr(O),()=>{window.removeEventListener("message",H)})),t.$$set=e=>{"menuitemsurl"in e&&r(21,s=e.menuitemsurl),"lang"in e&&r(1,l=e.lang),"activecategory"in e&&r(22,c=e.activecategory),"languageslist"in e&&r(23,u=e.languageslist),"translationurl"in e&&r(24,h=e.translationurl),"clientstyling"in e&&r(25,p=e.clientstyling),"clientstylingurl"in e&&r(26,d=e.clientstylingurl),"customlocaleidentifier"in e&&r(27,f=e.customlocaleidentifier),"countryflaghamburger"in e&&r(0,m=e.countryflaghamburger)},t.$$.update=()=>{if(8388610&t.$$.dirty[0]&&l&&u&&(e=l,ge.set(e),B&&_(s),r(10,C=u.replace(/ /g,"").split(",")),r(10,C=C.map(e=>e.toUpperCase())),r(12,$=l.toUpperCase())),272629760&t.$$.dirty[0]&&c&&!E&&S(),16777216&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{vo(e,t[e])})}).catch(e=>{console.log(e)}),33554436&t.$$.dirty[0]&&p&&a&&((e=document.createElement("style")).innerHTML=p,a.appendChild(e)),67108868&t.$$.dirty[0]&&d&&a){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[m,l,a,void 0,g,y,b,v,w,x,C,M,$,n,T,A,I,L,F,P,e=>"EN"==(e=f?f.includes(e.toLowerCase())?f.slice(-2):e:e)?"US":e.toUpperCase(),s,c,u,h,p,d,f,E,e=>A(e.id,e.children),(e,t)=>{I(e),t.preventDefault()},function(){$=be(this),r(12,$),r(10,C)},()=>L(),()=>P(),e=>F(e),function(e){me[e?"unshift":"push"](()=>{o=e,r(3,o)})},function(e){me[e?"unshift":"push"](()=>{a=e,r(2,a)})}]}function ko(e,t){wr(e,t)}customElements.get("casino-hamburger-menu")||customElements.define("casino-hamburger-menu",class extends Me{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}.LanguageDropdown{width:100%;margin-right:16px;position:relative;display:inline-block}.SelectedOption,.OptionList{border:1px solid var(--emfe-w-header-color-primary);padding:8px;cursor:pointer;width:200px;border-radius:2px}.SelectedOption{display:flex;align-items:center;margin:0;padding-left:9px}.SelectedOption svg{width:12px;margin-left:6px}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;overflow-y:auto;transform:translateX(-50%);z-index:1;background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518));max-height:155px;overflow-y:auto;bottom:36px;width:50vw;left:30%;display:flex;gap:5px;flex-direction:column}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption{display:flex;align-items:center;padding:4px;margin:0;background-color:white}.LanguageOption:hover{background-color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emfe-w-header-contrast, var(--emfe-w-color-contrast, #07072A))}.HamburgerModalWindow{display:block;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.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emfe-w-header-color-menu-bg, var(--emfe-w-color-background-secondary, #050518));white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-300, #58586B)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}",this.shadowRoot.appendChild(t),Be(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Oo,Fo,T,{menuitemsurl:21,lang:1,activecategory:22,languageslist:23,translationurl:24,clientstyling:25,clientstylingurl:26,customlocaleidentifier:27,countryflaghamburger:0},null,[-1,-1]),e&&(e.target&&ae(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["menuitemsurl","lang","activecategory","languageslist","translationurl","clientstyling","clientstylingurl","customlocaleidentifier","countryflaghamburger"]}get menuitemsurl(){return this.$$.ctx[21]}set menuitemsurl(e){this.$$set({menuitemsurl:e}),p()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),p()}get activecategory(){return this.$$.ctx[22]}set activecategory(e){this.$$set({activecategory:e}),p()}get languageslist(){return this.$$.ctx[23]}set languageslist(e){this.$$set({languageslist:e}),p()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),p()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get customlocaleidentifier(){return this.$$.ctx[27]}set customlocaleidentifier(e){this.$$set({customlocaleidentifier:e}),p()}get countryflaghamburger(){return this.$$.ctx[0]}set countryflaghamburger(e){this.$$set({countryflaghamburger:e}),p()}});const Ro={en:{balanceTitle:"Your Balance",totalBalance:"Total Balance",cashBalance:"Cash Balance",bonusBalance:"Bonus Balance",depositButton:"Deposit"},"zh-hk":{balanceTitle:"您的餘額",totalBalance:"總餘額",cashBalance:"現金餘額",bonusBalance:"獎金餘額",depositButton:"訂金"},de:{balanceTitle:"Dein Kontostand",totalBalance:"Gesamtsaldo",cashBalance:"Barguthaben",bonusBalance:"Bonusguthaben",depositButton:"Anzahlung"},it:{balanceTitle:"Il tuo bilancio",totalBalance:"Saldo totale",cashBalance:"Saldo in contanti",bonusBalance:"Saldo bonus",depositButton:"Depositare"},fr:{balanceTitle:"Votre solde",totalBalance:"Solde total",cashBalance:"Encaisse",bonusBalance:"Solde du bonus",depositButton:"Dépôt"},es:{balanceTitle:"Saldos",totalBalance:"Saldo Total",cashBalance:"Saldo Disponible",bonusBalance:"Saldo de Bonos",depositButton:"Deposita"},tr:{balanceTitle:"Bakiyeniz",totalBalance:"Toplam Bakiye",cashBalance:"Nakit dengesi",bonusBalance:"Bonus Bakiyesi",depositButton:"Depozito"},ru:{balanceTitle:"Ваш баланс",totalBalance:"Итоговый баланс",cashBalance:"Денежных баланс",bonusBalance:"Бонусный баланс",depositButton:"Депозит"},ro:{balanceTitle:"Balanta Ta",totalBalance:"Balanta Totala",cashBalance:"Balanta Cash",bonusBalance:"Balanta Bonus",depositButton:"Depunere"},hr:{balanceTitle:"Vaše stanje",totalBalance:"Ukupno stanje",cashBalance:"Stanje novca",bonusBalance:"Stanje bonusa",depositButton:"Uplata"},hu:{balanceTitle:"Az egyensúlyod",totalBalance:"Teljes egyenleg",cashBalance:"Pénzforgalmi egyenleg",bonusBalance:"Bónuszegyenleg",depositButton:"Letét"},pl:{balanceTitle:"Twój balans",totalBalance:"Saldo całkowite",cashBalance:"Saldo środków pieniężnych",bonusBalance:"Saldo bonusowe",depositButton:"Depozyt"},pt:{balanceTitle:"Seu Saldo",totalBalance:"Saldo total",cashBalance:"Saldo de caixa",bonusBalance:"Saldo de bônus",depositButton:"Depósito"},sl:{balanceTitle:"Vaše stanje",totalBalance:"Skupno stanje",cashBalance:"Stanje gotovine",bonusBalance:"Bonus stanje",depositButton:"Polog"},sr:{balanceTitle:"Стање",totalBalance:"Укупно стање",cashBalance:"Новчано стање",bonusBalance:"Бонус Баланце",depositButton:"Депозит"}};var Do=Ze(function(x,e){var r,t="undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:Xe:globalThis,_=t.setTimeout,I=t.clearTimeout,L=t.XMLHttpRequest,o=t.XDomainRequest,n=t.ActiveXObject,i=t.EventSource,a=t.document,h=t.Promise,p=t.fetch,s=t.Response,d=t.TextDecoder,l=t.TextEncoder,f=t.AbortController;function c(){this.bitsNeeded=0,this.codePoint=0}function u(){}function F(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=u,this.onload=u,this.onerror=u,this.onreadystatechange=u,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=u}function m(e){return e.replace(/[A-Z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+32)})}function g(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var o=n[r].split(": "),i=o.shift(),o=o.join(": ");t[m(i)]=o}this._map=t}function P(){}function y(e){this._headers=e}function O(){}function k(){this._listeners=Object.create(null)}function b(e){_(function(){throw e},0)}function v(e){this.type=e,this.target=void 0}function R(e,t){v.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function D(e,t){v.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function N(e,t){v.call(this,e),this.error=t.error}function U(e,t){return e=null==e?t:parseInt(e,10),z(e=e!=e?t:e)}function j(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){b(e)}}"undefined"==typeof window||void 0===a||"readyState"in a||null!=a.body||(a.readyState="loading",window.addEventListener("load",function(e){a.readyState="complete"},!1)),null==L&&null!=n&&(L=function(){return new n("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),Date.now||(Date.now=function(){return(new Date).getTime()}),null==f&&(r=p,p=function(e,t){var n=t.signal;return r(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then(function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}})},f=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}),c.prototype.decode=function(e){function t(e,t,n){if(1===n)return 128>>t<=e&&e<<t<=2047;if(2===n)return 2048>>t<=e&&e<<t<=55295||57344>>t<=e&&e<<t<=65535;if(3===n)return 65536>>t<=e&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return 15<t>>6?3:31<t?2:1;if(12===e)return 15<t?3:2;if(18===e)return 3;throw new Error}for(var r="",o=this.bitsNeeded,i=this.codePoint,a=0;a<e.length;a+=1){var s=e[a];0!==o&&(s<128||191<s||!t(i<<6|63&s,o-6,n(o,i)))&&(o=0,i=65533,r+=String.fromCharCode(i)),0===o?(i=0<=s&&s<=127?(o=0,s):192<=s&&s<=223?(o=6,31&s):224<=s&&s<=239?(o=12,15&s):240<=s&&s<=247?(o=18,7&s):(o=0,65533),0===o||t(i,o,n(o,i))||(o=0,i=65533)):(o-=6,i=i<<6|63&s),0===o&&(i<=65535?r+=String.fromCharCode(i):r=(r+=String.fromCharCode(55296+(i-65535-1>>10)))+String.fromCharCode(56320+(i-65535-1&1023)))}return this.bitsNeeded=o,this.codePoint=i,r},null!=d&&null!=l&&function(){try{return"test"===(new d).decode((new l).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}}()||(d=c),F.prototype.open=function(e,t){this._abort(!0);function n(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:u}),l(),1===a||2===a||3===a){if(a=4,0!==r&&(I(r),r=0),o.readyState=4,"load"===e)o.onload(t);else if("error"===e)o.onerror(t);else{if("abort"!==e)throw new TypeError;o.onabort(t)}o.onreadystatechange()}}var o=this,i=this._xhr,a=1,r=0,s=(this._abort=function(e){0!==o._sendTimeout&&(I(o._sendTimeout),o._sendTimeout=0),1!==a&&2!==a&&3!==a||(a=4,i.onload=u,i.onerror=u,i.onabort=u,i.onprogress=u,i.onreadystatechange=u,i.abort(),0!==r&&(I(r),r=0),e)||(o.readyState=4,o.onabort(null),o.onreadystatechange()),a=0},function(){if(1===a){var t=0,n="",r=void 0;if("contentType"in i)t=200,n="OK",r=i.contentType;else try{t=i.status,n=i.statusText,r=i.getResponseHeader("Content-Type")}catch(e){n="",r=void(t=0)}0!==t&&(a=2,o.readyState=2,o.status=t,o.statusText=n,o._contentType=r,o.onreadystatechange())}}),l=function(){if(s(),2===a||3===a){a=3;var e="";try{e=i.responseText}catch(e){}o.readyState=3,o.responseText=e,o.onprogress()}},c=function(){r=_(function(){c()},500),3===i.readyState&&l()};"onload"in i&&(i.onload=function(e){n("load",e)}),"onerror"in i&&(i.onerror=function(e){n("error",e)}),"onabort"in i&&(i.onabort=function(e){n("abort",e)}),"onprogress"in i&&(i.onprogress=l),"onreadystatechange"in i&&(i.onreadystatechange=function(e){e=e,null!=i&&(4===i.readyState?"onload"in i&&"onerror"in i&&"onabort"in i||n(""===i.responseText?"error":"load",e):3===i.readyState?"onprogress"in i||l():2===i.readyState&&s())}),!("contentType"in i)&&"ontimeout"in L.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),i.open(e,t,!0),"readyState"in i&&(r=_(function(){c()},0))},F.prototype.abort=function(){this._abort(!1)},F.prototype.getResponseHeader=function(e){return this._contentType},F.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},F.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},F.prototype.send=function(){if("ontimeout"in L.prototype&&("sendAsBinary"in L.prototype||"mozAnon"in L.prototype)||null==a||null==a.readyState||"complete"===a.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(e){throw e}}else{var t=this;t._sendTimeout=_(function(){t._sendTimeout=0,t.send()},4)}},g.prototype.get=function(e){return this._map[m(e)]},null!=L&&null==L.HEADERS_RECEIVED&&(L.HEADERS_RECEIVED=2),P.prototype.open=function(o,i,t,n,e,r,a){o.open("GET",e);var s,l=0;for(s in o.onprogress=function(){var e=o.responseText.slice(l);l+=e.length,t(e)},o.onerror=function(e){e.preventDefault(),n(new Error("NetworkError"))},o.onload=function(){n(null)},o.onabort=function(){n(null)},o.onreadystatechange=function(){var e,t,n,r;o.readyState===L.HEADERS_RECEIVED&&(e=o.status,t=o.statusText,n=o.getResponseHeader("Content-Type"),r=o.getAllResponseHeaders(),i(e,t,n,new g(r)))},o.withCredentials=r,a)Object.prototype.hasOwnProperty.call(a,s)&&o.setRequestHeader(s,a[s]);return o.send(),o},y.prototype.get=function(e){return this._headers.get(e)},O.prototype.open=function(e,t,o,n,r,i,a){var s=null,l=new f,c=l.signal,u=new d;return p(r,{headers:a,credentials:i?"include":"same-origin",signal:c,cache:"no-store"}).then(function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new y(e.headers)),new h(function(t,n){function r(){s.read().then(function(e){e.done?t(void 0):(e=u.decode(e.value,{stream:!0}),o(e),r())}).catch(function(e){n(e)})}r()})}).catch(function(e){return"AbortError"===e.name?void 0:e}).then(function(e){n(e)}),{abort:function(){null!=s&&s.cancel(),l.abort()}}},k.prototype.dispatchEvent=function(e){var t=(e.target=this)._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var o=t[r];try{"function"==typeof o.handleEvent?o.handleEvent(e):o.call(this,e)}catch(e){b(e)}}},k.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(n[e]=r=[]);for(var o=!1,i=0;i<r.length;i+=1)r[i]===t&&(o=!0);o||r.push(t)},k.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var o=[],i=0;i<r.length;i+=1)r[i]!==t&&o.push(r[i]);0===o.length?delete n[e]:n[e]=o}},R.prototype=Object.create(v.prototype),D.prototype=Object.create(v.prototype),N.prototype=Object.create(v.prototype);var G=/^text\/event\-stream(;.*)?$/i,z=function(e){return Math.min(Math.max(e,1e3),18e6)};function w(e,t){var l,i,a,c,u,h,p,d,f,n,s,m,g,y,b,v,w,x,E,C,B,M,$,T,H,A,S;k.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,l=this,i=e,e=t,i=String(i),t=Boolean(e.withCredentials),a=e.lastEventIdQueryParameterName||"lastEventId",c=z(1e3),u=U(e.heartbeatTimeout,45e3),h="",p=c,d=!1,f=0,n=e.headers||{},e=e.Transport,s=W&&null==e?void 0:new F(new(null!=e?e:null!=L&&"withCredentials"in L.prototype||null==o?L:o)),m=new(null!=e&&"string"!=typeof e?e:null==s?O:P),g=void 0,b=-1,E=x=w=v="",M=B=C=y=0,$=function(e,t,n,r){var o,i;0===b&&(200===e&&null!=n&&G.test(n)?(b=1,d=Date.now(),p=c,l.readyState=1,o=new D("open",{status:e,statusText:t,headers:r}),l.dispatchEvent(o),j(l,l.onopen,o)):(i="",i=200!==e?"EventSource's response has a status "+e+" "+(t=t&&t.replace(/\s+/g," "))+" that is not 200. Aborting the connection.":"EventSource's response has a Content-Type specifying an unsupported type: "+(null==n?"-":n.replace(/\s+/g," "))+". Aborting the connection.",A(),o=new D("error",{status:e,statusText:t,headers:r}),l.dispatchEvent(o),j(l,l.onerror,o),console.error(i)))},T=function(e){if(1===b){for(var t=-1,n=0;n<e.length;n+=1)(a=e.charCodeAt(n))!=="\n".charCodeAt(0)&&a!=="\r".charCodeAt(0)||(t=n);var r=(-1!==t?E:"")+e.slice(0,t+1);E=(-1===t?E:"")+e.slice(t+1),""!==e&&(d=Date.now(),f+=e.length);for(var o=0;o<r.length;o+=1){var i,a=r.charCodeAt(o);if(-1===C&&a==="\n".charCodeAt(0))C=0;else if(-1===C&&(C=0),a==="\r".charCodeAt(0)||a==="\n".charCodeAt(0)){if(0!==C&&(1===C&&(M=o+1),s=r.slice(B,M-1),i=r.slice(M+(M<o&&r.charCodeAt(M)===" ".charCodeAt(0)?1:0),o),"data"===s?v=v+"\n"+i:"id"===s?w=i:"event"===s?x=i:"retry"===s?(c=U(i,c),p=c):"heartbeatTimeout"===s&&(u=U(i,u),0!==y)&&(I(y),y=_(function(){S()},u))),0===C){if(""!==v){h=w;var s=new R(x=""===x?"message":x,{data:v.slice(1),lastEventId:w});if(l.dispatchEvent(s),"open"===x?j(l,l.onopen,s):"message"===x?j(l,l.onmessage,s):"error"===x&&j(l,l.onerror,s),2===b)return}x=v=""}C=a==="\r".charCodeAt(0)?-1:0}else 0===C&&(B=o,C=1),1===C?a===":".charCodeAt(0)&&(M=o+1,C=2):2===C&&(C=3)}}},H=function(e){var t;1!==b&&0!==b||(b=-1,0!==y&&(I(y),y=0),y=_(function(){S()},p),p=z(Math.min(16*c,2*p)),l.readyState=0,t=new N("error",{error:e}),l.dispatchEvent(t),j(l,l.onerror,t),null!=e&&console.error(e))},A=function(){b=2,null!=g&&(g.abort(),g=void 0),0!==y&&(I(y),y=0),l.readyState=2},S=function(){if(y=0,-1===b){d=!1,f=0,y=_(function(){S()},u),w=h,E=x=v="",C=M=B=b=0;var e=i,t=("data:"!==i.slice(0,5)&&"blob:"!==i.slice(0,5)&&""!==h&&(e=-1===(t=i.indexOf("?"))?i:i.slice(0,t+1)+i.slice(t+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(e,t){return t===a?"":e}),e+=(-1===i.indexOf("?")?"?":"&")+a+"="+encodeURIComponent(h)),l.withCredentials),n={Accept:"text/event-stream"},r=l.headers;if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o]);try{g=m.open(s,$,T,H,e,t,n)}catch(e){throw A(),e}}else d||null==g?(e=Math.max((d||Date.now())+u-Date.now(),1),d=!1,y=_(function(){S()},e)):(H(new Error("No activity within "+u+" milliseconds. "+(0===b?"No response received.":f+" chars received.")+" Reconnecting.")),null!=g&&(g.abort(),g=void 0))},l.url=i,l.readyState=0,l.withCredentials=t,l.headers=n,l._close=A,S()}var W=null!=p&&null!=s&&"body"in s.prototype;(w.prototype=Object.create(k.prototype)).CONNECTING=0,w.prototype.OPEN=1,w.prototype.CLOSED=2,w.prototype.close=function(){this._close()},w.CONNECTING=0,w.OPEN=1,w.CLOSED=2,w.prototype.withCredentials=void 0,t=i,null==L||null!=i&&"withCredentials"in i.prototype||(t=w),(s=e).EventSourcePolyfill=w,s.NativeEventSource=i,s.EventSource=t}),No=Ze(function(e,t){function l(e,t){if(!(this instanceof l))return new l(e,t);t=Object.assign({},o,t);var n=Math.pow(10,t.precision);this.intValue=e=r(e,t),this.value=e/n,t.increment=t.increment||1/n,t.groups=t.useVedic?a:i,this.s=t,this.p=n}function r(e,t,n){var n=!(2<arguments.length&&void 0!==n)||n,r=t.decimal,o=t.errorOnInvalid,i=t.fromCents,t=Math.pow(10,t.precision),a=e instanceof l;if(a&&i)return e.intValue;if("number"==typeof e||a)r=a?e.value:e;else if("string"==typeof e)o=new RegExp("[^-\\d"+r+"]","g"),r=new RegExp("\\"+r,"g"),r=e.replace(/\((.*)\)/,"-$1").replace(o,"").replace(r,".")||0;else{if(o)throw Error("Invalid Input");r=0}return i||(r=(r*t).toFixed(4)),n?Math.round(r):r}var o,i,a;e.exports=(o={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(e,t){var n=t.pattern,r=t.negativePattern,o=t.symbol,i=t.separator,a=t.decimal;t=t.groups;var s=(l=(""+e).replace(/^-/,"").split("."))[0],l=l[1];return(0<=e.value?n:r).replace("!",o).replace("#",s.replace(t,"$1"+i)+(l?a+l:""))},fromCents:!1},i=/(\d)(?=(\d{3})+\b)/g,a=/(\d)(?=(\d\d)+\d\b)/g,l.prototype={add:function(e){var t=this.s,n=this.p;return l((this.intValue+r(e,t))/(t.fromCents?1:n),t)},subtract:function(e){var t=this.s,n=this.p;return l((this.intValue-r(e,t))/(t.fromCents?1:n),t)},multiply:function(e){var t=this.s;return l(this.intValue*e/(t.fromCents?1:Math.pow(10,t.precision)),t)},divide:function(e){var t=this.s;return l(this.intValue/r(e,t,!1),t)},distribute:function(e){for(var t=this.intValue,n=this.p,r=this.s,o=[],i=Math[0<=t?"floor":"ceil"](t/e),a=Math.abs(t-i*e),n=r.fromCents?1:n;0!==e;e--){var s=l(i/n,r);0<a--&&(s=s[0<=t?"add":"subtract"](1/n)),o.push(s)}return o},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(e){var t=this.s;return"function"==typeof e?e(this,t):t.format(this,Object.assign({},t,e))},toString:function(){var e=this.s,t=e.increment;return(Math.round(this.intValue/this.p/t)*t).toFixed(e.precision)},toJSON:function(){return this.value}},l)});function Uo(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,E,C,B,M,$,T,H,A=n[8]("balanceTitle")+"",S=n[8]("totalBalance")+"",_=n[8]("depositButton")+"";function I(e){return"gm16"==e[0]?Go:jo}let L=I(n),F=L(n);return{c(){r=le("div"),o=le("div"),i=ce(),a=le("div"),s=le("div"),l=le("p"),c=t(A),u=ce(),h=le("div"),p=le("div"),d=le("p"),f=t(S),m=ce(),g=le("p"),y=le("span"),b=t(n[4]),v=ce(),w=le("span"),x=t(n[5]),E=ce(),F.c(),C=ce(),B=le("div"),M=le("button"),$=t(_),ue(o,"class","BalanceModalClose"),ue(l,"class","BalanceModalTitle"),ue(s,"class","BalanceModalHeader"),ue(d,"class","BalanceModalText"),ue(y,"class","BalanceModalAmount"),ue(w,"class","BalanceModalCurrency"),ue(g,"class","BalanceModalValue"),ue(p,"class","BalanceModalRow"),ue(h,"class","BalanceModalBody"),ue(M,"class","BalanceModalAction"),ue(B,"class","BalanceModalFooter"),ue(a,"class","BalanceModal"),ue(r,"class","BalanceModalWrapper")},m(e,t){ae(e,r,t),ie(r,o),ie(r,i),ie(r,a),ie(a,s),ie(s,l),ie(l,c),ie(a,u),ie(a,h),ie(h,p),ie(p,d),ie(d,f),ie(p,m),ie(p,g),ie(g,y),ie(y,b),ie(g,v),ie(g,w),ie(w,x),ie(h,E),F.m(h,null),ie(a,C),ie(a,B),ie(B,M),ie(M,$),T||(H=[O(o,"click",n[24]),O(M,"click",n[25])],T=!0)},p(e,t){256&t[0]&&A!==(A=e[8]("balanceTitle")+"")&&he(c,A),256&t[0]&&S!==(S=e[8]("totalBalance")+"")&&he(f,S),16&t[0]&&he(b,e[4]),32&t[0]&&he(x,e[5]),L===(L=I(e))&&F?F.p(e,t):(F.d(1),(F=L(e))&&(F.c(),F.m(h,null))),256&t[0]&&_!==(_=e[8]("depositButton")+"")&&he($,_)},d(e){e&&se(r),F.d(),T=!1,P(H)}}}function jo(e){let n,r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,E,C=e[8]("cashBalance")+"",B=e[11](e[6][0]?.balanceAmount)+"",M=e[8]("bonusBalance")+"",$=e[11](e[6][1]?.balanceAmount)+"";return{c(){n=le("div"),r=le("p"),o=t(C),i=ce(),a=le("p"),s=le("span"),l=t(B),c=ce(),u=le("span"),h=t(e[5]),p=ce(),d=le("div"),f=le("p"),m=t(M),g=ce(),y=le("p"),b=le("span"),v=t($),w=ce(),x=le("span"),E=t(e[5]),ue(r,"class","BalanceModalText"),ue(s,"class","BalanceModalAmount"),ue(u,"class","BalanceModalCurrency"),ue(a,"class","BalanceModalValue"),ue(n,"class","BalanceModalRow"),ue(f,"class","BalanceModalText"),ue(b,"class","BalanceModalAmount"),ue(x,"class","BalanceModalCurrency"),ue(y,"class","BalanceModalValue"),ue(d,"class","BalanceModalRow")},m(e,t){ae(e,n,t),ie(n,r),ie(r,o),ie(n,i),ie(n,a),ie(a,s),ie(s,l),ie(a,c),ie(a,u),ie(u,h),ae(e,p,t),ae(e,d,t),ie(d,f),ie(f,m),ie(d,g),ie(d,y),ie(y,b),ie(b,v),ie(y,w),ie(y,x),ie(x,E)},p(e,t){256&t[0]&&C!==(C=e[8]("cashBalance")+"")&&he(o,C),64&t[0]&&B!==(B=e[11](e[6][0]?.balanceAmount)+"")&&he(l,B),32&t[0]&&he(h,e[5]),256&t[0]&&M!==(M=e[8]("bonusBalance")+"")&&he(m,M),64&t[0]&&$!==($=e[11](e[6][1]?.balanceAmount)+"")&&he(v,$),32&t[0]&&he(E,e[5])},d(e){e&&se(n),e&&se(p),e&&se(d)}}}function Go(e){let n;function r(e){return"Casino"===e[1]||"Sports"===e[1]?Wo:"All"===e[1]?zo:void 0}let o=r(e),i=o&&o(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ae(e,n,t)},p(e,t){o===(o=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=o&&o(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i&&i.d(e),e&&se(n)}}}function zo(e){let n,r,o,i,k,R,a,s,l,D,c,u,N,h,p,d,U,j,f,m,g,G,y,z,W,b,v,w,V,X,Z,x,E,Y,K,C,J,Q,B,M,q,ee,te,$,T,ne,re,H,oe,A=e[8]("cashBalance")+"",S=e[7].Casino.Real+"",_=e[8]("cashBalance")+"",I=e[7].Sports.Real+"",L=e[8]("bonusBalance")+"",F=e[7].Casino.Bonus+"",P=e[8]("bonusBalance")+"",O=e[7].Sports.Bonus+"";return{c(){n=le("div"),r=le("div"),o=le("p"),i=t(A),k=t(" Casino"),R=ce(),a=le("p"),s=le("span"),l=t(S),D=ce(),c=le("span"),u=t(e[5]),N=ce(),h=le("div"),p=le("p"),d=t(_),U=t(" Sports"),j=ce(),f=le("p"),m=le("span"),g=t(I),G=ce(),y=le("span"),z=t(e[5]),W=ce(),b=le("div"),v=le("div"),w=le("p"),V=t(L),X=t(" Casino"),Z=ce(),x=le("p"),E=le("span"),Y=t(F),K=ce(),C=le("span"),J=t(e[5]),Q=ce(),B=le("div"),M=le("p"),q=t(P),ee=t(" Sports"),te=ce(),$=le("p"),T=le("span"),ne=t(O),re=ce(),H=le("span"),oe=t(e[5]),ue(o,"class","BalanceModalText"),ue(s,"class","BalanceModalAmount"),ue(c,"class","BalanceModalCurrency"),ue(a,"class","BalanceModalValue"),ue(r,"class","BalanceModalRowLine"),ue(p,"class","BalanceModalText"),ue(m,"class","BalanceModalAmount"),ue(y,"class","BalanceModalCurrency"),ue(f,"class","BalanceModalValue"),ue(h,"class","BalanceModalRowLine"),ue(n,"class","BalanceModalRowBoth"),ue(w,"class","BalanceModalText"),ue(E,"class","BalanceModalAmount"),ue(C,"class","BalanceModalCurrency"),ue(x,"class","BalanceModalValue"),ue(v,"class","BalanceModalRowLine"),ue(M,"class","BalanceModalText"),ue(T,"class","BalanceModalAmount"),ue(H,"class","BalanceModalCurrency"),ue($,"class","BalanceModalValue"),ue(B,"class","BalanceModalRowLine"),ue(b,"class","BalanceModalRowBoth")},m(e,t){ae(e,n,t),ie(n,r),ie(r,o),ie(o,i),ie(o,k),ie(r,R),ie(r,a),ie(a,s),ie(s,l),ie(a,D),ie(a,c),ie(c,u),ie(n,N),ie(n,h),ie(h,p),ie(p,d),ie(p,U),ie(h,j),ie(h,f),ie(f,m),ie(m,g),ie(f,G),ie(f,y),ie(y,z),ae(e,W,t),ae(e,b,t),ie(b,v),ie(v,w),ie(w,V),ie(w,X),ie(v,Z),ie(v,x),ie(x,E),ie(E,Y),ie(x,K),ie(x,C),ie(C,J),ie(b,Q),ie(b,B),ie(B,M),ie(M,q),ie(M,ee),ie(B,te),ie(B,$),ie($,T),ie(T,ne),ie($,re),ie($,H),ie(H,oe)},p(e,t){256&t[0]&&A!==(A=e[8]("cashBalance")+"")&&he(i,A),128&t[0]&&S!==(S=e[7].Casino.Real+"")&&he(l,S),32&t[0]&&he(u,e[5]),256&t[0]&&_!==(_=e[8]("cashBalance")+"")&&he(d,_),128&t[0]&&I!==(I=e[7].Sports.Real+"")&&he(g,I),32&t[0]&&he(z,e[5]),256&t[0]&&L!==(L=e[8]("bonusBalance")+"")&&he(V,L),128&t[0]&&F!==(F=e[7].Casino.Bonus+"")&&he(Y,F),32&t[0]&&he(J,e[5]),256&t[0]&&P!==(P=e[8]("bonusBalance")+"")&&he(q,P),128&t[0]&&O!==(O=e[7].Sports.Bonus+"")&&he(ne,O),32&t[0]&&he(oe,e[5])},d(e){e&&se(n),e&&se(W),e&&se(b)}}}function Wo(e){let n,r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,E,C=e[8]("cashBalance")+"",B=e[7][e[1]||"Casino"].Real+"",M=e[8]("bonusBalance")+"",$=e[7][e[1]||"Casino"].Bonus+"";return{c(){n=le("div"),r=le("p"),o=t(C),i=ce(),a=le("p"),s=le("span"),l=t(B),c=ce(),u=le("span"),h=t(e[5]),p=ce(),d=le("div"),f=le("p"),m=t(M),g=ce(),y=le("p"),b=le("span"),v=t($),w=ce(),x=le("span"),E=t(e[5]),ue(r,"class","BalanceModalText"),ue(s,"class","BalanceModalAmount"),ue(u,"class","BalanceModalCurrency"),ue(a,"class","BalanceModalValue"),ue(n,"class","BalanceModalRow"),ue(f,"class","BalanceModalText"),ue(b,"class","BalanceModalAmount"),ue(x,"class","BalanceModalCurrency"),ue(y,"class","BalanceModalValue"),ue(d,"class","BalanceModalRow")},m(e,t){ae(e,n,t),ie(n,r),ie(r,o),ie(n,i),ie(n,a),ie(a,s),ie(s,l),ie(a,c),ie(a,u),ie(u,h),ae(e,p,t),ae(e,d,t),ie(d,f),ie(f,m),ie(d,g),ie(d,y),ie(y,b),ie(b,v),ie(y,w),ie(y,x),ie(x,E)},p(e,t){256&t[0]&&C!==(C=e[8]("cashBalance")+"")&&he(o,C),130&t[0]&&B!==(B=e[7][e[1]||"Casino"].Real+"")&&he(l,B),32&t[0]&&he(h,e[5]),256&t[0]&&M!==(M=e[8]("bonusBalance")+"")&&he(m,M),130&t[0]&&$!==($=e[7][e[1]||"Casino"].Bonus+"")&&he(v,$),32&t[0]&&he(E,e[5])},d(e){e&&se(n),e&&se(p),e&&se(d)}}}function Vo(n){let r,o,i;return{c(){ue(r=le("div"),"class","ShowBalanceModalOverlay")},m(e,t){ae(e,r,t),o||(i=O(r,"click",n[26]),o=!0)},p:v,d(e){e&&se(r),o=!1,i()}}}function Xo(n){let r,o,i,a,s,l,c,u,h,p,d,f,m=n[3]&&Uo(n),g=n[3]&&Vo(n);return{c(){r=le("div"),o=le("div"),i=le("p"),a=t(n[4]),s=ce(),l=t(n[5]),c=ce(),(u=le("span")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emfe-w-color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>',h=ce(),m&&m.c(),p=ce(),g&&g.c(),this.c=v,ue(i,"class","BalanceValue"),ue(i,"part","BalanceValue"),ue(o,"class","ShowBalance"),ue(o,"part","ShowBalance")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(i,s),ie(i,l),ie(i,c),ie(i,u),ie(o,h),m&&m.m(o,null),ie(r,p),g&&g.m(r,null),n[27](r),d||(f=O(i,"click",n[23]),d=!0)},p(e,t){16&t[0]&&he(a,e[4]),32&t[0]&&he(l,e[5]),e[3]?m?m.p(e,t):((m=Uo(e)).c(),m.m(o,null)):m&&(m.d(1),m=null),e[3]?g?g.p(e,t):((g=Vo(e)).c(),g.m(r,null)):g&&(g.d(1),g=null)},i:v,o:v,d(e){e&&se(r),m&&m.d(),g&&g.d(),n[27](null),d=!1,f()}}}function Zo(t,e,a){let n;ye(t,Kr,e=>a(8,n=e));let r,o,{userid:i=""}=e,{session:s=""}=e,{endpoint:l=""}=e,{lang:c="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{translationurl:p=""}=e,{customlocaleidentifier:d=""}=e,{gmversion:f=""}=e,{displaybalanceoption:m="All"}=e,{currencyseparator:g=""}=e,{currencydecimal:y=""}=e,{currencyprecision:b=""}=e,v=!1,w="",x="",E=[],C="0",B=!1;const M={Casino:{Real:0,Bonus:0},Sports:{Real:0,Bonus:0}},$=(Object.keys(Ro).forEach(e=>{ko(e,Ro[e])}),e=>{switch(e){case"balance":a(3,v=!0);break;case"closebalance":a(3,v=!1)}}),T=(e,t)=>{e=new Do.EventSourcePolyfill(e,{headers:{accept:"text/event-stream","X-SessionId":t}});o&&o.close(),(o=e).addEventListener("message",e=>{C="0";try{let r=JSON.parse(e.data)["balanceChange"];if("gmcore"===f)a(6,E=E.map(e=>{var t,n;return r&&r[e.id]&&(t=e,n=r[e.id].afterAmount,e=Object.assign(Object.assign({},t),{balanceAmount:n})),C=(parseFloat(null==e?void 0:e.balanceAmount)+parseFloat(C)).toString(),e}));else if("gm16"===f)for(var t in r)a(7,M.Casino[t]=r[t].afterAmount,M),C=M.Casino[t]+C,a(7,M.Casino[t]=S(M.Casino[t]),M);a(4,w=S(Number(C)))}catch(e){console.log("Balance stream failed: ",e),T(`${l}/v1/player/${i}/balance/updates`,s)}})},H=()=>{$("closebalance"),window.postMessage({type:"GoToDeposit"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"PlayerAccountBalanceModal"})},A=()=>{let e;return e=d.includes(c)?d:e},S=e=>{return d?new Intl.NumberFormat(A(),{useGrouping:!0}).format(e):(g&&y?No(e,{separator:g,decimal:y,symbol:"",precision:parseInt(b||"2",10)}):No(e,{separator:".",decimal:",",symbol:"",precision:parseInt(b||"2",10)})).format()},_=e=>{e.data&&"LogoutSuccessfull"===e.data.type&&o.close()};return ve(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_),o&&o.close()})),t.$$set=e=>{"userid"in e&&a(12,i=e.userid),"session"in e&&a(13,s=e.session),"endpoint"in e&&a(14,l=e.endpoint),"lang"in e&&a(15,c=e.lang),"clientstyling"in e&&a(16,u=e.clientstyling),"clientstylingurl"in e&&a(17,h=e.clientstylingurl),"translationurl"in e&&a(18,p=e.translationurl),"customlocaleidentifier"in e&&a(19,d=e.customlocaleidentifier),"gmversion"in e&&a(0,f=e.gmversion),"displaybalanceoption"in e&&a(1,m=e.displaybalanceoption),"currencyseparator"in e&&a(20,g=e.currencyseparator),"currencydecimal"in e&&a(21,y=e.currencydecimal),"currencyprecision"in e&&a(22,b=e.currencyprecision)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&A(),61443&t.$$.dirty[0]&&l&&i&&s&&c&&f&&m){var e=c;switch(ge.set(e),f){case"gmcore":(async e=>{try{B=!0;var t=await fetch(e,{method:"GET",headers:{"X-SessionID":s}}),n=await t.json();if(!t.ok)throw B=!1,new Error("Failed to fetch balance data !");B=!1,a(6,E=n.items),a(5,x=Object.keys(n.totalAmount)[0]),a(4,w=S(n.totalAmount[x]))}catch(e){B=!1,console.log("Balance error: ",e)}finally{B=!1}})(new URL(`${l}/v1/player/${i}/account`));break;case"gm16":(async e=>{try{B=!0,"Casino"==m&&e.searchParams.append("productType","Casino"),"Sports"==m&&e.searchParams.append("productType","Sports"),"All"===m&&(e.searchParams.append("productType","Casino"),e.searchParams.append("productType","Sports"));var t=await fetch(e,{method:"GET",headers:{"X-SessionID":s}}),n=await t.json();if(!t.ok)throw B=!1,new Error("Failed to fetch balance data !");B=!1;for(const e of n.items){var{type:r,amount:o,productType:i}=e;"Casino"===m&&"Casino"===i?a(7,M.Casino[r]=S(o),M):"Sports"===m&&"Sports"===i?a(7,M.Sports[r]=S(o),M):"All"===m&&i&&r&&a(7,M[i][r]=S(o),M)}a(5,x=Object.keys(n.totalAmount)[0]),a(4,w=S(n.totalAmount[x]))}catch(e){B=!1,console.log("Balance error: ",e)}finally{B=!1}})(new URL(`${l}/v1/player/${i}/balance`));break;default:throw Error("Invalid apiversion attribute: "+f)}}if(28672&t.$$.dirty[0]&&l&&i&&s&&T(`${l}/v1/player/${i}/balance/updates`,s),65540&t.$$.dirty[0]&&u&&r&&((e=document.createElement("style")).innerHTML=u,r.appendChild(e)),131076&t.$$.dirty[0]&&h&&r){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}262144&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ko(e,t[e])})}).catch(e=>{console.log(e)})},[f,m,r,v,w,x,E,M,n,$,H,S,i,s,l,c,u,h,p,d,g,y,b,()=>$("balance"),()=>$("closebalance"),()=>H(),()=>$("closebalance"),function(e){me[e?"unshift":"push"](()=>{r=e,a(2,r)})}]}function Yo(e,t){wr(e,t)}customElements.get("player-account-balance-modal")||customElements.define("player-account-balance-modal",class extends Me{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{font-family:inherit}:host{font-family:inherit}button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer}.BalanceModalClose:before{content:"";background:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emfe-w-header-contrast, var(--emfe-w-color-contrast, #07072A))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emfe-w-header-contrast, var(--emfe-w-color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emfe-w-header-contrast, var(--emfe-w-color-contrast, #07072A))}.BalanceModalRow{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.BalanceModalRow:last-child{border-bottom:none}.BalanceModalRow .BalanceModalText{color:var(--emfe-w-header-contrast, var(--emfe-w-color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRow .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emfe-w-header-contrast, var(--emfe-w-color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover{background:var(--emfe-w-header-contrast, var(--emfe-w-color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}',this.shadowRoot.appendChild(t),Be(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Zo,Xo,T,{userid:12,session:13,endpoint:14,lang:15,clientstyling:16,clientstylingurl:17,translationurl:18,customlocaleidentifier:19,gmversion:0,displaybalanceoption:1,currencyseparator:20,currencydecimal:21,currencyprecision:22},null,[-1,-1]),e&&(e.target&&ae(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["userid","session","endpoint","lang","clientstyling","clientstylingurl","translationurl","customlocaleidentifier","gmversion","displaybalanceoption","currencyseparator","currencydecimal","currencyprecision"]}get userid(){return this.$$.ctx[12]}set userid(e){this.$$set({userid:e}),p()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),p()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),p()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),p()}get customlocaleidentifier(){return this.$$.ctx[19]}set customlocaleidentifier(e){this.$$set({customlocaleidentifier:e}),p()}get gmversion(){return this.$$.ctx[0]}set gmversion(e){this.$$set({gmversion:e}),p()}get displaybalanceoption(){return this.$$.ctx[1]}set displaybalanceoption(e){this.$$set({displaybalanceoption:e}),p()}get currencyseparator(){return this.$$.ctx[20]}set currencyseparator(e){this.$$set({currencyseparator:e}),p()}get currencydecimal(){return this.$$.ctx[21]}set currencydecimal(e){this.$$set({currencydecimal:e}),p()}get currencyprecision(){return this.$$.ctx[22]}set currencyprecision(e){this.$$set({currencyprecision:e}),p()}});const Ko={en:{title:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{title:"訂金",loading:"加載請稍候…"},fr:{title:"Dépôt",loading:"Chargement, veuillez patienter ..."},ro:{title:"Depunere",loading:"Se încarcă..."},es:{title:"Deposita",loading:"Cargando ..."},pt:{title:"Depósito",loading:"Carregando, por favor espere ..."},hr:{title:"Uplata",loading:"Učitavanje"}};function Jo(e){let n,r,o;return{c(){n=le("div"),C((r=le("iframe")).src,o=e[3])||ue(r,"src",o),ue(r,"title","Deposit Iframe"),ue(n,"class","DepositIframeWrapper")},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){8&t&&!C(r.src,o=e[3])&&ue(r,"src",o)},d(e){e&&se(n)}}}function Qo(e){let n,r,o=e[4]("loading")+"";return{c(){n=le("p"),r=t(o)},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){16&t&&o!==(o=e[4]("loading")+"")&&he(r,o)},d(e){e&&se(n)}}}function qo(n){let r,o,i,a,s,l=n[4]("title")+"",c=n[5]&&function(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g=n[4]("title")+"";return{c(){r=le("div"),o=e("svg"),i=e("defs"),a=e("style"),s=t(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=e("g"),c=e("g"),u=e("path"),h=ce(),p=le("h2"),d=t(g),ue(u,"class","aaa"),ue(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),ue(u,"transform","translate(15 15) rotate(180)"),ue(c,"transform","translate(20 158)"),ue(l,"transform","translate(-20 -158)"),ue(o,"xmlns","http://www.w3.org/2000/svg"),ue(o,"width","15"),ue(o,"height","15"),ue(o,"viewBox","0 0 15 15"),ue(p,"class","DepositTitleMobile"),ue(r,"class","MenuReturnButton")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(a,s),ie(o,l),ie(l,c),ie(c,u),ie(r,h),ie(r,p),ie(p,d),f||(m=O(r,"click",n[17]),f=!0)},p(e,t){16&t&&g!==(g=e[4]("title")+"")&&he(d,g)},d(e){e&&se(r),f=!1,m()}}}(n);function u(e){return e[1]?Qo:Jo}let h=u(n),p=h(n);return{c(){r=le("div"),c&&c.c(),o=ce(),i=le("h2"),a=t(l),s=ce(),p.c(),this.c=v,ue(i,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),ue(r,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),U(r,"--dynamic-height",n[2])},m(e,t){ae(e,r,t),c&&c.m(r,null),ie(r,o),ie(r,i),ie(i,a),ie(r,s),p.m(r,null),n[18](r)},p(e,[t]){e[5]&&c.p(e,t),16&t&&l!==(l=e[4]("title")+"")&&he(a,l),h===(h=u(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(r,null))),4&t&&U(r,"--dynamic-height",e[2])},i:v,o:v,d(e){e&&se(r),c&&c.d(),p.d(),n[18](null)}}}function ei(r,e,o){let t;ye(r,Kr,e=>o(4,t=e));let i,n,{endpoint:a=""}=e,{session:s=""}=e,{playerid:l=""}=e,{lang:c="en"}=e,{hasdefaultamount:u=""}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{translationurl:d=""}=e,{playercurrency:f=""}=e,{shortcashierenabled:m="false"}=e,g=window.navigator.userAgent,y="PC"!==Qr(g),b=!0,v=0,w="";Object.keys(Ko).forEach(e=>{Yo(e,Ko[e])});const x=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:y},window.location.href)},E=e=>{if(e.data)switch("ProfileDetailsData"===e.data.type&&o(7,f=e.data.profileDetails.currency),e.data["MMFE:setQuickDepositHeight"]&&o(2,n=e.data["MMFE:setQuickDepositHeight"].toString()+"px"),"true"===e.data["MMFE:openFullCashier"]&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),e.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href)}};return ve(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),r.$$set=e=>{"endpoint"in e&&o(8,a=e.endpoint),"session"in e&&o(9,s=e.session),"playerid"in e&&o(10,l=e.playerid),"lang"in e&&o(11,c=e.lang),"hasdefaultamount"in e&&o(12,u=e.hasdefaultamount),"clientstyling"in e&&o(13,h=e.clientstyling),"clientstylingurl"in e&&o(14,p=e.clientstylingurl),"translationurl"in e&&o(15,d=e.translationurl),"playercurrency"in e&&o(7,f=e.playercurrency),"shortcashierenabled"in e&&o(16,m=e.shortcashierenabled)},r.$$.update=()=>{if(2048&r.$$.dirty&&c&&(n=c,ge.set(n)),16385&r.$$.dirty&&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)})}if(8193&r.$$.dirty&&h&&i&&((n=document.createElement("style")).innerHTML=h,i.appendChild(n)),32768&r.$$.dirty&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Yo(e,t[e])})}).catch(e=>{console.log(e)}),69504&r.$$.dirty&&s&&l&&a&&f&&c&&m){var e=new URL(`${a}/v1/player/${l}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(m&&e.searchParams.append("isShortCashier",m),u)switch(f){case"USD":v=.4;break;case"CDF":v=1e3}var t={method:"POST",headers:{"X-SessionId":s,currency:f||"EUR",amount:v,cashierMode:"Default",IsShortCashier:m,accept:"application/json"}};fetch(e.href,t).then(e=>e.json()).then(e=>{o(1,b=!1),o(3,w=e.CashierUrl)},e=>{console.error(e)})}var n},[i,b,n,w,t,y,x,f,a,s,l,c,u,h,p,d,m,()=>x(),function(e){me[e?"unshift":"push"](()=>{i=e,o(0,i)})}]}customElements.get("player-deposit")||customElements.define("player-deposit",class extends Me{constructor(e){super();var t=document.createElement("style");t.textContent=".DepositWrapper{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.DepositTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.DepositTitleMobile{font-size:16px}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh}",this.shadowRoot.appendChild(t),Be(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ei,qo,T,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,shortcashierenabled:16},null),e&&(e.target&&ae(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","session","playerid","lang","hasdefaultamount","clientstyling","clientstylingurl","translationurl","playercurrency","shortcashierenabled"]}get endpoint(){return this.$$.ctx[8]}set endpoint(e){this.$$set({endpoint:e}),p()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),p()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$$set({playerid:e}),p()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),p()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),p()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),p()}get playercurrency(){return this.$$.ctx[7]}set playercurrency(e){this.$$set({playercurrency:e}),p()}get shortcashierenabled(){return this.$$.ctx[16]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),p()}});var ti="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LjljY2M0ZGU5MywgMjAyMi8wMy8xNC0xNDowNzoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIzLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMzQjhCMTgyRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMzQjhCMTgzRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzNCOEIxODBFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzNCOEIxODFFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7HvIqyAAAAEElEQVR42mL4//8/A0CAAQAI/AL+26JNFgAAAABJRU5ErkJggg==";const ni=_["document"];function ri(e,t,n){e=e.slice();return e[110]=t[n],e}function oi(e,t,n){e=e.slice();return e[113]=t[n],e}function ii(e,t,n){e=e.slice();return e[113]=t[n],e}function ai(e,t,n){e=e.slice();return e[110]=t[n],e}function si(e,t,n){e=e.slice();return e[113]=t[n],e}function li(e,t,n){e=e.slice();return e[113]=t[n],e}function ci(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,e=n[45]("login")+"",E=n[45]("register")+"";function C(e){return e[37]?di:pi}let B=C(n),M=B(n),$=!n[31]&&fi(n),T=1<n[41].length&&mi(n),H=n[34],A=[];for(let e=0;e<H.length;e+=1)A[e]=xi(ri(n,H,e));return{c(){r=le("header"),o=le("div"),i=le("div"),M.c(),a=ce(),s=le("nav"),$&&$.c(),l=ce(),c=le("div"),u=le("div"),h=le("div"),p=t(e),d=ce(),f=le("div"),m=t(E),g=ce(),T&&T.c(),y=ce(),b=le("nav"),v=le("ul");for(let e=0;e<A.length;e+=1)A[e].c();ue(i,"class","HeaderBranding"),ue(s,"class","HeaderMainNav"),ue(h,"class","Item ItemLogin"),ue(h,"tabindex","0"),ue(f,"class","Item ItemRegister"),ue(f,"tabindex","0"),ue(u,"class","HeaderItemsMenu"),ue(c,"class","HeaderTopActions"),ue(o,"class","HeaderContainer"),ue(v,"class","HeaderItemsMenuSecondary"),ue(b,"class","HeaderSecondaryNav"),ue(r,"class","HeaderWrapper")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),M.m(i,null),ie(o,a),ie(o,s),$&&$.m(s,null),ie(o,l),ie(o,c),ie(c,u),ie(u,h),ie(h,p),ie(u,d),ie(u,f),ie(f,m),ie(u,g),T&&T.m(u,null),ie(r,y),ie(r,b),ie(b,v);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(v,null);n[89](r),w||(x=[O(i,"click",n[81]),O(h,"click",n[82]),O(f,"click",n[83])],w=!0)},p(t,n){if(B===(B=C(t))&&M?M.p(t,n):(M.d(1),(M=B(t))&&(M.c(),M.m(i,null))),t[31]?$&&($.d(1),$=null):$?$.p(t,n):(($=fi(t)).c(),$.m(s,null)),16384&n[1]&&e!==(e=t[45]("login")+"")&&he(p,e),16384&n[1]&&E!==(E=t[45]("register")+"")&&he(m,E),1<t[41].length?T?T.p(t,n):((T=mi(t)).c(),T.m(u,null)):T&&(T.d(1),T=null),524300&n[1]){let e;for(H=t[34],e=0;e<H.length;e+=1){const i=ri(t,H,e);A[e]?A[e].p(i,n):(A[e]=xi(i),A[e].c(),A[e].m(v,null))}for(;e<A.length;e+=1)A[e].d(1);A.length=H.length}},d(e){e&&se(r),M.d(),$&&$.d(),T&&T.d(),L(A,e),n[89](null),w=!1,P(x)}}}function ui(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,E,C,B,M,$=n[45]("login")+"",T=n[45]("register")+"";function H(e){return e[37]?Ci:Ei}let A=H(n),S=A(n);return{c(){r=le("header"),o=le("div"),i=le("div"),a=e("svg"),s=e("defs"),l=e("style"),c=t(".a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n "),u=e("g"),h=e("rect"),p=e("rect"),d=e("rect"),f=ce(),m=le("div"),S.c(),g=ce(),y=le("div"),b=le("div"),v=le("div"),w=t($),x=ce(),E=le("div"),C=t(T),ue(h,"class","a"),ue(h,"width","18"),ue(h,"height","2"),ue(h,"transform","translate(14 13)"),ue(p,"class","a"),ue(p,"width","22"),ue(p,"height","2"),ue(p,"transform","translate(14 20)"),ue(d,"class","a"),ue(d,"width","22"),ue(d,"height","2"),ue(d,"transform","translate(14 27)"),ue(u,"transform","translate(-14 -13)"),ue(a,"xmlns","http://www.w3.org/2000/svg"),ue(a,"width","22"),ue(a,"height","16"),ue(a,"viewBox","0 0 22 16"),ue(i,"class","HeaderMobileMainNav"),ue(m,"class","HeaderBranding"),ue(v,"class","Item ItemLogin"),ue(E,"class","Item ItemRegister"),ue(b,"class","HeaderItemsMenu"),ue(y,"class","HeaderTopActions"),ue(o,"class","HeaderContainer"),ue(r,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(a,s),ie(s,l),ie(l,c),ie(a,u),ie(u,h),ie(u,p),ie(u,d),ie(o,f),ie(o,m),S.m(m,null),ie(o,g),ie(o,y),ie(y,b),ie(b,v),ie(v,w),ie(b,x),ie(b,E),ie(E,C),n[80](r),B||(M=[O(a,"click",n[76]),O(m,"click",n[77]),O(v,"click",n[78]),O(E,"click",n[79])],B=!0)},p(e,t){A===(A=H(e))&&S?S.p(e,t):(S.d(1),(S=A(e))&&(S.c(),S.m(m,null))),16384&t[1]&&$!==($=e[45]("login")+"")&&he(w,$),16384&t[1]&&T!==(T=e[45]("register")+"")&&he(C,T)},d(e){e&&se(r),S.d(),n[80](null),B=!1,P(M)}}}function hi(e){let n;function r(e){return e[39]?Mi:Bi}let o=r(e),i=o(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ae(e,n,t)},p(e,t){o===(o=r(e))&&i?i.p(e,t):(i.d(1),(i=o(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&se(n)}}}function pi(e){let n,t;return{c(){C((n=le("img")).src,t=ti)||ue(n,"src",t),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p:v,d(e){e&&se(n)}}}function di(e){let n,r;return{c(){C((n=le("img")).src,r=e[43])||ue(n,"src",r),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p(e,t){4096&t[1]&&!C(n.src,r=e[43])&&ue(n,"src",r)},d(e){e&&se(n)}}}function fi(n){let r,o,i;return{c(){F(r=le("casino-slider"),"class","HeaderItemsMenu"),F(r,"part","HeaderItemsMenu"),F(r,"identity",Vi),F(r,"isprimarymenu","true"),F(r,"actionevent",n[23]),F(r,"activeindex",n[32]),F(r,"location","headerMain"),F(r,"endpoint",n[2]),F(r,"lang",n[3]),F(r,"clientstyling",n[25]),F(r,"clientstylingurl",n[26])},m(e,t){ae(e,r,t),o||(i=S(n[49].call(null,r)),o=!0)},p(e,t){8388608&t[0]&&F(r,"actionevent",e[23]),2&t[1]&&F(r,"activeindex",e[32]),4&t[0]&&F(r,"endpoint",e[2]),8&t[0]&&F(r,"lang",e[3]),33554432&t[0]&&F(r,"clientstyling",e[25]),67108864&t[0]&&F(r,"clientstylingurl",e[26])},d(e){e&&se(r),o=!1,i()}}}function mi(e){let n;function r(e){return"true"!==e[8]?yi:gi}let o=r(e),i=o(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ae(e,n,t)},p(e,t){o===(o=r(e))&&i?i.p(e,t):(i.d(1),(i=o(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&se(n)}}}function gi(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v=n[38]&&bi(n);return{c(){r=le("div"),o=le("div"),i=le("span"),a=le("img"),l=ce(),c=le("span"),u=t(n[35]),h=ce(),p=le("span"),d=e("svg"),f=e("path"),g=ce(),v&&v.c(),C(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[53](n[35])}.svg`)||ue(a,"src",s),ue(i,"class","FlagIcon"),ue(c,"class","LanguageName"),ue(f,"id","arrow"),ue(f,"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"),ue(f,"transform","translate(-274.511 -441.088)"),ue(f,"fill","#d1d1d1"),ue(d,"xmlns","http://www.w3.org/2000/svg"),ue(d,"width","14"),ue(d,"height","6.835"),ue(d,"viewBox","0 0 14 6.835"),ue(p,"class",m="TriangleInactive "+(n[38]?"TriangleActive":"")),ue(o,"class","SelectedOption Item ItemLanguage"),ue(r,"class","LanguageDropdown")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(o,l),ie(o,c),ie(c,u),ie(o,h),ie(o,p),ie(p,d),ie(d,f),ie(r,g),v&&v.m(r,null),y||(b=O(o,"click",n[86]),y=!0)},p(e,t){1040&t[1]&&!C(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[53](e[35])}.svg`)&&ue(a,"src",s),16&t[1]&&he(u,e[35]),128&t[1]&&m!==(m="TriangleInactive "+(e[38]?"TriangleActive":""))&&ue(p,"class",m),e[38]?v?v.p(e,t):((v=bi(e)).c(),v.m(r,null)):v&&(v.d(1),v=null)},d(e){e&&se(r),v&&v.d(),y=!1,b()}}}function yi(n){let o,r,i,a=n[41],s=[];for(let e=0;e<a.length;e+=1)s[e]=wi(ii(n,a,e));return{c(){o=le("select");for(let e=0;e<s.length;e+=1)s[e].c();ue(o,"class","Item ItemLanguage NoFlag"),void 0===n[35]&&B(()=>n[84].call(o))},m(e,t){ae(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);j(o,n[35],!0),r||(i=[O(o,"change",n[84]),O(o,"change",n[85])],r=!0)},p(t,n){if(1024&n[1]){let e;for(a=t[41],e=0;e<a.length;e+=1){var r=ii(t,a,e);s[e]?s[e].p(r,n):(s[e]=wi(r),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}1040&n[1]&&j(o,t[35])},d(e){e&&se(o),L(s,e),r=!1,P(i)}}}function bi(t){let o,i=t[41],a=[];for(let e=0;e<i.length;e+=1)a[e]=vi(oi(t,i,e));return{c(){o=le("div");for(let e=0;e<a.length;e+=1)a[e].c();ue(o,"class","OptionList")},m(e,t){ae(e,o,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(o,null)},p(t,n){if(5243904&n[1]){let e;for(i=t[41],e=0;e<i.length;e+=1){var r=oi(t,i,e);a[e]?a[e].p(r,n):(a[e]=vi(r),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length}},d(e){e&&se(o),L(a,e)}}}function vi(n){let r,o,i,a,s,l,c,u,h,p,d=n[113]+"";function f(){return n[87](n[113])}return{c(){r=le("div"),o=le("span"),i=le("img"),s=ce(),l=le("span"),c=t(d),u=ce(),C(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[53](n[113])}.svg`)||ue(i,"src",a),ue(o,"class","FlagIcon"),ue(l,"class","LanguageName"),ue(r,"class","LanguageOption")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,s),ie(r,l),ie(l,c),ie(r,u),h||(p=O(r,"click",f),h=!0)},p(e,t){n=e,1024&t[1]&&!C(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[53](n[113])}.svg`)&&ue(i,"src",a),1024&t[1]&&d!==(d=n[113]+"")&&he(c,d)},d(e){e&&se(r),h=!1,p()}}}function wi(e){let n,r,o,i=e[113]+"";return{c(){n=le("option"),r=t(i),n.__value=o=e[113],n.value=n.__value},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){1024&t[1]&&i!==(i=e[113]+"")&&he(r,i),1024&t[1]&&o!==(o=e[113])&&(n.__value=o,n.value=n.__value)},d(e){e&&se(n)}}}function xi(n){let r,o,i,a,s,l,c,u=n[110].label+"";function h(){return n[88](n[110])}return{c(){r=le("li"),o=le("button"),i=t(u),a=ce(),ue(r,"class",s="ItemSecondary "+(-1<n[33]?.toString().indexOf("$")?n[33]?.split("$").pop()==n[110].id.split("$").pop()?"active":"":n[33]==n[110].id?"active":"")),ue(r,"part","ItemSecondary")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,a),l||(c=O(o,"click",h),l=!0)},p(e,t){n=e,8&t[1]&&u!==(u=n[110].label+"")&&he(i,u),12&t[1]&&s!==(s="ItemSecondary "+(-1<n[33]?.toString().indexOf("$")?n[33]?.split("$").pop()==n[110].id.split("$").pop()?"active":"":n[33]==n[110].id?"active":""))&&ue(r,"class",s)},d(e){e&&se(r),l=!1,c()}}}function Ei(e){let n,t;return{c(){C((n=le("img")).src,t=ti)||ue(n,"src",t),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p:v,d(e){e&&se(n)}}}function Ci(e){let n,r;return{c(){C((n=le("img")).src,r=e[43])||ue(n,"src",r),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p(e,t){4096&t[1]&&!C(n.src,r=e[43])&&ue(n,"src",r)},d(e){e&&se(n)}}}function Bi(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,E,C,B,e=n[45]("deposit")+"";function M(e){return e[37]?Ti:$i}let $=M(n),T=$(n),H=!n[31]&&Hi(n),A=n[44]&&Ai(n),S=1<n[41].length&&Ii(n),_=n[34],I=[];for(let e=0;e<_.length;e+=1)I[e]=Ri(ai(n,_,e));return{c(){r=le("header"),o=le("div"),i=le("div"),T.c(),a=ce(),s=le("nav"),H&&H.c(),l=ce(),c=le("div"),u=le("div"),h=le("player-account-balance-modal"),p=ce(),d=le("div"),f=le("div"),m=t(e),g=ce(),A&&A.c(),y=ce(),(b=le("div")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429"><defs><style>.a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n </style></defs><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>',v=ce(),S&&S.c(),w=ce(),x=le("nav"),E=le("ul");for(let e=0;e<I.length;e+=1)I[e].c();ue(i,"class","HeaderBranding"),ue(s,"class","HeaderMainNav"),F(h,"session",n[0]),F(h,"userid",n[1]),F(h,"endpoint",n[2]),F(h,"lang",n[3]),F(h,"clientstyling",n[25]),F(h,"clientstylingurl",n[26]),F(h,"customlocaleidentifier",n[6]),F(h,"gmversion",n[7]),F(h,"displaybalanceoption",n[9]),F(h,"currencyseparator",n[27]),F(h,"currencydecimal",n[28]),F(h,"currencyprecision",n[29]),ue(f,"class","Item ItemDeposit"),ue(f,"part","Item ItemDeposit"),ue(b,"class","Item ItemAccount"),ue(b,"part","Item ItemAccount"),ue(u,"class","HeaderItemsMenu PrimaryMenu"),ue(c,"class","HeaderTopActions"),ue(o,"class","HeaderContainer"),ue(E,"class","HeaderItemsMenuSecondary"),ue(x,"class","HeaderSecondaryNav"),ue(r,"class","HeaderWrapper")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),T.m(i,null),ie(o,a),ie(o,s),H&&H.m(s,null),ie(o,l),ie(o,c),ie(c,u),ie(u,h),ie(u,p),ie(u,d),ie(d,f),ie(f,m),ie(d,g),A&&A.m(d,null),ie(u,y),ie(u,b),ie(u,v),S&&S.m(u,null),ie(r,w),ie(r,x),ie(x,E);for(let e=0;e<I.length;e+=1)I[e]&&I[e].m(E,null);n[75](r),C||(B=[O(i,"click",n[65]),O(f,"click",n[66]),O(b,"click",n[69])],C=!0)},p(t,n){if($===($=M(t))&&T?T.p(t,n):(T.d(1),(T=$(t))&&(T.c(),T.m(i,null))),t[31]?H&&(H.d(1),H=null):H?H.p(t,n):((H=Hi(t)).c(),H.m(s,null)),1&n[0]&&F(h,"session",t[0]),2&n[0]&&F(h,"userid",t[1]),4&n[0]&&F(h,"endpoint",t[2]),8&n[0]&&F(h,"lang",t[3]),33554432&n[0]&&F(h,"clientstyling",t[25]),67108864&n[0]&&F(h,"clientstylingurl",t[26]),64&n[0]&&F(h,"customlocaleidentifier",t[6]),128&n[0]&&F(h,"gmversion",t[7]),512&n[0]&&F(h,"displaybalanceoption",t[9]),134217728&n[0]&&F(h,"currencyseparator",t[27]),268435456&n[0]&&F(h,"currencydecimal",t[28]),536870912&n[0]&&F(h,"currencyprecision",t[29]),16384&n[1]&&e!==(e=t[45]("deposit")+"")&&he(m,e),t[44]?A?A.p(t,n):((A=Ai(t)).c(),A.m(d,null)):A&&(A.d(1),A=null),1<t[41].length?S?S.p(t,n):((S=Ii(t)).c(),S.m(u,null)):S&&(S.d(1),S=null),524300&n[1]){let e;for(_=t[34],e=0;e<_.length;e+=1){const i=ai(t,_,e);I[e]?I[e].p(i,n):(I[e]=Ri(i),I[e].c(),I[e].m(E,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=_.length}},d(e){e&&se(r),T.d(),H&&H.d(),A&&A.d(),S&&S.d(),L(I,e),n[75](null),C=!1,P(B)}}}function Mi(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x=n[45]("deposit")+"",E=!n[42]&&Di(n);function C(e){return e[37]?Ui:Ni}let B=C(n),M=B(n),$=n[44]&&ji(n);return{c(){r=le("header"),o=le("div"),i=le("div"),E&&E.c(),a=ce(),s=le("div"),M.c(),l=ce(),c=le("div"),u=le("div"),h=le("player-account-balance-modal"),p=ce(),d=le("div"),f=le("div"),m=t(x),g=ce(),$&&$.c(),y=ce(),(b=le("div")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429"><defs><style>.a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n </style></defs><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>',ue(i,"class","HeaderMobileMainNav"),ue(s,"class","HeaderBranding"),F(h,"session",n[0]),F(h,"userid",n[1]),F(h,"endpoint",n[2]),F(h,"lang",n[3]),F(h,"clientstyling",n[25]),F(h,"clientstylingurl",n[26]),F(h,"customlocaleidentifier",n[6]),F(h,"gmversion",n[7]),F(h,"displaybalanceoption",n[9]),F(h,"currencyseparator",n[27]),F(h,"currencydecimal",n[28]),F(h,"currencyprecision",n[29]),ue(f,"class","Item ItemDeposit"),ue(f,"part","Item ItemDeposit"),ue(b,"class","Item ItemAccount"),ue(b,"part","Item ItemAccount"),ue(u,"class","HeaderItemsMenu PrimaryMenu"),ue(u,"part","HeaderItemsMenu PrimaryMenu"),ue(c,"class","HeaderTopActions"),ue(c,"part","HeaderTopActions"),ue(o,"class","HeaderContainer"),ue(r,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),E&&E.m(i,null),ie(o,a),ie(o,s),M.m(s,null),ie(o,l),ie(o,c),ie(c,u),ie(u,h),ie(u,p),ie(u,d),ie(d,f),ie(f,m),ie(d,g),$&&$.m(d,null),ie(u,y),ie(u,b),n[64](r),v||(w=[O(s,"click",n[59]),O(f,"click",n[60]),O(b,"click",n[63])],v=!0)},p(e,t){e[42]?E&&(E.d(1),E=null):E?E.p(e,t):((E=Di(e)).c(),E.m(i,null)),B===(B=C(e))&&M?M.p(e,t):(M.d(1),(M=B(e))&&(M.c(),M.m(s,null))),1&t[0]&&F(h,"session",e[0]),2&t[0]&&F(h,"userid",e[1]),4&t[0]&&F(h,"endpoint",e[2]),8&t[0]&&F(h,"lang",e[3]),33554432&t[0]&&F(h,"clientstyling",e[25]),67108864&t[0]&&F(h,"clientstylingurl",e[26]),64&t[0]&&F(h,"customlocaleidentifier",e[6]),128&t[0]&&F(h,"gmversion",e[7]),512&t[0]&&F(h,"displaybalanceoption",e[9]),134217728&t[0]&&F(h,"currencyseparator",e[27]),268435456&t[0]&&F(h,"currencydecimal",e[28]),536870912&t[0]&&F(h,"currencyprecision",e[29]),16384&t[1]&&x!==(x=e[45]("deposit")+"")&&he(m,x),e[44]?$?$.p(e,t):(($=ji(e)).c(),$.m(d,null)):$&&($.d(1),$=null)},d(e){e&&se(r),E&&E.d(),M.d(),$&&$.d(),n[64](null),v=!1,P(w)}}}function $i(e){let n,t;return{c(){C((n=le("img")).src,t=ti)||ue(n,"src",t),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p:v,d(e){e&&se(n)}}}function Ti(e){let n,r;return{c(){C((n=le("img")).src,r=e[43])||ue(n,"src",r),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p(e,t){4096&t[1]&&!C(n.src,r=e[43])&&ue(n,"src",r)},d(e){e&&se(n)}}}function Hi(n){let r,o,i;return{c(){F(r=le("casino-slider"),"class","HeaderItemsMenu"),F(r,"part","HeaderItemsMenu"),F(r,"identity",Vi),F(r,"isprimarymenu","true"),F(r,"actionevent",n[23]),F(r,"activeindex",n[32]),F(r,"endpoint",n[2]),F(r,"lang",n[3]),F(r,"location","headerMain"),F(r,"showsubgroups",n[24]),F(r,"clientstyling",n[25]),F(r,"clientstylingurl",n[26])},m(e,t){ae(e,r,t),o||(i=S(n[49].call(null,r)),o=!0)},p(e,t){8388608&t[0]&&F(r,"actionevent",e[23]),2&t[1]&&F(r,"activeindex",e[32]),4&t[0]&&F(r,"endpoint",e[2]),8&t[0]&&F(r,"lang",e[3]),16777216&t[0]&&F(r,"showsubgroups",e[24]),33554432&t[0]&&F(r,"clientstyling",e[25]),67108864&t[0]&&F(r,"clientstylingurl",e[26])},d(e){e&&se(r),o=!1,i()}}}function Ai(n){let r,o,i,a,s,l,c,u;function h(e){return"gmcore"===e[7]?_i:Si}let p=h(n),d=p(n);return{c(){r=le("div"),o=ce(),i=le("div"),a=le("div"),(s=le("div")).innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',l=ce(),d.c(),ue(r,"class","ShortCashierWindow"),ue(s,"class","ClosePopUpButtonShortCashier"),ue(a,"class","ShortCashierContainer"),ue(i,"class","ShortCashierContainerWrapper")},m(e,t){ae(e,r,t),ae(e,o,t),ae(e,i,t),ie(i,a),ie(a,s),ie(a,l),d.m(a,null),c||(u=[O(r,"click",n[67]),O(s,"click",n[68])],c=!0)},p(e,t){p===(p=h(e))&&d?d.p(e,t):(d.d(1),(d=p(e))&&(d.c(),d.m(a,null)))},d(e){e&&se(r),e&&se(o),e&&se(i),d.d(),c=!1,P(u)}}}function Si(e){let n,r,o,i,a,s,l,c,u;return{c(){F(n=le("user-deposit-withdrawal"),"endpoint",e[2]),F(n,"type","deposit"),F(n,"channel","Desktop"),F(n,"language",e[3]),F(n,"is-short-cashier",e[13]),F(n,"product-type",e[14]),F(n,"user-id",e[1]),F(n,"session",e[0]),F(n,"success-url",r="https://"+window.location.hostname+"/"+e[3]+e[15]),F(n,"cancel-url",o="https://"+window.location.hostname+"/"+e[3]+e[17]),F(n,"fail-url",i="https://"+window.location.hostname+"/"+e[3]+e[16]),F(n,"sports-url",a="https://"+window.location.hostname+"/"+e[3]+e[18]),F(n,"casino-url",s="https://"+window.location.hostname+"/"+e[3]+e[19]),F(n,"contact-url",l="https://"+window.location.hostname+"/"+e[3]+e[20]),F(n,"home-url",c="https://"+window.location.hostname+"/"+e[3]+e[21]),F(n,"deposit-url",u="https://"+window.location.hostname+"/"+e[3]+e[22])},m(e,t){ae(e,n,t)},p(e,t){4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"language",e[3]),8192&t[0]&&F(n,"is-short-cashier",e[13]),16384&t[0]&&F(n,"product-type",e[14]),2&t[0]&&F(n,"user-id",e[1]),1&t[0]&&F(n,"session",e[0]),32776&t[0]&&r!==(r="https://"+window.location.hostname+"/"+e[3]+e[15])&&F(n,"success-url",r),131080&t[0]&&o!==(o="https://"+window.location.hostname+"/"+e[3]+e[17])&&F(n,"cancel-url",o),65544&t[0]&&i!==(i="https://"+window.location.hostname+"/"+e[3]+e[16])&&F(n,"fail-url",i),262152&t[0]&&a!==(a="https://"+window.location.hostname+"/"+e[3]+e[18])&&F(n,"sports-url",a),524296&t[0]&&s!==(s="https://"+window.location.hostname+"/"+e[3]+e[19])&&F(n,"casino-url",s),1048584&t[0]&&l!==(l="https://"+window.location.hostname+"/"+e[3]+e[20])&&F(n,"contact-url",l),2097160&t[0]&&c!==(c="https://"+window.location.hostname+"/"+e[3]+e[21])&&F(n,"home-url",c),4194312&t[0]&&u!==(u="https://"+window.location.hostname+"/"+e[3]+e[22])&&F(n,"deposit-url",u)},d(e){e&&se(n)}}}function _i(e){let n;return{c(){F(n=le("player-deposit"),"endpoint",e[2]),F(n,"session",e[0]),F(n,"playerid",e[1]),F(n,"lang",e[3]),F(n,"hasdefaultamount",e[11]),F(n,"playercurrency",e[12]),F(n,"shortcashierenabled",e[13]),F(n,"clientstyling",e[25]),F(n,"clientstylingurl",e[26])},m(e,t){ae(e,n,t)},p(e,t){4&t[0]&&F(n,"endpoint",e[2]),1&t[0]&&F(n,"session",e[0]),2&t[0]&&F(n,"playerid",e[1]),8&t[0]&&F(n,"lang",e[3]),2048&t[0]&&F(n,"hasdefaultamount",e[11]),4096&t[0]&&F(n,"playercurrency",e[12]),8192&t[0]&&F(n,"shortcashierenabled",e[13]),33554432&t[0]&&F(n,"clientstyling",e[25]),67108864&t[0]&&F(n,"clientstylingurl",e[26])},d(e){e&&se(n)}}}function Ii(e){let n;function r(e){return"true"!==e[8]?Fi:Li}let o=r(e),i=o(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ae(e,n,t)},p(e,t){o===(o=r(e))&&i?i.p(e,t):(i.d(1),(i=o(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&se(n)}}}function Li(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v=n[38]&&Pi(n);return{c(){r=le("div"),o=le("div"),i=le("span"),a=le("img"),l=ce(),c=le("span"),u=t(n[35]),h=ce(),p=le("span"),d=e("svg"),f=e("path"),g=ce(),v&&v.c(),C(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[53](n[35])}.svg`)||ue(a,"src",s),ue(i,"class","FlagIcon"),ue(c,"class","LanguageName"),ue(f,"id","arrow"),ue(f,"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"),ue(f,"transform","translate(-274.511 -441.088)"),ue(f,"fill","#d1d1d1"),ue(d,"xmlns","http://www.w3.org/2000/svg"),ue(d,"width","14"),ue(d,"height","6.835"),ue(d,"viewBox","0 0 14 6.835"),ue(p,"class",m="TriangleInactive "+(n[38]?"TriangleActive":"")),ue(o,"class","SelectedOption Item ItemLanguage"),ue(r,"class","LanguageDropdown")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(o,l),ie(o,c),ie(c,u),ie(o,h),ie(o,p),ie(p,d),ie(d,f),ie(r,g),v&&v.m(r,null),y||(b=O(o,"click",n[72]),y=!0)},p(e,t){1040&t[1]&&!C(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[53](e[35])}.svg`)&&ue(a,"src",s),16&t[1]&&he(u,e[35]),128&t[1]&&m!==(m="TriangleInactive "+(e[38]?"TriangleActive":""))&&ue(p,"class",m),e[38]?v?v.p(e,t):((v=Pi(e)).c(),v.m(r,null)):v&&(v.d(1),v=null)},d(e){e&&se(r),v&&v.d(),y=!1,b()}}}function Fi(n){let o,r,i,a=n[41],s=[];for(let e=0;e<a.length;e+=1)s[e]=ki(li(n,a,e));return{c(){o=le("select");for(let e=0;e<s.length;e+=1)s[e].c();ue(o,"class","Item ItemLanguage NoFlag"),void 0===n[35]&&B(()=>n[70].call(o))},m(e,t){ae(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);j(o,n[35],!0),r||(i=[O(o,"change",n[70]),O(o,"change",n[71])],r=!0)},p(t,n){if(1024&n[1]){let e;for(a=t[41],e=0;e<a.length;e+=1){var r=li(t,a,e);s[e]?s[e].p(r,n):(s[e]=ki(r),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}1040&n[1]&&j(o,t[35])},d(e){e&&se(o),L(s,e),r=!1,P(i)}}}function Pi(t){let o,i=t[41],a=[];for(let e=0;e<i.length;e+=1)a[e]=Oi(si(t,i,e));return{c(){o=le("div");for(let e=0;e<a.length;e+=1)a[e].c();ue(o,"class","OptionList")},m(e,t){ae(e,o,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(o,null)},p(t,n){if(5243904&n[1]){let e;for(i=t[41],e=0;e<i.length;e+=1){var r=si(t,i,e);a[e]?a[e].p(r,n):(a[e]=Oi(r),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length}},d(e){e&&se(o),L(a,e)}}}function Oi(n){let r,o,i,a,s,l,c,u,h,p,d=n[113]+"";function f(){return n[73](n[113])}return{c(){r=le("div"),o=le("span"),i=le("img"),s=ce(),l=le("span"),c=t(d),u=ce(),C(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[53](n[113])}.svg`)||ue(i,"src",a),ue(o,"class","FlagIcon"),ue(l,"class","LanguageName"),ue(r,"class","LanguageOption")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,s),ie(r,l),ie(l,c),ie(r,u),h||(p=O(r,"click",f),h=!0)},p(e,t){n=e,1024&t[1]&&!C(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[53](n[113])}.svg`)&&ue(i,"src",a),1024&t[1]&&d!==(d=n[113]+"")&&he(c,d)},d(e){e&&se(r),h=!1,p()}}}function ki(e){let n,r,o,i=e[113]+"";return{c(){n=le("option"),r=t(i),n.__value=o=e[113],n.value=n.__value,n.selected=!0},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){1024&t[1]&&i!==(i=e[113]+"")&&he(r,i),1024&t[1]&&o!==(o=e[113])&&(n.__value=o,n.value=n.__value)},d(e){e&&se(n)}}}function Ri(n){let r,o,i,a,s,l,c,u=n[110].label+"";function h(){return n[74](n[110])}return{c(){r=le("li"),o=le("button"),i=t(u),a=ce(),ue(r,"class",s="ItemSecondary "+(-1<n[33]?.toString().indexOf("$")?n[33]?.split("$").pop()==n[110].id.split("$").pop()?"active":"":n[33]==n[110].id?"active":"")),ue(r,"part","ItemSecondary")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,a),l||(c=O(o,"click",h),l=!0)},p(e,t){n=e,8&t[1]&&u!==(u=n[110].label+"")&&he(i,u),12&t[1]&&s!==(s="ItemSecondary "+(-1<n[33]?.toString().indexOf("$")?n[33]?.split("$").pop()==n[110].id.split("$").pop()?"active":"":n[33]==n[110].id?"active":""))&&ue(r,"class",s)},d(e){e&&se(r),l=!1,c()}}}function Di(n){let r,o,i,a,s,l,c,u,h,p;return{c(){r=e("svg"),o=e("defs"),i=e("style"),a=t(".a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n "),s=e("g"),l=e("rect"),c=e("rect"),u=e("rect"),ue(l,"class","a"),ue(l,"width","18"),ue(l,"height","2"),ue(l,"transform","translate(14 13)"),ue(c,"class","a"),ue(c,"width","22"),ue(c,"height","2"),ue(c,"transform","translate(14 20)"),ue(u,"class","a"),ue(u,"width","22"),ue(u,"height","2"),ue(u,"transform","translate(14 27)"),ue(s,"transform","translate(-14 -13)"),ue(r,"xmlns","http://www.w3.org/2000/svg"),ue(r,"width","22"),ue(r,"height","16"),ue(r,"viewBox","0 0 22 16")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(r,s),ie(s,l),ie(s,c),ie(s,u),h||(p=O(r,"click",n[58]),h=!0)},p:v,d(e){e&&se(r),h=!1,p()}}}function Ni(e){let n,t;return{c(){C((n=le("img")).src,t=ti)||ue(n,"src",t),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p:v,d(e){e&&se(n)}}}function Ui(e){let n,r;return{c(){C((n=le("img")).src,r=e[43])||ue(n,"src",r),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p(e,t){4096&t[1]&&!C(n.src,r=e[43])&&ue(n,"src",r)},d(e){e&&se(n)}}}function ji(n){let r,o,i,a,s,l,c,u;function h(e){return"gmcore"===e[7]?zi:Gi}let p=h(n),d=p(n);return{c(){r=le("div"),o=ce(),i=le("div"),a=le("div"),(s=le("div")).innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',l=ce(),d.c(),ue(r,"class","ShortCashierWindow"),ue(s,"class","ClosePopUpButtonShortCashier"),ue(a,"class","ShortCashierContainerMobile"),ue(i,"class","ShortCashierContainerWrapperMobile")},m(e,t){ae(e,r,t),ae(e,o,t),ae(e,i,t),ie(i,a),ie(a,s),ie(a,l),d.m(a,null),c||(u=[O(r,"click",n[61]),O(s,"click",n[62])],c=!0)},p(e,t){p===(p=h(e))&&d?d.p(e,t):(d.d(1),(d=p(e))&&(d.c(),d.m(a,null)))},d(e){e&&se(r),e&&se(o),e&&se(i),d.d(),c=!1,P(u)}}}function Gi(e){let n,r,o,i,a,s,l,c,u;return{c(){F(n=le("user-deposit-withdrawal"),"endpoint",e[2]),F(n,"type","deposit"),F(n,"channel","Mobile"),F(n,"language",e[3]),F(n,"is-short-cashier",e[13]),F(n,"product-type",e[14]),F(n,"user-id",e[1]),F(n,"session",e[0]),F(n,"success-url",r="https://"+window.location.hostname+"/"+e[3]+e[15]),F(n,"cancel-url",o="https://"+window.location.hostname+"/"+e[3]+e[17]),F(n,"fail-url",i="https://"+window.location.hostname+"/"+e[3]+e[16]),F(n,"sports-url",a="https://"+window.location.hostname+"/"+e[3]+e[18]),F(n,"casino-url",s="https://"+window.location.hostname+"/"+e[3]+e[19]),F(n,"contact-url",l="https://"+window.location.hostname+"/"+e[3]+e[20]),F(n,"home-url",c="https://"+window.location.hostname+"/"+e[3]+e[21]),F(n,"deposit-url",u="https://"+window.location.hostname+"/"+e[3]+e[22])},m(e,t){ae(e,n,t)},p(e,t){4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"language",e[3]),8192&t[0]&&F(n,"is-short-cashier",e[13]),16384&t[0]&&F(n,"product-type",e[14]),2&t[0]&&F(n,"user-id",e[1]),1&t[0]&&F(n,"session",e[0]),32776&t[0]&&r!==(r="https://"+window.location.hostname+"/"+e[3]+e[15])&&F(n,"success-url",r),131080&t[0]&&o!==(o="https://"+window.location.hostname+"/"+e[3]+e[17])&&F(n,"cancel-url",o),65544&t[0]&&i!==(i="https://"+window.location.hostname+"/"+e[3]+e[16])&&F(n,"fail-url",i),262152&t[0]&&a!==(a="https://"+window.location.hostname+"/"+e[3]+e[18])&&F(n,"sports-url",a),524296&t[0]&&s!==(s="https://"+window.location.hostname+"/"+e[3]+e[19])&&F(n,"casino-url",s),1048584&t[0]&&l!==(l="https://"+window.location.hostname+"/"+e[3]+e[20])&&F(n,"contact-url",l),2097160&t[0]&&c!==(c="https://"+window.location.hostname+"/"+e[3]+e[21])&&F(n,"home-url",c),4194312&t[0]&&u!==(u="https://"+window.location.hostname+"/"+e[3]+e[22])&&F(n,"deposit-url",u)},d(e){e&&se(n)}}}function zi(e){let n;return{c(){F(n=le("player-deposit"),"endpoint",e[2]),F(n,"session",e[0]),F(n,"playerid",e[1]),F(n,"lang",e[3]),F(n,"hasdefaultamount",e[11]),F(n,"playercurrency",e[12]),F(n,"shortcashierenabled",e[13]),F(n,"clientstyling",e[25]),F(n,"clientstylingurl",e[26])},m(e,t){ae(e,n,t)},p(e,t){4&t[0]&&F(n,"endpoint",e[2]),1&t[0]&&F(n,"session",e[0]),2&t[0]&&F(n,"playerid",e[1]),8&t[0]&&F(n,"lang",e[3]),2048&t[0]&&F(n,"hasdefaultamount",e[11]),4096&t[0]&&F(n,"playercurrency",e[12]),8192&t[0]&&F(n,"shortcashierenabled",e[13]),33554432&t[0]&&F(n,"clientstyling",e[25]),67108864&t[0]&&F(n,"clientstylingurl",e[26])},d(e){e&&se(n)}}}function Wi(e){let n,r,o,i;function a(e){return e[40]?hi:e[39]?ui:ci}let s=a(e),l=s(e);return{c(){n=le("script"),r=ce(),l.c(),o=ce(),i=le("casino-hamburger-menu"),this.c=v,ue(n,"type","module"),C(n.src,"https://unpkg.com/@everymatrix/user-deposit-withdrawal")||ue(n,"src","https://unpkg.com/@everymatrix/user-deposit-withdrawal"),F(i,"menuitemsurl",e[36]),F(i,"activecategory",e[5]),F(i,"lang",e[3]),F(i,"countryflaghamburger",e[10]),F(i,"customlocaleidentifier",e[6]),F(i,"languageslist",e[4]),F(i,"clientstyling",e[25]),F(i,"clientstylingurl",e[26])},m(e,t){ie(ni.head,n),ae(e,r,t),l.m(e,t),ae(e,o,t),ae(e,i,t)},p(e,t){s===(s=a(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(o.parentNode,o))),32&t[1]&&F(i,"menuitemsurl",e[36]),32&t[0]&&F(i,"activecategory",e[5]),8&t[0]&&F(i,"lang",e[3]),1024&t[0]&&F(i,"countryflaghamburger",e[10]),64&t[0]&&F(i,"customlocaleidentifier",e[6]),16&t[0]&&F(i,"languageslist",e[4]),33554432&t[0]&&F(i,"clientstyling",e[25]),67108864&t[0]&&F(i,"clientstylingurl",e[26])},i:v,o:v,d(e){se(n),e&&se(r),l.d(e),e&&se(o),e&&se(i)}}}let Vi="HeaderMenu";function Xi(n,e,r){let t;ye(n,Kr,e=>r(45,t=e));let O,k,o,{session:i=""}=e,{userid:R=""}=e,{endpoint:D=""}=e,{cmsendpoint:a=""}=e,{cmsenv:s="stage"}=e,{lang:l="en"}=e,{languageslist:c="en, ro"}=e,{activecategory:u=""}=e,{translationurl:h=""}=e,{customlocaleidentifier:p=""}=e,{gmversion:N=""}=e,{countryflagheader:U="false"}=e,{displaybalanceoption:j="All"}=e,{countryflaghamburger:G="false"}=e,{hasdefaultamount:z=""}=e,{playercurrency:W=""}=e,{shortcashierenabled:d=""}=e,{producttype:V=""}=e,{successurl:X=""}=e,{failurl:Z=""}=e,{cancelurl:Y=""}=e,{sportsurl:K=""}=e,{casinourl:J=""}=e,{contacturl:Q=""}=e,{homeurl:q=""}=e,{depositurl:ee=""}=e,{actionevent:te=""}=e,{userroles:f=""}=e,{showsubgroups:ne="false"}=e,{clientstyling:m=""}=e,{clientstylingurl:g=""}=e,{currencyseparator:re=""}=e,{currencydecimal:oe=""}=e,{currencyprecision:ie=""}=e;var ae,se;({withLocale:ae,translations:se}={withLocale:"en",translations:{}}),ge.subscribe(e=>{null==e&&(br.set(se),ge.set(ae))}),Object.keys(eo).forEach(e=>{qr(e,eo[e])});let y,b,le,v=[],w=[],x="",E=!0,C=!1,B=!1,ce=!1,M=window.navigator.userAgent,$=!1,T=[],H=!1,ue="",A=!1;const S=e=>{switch(e){case"login":window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"HeaderController"});break;case"register":window.postMessage({type:"OpenLoginRegisterModal",transition:"Register"},window.location.href),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"HeaderController"});break;case"lobby":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"myaccount":window.postMessage({type:"PlayerAccountMenuActive",isMobile:Jr(M)},window.location.href);break;case"deposit":"true"===d?(r(44,A=!0),window.postMessage({type:"DisableScroll"},window.location.href)):"false"===d&&window.postMessage({type:"GoToDeposit"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"HeaderController"});break;case"language":window.postMessage({type:"LanguageChanged",selectedLanguage:x},window.location.href)}},_=()=>{r(42,H=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},he=e=>{if(e.data)switch(e.data.type){case"UserSessionID":e.data.userid,e.data.session,r(40,$=!0);break;case"CloseHamburgerMenu":window.postMessage({type:"EnableScroll"},window.location.href),e.data.showhamburger&&r(42,H=!1);break;case"LogoutSuccessfull":r(40,$=!1);break;case"LanguageChanged":pe(),fe(b);break;case"OpenShortCashier":S("deposit");break;case"CloseShortCashier":I();break;case"RequestHeaderHeight":window.postMessage({type:"HeaderHeight",headerHeight:o.clientHeight},window.location.href)}},I=e=>{r(44,A=!1),window.postMessage({type:"EnableScroll"},window.location.href),null!=e&&e.stopPropagation()},pe=()=>{b=new URL(`${a}/${x.toLowerCase()}/menu`),r(36,y=new URL(`${a}/${x.toLowerCase()}/hamburger-menu`)),le=new URL(`${a}/${x.toLowerCase()}/op-options/style`);var e=Qr(M);b.searchParams.append("env",s),b.searchParams.append("language",x.toLowerCase()),b.searchParams.append("userRoles",f),e&&("PC"===e?(y.searchParams.append("device","dk"),b.searchParams.append("device","dk")):(y.searchParams.append("device","mtWeb"),b.searchParams.append("device","mtWeb"))),y.searchParams.append("env",s),y.searchParams.append("language",x.toLowerCase()),y.searchParams.append("userRoles",f)},de=(t,e)=>{let n=e.find(e=>-1<t.indexOf("/sport")?-1<e.path.indexOf(t):!!e.path.includes(t)||void 0);return(n=n||e.find(e=>-1<e.path.split("/").indexOf(t.split("/")[1])))?n.id:-1},fe=e=>(r(31,E=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{v=e.desktop.primary,r(34,w=e.desktop.secondary),r(31,E=!1),t(e)},e=>{r(31,E=!1),console.error(e),n(e)})})),L=e=>{window.postMessage({type:"NavigateTo",itemId:e.id,item:e,path:e.path,externalLink:e.externalLink||!1,target:(null==(e=e.attrs)?void 0:e.target)||null},window.location.href)},F=e=>{r(35,x=e),r(38,B=!1),S("language")},P=()=>{r(38,B=!B)};return ve(async()=>(window.addEventListener("message",he,!1),Jr(M)&&r(39,ce=!0),()=>{window.removeEventListener("message",he)})),n.$$set=e=>{"session"in e&&r(0,i=e.session),"userid"in e&&r(1,R=e.userid),"endpoint"in e&&r(2,D=e.endpoint),"cmsendpoint"in e&&r(54,a=e.cmsendpoint),"cmsenv"in e&&r(55,s=e.cmsenv),"lang"in e&&r(3,l=e.lang),"languageslist"in e&&r(4,c=e.languageslist),"activecategory"in e&&r(5,u=e.activecategory),"translationurl"in e&&r(56,h=e.translationurl),"customlocaleidentifier"in e&&r(6,p=e.customlocaleidentifier),"gmversion"in e&&r(7,N=e.gmversion),"countryflagheader"in e&&r(8,U=e.countryflagheader),"displaybalanceoption"in e&&r(9,j=e.displaybalanceoption),"countryflaghamburger"in e&&r(10,G=e.countryflaghamburger),"hasdefaultamount"in e&&r(11,z=e.hasdefaultamount),"playercurrency"in e&&r(12,W=e.playercurrency),"shortcashierenabled"in e&&r(13,d=e.shortcashierenabled),"producttype"in e&&r(14,V=e.producttype),"successurl"in e&&r(15,X=e.successurl),"failurl"in e&&r(16,Z=e.failurl),"cancelurl"in e&&r(17,Y=e.cancelurl),"sportsurl"in e&&r(18,K=e.sportsurl),"casinourl"in e&&r(19,J=e.casinourl),"contacturl"in e&&r(20,Q=e.contacturl),"homeurl"in e&&r(21,q=e.homeurl),"depositurl"in e&&r(22,ee=e.depositurl),"actionevent"in e&&r(23,te=e.actionevent),"userroles"in e&&r(57,f=e.userroles),"showsubgroups"in e&&r(24,ne=e.showsubgroups),"clientstyling"in e&&r(25,m=e.clientstyling),"clientstylingurl"in e&&r(26,g=e.clientstylingurl),"currencyseparator"in e&&r(27,re=e.currencyseparator),"currencydecimal"in e&&r(28,oe=e.currencydecimal),"currencyprecision"in e&&r(29,ie=e.currencyprecision)},n.$$.update=()=>{if(32&n.$$.dirty[0]|1&n.$$.dirty[1]&&u&&!E&&(r(32,O=de(u,v)),r(33,k=de(u,w))),1&n.$$.dirty[0]&&i&&r(40,$=!0),8&n.$$.dirty[0]&&l&&(t=l,ge.set(t)),24&n.$$.dirty[0]|75497472&n.$$.dirty[1]&&a&&l&&c&&f&&(r(41,T=c.replace(/ /g,"").split(",")),r(41,T=T.map(e=>e.toUpperCase())),r(35,x=l.toUpperCase()),pe(),e=le,r(37,C=!1),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{0<e.logoUrl.length&&("null"!=e.logoUrl||"false"!=e.logoUrl)?(r(43,ue=e.logoUrl),r(37,C=!0)):r(37,C=!1),t(e)},e=>{r(37,C=!1),console.error(e),n(e)})}),setTimeout(()=>{fe(b)})),33554432&n.$$.dirty[1]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qr(e,t[e])})}).catch(e=>{console.log(e)}),1107296256&n.$$.dirty[0]&&m&&o&&((t=document.createElement("style")).innerHTML=m,o.appendChild(t)),1140850688&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},[i,R,D,l,c,u,p,N,U,j,G,z,W,d,V,X,Z,Y,K,J,Q,q,ee,te,ne,m,g,re,oe,ie,o,E,O,k,w,x,y,C,B,ce,$,T,H,ue,A,t,S,_,I,()=>{window.postMessage({type:"SliderData",identity:Vi,data:v},window.location.href)},L,F,P,e=>"EN"==(e=p?p.includes(e.toLowerCase())?p.slice(-2):e:e)?"US":e.toUpperCase(),a,s,h,f,()=>_(),()=>S("lobby"),()=>S("deposit"),e=>I(e),e=>I(e),()=>S("myaccount"),function(e){me[e?"unshift":"push"](()=>{o=e,r(30,o)})},()=>S("lobby"),()=>S("deposit"),e=>I(e),e=>I(e),()=>S("myaccount"),function(){x=be(this),r(35,x),r(41,T)},()=>S("language"),()=>P(),e=>F(e),e=>L(e),function(e){me[e?"unshift":"push"](()=>{o=e,r(30,o)})},()=>_(),()=>S("lobby"),()=>S("login"),()=>S("register"),function(e){me[e?"unshift":"push"](()=>{o=e,r(30,o)})},()=>S("lobby"),()=>S("login"),()=>S("register"),function(){x=be(this),r(35,x),r(41,T)},()=>S("language"),()=>P(),e=>F(e),e=>L(e),function(e){me[e?"unshift":"push"](()=>{o=e,r(30,o)})}]}class Zi extends Me{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{font-family:inherit}:host{font-family:inherit}@keyframes ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}button{font-family:inherit}.LanguageDropdown{margin-right:16px;position:relative;display:inline-block}.ClosePopUpButtonShortCashier{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier svg{position:absolute;top:10px;right:10px}.ShortCashierWindow{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapper{position:relative;animation:ModalBounce 0.5s forwards;z-index:17;right:60%}.ShortCashierContainer{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;width:360px;top:16px;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainer:before{content:\"\";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;right:110%;z-index:17}.ShortCashierContainerMobile{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;width:80vw;top:14px;left:50%;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:\"\";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.SelectedOption,.OptionList{border:1px solid var(--emfe-w-header-color-primary);padding:8px;cursor:pointer;width:76px;border-radius:4px}.SelectedOption{display:flex;align-items:center}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;z-index:1;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518));max-height:150px;overflow-y:auto}.LanguageOption{display:flex;align-items:center;padding:4px}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption:hover{background-color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:2px}.HeaderWrapper{background:var(--emfe-w-header-color-menu-bg, var(--emfe-w-color-background-secondary, #050518))}.HeaderContainer{max-width:1300px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderMobileMainNav{display:flex;align-items:center}.HeaderBranding{width:140px;margin-right:15px;cursor:pointer}.HeaderBranding img{width:100%}@media only screen and (max-width: 360px){.HeaderBranding{margin-right:0}}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518));border-top:1px solid var(--emfe-w-color-gray-300, #58586B)}.HeaderItemsMenu{gap:8px;display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;align-items:center}.HeaderItemsMenu .Item{gap:2px;padding:0 12px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;font-weight:600;border:solid 1px var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));height:44px;text-align:center;line-height:44px;margin-right:10px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.ItemLanguage{height:44px;width:74px;text-align:center;line-height:44px;background:transparent;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));border:none;cursor:pointer;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ItemLanguage option{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF))}.ItemLanguage.NoFlag{background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23FFFFFF' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-header-color-menu-bg, var(--emfe-w-color-background-secondary, #050518));background-position:calc(100% - 0.75rem) center;width:90px;margin-right:6px}.ItemAccount{cursor:pointer}.ItemAccount svg{width:20px;height:20px}.HeaderItemsMenuSecondary{display:flex;flex-direction:row;align-content:flex-start;align-items:center;height:60px;list-style:none;text-transform:uppercase;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary .ItemSecondary{width:auto;height:100%;display:flex;justify-content:center;padding:0 15px;font-weight:600;transition-duration:0.15s}.HeaderItemsMenuSecondary .ItemSecondary button{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;border:none;background:none;font-size:14px;font-weight:600;text-transform:uppercase;cursor:pointer}.HeaderItemsMenuSecondary .ItemSecondary button:hover{color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HeaderItemsMenuSecondary .ItemSecondary button:focus{color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HeaderItemsMenuSecondary .ItemSecondary button:visited{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF))}.HeaderItemsMenuSecondary .ItemSecondary button:focus-visible{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));outline:none}.HeaderItemsMenuSecondary .ItemSecondary.active{background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HeaderMobileWrapper .HeaderContainer{height:55px;padding:0 15px;gap:10px}@media only screen and (max-width: 360px){.HeaderMobileWrapper .HeaderContainer{padding:0 5px}}.HeaderMobileWrapper .HeaderBranding{width:110px;display:flex;align-items:center}.HeaderMobileWrapper .HeaderItemsMenu .Item{padding:0 10px;display:block;width:unset}.HeaderMobileWrapper .HeaderItemsMenu .ItemAccount{padding:0}.HeaderMobileWrapper .ItemRegister,.HeaderMobileWrapper .ItemDeposit,.HeaderMobileWrapper .ItemLogin{height:30px;line-height:30px;font-size:12px}.HeaderMobileWrapper .ItemLogin{margin-right:10px}",this.shadowRoot.appendChild(t),Be(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Xi,Wi,T,{session:0,userid:1,endpoint:2,cmsendpoint:54,cmsenv:55,lang:3,languageslist:4,activecategory:5,translationurl:56,customlocaleidentifier:6,gmversion:7,countryflagheader:8,displaybalanceoption:9,countryflaghamburger:10,hasdefaultamount:11,playercurrency:12,shortcashierenabled:13,producttype:14,successurl:15,failurl:16,cancelurl:17,sportsurl:18,casinourl:19,contacturl:20,homeurl:21,depositurl:22,actionevent:23,userroles:57,showsubgroups:24,clientstyling:25,clientstylingurl:26,currencyseparator:27,currencydecimal:28,currencyprecision:29},null,[-1,-1,-1,-1]),e&&(e.target&&ae(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["session","userid","endpoint","cmsendpoint","cmsenv","lang","languageslist","activecategory","translationurl","customlocaleidentifier","gmversion","countryflagheader","displaybalanceoption","countryflaghamburger","hasdefaultamount","playercurrency","shortcashierenabled","producttype","successurl","failurl","cancelurl","sportsurl","casinourl","contacturl","homeurl","depositurl","actionevent","userroles","showsubgroups","clientstyling","clientstylingurl","currencyseparator","currencydecimal","currencyprecision"]}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),p()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),p()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),p()}get cmsendpoint(){return this.$$.ctx[54]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),p()}get cmsenv(){return this.$$.ctx[55]}set cmsenv(e){this.$$set({cmsenv:e}),p()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),p()}get languageslist(){return this.$$.ctx[4]}set languageslist(e){this.$$set({languageslist:e}),p()}get activecategory(){return this.$$.ctx[5]}set activecategory(e){this.$$set({activecategory:e}),p()}get translationurl(){return this.$$.ctx[56]}set translationurl(e){this.$$set({translationurl:e}),p()}get customlocaleidentifier(){return this.$$.ctx[6]}set customlocaleidentifier(e){this.$$set({customlocaleidentifier:e}),p()}get gmversion(){return this.$$.ctx[7]}set gmversion(e){this.$$set({gmversion:e}),p()}get countryflagheader(){return this.$$.ctx[8]}set countryflagheader(e){this.$$set({countryflagheader:e}),p()}get displaybalanceoption(){return this.$$.ctx[9]}set displaybalanceoption(e){this.$$set({displaybalanceoption:e}),p()}get countryflaghamburger(){return this.$$.ctx[10]}set countryflaghamburger(e){this.$$set({countryflaghamburger:e}),p()}get hasdefaultamount(){return this.$$.ctx[11]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),p()}get playercurrency(){return this.$$.ctx[12]}set playercurrency(e){this.$$set({playercurrency:e}),p()}get shortcashierenabled(){return this.$$.ctx[13]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),p()}get producttype(){return this.$$.ctx[14]}set producttype(e){this.$$set({producttype:e}),p()}get successurl(){return this.$$.ctx[15]}set successurl(e){this.$$set({successurl:e}),p()}get failurl(){return this.$$.ctx[16]}set failurl(e){this.$$set({failurl:e}),p()}get cancelurl(){return this.$$.ctx[17]}set cancelurl(e){this.$$set({cancelurl:e}),p()}get sportsurl(){return this.$$.ctx[18]}set sportsurl(e){this.$$set({sportsurl:e}),p()}get casinourl(){return this.$$.ctx[19]}set casinourl(e){this.$$set({casinourl:e}),p()}get contacturl(){return this.$$.ctx[20]}set contacturl(e){this.$$set({contacturl:e}),p()}get homeurl(){return this.$$.ctx[21]}set homeurl(e){this.$$set({homeurl:e}),p()}get depositurl(){return this.$$.ctx[22]}set depositurl(e){this.$$set({depositurl:e}),p()}get actionevent(){return this.$$.ctx[23]}set actionevent(e){this.$$set({actionevent:e}),p()}get userroles(){return this.$$.ctx[57]}set userroles(e){this.$$set({userroles:e}),p()}get showsubgroups(){return this.$$.ctx[24]}set showsubgroups(e){this.$$set({showsubgroups:e}),p()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get currencyseparator(){return this.$$.ctx[27]}set currencyseparator(e){this.$$set({currencyseparator:e}),p()}get currencydecimal(){return this.$$.ctx[28]}set currencydecimal(e){this.$$set({currencydecimal:e}),p()}get currencyprecision(){return this.$$.ctx[29]}set currencyprecision(e){this.$$set({currencyprecision:e}),p()}}return customElements.get("casino-header-controller")||customElements.define("casino-header-controller",Zi),Zi});
|
3
|
+
}`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(h)}_`+s,p=N(e),{stylesheet:d,rules:f}=z.get(p)||(p=p,u={stylesheet:(u=e,f=le("style"),u=N(u),d=f,ie(u.head||u,d),d.sheet,f.sheet),rules:{}},z.set(p,u),u),p=(f[s]||(f[s]=!0,d.insertRule(`@keyframes ${s} `+h,d.cssRules.length)),e.style.animation||"");return e.style.animation=(p?p+", ":"")+s+` ${r}ms linear ${o}ms 1 both`,V+=1,s}function Z(e){W=e}function ve(e){!function(){if(W)return W;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const Y=[],me=[];let K=[];const J=[],Q=Promise.resolve();let q=!1;function B(e){K.push(e)}const ee=new Set;let te,ne=0;function p(){if(0===ne){const r=W;do{try{for(;ne<Y.length;){const r=Y[ne];ne++,Z(r),e=t=void 0;var e,t=r.$$;null!==t.fragment&&(t.update(),P(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(B))}}catch(r){throw Y.length=0,ne=0,r}for(Z(null),Y.length=0,ne=0;me.length;)me.pop()();for(let e=0;e<K.length;e+=1){var n=K[e];ee.has(n)||(ee.add(n),n())}}while(K.length=0,Y.length);for(;J.length;)J.pop()();q=!1,ee.clear(),Z(r)}}function re(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 oe=new Set;let pe;function de(e,t){e&&e.i&&(oe.delete(e),e.i(t))}function fe(e,t,n,r){e&&e.o?oe.has(e)||(oe.add(e),pe.c.push(()=>{oe.delete(e),r&&(n&&e.d(1),r())}),e.o(t)):r&&r()}const we={duration:0};function xe(l,e,t,n){const r={direction:"both"};let c=e(l,t,r),u=n?0:1,h=null,p=null,d=null;function f(){var e,t,n,r;d&&(e=l,t=d,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(", "),V-=n)||k(()=>{V||(z.forEach(e=>{e=e.stylesheet.ownerNode;e&&se(e)}),z.clear())}))}function m(e,t){var n=e.b-u;return t*=Math.abs(n),{a:u,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function o(e){const{delay:t=0,duration:n=300,easing:r=x,tick:o=v,css:i}=c||we,a={start:I()+t,b:e};if(e||((a.group=pe).r+=1),h||p)p=a;else{i&&(f(),d=X(l,u,e,n,t,r,i)),e&&o(0,1),h=m(a,n),B(()=>re(l,e,"start"));{var s=e=>{return p&&e>p.start&&(h=m(p,n),p=null,re(l,h.b,"start"),i)&&(f(),d=X(l,u,h.b,h.duration,0,r,c.css)),h&&(e>=h.end?(o(u=h.b,1-u),re(l,h.b,"end"),p||(h.b?f():--h.group.r||P(h.group.c)),h=null):e>=h.start&&(e=e-h.start,u=h.a+h.d*r(e/h.duration),o(u,1-u))),!(!h&&!p)};let t;0===R.size&&k(D),new Promise(e=>{R.add(t={c:s,f:e})})}}}return{run(e){$(c)?(te||(te=Promise.resolve()).then(()=>{te=null}),te.then(()=>{c=c(r),o(e)})):o(e)},end(){f(),h=p=null}}}function Ee(e,t){e.d(1),t.delete(e.key)}function Ce(t,n,r,o,i,a,s,l,e,c,u,h){let p=t.length,d=a.length,f=p;for(var m={};f--;)m[t[f].key]=f;var g=[],y=new Map,b=new Map,v=[];for(f=d;f--;){const t=h(i,a,f),P=r(t);let e=s.get(P);e?o&&v.push(()=>e.p(t,n)):(e=c(P,t)).c(),y.set(P,g[f]=e),P in m&&b.set(P,Math.abs(f-m[P]))}var w=new Set,x=new Set;function E(e){de(e,1),e.m(l,u),s.set(e.key,e),u=e.first,d--}for(;p&&d;){const n=g[d-1],r=t[p-1],o=n.key,P=r.key;n===r?(u=n.first,p--,d--):y.has(P)?!s.has(o)||w.has(o)?E(n):x.has(P)?p--:b.get(o)>b.get(P)?(x.add(o),E(n)):(w.add(P),p--):(e(r,s),p--)}for(;p--;){const n=t[p];y.has(n.key)||e(n,s)}for(;d;)E(g[d-1]);return P(v),g}function Be(r,e,t,n,o,i,a,s=[-1]){var l=W;Z(r);const c=r.$$={fragment:null,ctx:[],props:i,update:v,not_equal:o,bound:M(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:M(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u)&&(n=e,-1===(e=r).$$.dirty[0]&&(Y.push(e),q||(q=!0,Q.then(p)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),u=!0,P(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(se)}else c.fragment&&c.fragment.c();e.intro&&de(r.$$.fragment);var h=r,s=e.target,a=e.anchor,t=e.customElement,{fragment:n,after_update:i}=h.$$;n&&n.m(s,a),t||B(()=>{var e=h.$$.on_mount.map(E).filter($);h.$$.on_destroy?h.$$.on_destroy.push(...e):P(e),h.$$.on_mount=[]}),i.forEach(B),p()}Z(l)}let Me;"function"==typeof HTMLElement&&(Me=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(E).filter($);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){P(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const r=[],o=[];K.forEach(e=>(-1===n.indexOf(e)?r:o).push(e)),o.forEach(e=>e()),K=r}P(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=v}$on(e,t){if(!$(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 $e,Te,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},He="URLSearchParams"in l,Ae="Symbol"in l&&"iterator"in Symbol,Se="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),_e="FormData"in l,Ie="ArrayBuffer"in l;function Le(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 Fe(e){return e="string"!=typeof e?String(e):e}function Pe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ae&&(e[Symbol.iterator]=function(){return e}),e}function u(t){this.map={},t instanceof u?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Oe(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ke(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Re(e){var t=new FileReader,n=ke(t);return t.readAsArrayBuffer(e),n}function De(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Ne(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Se&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:_e&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:He&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ie&&Se&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=De(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ie&&(ArrayBuffer.prototype.isPrototypeOf(e)||Te(e))?this._bodyArrayBuffer=De(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):He&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Se&&(this.blob=function(){var e=Oe(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return Oe(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(Se)return this.blob().then(Re);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r=Oe(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=ke(e),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?n[1]:"utf-8",e.readAsText(r,n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},_e&&(this.formData=function(){return this.text().then(Ge)}),this.json=function(){return this.text().then(JSON.parse)},this}Ie&&($e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Te=ArrayBuffer.isView||function(e){return e&&-1<$e.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=Le(e),t=Fe(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},u.prototype.delete=function(e){delete this.map[Le(e)]},u.prototype.get=function(e){return e=Le(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(Le(e))},u.prototype.set=function(e,t){this.map[Le(e)]=Fe(t)},u.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},u.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Pe(n)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Pe(t)},u.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Pe(n)},Ae&&(u.prototype[Symbol.iterator]=u.prototype.entries);var Ue=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function je(e,t){if(!(this instanceof je))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 je){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new u(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Ue.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ge(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 h(e,t){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}je.prototype.clone=function(){return new je(this,{body:this._bodyInit})},Ne.call(je.prototype),Ne.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var ze=[301,302,303,307,308],We=(h.redirect=function(e,t){if(-1===ze.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},l.DOMException);try{new We}catch(v){(We=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),We.prototype.constructor=We}function Ve(r,s){return new Promise(function(o,e){var i=new je(r,s);if(i.signal&&i.signal.aborted)return e(new We("Aborted","AbortError"));var n,a=new XMLHttpRequest;function t(){a.abort()}a.onload=function(){var e,r,t={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",r=new u,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{r.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),r)},n=(i.url.startsWith("file://")&&(a.status<200||599<a.status)?t.status=200:t.status=a.status,t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){o(new h(n,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){e(new We("Aborted","AbortError"))},0)},a.open(i.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&(Se?a.responseType="blob":Ie&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof u||l.Headers&&s.headers instanceof l.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(Le(e)),a.setRequestHeader(e,Fe(s.headers[e]))}),i.headers.forEach(function(e,t){-1===n.indexOf(t)&&a.setRequestHeader(t,e)})):i.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",t),a.onreadystatechange=function(){4===a.readyState&&i.signal.removeEventListener("abort",t)}),a.send(void 0===i._bodyInit?null:i._bodyInit)})}Ve.polyfill=!0,l.fetch||(l.fetch=Ve,l.Headers=u,l.Request=je,l.Response=h);var Xe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ze(e,t,n){return e(n={path:t,exports:{},require:function(e,t){throw null==t&&n.path,new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}},n.exports),n.exports}self.fetch.bind(self);var Ye=function(e,t){return(Ye=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 Ke(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}Ye(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 Qe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function qe(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function d(e){return"function"==typeof e}function et(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 tt=et(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 nt(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}n.prototype.unsubscribe=function(){var e,t,n,r,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=Je(i),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(d(i))try{i()}catch(e){o=e instanceof tt?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 u=c.value;try{at(u)}catch(e){o=null!=o?o:[],e instanceof tt?o=qe(qe([],Qe(o)),Qe(e.errors)):o.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(o)throw new tt(o)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)at(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},n.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},n.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},n.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&nt(t,e)},n.prototype.remove=function(e){var t=this._finalizers;t&&nt(t,e),e instanceof n&&e._removeParent(this)},n.EMPTY=((o=new n).closed=!0,o);var rt=n,ot=rt.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function it(e){return e instanceof rt||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function at(e){d(e)?e():e.unsubscribe()}var st=void 0,lt=!1,ct=!1,ut={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=ut.delegate;return null!=o&&o.setTimeout?o.setTimeout.apply(o,qe([e,t],Qe(n))):setTimeout.apply(void 0,qe([e,t],Qe(n)))},clearTimeout:function(e){var t=ut.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ht(){}var pt=null;function dt(e){if(lt){var t=!pt;if(t&&(pt={errorThrown:!1,error:null}),e(),t){var t=pt,n=t.errorThrown,t=t.error;if(pt=null,n)throw t}}else e()}Ke(r,ft=rt),r.create=function(e,t,n){return new wt(e,t,n)},r.prototype.next=function(e){this.isStopped||this._next(e)},r.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ft.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ft,mt=r,gt=Function.prototype.bind;function r(e){var t=ft.call(this)||this;return t.isStopped=!1,e?it(t.destination=e)&&e.add(t):t.destination=Bt,t}function yt(e,t){return gt.call(e,t)}Et.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ct(e)}},Et.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ct(e)}else Ct(e)},Et.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ct(e)}};var bt,vt=Et,wt=(Ke(xt,bt=mt),xt);function xt(e,t,n){var r=bt.call(this)||this,n=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&ct?((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 Et(e){this.partialObserver=e}function Ct(e){var t=e;ut.setTimeout(function(){throw t})}var Bt={closed:!0,next:ht,error:function(e){throw e},complete:ht},o="function"==typeof Symbol&&Symbol.observable||"@@observable";i.prototype.lift=function(e){var t=new i;return t.source=this,t.operator=e,t},i.prototype.subscribe=function(e,t,n){var r,o=this,i=(r=e)&&r instanceof mt||r&&d(r.next)&&d(r.error)&&d(r.complete)&&it(r)?e:new wt(e,t,n);return dt(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(r,e){var o=this;return new(e=$t(e))(function(e,t){var n=new wt({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});o.subscribe(n)})},i.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},i.prototype[o]=function(){return this},i.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},i.prototype.toPromise=function(e){var r=this;return new(e=$t(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},i.create=function(e){return new i(e)};var Mt=i;function i(e){e&&(this._subscribe=e)}function $t(e){return null!=(e=null!=e?e:st)?e:Promise}var Tt,Ht,At,St=et(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(Ke(a,At=Mt),a.prototype.lift=function(e){var t=new _t(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new St},a.prototype.next=function(o){var i=this;dt(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(o)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var n=this;dt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},a.prototype.complete=function(){var t=this;dt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},a.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(a.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),a.prototype._trySubscribe=function(e){return this._throwIfClosed(),At.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,o=this.observers;return n||r?ot:(this.currentObservers=null,o.push(e),new rt(function(){t.currentObservers=null,nt(o,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},a.prototype.asObservable=function(){var e=new Mt;return e.source=this,e},a.create=function(e,t){return new _t(e,t)},a),_t=(Ke(Pt,Ht=o),Pt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Pt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Pt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Pt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:ot},Pt),It={now:function(){return(It.delegate||Date).now()},delegate:void 0},Lt=(Ke(Ft,Tt=o),Ft.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),o)||r.push(i.now()+t),this._trimBuffer(),Tt.prototype.next.call(this,e)},Ft.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),o=0;o<r.length&&!e.closed;o+=n?1:2)e.next(r[o]);return this._checkFinalizedStatuses(e),t},Ft.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var i=t.now(),a=0,s=1;s<n.length&&n[s]<=i;s+=2)a=s;a&&n.splice(0,a+1)}},Ft);function Ft(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=It);var r=Tt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function Pt(e,t){var n=Ht.call(this)||this;return n.destination=e,n.source=t,n}function a(){var e=At.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ot=[],kt={};const Rt=[];function Dt(r,o=v){let i;const a=new Set;function s(e){if(T(r,e)&&(r=e,i)){const e=!Rt.length;for(const e of a)e[1](),Rt.push(e,r);if(e){for(let e=0;e<Rt.length;e+=2)Rt[e][0](Rt[e+1]);Rt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=v){const n=[e,t];return a.add(n),1===a.size&&(i=o(s)||v),e(r),()=>{a.delete(n),0===a.size&&i&&(i(),i=null)}}}}function Nt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Dt(t,t=>{let n=!1;const r=[];let o=0,i=v;const a=()=>{var e;o||(i(),e=s(l?r[0]:r,t),u?t(e):i=$(e)?e:v)},e=c.map((e,t)=>A(e,e=>{r[t]=e,o&=~(1<<t),n&&a()},()=>{o|=1<<t}));return n=!0,a(),function(){P(e),i(),n=!1}}).subscribe}}function Ut(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===jt);var t}var jt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Gt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Zt(Array.isArray(e)?[]:{},e,t):e}function zt(e,t,n){return e.concat(t).map(function(e){return Gt(e,n)})}function Wt(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 Xt(r,o,i){var a={};return i.isMergeableObject(r)&&Wt(r).forEach(function(e){a[e]=Gt(r[e],i)}),Wt(o).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(o[e])?a[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Zt)(r[e],o[e],i):a[e]=Gt(o[e],i))}),a}function Zt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||zt,n.isMergeableObject=n.isMergeableObject||Ut,n.cloneUnlessOtherwiseSpecified=Gt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Xt(e,t,n):Gt(t,n)}Zt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Zt(e,t,n)},{});throw new Error("first argument should be an array")};var Yt=Zt,Kt=function(e,t){return(Kt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function 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}Kt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m,y,Qt,g=function(){return(g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function qt(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function en(e){return e.type===y.literal}function tn(e){return e.type===y.number}function nn(e){return e.type===y.date}function rn(e){return e.type===y.time}function on(e){return e.type===y.select}function an(e){return e.type===y.plural}function sn(e){return e.type===y.tag}function ln(e){return e&&"object"==typeof e&&e.type===Qt.number}function cn(e){return e&&"object"==typeof e&&e.type===Qt.dateTime}(o=m=m||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=y=y||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=Qt=Qt||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \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,pn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,dn=/^(@+)?(\+|#+)?[rs]?$/g,fn=/(\*)(0+)|(#+)(0+)|(0+)/g,mn=/^(0+)$/;function gn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(dn,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 yn(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 bn(e){return yn(e)||{}}function vn(e){for(var a={},t=0,n=e;t<n.length;t++){var r,o=n[t];switch(o.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=o.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=g(g(g({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return g(g({},e),bn(t))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return g(g({},e),bn(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(fn,function(e,t,n,r,o,i){if(t)a.minimumIntegerDigits=n.length;else{if(r&&o)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(mn.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(pn.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(pn,function(e,t,n,r,o,i){return"*"===n?a.minimumFractionDigits=t.length:r&&"#"===r[0]?a.maximumFractionDigits=r.length:o&&i?(a.minimumFractionDigits=o.length,a.maximumFractionDigits=o.length+i.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var i=o.options[0];"w"===i?a=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):i&&(a=g(g({},a),gn(i)))}else dn.test(o.stem)?a=g(g({},a),gn(o.stem)):((i=yn(o.stem))&&(a=g(g({},a),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)),!mn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=g(g({},a),r)))}return a}var wn={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 xn=new RegExp("^".concat(o.source,"*")),En=new RegExp("".concat(o.source,"*$"));function b(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,Cn=!!String.fromCodePoint,Bn=!!Object.fromEntries,Mn=!!String.prototype.codePointAt,$n=!!String.prototype.trimStart,Tn=!!String.prototype.trimEnd,Hn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},An=!0;try{An="a"===(null==(Kn=Rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Kn[0])}catch(v){An=!1}var Sn,_n,In=o?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Ln=Cn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,i=0;i<o;){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},Fn=Bn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],o=o[1];t[i]=o}return t},Pn=Mn?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},On=$n?function(e){return e.trimStart()}:function(e){return e.replace(xn,"")},kn=Tn?function(e){return e.trimEnd()}:function(e){return e.replace(En,"")};function Rn(e,t){return new RegExp(e,t)}_n=An?(Sn=Rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Sn.lastIndex=t,null!=(t=Sn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var o=Pn(e,t);if(void 0===o||Un(o)||33<=(n=o)&&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(o),t+=65536<=o?2:1}return Ln.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 o,i=this.char();if(123===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.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(m.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Nn(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o}else if((o=this.parseLiteral(e,t)).err)return o;r.push(o.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(),o=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(o,"/>"),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()||!Nn(this.char())?this.error(m.INVALID_TAG,b(e,this.clonePosition())):(n=this.clonePosition(),o!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,b(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:o,children:t,location:b(r,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,b(e,this.clonePosition())))):this.error(m.UNCLOSED_TAG,b(r,this.clonePosition()))):this.error(m.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 o=this.tryParseQuote(t);if(o)r+=o;else{o=this.tryParseUnquoted(e,t);if(o)r+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}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&&(Nn(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 Ln.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(),Ln(n))},s.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,b(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(m.MALFORMED_ARGUMENT,b(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.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(m.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(m.MALFORMED_ARGUMENT,b(n,this.clonePosition()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=_n(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 o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,b(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=kn(h.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(r)).err?c:(d=b(r,this.clonePosition()),l&&In(null==l?void 0:l.style,"::",0)?(f=On(l.style.slice(2)),"number"===a?(h=this.parseNumberSkeletonFromString(f,l.styleLocation)).err?h:{val:{type:y.number,value:n,location:d,style:h.val},err:null}:0===f.length?this.error(m.EXPECT_DATE_TIME_SKELETON,d):(u=f,this.locale&&(u=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var a=1+(1&i),s=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),(wn[t||""]||wn[n||""]||wn["".concat(n,"-001")]||wn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<a--;)n=l+n}else n+="J"===o?"H":o}return n}(f,this.locale)),p={type:Qt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},u.replace(un,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.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":o.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":o.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":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.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":o.minute=["numeric","2-digit"][t-1];break;case"s":o.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":o.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""}),o):{}},{val:{type:"date"===a?y.date:y.time,value:n,location:d,style:p},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:n,location:d,style:null!=(f=null==l?void 0:l.style)?f:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,b(u,g({},u)));this.bumpSpace();var h,p=this.parseIdentifierIfPossible(),d=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),p=this.parseIdentifierIfPossible(),d=h.val}var f,l=this.tryParsePluralOrSelectOptions(e,a,t,p);return l.err?l:(c=this.tryParseArgumentClose(r)).err?c:(f=b(r,this.clonePosition()),"select"===a?{val:{type:y.select,value:n,options:Fn(l.val),location:f},err:null}:{val:{type:y.plural,value:n,options:Fn(l.val),offset:d,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null});default:return this.error(m.INVALID_ARGUMENT_TYPE,b(i,s))}},s.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.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(m.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 o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),a=0,s=o;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:Qt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?vn(n):{}},err:null}},s.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o=!1,i=[],a=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=b(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;i.push([s,{value:c.val,location:b(u,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===i.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(m.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 o=!1,i=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}r=b(r,this.clonePosition());return o?Hn(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=Pn(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 Dn=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 Nn(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 jn(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Dn(e,t).parse();if(e.err)throw(n=SyntaxError(m[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,on(e)||an(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else tn(e)&&ln(e.style)||(nn(e)||rn(e))&&cn(e.style)?delete e.style.location:sn(e)&&n(e.children)})}(e.val),e.val}function Gn(e,t){var n=t&&t.cache?t.cache:Jn,r=t&&t.serializer?t.serializer:Xn;return(t&&t.strategy?t.strategy:function(e,t){return Vn(e,this,1===e.length?zn:Wn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function zn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),o=t.get(n);return void 0===o&&(o=e.call(this,r),t.set(n,o)),o}function Wn(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),o=t.get(n);return void 0===o&&(o=e.apply(this,r),t.set(n,o)),o}function Vn(e,t,n,r,o){return n.bind(t,e,r,o)}var Xn=function(){return JSON.stringify(arguments)};function Zn(){this.cache=Object.create(null)}Zn.prototype.get=function(e){return this.cache[e]},Zn.prototype.set=function(e,t){this.cache[e]=t};var Yn,Kn,Jn={create:function(){return new Zn}},Qn={variadic:function(e,t){return Vn(e,this,Wn,t.cache.create(),t.serializer)},monadic:function(e,t){return Vn(e,this,zn,t.cache.create(),t.serializer)}};(Kn=Yn=Yn||{}).MISSING_VALUE="MISSING_VALUE",Kn.INVALID_VALUE="INVALID_VALUE",Kn.MISSING_INTL_API="MISSING_INTL_API";Jt(ur,nr=Error),ur.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var w,qn,er,tr,nr,rr=ur,or=(Jt(cr,tr=rr),cr),ir=(Jt(lr,er=rr),lr),ar=(Jt(sr,qn=rr),sr);function sr(e,t){return qn.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Yn.MISSING_VALUE,t)||this}function lr(e,t,n){return er.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Yn.INVALID_VALUE,n)||this}function cr(e,t,n,r){return tr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Yn.INVALID_VALUE,r)||this}function ur(e,t,n){e=nr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function hr(e,t,n,r,o,i,a){if(1===e.length&&en(e[0]))return[{type:w.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(en(u))s.push({type:w.literal,value:u.value});else if(u.type===y.pound)"number"==typeof i&&s.push({type:w.literal,value:n.getNumberFormat(t).format(i)});else{var h=u.value;if(!(o&&h in o))throw new ar(h,a);h=o[h];if(u.type===y.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?w.literal:w.object,value:h});else if(nn(u)){var p="string"==typeof u.style?r.date[u.style]:cn(u.style)?u.style.parsedOptions:void 0;s.push({type:w.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(rn(u))p="string"==typeof u.style?r.time[u.style]:cn(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:w.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(tn(u))(p="string"==typeof u.style?r.number[u.style]:ln(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:w.literal,value:n.getNumberFormat(t,p).format(h)});else{if(sn(u)){var d=u.children,f=u.value,m=o[f];if("function"!=typeof m)throw new ir(f,"function",a);f=m(hr(d,t,n,r,o,i).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),s.push.apply(s,f.map(function(e){return{type:"string"==typeof e?w.literal:w.object,value:e}}))}if(on(u)){if(!(g=u.options[h]||u.options.other))throw new or(u.value,h,Object.keys(u.options),a);s.push.apply(s,hr(g.value,t,n,r,o))}else if(an(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new rr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Yn.MISSING_INTL_API,a);var m=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new or(u.value,h,Object.keys(u.options),a);s.push.apply(s,hr(g.value,t,n,r,o,h-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===w.literal&&t.type===w.literal?n.value+=t.value:e.push(t),e},[])}function pr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(o=w=w||{})[o.literal=0]="literal",o[o.object=1]="object";Object.defineProperty(f,"defaultLocale",{get:function(){return f.memoizedDefaultLocale||(f.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),f.memoizedDefaultLocale},enumerable:!1,configurable:!0}),f.memoizedDefaultLocale=null,f.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])},f.__parse=jn,f.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 dr=f;function f(e,t,n,r){var o,i,a=this;if(void 0===t&&(t=f.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===w.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 hr(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=f.resolveLocale(t),"string"==typeof e){if(this.message=e,!f.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=f.__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=(o=f.formats,(i=n)?Object.keys(o).reduce(function(e,t){var n,r;return e[t]=(n=o[t],(r=i[t])?g(g(g({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=g(g({},n[t]),r[t]||{}),e},{})):n),e},g({},o)):o),this.formatters=r&&r.formatters||{getNumberFormat:Gn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,qt([void 0],t,!1)))},{cache:pr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Qn.variadic}),getDateTimeFormat:Gn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,qt([void 0],t,!1)))},{cache:pr(t.dateTime),strategy:Qn.variadic}),getPluralRules:Gn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,qt([void 0],t,!1)))},{cache:pr(t.pluralRules),strategy:Qn.variadic})}}const fr={},mr=(e,t,n)=>n&&(t in fr||(fr[t]={}),e in fr[t]||(fr[t][e]=n),n),gr=(t,n)=>{if(null!=n){if(n in fr&&t in fr[n])return fr[n][t];var r=Or(n);for(let e=0;e<r.length;e++){var o=function(e,t){if(!vr(e))return null;e=function(e){return yr[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(o)return mr(t,n,o)}}};let yr;const br=Dt({});function vr(e){return e in yr}function wr(t,...n){delete fr[t],br.update(e=>(e[t]=Yt.all([e[t]||{},...n]),e))}Nt([br],([e])=>Object.keys(e)),br.subscribe(e=>yr=e);const xr={};function Er(e){return xr[e]}function Cr(e){return null!=e&&Or(e).some(e=>{return null==(e=Er(e))?void 0:e.size})}function Br(r,e){return Promise.all(e.map(e=>{return t=r,n=e,xr[t].delete(n),0===xr[t].size&&delete xr[t],e().then(e=>e.default||e);var t,n})).then(e=>wr(r,...e))}const Mr={};const $r={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 Tr=Dt(!1);var Hr=Object.defineProperty,Cn=Object.defineProperties,Bn=Object.getOwnPropertyDescriptors,Ar=Object.getOwnPropertySymbols,Sr=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,Ir=(e,t,n)=>t in e?Hr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Lr;const Fr=Dt(null);function Pr(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Or(e,t=$r.fallbackLocale){e=Pr(e);return t?[...new Set([...e,...Pr(t)])]:e}function kr(){return null!=Lr?Lr:void 0}Fr.subscribe(e=>{Lr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ge=Cn(((e,t)=>{for(var n in t=t||{})Sr.call(t,n)&&Ir(e,n,t[n]);if(Ar)for(var n of Ar(t))_r.call(t,n)&&Ir(e,n,t[n]);return e})({},Fr),Bn({set:t=>{if(t&&function(e){if(null!=e){var t=Or(e);for(let e=0;e<t.length;e++){var n=t[e];if(vr(n))return n}}}(t)&&Cr(t)){var n=$r["loadingDelay"];let e;return"undefined"!=typeof window&&null!=kr()&&n?e=window.setTimeout(()=>Tr.set(!0),n):Tr.set(!0),function e(t){var n;return Cr(t)?(n=Or(t).map(e=>{var t=Er(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Mr[t]=Promise.all(n.map(([e,t])=>Br(e,t))).then(()=>{if(Cr(t))return e(t);delete Mr[t]}),Mr[t]):t in Mr?Mr[t]:Promise.resolve()}(t).then(()=>{Fr.set(t)}).finally(()=>{clearTimeout(e),Tr.set(!1)})}return Fr.set(t)}}));var Mn=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Rr=Object.defineProperty,Dr=Object.getOwnPropertySymbols,Nr=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable,jr=(e,t,n)=>t in e?Rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gr=(e,t)=>{for(var n in t=t||{})Nr.call(t,n)&&jr(e,n,t[n]);if(Dr)for(var n of Dr(t))Ur.call(t,n)&&jr(e,n,t[n]);return e},zr=(e,t)=>{var n={};for(r in e)Nr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Dr)for(var r of Dr(e))t.indexOf(r)<0&&Ur.call(e,r)&&(n[r]=e[r]);return n};const Wr=(e,t)=>{var n=$r["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Vr=Mn(e=>{var{locale:t,format:n}=e,e=zr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Wr("number",n)),new Intl.NumberFormat(t,e)}),Xr=Mn(e=>{var{locale:t,format:n}=e,e=zr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Wr("date",n):0===Object.keys(e).length&&(e=Wr("date","short")),new Intl.DateTimeFormat(t,e)}),Zr=Mn(e=>{var{locale:t,format:n}=e,e=zr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Wr("time",n):0===Object.keys(e).length&&(e=Wr("time","short")),new Intl.DateTimeFormat(t,e)}),Yr=Mn((e,t=kr())=>new dr(e,t,$r.formats,{ignoreTag:$r.ignoreTag})),Kr=Nt([ge,br],()=>(e,t={})=>{var n,r;let o=t;"object"==typeof e&&(e=(o=e).id);var{values:i,locale:a=kr(),default:s}=o;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=gr(e,a);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=$r).handleMissingMessage)?void 0:n.call(r,{locale:a,id:e,defaultValue:s}))?n:s)?r:e;if(!i)return l;let c=l;try{c=Yr(l,a).format(i)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Jr=(Nt([ge],()=>(e,t)=>((e={})=>{var{locale:t=kr()}=e,e=zr(e,["locale"]);return Zr(Gr({locale:t},e))})(t).format(e)),Nt([ge],()=>(e,t)=>((e={})=>{var{locale:t=kr()}=e,e=zr(e,["locale"]);return Xr(Gr({locale:t},e))})(t).format(e)),Nt([ge],()=>(e,t)=>((e={})=>{var{locale:t=kr()}=e,e=zr(e,["locale"]);return Vr(Gr({locale:t},e))})(t).format(e)),Nt([ge,br],()=>(e,t=kr())=>gr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ot.indexOf(e)&&(t=new Lt(t),kt[e]=t,Ot.push(e)),kt[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))),Qr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function qr(e,t){wr(e,t)}const eo={en:{login:"Login",register:"Register",deposit:"Deposit",promotions:"Promotions"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金",promotions:"促销活动"},fr:{login:"Connexion",register:"Enregistrer",deposit:"Dépôt",promotions:"Promotions"},tr:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito",promotions:"Promosyonlar"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit",promotions:"Promotii"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita",promotions:"Promociones"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito",promotions:"Promoções"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata",promotions:"Promocije"}};function to(e,t){wr(e,t)}const no={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"}};function ro(e,t,n){e=e.slice();return e[51]=t[n],e[53]=n,e}function oo(e,t,n){e=e.slice();return e[54]=t[n],e}function io(e,t,n){e=e.slice();return e[57]=t[n],e[59]=n,e}function ao(t){let r,o=[],n=new Map,i=t[10];const a=e=>e[51].id;for(let e=0;e<i.length;e+=1){var s=ro(t,i,e),l=a(s);n.set(l,o[e]=mo(l,s))}return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ae(t,r,n)},p(e,t){155549&t[0]&&(i=e[10],o=Ce(o,t,a,1,e,i,n,r.parentNode,Ee,mo,r,ro))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&se(r)}}}function so(e){let n,r,o=e[51].name+"";return{c(){n=le("a"),r=t(o),ue(n,"href","#")},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){1024&t[0]&&o!==(o=e[51].name+"")&&he(r,o)},d(e){e&&se(n)}}}function lo(e){let n,r,o=e[51].label+"";return{c(){n=le("a"),r=t(o),ue(n,"href","#")},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){1024&t[0]&&o!==(o=e[51].label+"")&&he(r,o)},d(e){e&&se(n)}}}function co(e){let n,r=0<e[11].length&&"true"==e[3]&&uo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ae(e,n,t)},p(e,t){0<e[11].length&&"true"==e[3]?r?r.p(e,t):((r=uo(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&se(n)}}}function uo(t){let o,i=t[11],a=[];for(let e=0;e<i.length;e+=1)a[e]=fo(oo(t,i,e));return{c(){o=le("ul");for(let e=0;e<a.length;e+=1)a[e].c();ue(o,"class","DropDown")},m(e,t){ae(e,o,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(o,null)},p(t,n){if(20352&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var r=oo(t,i,e);a[e]?a[e].p(r,n):(a[e]=fo(r),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length}},d(e){e&&se(o),L(a,e)}}}function ho(n){let r,o,i,a,s,l,c,u=n[57]?.name+"";function h(...e){return n[33](n[51],n[53],n[57],n[59],...e)}return{c(){r=le("li"),o=le("a"),i=t(u),s=ce(),ue(o,"class",a="SubDropDown "+(n[53]!=n[7]||n[8]!=n[59]&&n[9]!=n[59]?"":"active"))},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,s),l||(c=O(r,"click",h),l=!0)},p(e,t){n=e,2048&t[0]&&u!==(u=n[57]?.name+"")&&he(i,u),3968&t[0]&&a!==(a="SubDropDown "+(n[53]!=n[7]||n[8]!=n[59]&&n[9]!=n[59]?"":"active"))&&ue(o,"class",a)},d(e){e&&se(r),l=!1,c()}}}function po(e,n){let r,o,i=n[53]==n[54].index&&ho(n);return{key:e,first:null,c(){r=c(),i&&i.c(),o=c(),this.first=r},m(e,t){ae(e,r,t),i&&i.m(e,t),ae(e,o,t)},p(e,t){(n=e)[53]==n[54].index?i?i.p(n,t):((i=ho(n)).c(),i.m(o.parentNode,o)):i&&(i.d(1),i=null)},d(e){e&&se(r),i&&i.d(e),e&&se(o)}}}function fo(t){let r,o=[],n=new Map,i=t[54].items;const a=e=>e[57].id;for(let e=0;e<i.length;e+=1){var s=io(t,i,e),l=a(s);n.set(l,o[e]=po(l,s))}return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ae(t,r,n)},p(e,t){20352&t[0]&&(i=e[54].items,o=Ce(o,t,a,1,e,i,n,r.parentNode,Ee,po,r,io))},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&se(r)}}}function mo(e,n){let r,o,i,a,s,l,c,u,h,p,d;function f(e){return"headerMain"===e[0]?lo:so}let m=f(n),g=m(n),y=1==n[12][n[53]]&&co(n);function b(...e){return n[34](n[51],n[53],...e)}return{key:e,first:null,c(){r=le("li"),o=le("div"),i=le("img"),l=ce(),g.c(),c=ce(),y&&y.c(),u=ce(),ue(i,"class",a="CategoryIconImg "+("true"===n[4]?"":"DisplayNone")),C(i.src,s=n[17](n[51]))||ue(i,"src",s),ue(o,"class","CategoryIcon"),ue(r,"class",h="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[51].id.split("$").pop()?"active":"":n[2]==n[51].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),ue(r,"part","CarouselItem"),this.first=r},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,l),g.m(r,null),ie(r,c),y&&y.m(r,null),ie(r,u),p||(d=O(r,"click",b),p=!0)},p(e,t){n=e,16&t[0]&&a!==(a="CategoryIconImg "+("true"===n[4]?"":"DisplayNone"))&&ue(i,"class",a),1024&t[0]&&!C(i.src,s=n[17](n[51]))&&ue(i,"src",s),m===(m=f(n))&&g?g.p(n,t):(g.d(1),(g=m(n))&&(g.c(),g.m(r,c))),1==n[12][n[53]]?y?y.p(n,t):((y=co(n)).c(),y.m(r,u)):y&&(y.d(1),y=null),1029&t[0]&&h!==(h="CarouselItem "+(-1<n[2]?.toString().indexOf("$")?n[2]?.split("$").pop()==n[51].id.split("$").pop()?"active":"":n[2]==n[51].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&ue(r,"class",h)},d(e){e&&se(r),g.d(),y&&y.d(),p=!1,d()}}}function go(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b=0<n[10].length&&ao(n);return{c(){r=le("div"),o=le("div"),(i=le("div")).innerHTML='<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',a=ce(),s=le("div"),l=le("ul"),(c=le("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',u=ce(),b&&b.c(),h=ce(),(p=le("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',this.c=v,ue(i,"class","CarouselLeftArrow"),ue(c,"class","TouchOnly"),ue(l,"id","CarouselNav"),ue(l,"class","CarouselItems"),ue(s,"class","CarouselNavWrap"),ue(p,"class","CarouselRightArrow"),ue(o,"class",d="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),ue(o,"style",f="headerMain"===n[0]?"max-width: auto":`max-width: ${n[1]}px`),ue(r,"class",m="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(o,a),ie(o,s),ie(s,l),ie(l,c),ie(l,u),b&&b.m(l,null),n[35](l),n[36](s),ie(o,h),ie(o,p),n[38](r),g||(y=[O(i,"click",n[32]),O(p,"click",n[37])],g=!0)},p(e,t){0<e[10].length?b?b.p(e,t):((b=ao(e)).c(),b.m(l,null)):b&&(b.d(1),b=null),1&t[0]&&d!==(d="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&ue(o,"class",d),3&t[0]&&f!==(f="headerMain"===e[0]?"max-width: auto":`max-width: ${e[1]}px`)&&ue(o,"style",f),1&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&ue(r,"class",m)},i:v,o:v,d(e){e&&se(r),b&&b.d(),n[35](null),n[36](null),n[38](null),g=!1,P(y)}}}function yo(t,e,i){let{endpoint:a=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:r="0"}=e,{location:c=""}=e,{clientstyling:o=""}=e,{clientstylingurl:u=""}=e,{identity:h=""}=e,{translationurl:p=""}=e,{containermaxwidth:d=""}=e,{isprimarymenu:f=!1}=e,{issecondarymenu:m=!1}=e,{lang:g=""}=e,{activeindex:y="0"}=e,{showsubgroups:b="false"}=e,{categoriesicon:v="false"}=e,{lobbyiconimage:w=""}=e,{mygamesiconimage:x=""}=e;var E,C;({withLocale:E,translations:C}={withLocale:"en",translations:{}}),ge.subscribe(e=>{null==e&&(br.set(C),ge.set(E))}),Object.keys(no).forEach(e=>{to(e,no[e])});let B,M,$,T,H,O=window.navigator.userAgent;Qr(O);let A,S=[],_=[],I=[],L=(e,t,n,r,o)=>{e.subGroups&&null===r||(P(),i(7,M=t),i(7,M),"secondary"!=o?(window.postMessage({type:"CategoryChange"==l?"CategoryChange":"NavigateTo",buzz:"1",itemId:e.id,index:t,item:e,path:e.path,externalLink:e.externalLink||!1,target:(null==(o=e.attrs)?void 0:o.target)||null},window.location.href),i(8,$=null),i(9,T=null)):(i(8,$=r),i(8,$),i(9,T=$),window.postMessage({type:l,itemId:n.id,subIndex:r,subItem:n},window.location.href)))},F=()=>{A.scrollBy({left:-250,behavior:"smooth"})},k=()=>{A.scrollBy({left:250,behavior:"smooth"})};const R=e=>{"SliderData"==e.data.type&&e.data.identity==h&&(i(10,S=e.data.data),i(12,I=new Array(S.length).fill(!1)),"true"==b)&&S.forEach((e,t)=>{var r,o,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(i(12,I[t]=!0,I),r=e,o=t,"secondaryMenu"==c&&a&&s&&g&&r.id&&(n=new URL(`${a}/v1/casino/groups/${s}/${r.id}/subGroups?language=`+g),fetch(n.href).then(e=>e.json()).then(e=>{e.index=o,i(11,_=_.concat(e)),"false"==b&&window.postMessage({type:l,itemId:r.id,index:o,item:r},window.location.href);const n=[];_.map(e=>(e.items.forEach(t=>{n.find(e=>t.id==e)||n.push(t.id)}),n.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:n},window.location.href)}).then(()=>{B.querySelectorAll(".DropDown")&&P()})),"headerMain"==c)&&window.postMessage({type:l,item:r},window.location.href)}),"GoToHomepage"==e.data.type&&S.forEach((e,t)=>{e.path.endsWith("/casino")&&(i(7,M=t),i(7,M))})},P=()=>{var t=B.querySelectorAll(".DropDown");document.activeElement.blur(),A.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+A.scrollLeft+"px)";A.classList.remove("isScrolling")};return ve(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",R,!1),setTimeout(()=>{A.addEventListener("scroll",P)},500),()=>{window.removeEventListener("message",R),B.removeEventListener("scroll",P)})),t.$$set=e=>{"endpoint"in e&&i(18,a=e.endpoint),"datasource"in e&&i(19,s=e.datasource),"onclickeventname"in e&&i(20,n=e.onclickeventname),"actionevent"in e&&i(21,l=e.actionevent),"favoritesnumber"in e&&i(22,r=e.favoritesnumber),"location"in e&&i(0,c=e.location),"clientstyling"in e&&i(23,o=e.clientstyling),"clientstylingurl"in e&&i(24,u=e.clientstylingurl),"identity"in e&&i(25,h=e.identity),"translationurl"in e&&i(26,p=e.translationurl),"containermaxwidth"in e&&i(1,d=e.containermaxwidth),"isprimarymenu"in e&&i(27,f=e.isprimarymenu),"issecondarymenu"in e&&i(28,m=e.issecondarymenu),"lang"in e&&i(29,g=e.lang),"activeindex"in e&&i(2,y=e.activeindex),"showsubgroups"in e&&i(3,b=e.showsubgroups),"categoriesicon"in e&&i(4,v=e.categoriesicon),"lobbyiconimage"in e&&i(30,w=e.lobbyiconimage),"mygamesiconimage"in e&&i(31,x=e.mygamesiconimage)},t.$$.update=()=>{if(t.$$.dirty[0],67108864&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{to(e,t[e])})}).catch(e=>{console.log(e)}),8388640&t.$$.dirty[0]&&o&&H&&((e=document.createElement("style")).innerHTML=o,H.appendChild(e)),16777248&t.$$.dirty[0]&&u&&H){let t=document.createElement("style"),e=new URL(u);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{H.appendChild(t)},1)})}var e;536870912&t.$$.dirty[0]&&g&&(e=g,ge.set(e))},[c,d,y,b,v,H,B,M,$,T,S,_,I,A,L,F,k,e=>{let t="";return"LOBBY"===e.id?t=w:"MYGAMES"===e.id&&(t=x),e.icon||t},a,s,n,l,r,o,u,h,p,f,m,g,w,x,()=>F(),(e,t,n,r,o)=>{L(e,t,n,r,"secondary"),o.stopPropagation()},(e,t,n)=>{L(e,t,null,null,"main"),n.preventDefault()},function(e){me[e?"unshift":"push"](()=>{B=e,i(6,B)})},function(e){me[e?"unshift":"push"](()=>{A=e,i(13,A)})},()=>k(),function(e){me[e?"unshift":"push"](()=>{H=e,i(5,H)})}]}function bo(e,{delay:t=0,duration:n=400,easing:r=x}={}){const o=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*o}}function vo(e,t){wr(e,t)}customElements.get("casino-slider")||customElements.define("casino-slider",class extends Me{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}',this.shadowRoot.appendChild(t),Be(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},yo,go,T,{endpoint:18,datasource:19,onclickeventname:20,actionevent:21,favoritesnumber:22,location:0,clientstyling:23,clientstylingurl:24,identity:25,translationurl:26,containermaxwidth:1,isprimarymenu:27,issecondarymenu:28,lang:29,activeindex:2,showsubgroups:3,categoriesicon:4,lobbyiconimage:30,mygamesiconimage:31},null,[-1,-1]),e&&(e.target&&ae(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups","categoriesicon","lobbyiconimage","mygamesiconimage"]}get endpoint(){return this.$$.ctx[18]}set endpoint(e){this.$$set({endpoint:e}),p()}get datasource(){return this.$$.ctx[19]}set datasource(e){this.$$set({datasource:e}),p()}get onclickeventname(){return this.$$.ctx[20]}set onclickeventname(e){this.$$set({onclickeventname:e}),p()}get actionevent(){return this.$$.ctx[21]}set actionevent(e){this.$$set({actionevent:e}),p()}get favoritesnumber(){return this.$$.ctx[22]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),p()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),p()}get clientstyling(){return this.$$.ctx[23]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[24]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get identity(){return this.$$.ctx[25]}set identity(e){this.$$set({identity:e}),p()}get translationurl(){return this.$$.ctx[26]}set translationurl(e){this.$$set({translationurl:e}),p()}get containermaxwidth(){return this.$$.ctx[1]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),p()}get isprimarymenu(){return this.$$.ctx[27]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),p()}get issecondarymenu(){return this.$$.ctx[28]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),p()}get lang(){return this.$$.ctx[29]}set lang(e){this.$$set({lang:e}),p()}get activeindex(){return this.$$.ctx[2]}set activeindex(e){this.$$set({activeindex:e}),p()}get showsubgroups(){return this.$$.ctx[3]}set showsubgroups(e){this.$$set({showsubgroups:e}),p()}get categoriesicon(){return this.$$.ctx[4]}set categoriesicon(e){this.$$set({categoriesicon:e}),p()}get lobbyiconimage(){return this.$$.ctx[30]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),p()}get mygamesiconimage(){return this.$$.ctx[31]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),p()}});const wo={en:{language:"Select Language"},"zh-hk":{language:"選擇語言"},fr:{language:"Sélectionner la langue"},tr:{language:"Dil Seçin"},ro:{language:"Selecteaza limba"},es:{language:"Seleccionar idioma"},pt:{language:"Selecione o idioma"},hr:{language:"Izaberi jezik"}};function xo(e,t,n){e=e.slice();return e[51]=t[n],e}function Eo(e,t,n){e=e.slice();return e[1]=t[n],e}function Co(e,t,n){e=e.slice();return e[54]=t[n],e}function Bo(e,t,n){e=e.slice();return e[57]=t[n],e}function Mo(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,t,g,y,b,v=n[4],w=[];for(let e=0;e<v.length;e+=1)w[e]=$o(Bo(n,v,e));let x=n[6],E=[];for(let e=0;e<x.length;e+=1)E[e]=To(Co(n,x,e));let C=1<n[10].length&&Ho(n);return{c(){r=le("div"),o=le("span"),(i=le("slot")).innerHTML='<svg class="w-6 h-6" part="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>',s=ce(),l=le("div"),c=le("ul");for(let e=0;e<w.length;e+=1)w[e].c();h=ce(),p=le("ul");for(let e=0;e<E.length;e+=1)E[e].c();f=ce(),C&&C.c(),ue(i,"name","close"),ue(o,"class",a=n[7]?"ModalCloseBtn":""),ue(o,"role","button"),ue(c,"class",u="HamburgerPrimaryMenu "+(n[8]?"HamburgerPrimaryMenuFixed":"")),ue(p,"class",d="HamburgerSecondaryMenu "+(n[8]?"HamburgerSecondaryMenuFixed":"")),ue(l,"class",m="HamburgerModalContainer "+(n[7]?"ActiveHamburgerMenu":"")),ue(r,"class","HamburgerModalWindow"),ue(r,"part","HamburgerModalWindow")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,s),ie(r,l),ie(l,c);for(let e=0;e<w.length;e+=1)w[e]&&w[e].m(c,null);ie(l,h),ie(l,p);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(p,null);ie(l,f),C&&C.m(l,null),n[35](r),g=!0,y||(b=O(o,"click",n[14]),y=!0)},p(e,t){if(n=e,(!g||128&t[0]&&a!==(a=n[7]?"ModalCloseBtn":""))&&ue(o,"class",a),32816&t[0]){let e;for(v=n[4],e=0;e<v.length;e+=1){const o=Bo(n,v,e);w[e]?w[e].p(o,t):(w[e]=$o(o),w[e].c(),w[e].m(c,null))}for(;e<w.length;e+=1)w[e].d(1);w.length=v.length}if((!g||256&t[0]&&u!==(u="HamburgerPrimaryMenu "+(n[8]?"HamburgerPrimaryMenuFixed":"")))&&ue(c,"class",u),65600&t[0]){let e;for(x=n[6],e=0;e<x.length;e+=1){const o=Co(n,x,e);E[e]?E[e].p(o,t):(E[e]=To(o),E[e].c(),E[e].m(p,null))}for(;e<E.length;e+=1)E[e].d(1);E.length=x.length}(!g||256&t[0]&&d!==(d="HamburgerSecondaryMenu "+(n[8]?"HamburgerSecondaryMenuFixed":"")))&&ue(p,"class",d),1<n[10].length?C?C.p(n,t):((C=Ho(n)).c(),C.m(l,null)):C&&(C.d(1),C=null),(!g||128&t[0]&&m!==(m="HamburgerModalContainer "+(n[7]?"ActiveHamburgerMenu":"")))&&ue(l,"class",m)},i(e){g||(B(()=>{g&&(t=t||xe(r,bo,{transitionDuration:Po},!0)).run(1)}),g=!0)},o(e){(t=t||xe(r,bo,{transitionDuration:Po},!1)).run(0),g=!1},d(e){e&&se(r),L(w,e),L(E,e),C&&C.d(),n[35](null),e&&t&&t.end(),y=!1,b()}}}function $o(n){let r,o,i,a,s,l,c,u,h,p,d=n[57].label+"";function f(){return n[29](n[57])}return{c(){r=le("li"),o=le("div"),i=le("img"),s=ce(),l=t(d),c=ce(),C(i.src,a=n[57].img)||ue(i,"src",a),ue(i,"alt","menu icon"),ue(o,"class","HamburgerItemContainer"),ue(r,"class",u=n[5]===n[57].id?"ActiveItem":"")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(o,s),ie(o,l),ie(r,c),h||(p=O(r,"click",f),h=!0)},p(e,t){n=e,16&t[0]&&!C(i.src,a=n[57].img)&&ue(i,"src",a),16&t[0]&&d!==(d=n[57].label+"")&&he(l,d),48&t[0]&&u!==(u=n[5]===n[57].id?"ActiveItem":"")&&ue(r,"class",u)},d(e){e&&se(r),h=!1,p()}}}function To(n){let r,o,i,a,s,l,c,u,h=n[54].label+"";function p(...e){return n[30](n[54],...e)}return{c(){r=le("li"),o=le("img"),a=ce(),s=t(h),l=ce(),C(o.src,i=n[54].img)||ue(o,"src",i),ue(o,"alt","menu icon")},m(e,t){ae(e,r,t),ie(r,o),ie(r,a),ie(r,s),ie(r,l),c||(u=O(r,"click",p),c=!0)},p(e,t){n=e,64&t[0]&&!C(o.src,i=n[54].img)&&ue(o,"src",i),64&t[0]&&h!==(h=n[54].label+"")&&he(s,h)},d(e){e&&se(r),c=!1,u()}}}function Ho(e){let n,r,o,i,a=e[13]("language")+"";function s(e){return"true"!==e[0]?So:Ao}let l=s(e),c=l(e);return{c(){n=le("div"),r=le("span"),o=t(a),i=ce(),c.c(),ue(r,"class","LanguageSelect"),ue(n,"class","LanguageSelectorTitle")},m(e,t){ae(e,n,t),ie(n,r),ie(r,o),ie(n,i),c.m(n,null)},p(e,t){8192&t[0]&&a!==(a=e[13]("language")+"")&&he(o,a),l===(l=s(e))&&c?c.p(e,t):(c.d(1),(c=l(e))&&(c.c(),c.m(n,null)))},d(e){e&&se(n),c.d()}}}function Ao(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,E=n[11]&&_o(n);return{c(){r=le("div"),o=le("div"),i=le("span"),a=le("img"),l=ce(),c=le("span"),u=t(n[12]),h=ce(),p=le("span"),d=e("svg"),f=e("g"),m=e("g"),g=e("g"),y=e("path"),v=ce(),E&&E.c(),C(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[20](n[12])}.svg`)||ue(a,"src",s),ue(i,"class","FlagIcon"),ue(c,"class","LanguageName"),ue(y,"d","M223.708 6534.634c.39-.405.39-1.06 0-1.464l-8.264-8.563a1.95 1.95 0 0 0-2.827 0l-8.325 8.625c-.385.4-.39 1.048-.01 1.454a.976.976 0 0 0 1.425.01l7.617-7.893a.975.975 0 0 1 1.414 0l7.557 7.83a.974.974 0 0 0 1.413 0"),ue(g,"transform","translate(56 160)"),ue(m,"fill","#000"),ue(m,"transform","translate(-260 -6684)"),ue(f,"fill","none"),ue(f,"fill-rule","evenodd"),ue(d,"xmlns","http://www.w3.org/2000/svg"),ue(d,"width","20"),ue(d,"height","11"),ue(d,"viewBox","0 0 20 11"),ue(d,"id","arrow"),ue(p,"class",b="TriangleInactive "+(n[11]?"TriangleActive":"")),ue(o,"class","SelectedOption Item ItemLanguage"),ue(r,"class","LanguageDropdown")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(o,l),ie(o,c),ie(c,u),ie(o,h),ie(o,p),ie(p,d),ie(d,f),ie(f,m),ie(m,g),ie(g,y),ie(r,v),E&&E.m(r,null),w||(x=O(o,"click",n[33]),w=!0)},p(e,t){5120&t[0]&&!C(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[20](e[12])}.svg`)&&ue(a,"src",s),4096&t[0]&&he(u,e[12]),2048&t[0]&&b!==(b="TriangleInactive "+(e[11]?"TriangleActive":""))&&ue(p,"class",b),e[11]?E?E.p(e,t):((E=_o(e)).c(),E.m(r,null)):E&&(E.d(1),E=null)},d(e){e&&se(r),E&&E.d(),w=!1,x()}}}function So(n){let o,r,i,a=n[10],s=[];for(let e=0;e<a.length;e+=1)s[e]=Lo(Eo(n,a,e));return{c(){o=le("select");for(let e=0;e<s.length;e+=1)s[e].c();ue(o,"class","Item ItemLanguage NoFlag"),void 0===n[12]&&B(()=>n[31].call(o))},m(e,t){ae(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);j(o,n[12],!0),r||(i=[O(o,"change",n[31]),O(o,"change",n[32])],r=!0)},p(t,n){if(1024&n[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){var r=Eo(t,a,e);s[e]?s[e].p(r,n):(s[e]=Lo(r),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}5120&n[0]&&j(o,t[12])},d(e){e&&se(o),L(s,e),r=!1,P(i)}}}function _o(t){let o,i=t[10],a=[];for(let e=0;e<i.length;e+=1)a[e]=Io(xo(t,i,e));return{c(){o=le("div");for(let e=0;e<a.length;e+=1)a[e].c();ue(o,"class","OptionList")},m(e,t){ae(e,o,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(o,null)},p(t,n){if(1311744&n[0]){let e;for(i=t[10],e=0;e<i.length;e+=1){var r=xo(t,i,e);a[e]?a[e].p(r,n):(a[e]=Io(r),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length}},d(e){e&&se(o),L(a,e)}}}function Io(n){let r,o,i,a,s,l,c,u,h,p,d=n[51]+"";function f(){return n[34](n[51])}return{c(){r=le("div"),o=le("span"),i=le("img"),s=ce(),l=le("span"),c=t(d),u=ce(),C(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[20](n[51])}.svg`)||ue(i,"src",a),ue(o,"class","FlagIcon"),ue(l,"class","LanguageName"),ue(r,"class","LanguageOption")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,s),ie(r,l),ie(l,c),ie(r,u),h||(p=O(r,"click",f),h=!0)},p(e,t){n=e,1024&t[0]&&!C(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[20](n[51])}.svg`)&&ue(i,"src",a),1024&t[0]&&d!==(d=n[51]+"")&&he(c,d)},d(e){e&&se(r),h=!1,p()}}}function Lo(e){let n,r,o,i=e[1]+"";return{c(){n=le("option"),r=t(i),n.__value=o=e[1],n.value=n.__value,n.selected=!0},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){1024&t[0]&&i!==(i=e[1]+"")&&he(r,i),1024&t[0]&&o!==(o=e[1])&&(n.__value=o,n.value=n.__value)},d(e){e&&se(n)}}}function Fo(n){let r,o,i=!0===n[9]&&Mo(n);return{c(){r=le("div"),i&&i.c(),this.c=v},m(e,t){ae(e,r,t),i&&i.m(r,null),n[36](r),o=!0},p(e,t){!0===e[9]?i?(i.p(e,t),512&t[0]&&de(i,1)):((i=Mo(e)).c(),de(i,1),i.m(r,null)):i&&(pe={r:0,c:[],p:pe},fe(i,1,1,()=>{i=null}),pe.r||P(pe.c),pe=pe.p)},i(e){o||(de(i),o=!0)},o(e){fe(i),o=!1},d(e){e&&se(r),i&&i.d(),n[36](null)}}}let Po=350;function Oo(t,e,r){let n;ye(t,Kr,e=>r(13,n=e));let o,i,a,{menuitemsurl:s=""}=e,{lang:l="en"}=e,{activecategory:c=""}=e,{languageslist:u=""}=e,{translationurl:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:d=""}=e,{customlocaleidentifier:f=""}=e,{countryflaghamburger:m=""}=e,O=window.navigator.userAgent,g=[],y="",b=[],v=!1,w=!1,x=!1,E=!0,C=[],B=!1,M=!1,$="";Object.keys(wo).forEach(e=>{vo(e,wo[e])});const T=()=>{r(9,x=!1),r(7,v=!1),r(8,w=!1),r(11,M=!1),window.postMessage({type:"CloseHamburgerMenu",showhamburger:!0},window.location.href)},H=e=>{var n;"OpenHamburgerMenuModal"===e.data.type&&(window.postMessage({type:"DisableScroll"},window.location.href),r(9,x=!0),setTimeout(()=>{r(7,v=!0)},500),setTimeout(()=>{r(8,w=!0)},1500),n=s,new Promise((e,t)=>{i&&!B?e(i):_(n)}))},A=(e,t)=>{r(5,y=e),r(6,b=t||[]),"function"==typeof gtag&>ag("event","ChangeMenu",{context:"HamburgerMenu",menuItem:""+y})},S=()=>{var e=g.filter(e=>{let t=!1;return null!=(e=e.children)&&e.forEach(e=>{e.path.includes(c)&&(t=!0)}),t});0<e.length&&A(e[0].id,e[0].children)},_=e=>{fetch(e).then(e=>e.json()).then(e=>{r(4,g=e.filter(e=>"banner"!==(null==e?void 0:e.type))),S(),r(28,E=!1),i=e,B=!1},e=>{console.error(e)})};let I=e=>{window.postMessage({type:"NavigateTo",path:e.path,externalLink:e.externalLink||!1,target:e.attrs.target||null},window.location.href),T()};const L=()=>{B=!0,window.postMessage({type:"LanguageChanged",selectedLanguage:$},window.location.href)},F=e=>{r(12,$=e),r(11,M=!1),L()},P=()=>{r(11,M=!M)};return ve(()=>(window.addEventListener("message",H,!1),Jr(O),()=>{window.removeEventListener("message",H)})),t.$$set=e=>{"menuitemsurl"in e&&r(21,s=e.menuitemsurl),"lang"in e&&r(1,l=e.lang),"activecategory"in e&&r(22,c=e.activecategory),"languageslist"in e&&r(23,u=e.languageslist),"translationurl"in e&&r(24,h=e.translationurl),"clientstyling"in e&&r(25,p=e.clientstyling),"clientstylingurl"in e&&r(26,d=e.clientstylingurl),"customlocaleidentifier"in e&&r(27,f=e.customlocaleidentifier),"countryflaghamburger"in e&&r(0,m=e.countryflaghamburger)},t.$$.update=()=>{if(8388610&t.$$.dirty[0]&&l&&u&&(e=l,ge.set(e),B&&_(s),r(10,C=u.replace(/ /g,"").split(",")),r(10,C=C.map(e=>e.toUpperCase())),r(12,$=l.toUpperCase())),272629760&t.$$.dirty[0]&&c&&!E&&S(),16777216&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{vo(e,t[e])})}).catch(e=>{console.log(e)}),33554436&t.$$.dirty[0]&&p&&a&&((e=document.createElement("style")).innerHTML=p,a.appendChild(e)),67108868&t.$$.dirty[0]&&d&&a){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[m,l,a,void 0,g,y,b,v,w,x,C,M,$,n,T,A,I,L,F,P,e=>"EN"==(e=f?f.includes(e.toLowerCase())?f.slice(-2):e:e)?"US":e.toUpperCase(),s,c,u,h,p,d,f,E,e=>A(e.id,e.children),(e,t)=>{I(e),t.preventDefault()},function(){$=be(this),r(12,$),r(10,C)},()=>L(),()=>P(),e=>F(e),function(e){me[e?"unshift":"push"](()=>{o=e,r(3,o)})},function(e){me[e?"unshift":"push"](()=>{a=e,r(2,a)})}]}function ko(e,t){wr(e,t)}customElements.get("casino-hamburger-menu")||customElements.define("casino-hamburger-menu",class extends Me{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}.LanguageDropdown{width:100%;margin-right:16px;position:relative;display:inline-block}.SelectedOption,.OptionList{border:1px solid var(--emfe-w-header-color-primary);padding:8px;cursor:pointer;width:200px;border-radius:2px}.SelectedOption{display:flex;align-items:center;margin:0;padding-left:9px}.SelectedOption svg{width:12px;margin-left:6px}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;overflow-y:auto;transform:translateX(-50%);z-index:1;background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518));max-height:155px;overflow-y:auto;bottom:36px;width:50vw;left:30%;display:flex;gap:5px;flex-direction:column}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption{display:flex;align-items:center;padding:4px;margin:0;background-color:white}.LanguageOption:hover{background-color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emfe-w-header-contrast, var(--emfe-w-color-contrast, #07072A))}.HamburgerModalWindow{display:block;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.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emfe-w-header-color-menu-bg, var(--emfe-w-color-background-secondary, #050518));white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-300, #58586B)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}",this.shadowRoot.appendChild(t),Be(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Oo,Fo,T,{menuitemsurl:21,lang:1,activecategory:22,languageslist:23,translationurl:24,clientstyling:25,clientstylingurl:26,customlocaleidentifier:27,countryflaghamburger:0},null,[-1,-1]),e&&(e.target&&ae(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["menuitemsurl","lang","activecategory","languageslist","translationurl","clientstyling","clientstylingurl","customlocaleidentifier","countryflaghamburger"]}get menuitemsurl(){return this.$$.ctx[21]}set menuitemsurl(e){this.$$set({menuitemsurl:e}),p()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),p()}get activecategory(){return this.$$.ctx[22]}set activecategory(e){this.$$set({activecategory:e}),p()}get languageslist(){return this.$$.ctx[23]}set languageslist(e){this.$$set({languageslist:e}),p()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),p()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get customlocaleidentifier(){return this.$$.ctx[27]}set customlocaleidentifier(e){this.$$set({customlocaleidentifier:e}),p()}get countryflaghamburger(){return this.$$.ctx[0]}set countryflaghamburger(e){this.$$set({countryflaghamburger:e}),p()}});const Ro={en:{balanceTitle:"Your Balance",totalBalance:"Total Balance",cashBalance:"Cash Balance",bonusBalance:"Bonus Balance",depositButton:"Deposit"},"zh-hk":{balanceTitle:"您的餘額",totalBalance:"總餘額",cashBalance:"現金餘額",bonusBalance:"獎金餘額",depositButton:"訂金"},de:{balanceTitle:"Dein Kontostand",totalBalance:"Gesamtsaldo",cashBalance:"Barguthaben",bonusBalance:"Bonusguthaben",depositButton:"Anzahlung"},it:{balanceTitle:"Il tuo bilancio",totalBalance:"Saldo totale",cashBalance:"Saldo in contanti",bonusBalance:"Saldo bonus",depositButton:"Depositare"},fr:{balanceTitle:"Votre solde",totalBalance:"Solde total",cashBalance:"Encaisse",bonusBalance:"Solde du bonus",depositButton:"Dépôt"},es:{balanceTitle:"Saldos",totalBalance:"Saldo Total",cashBalance:"Saldo Disponible",bonusBalance:"Saldo de Bonos",depositButton:"Deposita"},tr:{balanceTitle:"Bakiyeniz",totalBalance:"Toplam Bakiye",cashBalance:"Nakit dengesi",bonusBalance:"Bonus Bakiyesi",depositButton:"Depozito"},ru:{balanceTitle:"Ваш баланс",totalBalance:"Итоговый баланс",cashBalance:"Денежных баланс",bonusBalance:"Бонусный баланс",depositButton:"Депозит"},ro:{balanceTitle:"Balanta Ta",totalBalance:"Balanta Totala",cashBalance:"Balanta Cash",bonusBalance:"Balanta Bonus",depositButton:"Depunere"},hr:{balanceTitle:"Vaše stanje",totalBalance:"Ukupno stanje",cashBalance:"Stanje novca",bonusBalance:"Stanje bonusa",depositButton:"Uplata"},hu:{balanceTitle:"Az egyensúlyod",totalBalance:"Teljes egyenleg",cashBalance:"Pénzforgalmi egyenleg",bonusBalance:"Bónuszegyenleg",depositButton:"Letét"},pl:{balanceTitle:"Twój balans",totalBalance:"Saldo całkowite",cashBalance:"Saldo środków pieniężnych",bonusBalance:"Saldo bonusowe",depositButton:"Depozyt"},pt:{balanceTitle:"Seu Saldo",totalBalance:"Saldo total",cashBalance:"Saldo de caixa",bonusBalance:"Saldo de bônus",depositButton:"Depósito"},sl:{balanceTitle:"Vaše stanje",totalBalance:"Skupno stanje",cashBalance:"Stanje gotovine",bonusBalance:"Bonus stanje",depositButton:"Polog"},sr:{balanceTitle:"Стање",totalBalance:"Укупно стање",cashBalance:"Новчано стање",bonusBalance:"Бонус Баланце",depositButton:"Депозит"}};var Do=Ze(function(x,e){var r,t="undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:Xe:globalThis,_=t.setTimeout,I=t.clearTimeout,L=t.XMLHttpRequest,o=t.XDomainRequest,n=t.ActiveXObject,i=t.EventSource,a=t.document,h=t.Promise,p=t.fetch,s=t.Response,d=t.TextDecoder,l=t.TextEncoder,f=t.AbortController;function c(){this.bitsNeeded=0,this.codePoint=0}function u(){}function F(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=u,this.onload=u,this.onerror=u,this.onreadystatechange=u,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=u}function m(e){return e.replace(/[A-Z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+32)})}function g(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var o=n[r].split(": "),i=o.shift(),o=o.join(": ");t[m(i)]=o}this._map=t}function P(){}function y(e){this._headers=e}function O(){}function k(){this._listeners=Object.create(null)}function b(e){_(function(){throw e},0)}function v(e){this.type=e,this.target=void 0}function R(e,t){v.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function D(e,t){v.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function N(e,t){v.call(this,e),this.error=t.error}function U(e,t){return e=null==e?t:parseInt(e,10),z(e=e!=e?t:e)}function j(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){b(e)}}"undefined"==typeof window||void 0===a||"readyState"in a||null!=a.body||(a.readyState="loading",window.addEventListener("load",function(e){a.readyState="complete"},!1)),null==L&&null!=n&&(L=function(){return new n("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),Date.now||(Date.now=function(){return(new Date).getTime()}),null==f&&(r=p,p=function(e,t){var n=t.signal;return r(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then(function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}})},f=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}),c.prototype.decode=function(e){function t(e,t,n){if(1===n)return 128>>t<=e&&e<<t<=2047;if(2===n)return 2048>>t<=e&&e<<t<=55295||57344>>t<=e&&e<<t<=65535;if(3===n)return 65536>>t<=e&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return 15<t>>6?3:31<t?2:1;if(12===e)return 15<t?3:2;if(18===e)return 3;throw new Error}for(var r="",o=this.bitsNeeded,i=this.codePoint,a=0;a<e.length;a+=1){var s=e[a];0!==o&&(s<128||191<s||!t(i<<6|63&s,o-6,n(o,i)))&&(o=0,i=65533,r+=String.fromCharCode(i)),0===o?(i=0<=s&&s<=127?(o=0,s):192<=s&&s<=223?(o=6,31&s):224<=s&&s<=239?(o=12,15&s):240<=s&&s<=247?(o=18,7&s):(o=0,65533),0===o||t(i,o,n(o,i))||(o=0,i=65533)):(o-=6,i=i<<6|63&s),0===o&&(i<=65535?r+=String.fromCharCode(i):r=(r+=String.fromCharCode(55296+(i-65535-1>>10)))+String.fromCharCode(56320+(i-65535-1&1023)))}return this.bitsNeeded=o,this.codePoint=i,r},null!=d&&null!=l&&function(){try{return"test"===(new d).decode((new l).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}}()||(d=c),F.prototype.open=function(e,t){this._abort(!0);function n(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:u}),l(),1===a||2===a||3===a){if(a=4,0!==r&&(I(r),r=0),o.readyState=4,"load"===e)o.onload(t);else if("error"===e)o.onerror(t);else{if("abort"!==e)throw new TypeError;o.onabort(t)}o.onreadystatechange()}}var o=this,i=this._xhr,a=1,r=0,s=(this._abort=function(e){0!==o._sendTimeout&&(I(o._sendTimeout),o._sendTimeout=0),1!==a&&2!==a&&3!==a||(a=4,i.onload=u,i.onerror=u,i.onabort=u,i.onprogress=u,i.onreadystatechange=u,i.abort(),0!==r&&(I(r),r=0),e)||(o.readyState=4,o.onabort(null),o.onreadystatechange()),a=0},function(){if(1===a){var t=0,n="",r=void 0;if("contentType"in i)t=200,n="OK",r=i.contentType;else try{t=i.status,n=i.statusText,r=i.getResponseHeader("Content-Type")}catch(e){n="",r=void(t=0)}0!==t&&(a=2,o.readyState=2,o.status=t,o.statusText=n,o._contentType=r,o.onreadystatechange())}}),l=function(){if(s(),2===a||3===a){a=3;var e="";try{e=i.responseText}catch(e){}o.readyState=3,o.responseText=e,o.onprogress()}},c=function(){r=_(function(){c()},500),3===i.readyState&&l()};"onload"in i&&(i.onload=function(e){n("load",e)}),"onerror"in i&&(i.onerror=function(e){n("error",e)}),"onabort"in i&&(i.onabort=function(e){n("abort",e)}),"onprogress"in i&&(i.onprogress=l),"onreadystatechange"in i&&(i.onreadystatechange=function(e){e=e,null!=i&&(4===i.readyState?"onload"in i&&"onerror"in i&&"onabort"in i||n(""===i.responseText?"error":"load",e):3===i.readyState?"onprogress"in i||l():2===i.readyState&&s())}),!("contentType"in i)&&"ontimeout"in L.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),i.open(e,t,!0),"readyState"in i&&(r=_(function(){c()},0))},F.prototype.abort=function(){this._abort(!1)},F.prototype.getResponseHeader=function(e){return this._contentType},F.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},F.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},F.prototype.send=function(){if("ontimeout"in L.prototype&&("sendAsBinary"in L.prototype||"mozAnon"in L.prototype)||null==a||null==a.readyState||"complete"===a.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(e){throw e}}else{var t=this;t._sendTimeout=_(function(){t._sendTimeout=0,t.send()},4)}},g.prototype.get=function(e){return this._map[m(e)]},null!=L&&null==L.HEADERS_RECEIVED&&(L.HEADERS_RECEIVED=2),P.prototype.open=function(o,i,t,n,e,r,a){o.open("GET",e);var s,l=0;for(s in o.onprogress=function(){var e=o.responseText.slice(l);l+=e.length,t(e)},o.onerror=function(e){e.preventDefault(),n(new Error("NetworkError"))},o.onload=function(){n(null)},o.onabort=function(){n(null)},o.onreadystatechange=function(){var e,t,n,r;o.readyState===L.HEADERS_RECEIVED&&(e=o.status,t=o.statusText,n=o.getResponseHeader("Content-Type"),r=o.getAllResponseHeaders(),i(e,t,n,new g(r)))},o.withCredentials=r,a)Object.prototype.hasOwnProperty.call(a,s)&&o.setRequestHeader(s,a[s]);return o.send(),o},y.prototype.get=function(e){return this._headers.get(e)},O.prototype.open=function(e,t,o,n,r,i,a){var s=null,l=new f,c=l.signal,u=new d;return p(r,{headers:a,credentials:i?"include":"same-origin",signal:c,cache:"no-store"}).then(function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new y(e.headers)),new h(function(t,n){function r(){s.read().then(function(e){e.done?t(void 0):(e=u.decode(e.value,{stream:!0}),o(e),r())}).catch(function(e){n(e)})}r()})}).catch(function(e){return"AbortError"===e.name?void 0:e}).then(function(e){n(e)}),{abort:function(){null!=s&&s.cancel(),l.abort()}}},k.prototype.dispatchEvent=function(e){var t=(e.target=this)._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var o=t[r];try{"function"==typeof o.handleEvent?o.handleEvent(e):o.call(this,e)}catch(e){b(e)}}},k.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(n[e]=r=[]);for(var o=!1,i=0;i<r.length;i+=1)r[i]===t&&(o=!0);o||r.push(t)},k.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var o=[],i=0;i<r.length;i+=1)r[i]!==t&&o.push(r[i]);0===o.length?delete n[e]:n[e]=o}},R.prototype=Object.create(v.prototype),D.prototype=Object.create(v.prototype),N.prototype=Object.create(v.prototype);var G=/^text\/event\-stream(;.*)?$/i,z=function(e){return Math.min(Math.max(e,1e3),18e6)};function w(e,t){var l,i,a,c,u,h,p,d,f,n,s,m,g,y,b,v,w,x,E,C,B,M,$,T,H,A,S;k.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,l=this,i=e,e=t,i=String(i),t=Boolean(e.withCredentials),a=e.lastEventIdQueryParameterName||"lastEventId",c=z(1e3),u=U(e.heartbeatTimeout,45e3),h="",p=c,d=!1,f=0,n=e.headers||{},e=e.Transport,s=W&&null==e?void 0:new F(new(null!=e?e:null!=L&&"withCredentials"in L.prototype||null==o?L:o)),m=new(null!=e&&"string"!=typeof e?e:null==s?O:P),g=void 0,b=-1,E=x=w=v="",M=B=C=y=0,$=function(e,t,n,r){var o,i;0===b&&(200===e&&null!=n&&G.test(n)?(b=1,d=Date.now(),p=c,l.readyState=1,o=new D("open",{status:e,statusText:t,headers:r}),l.dispatchEvent(o),j(l,l.onopen,o)):(i="",i=200!==e?"EventSource's response has a status "+e+" "+(t=t&&t.replace(/\s+/g," "))+" that is not 200. Aborting the connection.":"EventSource's response has a Content-Type specifying an unsupported type: "+(null==n?"-":n.replace(/\s+/g," "))+". Aborting the connection.",A(),o=new D("error",{status:e,statusText:t,headers:r}),l.dispatchEvent(o),j(l,l.onerror,o),console.error(i)))},T=function(e){if(1===b){for(var t=-1,n=0;n<e.length;n+=1)(a=e.charCodeAt(n))!=="\n".charCodeAt(0)&&a!=="\r".charCodeAt(0)||(t=n);var r=(-1!==t?E:"")+e.slice(0,t+1);E=(-1===t?E:"")+e.slice(t+1),""!==e&&(d=Date.now(),f+=e.length);for(var o=0;o<r.length;o+=1){var i,a=r.charCodeAt(o);if(-1===C&&a==="\n".charCodeAt(0))C=0;else if(-1===C&&(C=0),a==="\r".charCodeAt(0)||a==="\n".charCodeAt(0)){if(0!==C&&(1===C&&(M=o+1),s=r.slice(B,M-1),i=r.slice(M+(M<o&&r.charCodeAt(M)===" ".charCodeAt(0)?1:0),o),"data"===s?v=v+"\n"+i:"id"===s?w=i:"event"===s?x=i:"retry"===s?(c=U(i,c),p=c):"heartbeatTimeout"===s&&(u=U(i,u),0!==y)&&(I(y),y=_(function(){S()},u))),0===C){if(""!==v){h=w;var s=new R(x=""===x?"message":x,{data:v.slice(1),lastEventId:w});if(l.dispatchEvent(s),"open"===x?j(l,l.onopen,s):"message"===x?j(l,l.onmessage,s):"error"===x&&j(l,l.onerror,s),2===b)return}x=v=""}C=a==="\r".charCodeAt(0)?-1:0}else 0===C&&(B=o,C=1),1===C?a===":".charCodeAt(0)&&(M=o+1,C=2):2===C&&(C=3)}}},H=function(e){var t;1!==b&&0!==b||(b=-1,0!==y&&(I(y),y=0),y=_(function(){S()},p),p=z(Math.min(16*c,2*p)),l.readyState=0,t=new N("error",{error:e}),l.dispatchEvent(t),j(l,l.onerror,t),null!=e&&console.error(e))},A=function(){b=2,null!=g&&(g.abort(),g=void 0),0!==y&&(I(y),y=0),l.readyState=2},S=function(){if(y=0,-1===b){d=!1,f=0,y=_(function(){S()},u),w=h,E=x=v="",C=M=B=b=0;var e=i,t=("data:"!==i.slice(0,5)&&"blob:"!==i.slice(0,5)&&""!==h&&(e=-1===(t=i.indexOf("?"))?i:i.slice(0,t+1)+i.slice(t+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(e,t){return t===a?"":e}),e+=(-1===i.indexOf("?")?"?":"&")+a+"="+encodeURIComponent(h)),l.withCredentials),n={Accept:"text/event-stream"},r=l.headers;if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o]);try{g=m.open(s,$,T,H,e,t,n)}catch(e){throw A(),e}}else d||null==g?(e=Math.max((d||Date.now())+u-Date.now(),1),d=!1,y=_(function(){S()},e)):(H(new Error("No activity within "+u+" milliseconds. "+(0===b?"No response received.":f+" chars received.")+" Reconnecting.")),null!=g&&(g.abort(),g=void 0))},l.url=i,l.readyState=0,l.withCredentials=t,l.headers=n,l._close=A,S()}var W=null!=p&&null!=s&&"body"in s.prototype;(w.prototype=Object.create(k.prototype)).CONNECTING=0,w.prototype.OPEN=1,w.prototype.CLOSED=2,w.prototype.close=function(){this._close()},w.CONNECTING=0,w.OPEN=1,w.CLOSED=2,w.prototype.withCredentials=void 0,t=i,null==L||null!=i&&"withCredentials"in i.prototype||(t=w),(s=e).EventSourcePolyfill=w,s.NativeEventSource=i,s.EventSource=t}),No=Ze(function(e,t){function l(e,t){if(!(this instanceof l))return new l(e,t);t=Object.assign({},o,t);var n=Math.pow(10,t.precision);this.intValue=e=r(e,t),this.value=e/n,t.increment=t.increment||1/n,t.groups=t.useVedic?a:i,this.s=t,this.p=n}function r(e,t,n){var n=!(2<arguments.length&&void 0!==n)||n,r=t.decimal,o=t.errorOnInvalid,i=t.fromCents,t=Math.pow(10,t.precision),a=e instanceof l;if(a&&i)return e.intValue;if("number"==typeof e||a)r=a?e.value:e;else if("string"==typeof e)o=new RegExp("[^-\\d"+r+"]","g"),r=new RegExp("\\"+r,"g"),r=e.replace(/\((.*)\)/,"-$1").replace(o,"").replace(r,".")||0;else{if(o)throw Error("Invalid Input");r=0}return i||(r=(r*t).toFixed(4)),n?Math.round(r):r}var o,i,a;e.exports=(o={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(e,t){var n=t.pattern,r=t.negativePattern,o=t.symbol,i=t.separator,a=t.decimal;t=t.groups;var s=(l=(""+e).replace(/^-/,"").split("."))[0],l=l[1];return(0<=e.value?n:r).replace("!",o).replace("#",s.replace(t,"$1"+i)+(l?a+l:""))},fromCents:!1},i=/(\d)(?=(\d{3})+\b)/g,a=/(\d)(?=(\d\d)+\d\b)/g,l.prototype={add:function(e){var t=this.s,n=this.p;return l((this.intValue+r(e,t))/(t.fromCents?1:n),t)},subtract:function(e){var t=this.s,n=this.p;return l((this.intValue-r(e,t))/(t.fromCents?1:n),t)},multiply:function(e){var t=this.s;return l(this.intValue*e/(t.fromCents?1:Math.pow(10,t.precision)),t)},divide:function(e){var t=this.s;return l(this.intValue/r(e,t,!1),t)},distribute:function(e){for(var t=this.intValue,n=this.p,r=this.s,o=[],i=Math[0<=t?"floor":"ceil"](t/e),a=Math.abs(t-i*e),n=r.fromCents?1:n;0!==e;e--){var s=l(i/n,r);0<a--&&(s=s[0<=t?"add":"subtract"](1/n)),o.push(s)}return o},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(e){var t=this.s;return"function"==typeof e?e(this,t):t.format(this,Object.assign({},t,e))},toString:function(){var e=this.s,t=e.increment;return(Math.round(this.intValue/this.p/t)*t).toFixed(e.precision)},toJSON:function(){return this.value}},l)});function Uo(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,E,C,B,M,$,T,H,A=n[8]("balanceTitle")+"",S=n[8]("totalBalance")+"",_=n[8]("depositButton")+"";function I(e){return"gm16"==e[0]?Go:jo}let L=I(n),F=L(n);return{c(){r=le("div"),o=le("div"),i=ce(),a=le("div"),s=le("div"),l=le("p"),c=t(A),u=ce(),h=le("div"),p=le("div"),d=le("p"),f=t(S),m=ce(),g=le("p"),y=le("span"),b=t(n[4]),v=ce(),w=le("span"),x=t(n[5]),E=ce(),F.c(),C=ce(),B=le("div"),M=le("button"),$=t(_),ue(o,"class","BalanceModalClose"),ue(l,"class","BalanceModalTitle"),ue(s,"class","BalanceModalHeader"),ue(d,"class","BalanceModalText"),ue(y,"class","BalanceModalAmount"),ue(w,"class","BalanceModalCurrency"),ue(g,"class","BalanceModalValue"),ue(p,"class","BalanceModalRow"),ue(h,"class","BalanceModalBody"),ue(M,"class","BalanceModalAction"),ue(B,"class","BalanceModalFooter"),ue(a,"class","BalanceModal"),ue(r,"class","BalanceModalWrapper")},m(e,t){ae(e,r,t),ie(r,o),ie(r,i),ie(r,a),ie(a,s),ie(s,l),ie(l,c),ie(a,u),ie(a,h),ie(h,p),ie(p,d),ie(d,f),ie(p,m),ie(p,g),ie(g,y),ie(y,b),ie(g,v),ie(g,w),ie(w,x),ie(h,E),F.m(h,null),ie(a,C),ie(a,B),ie(B,M),ie(M,$),T||(H=[O(o,"click",n[24]),O(M,"click",n[25])],T=!0)},p(e,t){256&t[0]&&A!==(A=e[8]("balanceTitle")+"")&&he(c,A),256&t[0]&&S!==(S=e[8]("totalBalance")+"")&&he(f,S),16&t[0]&&he(b,e[4]),32&t[0]&&he(x,e[5]),L===(L=I(e))&&F?F.p(e,t):(F.d(1),(F=L(e))&&(F.c(),F.m(h,null))),256&t[0]&&_!==(_=e[8]("depositButton")+"")&&he($,_)},d(e){e&&se(r),F.d(),T=!1,P(H)}}}function jo(e){let n,r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,E,C=e[8]("cashBalance")+"",B=e[11](e[6][0]?.balanceAmount)+"",M=e[8]("bonusBalance")+"",$=e[11](e[6][1]?.balanceAmount)+"";return{c(){n=le("div"),r=le("p"),o=t(C),i=ce(),a=le("p"),s=le("span"),l=t(B),c=ce(),u=le("span"),h=t(e[5]),p=ce(),d=le("div"),f=le("p"),m=t(M),g=ce(),y=le("p"),b=le("span"),v=t($),w=ce(),x=le("span"),E=t(e[5]),ue(r,"class","BalanceModalText"),ue(s,"class","BalanceModalAmount"),ue(u,"class","BalanceModalCurrency"),ue(a,"class","BalanceModalValue"),ue(n,"class","BalanceModalRow"),ue(f,"class","BalanceModalText"),ue(b,"class","BalanceModalAmount"),ue(x,"class","BalanceModalCurrency"),ue(y,"class","BalanceModalValue"),ue(d,"class","BalanceModalRow")},m(e,t){ae(e,n,t),ie(n,r),ie(r,o),ie(n,i),ie(n,a),ie(a,s),ie(s,l),ie(a,c),ie(a,u),ie(u,h),ae(e,p,t),ae(e,d,t),ie(d,f),ie(f,m),ie(d,g),ie(d,y),ie(y,b),ie(b,v),ie(y,w),ie(y,x),ie(x,E)},p(e,t){256&t[0]&&C!==(C=e[8]("cashBalance")+"")&&he(o,C),64&t[0]&&B!==(B=e[11](e[6][0]?.balanceAmount)+"")&&he(l,B),32&t[0]&&he(h,e[5]),256&t[0]&&M!==(M=e[8]("bonusBalance")+"")&&he(m,M),64&t[0]&&$!==($=e[11](e[6][1]?.balanceAmount)+"")&&he(v,$),32&t[0]&&he(E,e[5])},d(e){e&&se(n),e&&se(p),e&&se(d)}}}function Go(e){let n;function r(e){return"Casino"===e[1]||"Sports"===e[1]?Wo:"All"===e[1]?zo:void 0}let o=r(e),i=o&&o(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ae(e,n,t)},p(e,t){o===(o=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=o&&o(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i&&i.d(e),e&&se(n)}}}function zo(e){let n,r,o,i,k,R,a,s,l,D,c,u,N,h,p,d,U,j,f,m,g,G,y,z,W,b,v,w,V,X,Z,x,E,Y,K,C,J,Q,B,M,q,ee,te,$,T,ne,re,H,oe,A=e[8]("cashBalance")+"",S=e[7].Casino.Real+"",_=e[8]("cashBalance")+"",I=e[7].Sports.Real+"",L=e[8]("bonusBalance")+"",F=e[7].Casino.Bonus+"",P=e[8]("bonusBalance")+"",O=e[7].Sports.Bonus+"";return{c(){n=le("div"),r=le("div"),o=le("p"),i=t(A),k=t(" Casino"),R=ce(),a=le("p"),s=le("span"),l=t(S),D=ce(),c=le("span"),u=t(e[5]),N=ce(),h=le("div"),p=le("p"),d=t(_),U=t(" Sports"),j=ce(),f=le("p"),m=le("span"),g=t(I),G=ce(),y=le("span"),z=t(e[5]),W=ce(),b=le("div"),v=le("div"),w=le("p"),V=t(L),X=t(" Casino"),Z=ce(),x=le("p"),E=le("span"),Y=t(F),K=ce(),C=le("span"),J=t(e[5]),Q=ce(),B=le("div"),M=le("p"),q=t(P),ee=t(" Sports"),te=ce(),$=le("p"),T=le("span"),ne=t(O),re=ce(),H=le("span"),oe=t(e[5]),ue(o,"class","BalanceModalText"),ue(s,"class","BalanceModalAmount"),ue(c,"class","BalanceModalCurrency"),ue(a,"class","BalanceModalValue"),ue(r,"class","BalanceModalRowLine"),ue(p,"class","BalanceModalText"),ue(m,"class","BalanceModalAmount"),ue(y,"class","BalanceModalCurrency"),ue(f,"class","BalanceModalValue"),ue(h,"class","BalanceModalRowLine"),ue(n,"class","BalanceModalRowBoth"),ue(w,"class","BalanceModalText"),ue(E,"class","BalanceModalAmount"),ue(C,"class","BalanceModalCurrency"),ue(x,"class","BalanceModalValue"),ue(v,"class","BalanceModalRowLine"),ue(M,"class","BalanceModalText"),ue(T,"class","BalanceModalAmount"),ue(H,"class","BalanceModalCurrency"),ue($,"class","BalanceModalValue"),ue(B,"class","BalanceModalRowLine"),ue(b,"class","BalanceModalRowBoth")},m(e,t){ae(e,n,t),ie(n,r),ie(r,o),ie(o,i),ie(o,k),ie(r,R),ie(r,a),ie(a,s),ie(s,l),ie(a,D),ie(a,c),ie(c,u),ie(n,N),ie(n,h),ie(h,p),ie(p,d),ie(p,U),ie(h,j),ie(h,f),ie(f,m),ie(m,g),ie(f,G),ie(f,y),ie(y,z),ae(e,W,t),ae(e,b,t),ie(b,v),ie(v,w),ie(w,V),ie(w,X),ie(v,Z),ie(v,x),ie(x,E),ie(E,Y),ie(x,K),ie(x,C),ie(C,J),ie(b,Q),ie(b,B),ie(B,M),ie(M,q),ie(M,ee),ie(B,te),ie(B,$),ie($,T),ie(T,ne),ie($,re),ie($,H),ie(H,oe)},p(e,t){256&t[0]&&A!==(A=e[8]("cashBalance")+"")&&he(i,A),128&t[0]&&S!==(S=e[7].Casino.Real+"")&&he(l,S),32&t[0]&&he(u,e[5]),256&t[0]&&_!==(_=e[8]("cashBalance")+"")&&he(d,_),128&t[0]&&I!==(I=e[7].Sports.Real+"")&&he(g,I),32&t[0]&&he(z,e[5]),256&t[0]&&L!==(L=e[8]("bonusBalance")+"")&&he(V,L),128&t[0]&&F!==(F=e[7].Casino.Bonus+"")&&he(Y,F),32&t[0]&&he(J,e[5]),256&t[0]&&P!==(P=e[8]("bonusBalance")+"")&&he(q,P),128&t[0]&&O!==(O=e[7].Sports.Bonus+"")&&he(ne,O),32&t[0]&&he(oe,e[5])},d(e){e&&se(n),e&&se(W),e&&se(b)}}}function Wo(e){let n,r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,E,C=e[8]("cashBalance")+"",B=e[7][e[1]||"Casino"].Real+"",M=e[8]("bonusBalance")+"",$=e[7][e[1]||"Casino"].Bonus+"";return{c(){n=le("div"),r=le("p"),o=t(C),i=ce(),a=le("p"),s=le("span"),l=t(B),c=ce(),u=le("span"),h=t(e[5]),p=ce(),d=le("div"),f=le("p"),m=t(M),g=ce(),y=le("p"),b=le("span"),v=t($),w=ce(),x=le("span"),E=t(e[5]),ue(r,"class","BalanceModalText"),ue(s,"class","BalanceModalAmount"),ue(u,"class","BalanceModalCurrency"),ue(a,"class","BalanceModalValue"),ue(n,"class","BalanceModalRow"),ue(f,"class","BalanceModalText"),ue(b,"class","BalanceModalAmount"),ue(x,"class","BalanceModalCurrency"),ue(y,"class","BalanceModalValue"),ue(d,"class","BalanceModalRow")},m(e,t){ae(e,n,t),ie(n,r),ie(r,o),ie(n,i),ie(n,a),ie(a,s),ie(s,l),ie(a,c),ie(a,u),ie(u,h),ae(e,p,t),ae(e,d,t),ie(d,f),ie(f,m),ie(d,g),ie(d,y),ie(y,b),ie(b,v),ie(y,w),ie(y,x),ie(x,E)},p(e,t){256&t[0]&&C!==(C=e[8]("cashBalance")+"")&&he(o,C),130&t[0]&&B!==(B=e[7][e[1]||"Casino"].Real+"")&&he(l,B),32&t[0]&&he(h,e[5]),256&t[0]&&M!==(M=e[8]("bonusBalance")+"")&&he(m,M),130&t[0]&&$!==($=e[7][e[1]||"Casino"].Bonus+"")&&he(v,$),32&t[0]&&he(E,e[5])},d(e){e&&se(n),e&&se(p),e&&se(d)}}}function Vo(n){let r,o,i;return{c(){ue(r=le("div"),"class","ShowBalanceModalOverlay")},m(e,t){ae(e,r,t),o||(i=O(r,"click",n[26]),o=!0)},p:v,d(e){e&&se(r),o=!1,i()}}}function Xo(n){let r,o,i,a,s,l,c,u,h,p,d,f,m=n[3]&&Uo(n),g=n[3]&&Vo(n);return{c(){r=le("div"),o=le("div"),i=le("p"),a=t(n[4]),s=ce(),l=t(n[5]),c=ce(),(u=le("span")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emfe-w-color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>',h=ce(),m&&m.c(),p=ce(),g&&g.c(),this.c=v,ue(i,"class","BalanceValue"),ue(i,"part","BalanceValue"),ue(o,"class","ShowBalance"),ue(o,"part","ShowBalance")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(i,s),ie(i,l),ie(i,c),ie(i,u),ie(o,h),m&&m.m(o,null),ie(r,p),g&&g.m(r,null),n[27](r),d||(f=O(i,"click",n[23]),d=!0)},p(e,t){16&t[0]&&he(a,e[4]),32&t[0]&&he(l,e[5]),e[3]?m?m.p(e,t):((m=Uo(e)).c(),m.m(o,null)):m&&(m.d(1),m=null),e[3]?g?g.p(e,t):((g=Vo(e)).c(),g.m(r,null)):g&&(g.d(1),g=null)},i:v,o:v,d(e){e&&se(r),m&&m.d(),g&&g.d(),n[27](null),d=!1,f()}}}function Zo(t,e,a){let n;ye(t,Kr,e=>a(8,n=e));let r,o,{userid:i=""}=e,{session:s=""}=e,{endpoint:l=""}=e,{lang:c="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{translationurl:p=""}=e,{customlocaleidentifier:d=""}=e,{gmversion:f=""}=e,{displaybalanceoption:m="All"}=e,{currencyseparator:g=""}=e,{currencydecimal:y=""}=e,{currencyprecision:b=""}=e,v=!1,w="",x="",E=[],C="0",B=!1;const M={Casino:{Real:0,Bonus:0},Sports:{Real:0,Bonus:0}},$=(Object.keys(Ro).forEach(e=>{ko(e,Ro[e])}),e=>{switch(e){case"balance":a(3,v=!0);break;case"closebalance":a(3,v=!1)}}),T=(e,t)=>{e=new Do.EventSourcePolyfill(e,{headers:{accept:"text/event-stream","X-SessionId":t}});o&&o.close(),(o=e).addEventListener("message",e=>{C="0";try{let r=JSON.parse(e.data)["balanceChange"];if("gmcore"===f)a(6,E=E.map(e=>{var t,n;return r&&r[e.id]&&(t=e,n=r[e.id].afterAmount,e=Object.assign(Object.assign({},t),{balanceAmount:n})),C=(parseFloat(null==e?void 0:e.balanceAmount)+parseFloat(C)).toString(),e}));else if("gm16"===f)for(var t in r)a(7,M.Casino[t]=r[t].afterAmount,M),C=M.Casino[t]+C,a(7,M.Casino[t]=S(M.Casino[t]),M);a(4,w=S(Number(C)))}catch(e){console.log("Balance stream failed: ",e),T(`${l}/v1/player/${i}/balance/updates`,s)}})},H=()=>{$("closebalance"),window.postMessage({type:"GoToDeposit"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"PlayerAccountBalanceModal"})},A=()=>{let e;return e=d.includes(c)?d:e},S=e=>{return d?new Intl.NumberFormat(A(),{useGrouping:!0}).format(e):(g&&y?No(e,{separator:g,decimal:y,symbol:"",precision:parseInt(b||"2",10)}):No(e,{separator:".",decimal:",",symbol:"",precision:parseInt(b||"2",10)})).format()},_=e=>{e.data&&"LogoutSuccessfull"===e.data.type&&o.close()};return ve(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_),o&&o.close()})),t.$$set=e=>{"userid"in e&&a(12,i=e.userid),"session"in e&&a(13,s=e.session),"endpoint"in e&&a(14,l=e.endpoint),"lang"in e&&a(15,c=e.lang),"clientstyling"in e&&a(16,u=e.clientstyling),"clientstylingurl"in e&&a(17,h=e.clientstylingurl),"translationurl"in e&&a(18,p=e.translationurl),"customlocaleidentifier"in e&&a(19,d=e.customlocaleidentifier),"gmversion"in e&&a(0,f=e.gmversion),"displaybalanceoption"in e&&a(1,m=e.displaybalanceoption),"currencyseparator"in e&&a(20,g=e.currencyseparator),"currencydecimal"in e&&a(21,y=e.currencydecimal),"currencyprecision"in e&&a(22,b=e.currencyprecision)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&A(),61443&t.$$.dirty[0]&&l&&i&&s&&c&&f&&m){var e=c;switch(ge.set(e),f){case"gmcore":(async e=>{try{B=!0;var t=await fetch(e,{method:"GET",headers:{"X-SessionID":s}}),n=await t.json();if(!t.ok)throw B=!1,new Error("Failed to fetch balance data !");B=!1,a(6,E=n.items),a(5,x=Object.keys(n.totalAmount)[0]),a(4,w=S(n.totalAmount[x]))}catch(e){B=!1,console.log("Balance error: ",e)}finally{B=!1}})(new URL(`${l}/v1/player/${i}/account`));break;case"gm16":(async e=>{try{B=!0,"Casino"==m&&e.searchParams.append("productType","Casino"),"Sports"==m&&e.searchParams.append("productType","Sports"),"All"===m&&(e.searchParams.append("productType","Casino"),e.searchParams.append("productType","Sports"));var t=await fetch(e,{method:"GET",headers:{"X-SessionID":s}}),n=await t.json();if(!t.ok)throw B=!1,new Error("Failed to fetch balance data !");B=!1;for(const e of n.items){var{type:r,amount:o,productType:i}=e;"Casino"===m?a(7,M.Casino[r]=S(o),M):"Sports"===m?a(7,M.Sports[r]=S(o),M):"All"===m&&i&&r&&a(7,M[i][r]=S(o),M)}a(5,x=Object.keys(n.totalAmount)[0]),a(4,w=S(n.totalAmount[x]))}catch(e){B=!1,console.log("Balance error: ",e)}finally{B=!1}})(new URL(`${l}/v1/player/${i}/balance`));break;default:throw Error("Invalid apiversion attribute: "+f)}}if(28672&t.$$.dirty[0]&&l&&i&&s&&T(`${l}/v1/player/${i}/balance/updates`,s),65540&t.$$.dirty[0]&&u&&r&&((e=document.createElement("style")).innerHTML=u,r.appendChild(e)),131076&t.$$.dirty[0]&&h&&r){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}262144&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ko(e,t[e])})}).catch(e=>{console.log(e)})},[f,m,r,v,w,x,E,M,n,$,H,S,i,s,l,c,u,h,p,d,g,y,b,()=>$("balance"),()=>$("closebalance"),()=>H(),()=>$("closebalance"),function(e){me[e?"unshift":"push"](()=>{r=e,a(2,r)})}]}function Yo(e,t){wr(e,t)}customElements.get("player-account-balance-modal")||customElements.define("player-account-balance-modal",class extends Me{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{font-family:inherit}:host{font-family:inherit}button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer}.BalanceModalClose:before{content:"";background:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emfe-w-header-contrast, var(--emfe-w-color-contrast, #07072A))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emfe-w-header-contrast, var(--emfe-w-color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emfe-w-header-contrast, var(--emfe-w-color-contrast, #07072A))}.BalanceModalRow{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.BalanceModalRow:last-child{border-bottom:none}.BalanceModalRow .BalanceModalText{color:var(--emfe-w-header-contrast, var(--emfe-w-color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRow .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emfe-w-header-contrast, var(--emfe-w-color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover{background:var(--emfe-w-header-contrast, var(--emfe-w-color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}',this.shadowRoot.appendChild(t),Be(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Zo,Xo,T,{userid:12,session:13,endpoint:14,lang:15,clientstyling:16,clientstylingurl:17,translationurl:18,customlocaleidentifier:19,gmversion:0,displaybalanceoption:1,currencyseparator:20,currencydecimal:21,currencyprecision:22},null,[-1,-1]),e&&(e.target&&ae(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["userid","session","endpoint","lang","clientstyling","clientstylingurl","translationurl","customlocaleidentifier","gmversion","displaybalanceoption","currencyseparator","currencydecimal","currencyprecision"]}get userid(){return this.$$.ctx[12]}set userid(e){this.$$set({userid:e}),p()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),p()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),p()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),p()}get customlocaleidentifier(){return this.$$.ctx[19]}set customlocaleidentifier(e){this.$$set({customlocaleidentifier:e}),p()}get gmversion(){return this.$$.ctx[0]}set gmversion(e){this.$$set({gmversion:e}),p()}get displaybalanceoption(){return this.$$.ctx[1]}set displaybalanceoption(e){this.$$set({displaybalanceoption:e}),p()}get currencyseparator(){return this.$$.ctx[20]}set currencyseparator(e){this.$$set({currencyseparator:e}),p()}get currencydecimal(){return this.$$.ctx[21]}set currencydecimal(e){this.$$set({currencydecimal:e}),p()}get currencyprecision(){return this.$$.ctx[22]}set currencyprecision(e){this.$$set({currencyprecision:e}),p()}});const Ko={en:{title:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{title:"訂金",loading:"加載請稍候…"},fr:{title:"Dépôt",loading:"Chargement, veuillez patienter ..."},ro:{title:"Depunere",loading:"Se încarcă..."},es:{title:"Deposita",loading:"Cargando ..."},pt:{title:"Depósito",loading:"Carregando, por favor espere ..."},hr:{title:"Uplata",loading:"Učitavanje"}};function Jo(e){let n,r,o;return{c(){n=le("div"),C((r=le("iframe")).src,o=e[3])||ue(r,"src",o),ue(r,"title","Deposit Iframe"),ue(n,"class","DepositIframeWrapper")},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){8&t&&!C(r.src,o=e[3])&&ue(r,"src",o)},d(e){e&&se(n)}}}function Qo(e){let n,r,o=e[4]("loading")+"";return{c(){n=le("p"),r=t(o)},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){16&t&&o!==(o=e[4]("loading")+"")&&he(r,o)},d(e){e&&se(n)}}}function qo(n){let r,o,i,a,s,l=n[4]("title")+"",c=n[5]&&function(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g=n[4]("title")+"";return{c(){r=le("div"),o=e("svg"),i=e("defs"),a=e("style"),s=t(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=e("g"),c=e("g"),u=e("path"),h=ce(),p=le("h2"),d=t(g),ue(u,"class","aaa"),ue(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),ue(u,"transform","translate(15 15) rotate(180)"),ue(c,"transform","translate(20 158)"),ue(l,"transform","translate(-20 -158)"),ue(o,"xmlns","http://www.w3.org/2000/svg"),ue(o,"width","15"),ue(o,"height","15"),ue(o,"viewBox","0 0 15 15"),ue(p,"class","DepositTitleMobile"),ue(r,"class","MenuReturnButton")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(a,s),ie(o,l),ie(l,c),ie(c,u),ie(r,h),ie(r,p),ie(p,d),f||(m=O(r,"click",n[17]),f=!0)},p(e,t){16&t&&g!==(g=e[4]("title")+"")&&he(d,g)},d(e){e&&se(r),f=!1,m()}}}(n);function u(e){return e[1]?Qo:Jo}let h=u(n),p=h(n);return{c(){r=le("div"),c&&c.c(),o=ce(),i=le("h2"),a=t(l),s=ce(),p.c(),this.c=v,ue(i,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),ue(r,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),U(r,"--dynamic-height",n[2])},m(e,t){ae(e,r,t),c&&c.m(r,null),ie(r,o),ie(r,i),ie(i,a),ie(r,s),p.m(r,null),n[18](r)},p(e,[t]){e[5]&&c.p(e,t),16&t&&l!==(l=e[4]("title")+"")&&he(a,l),h===(h=u(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(r,null))),4&t&&U(r,"--dynamic-height",e[2])},i:v,o:v,d(e){e&&se(r),c&&c.d(),p.d(),n[18](null)}}}function ei(r,e,o){let t;ye(r,Kr,e=>o(4,t=e));let i,n,{endpoint:a=""}=e,{session:s=""}=e,{playerid:l=""}=e,{lang:c="en"}=e,{hasdefaultamount:u=""}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{translationurl:d=""}=e,{playercurrency:f=""}=e,{shortcashierenabled:m="false"}=e,g=window.navigator.userAgent,y="PC"!==Qr(g),b=!0,v=0,w="";Object.keys(Ko).forEach(e=>{Yo(e,Ko[e])});const x=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:y},window.location.href)},E=e=>{if(e.data)switch("ProfileDetailsData"===e.data.type&&o(7,f=e.data.profileDetails.currency),e.data["MMFE:setQuickDepositHeight"]&&o(2,n=e.data["MMFE:setQuickDepositHeight"].toString()+"px"),"true"===e.data["MMFE:openFullCashier"]&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),e.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href)}};return ve(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),r.$$set=e=>{"endpoint"in e&&o(8,a=e.endpoint),"session"in e&&o(9,s=e.session),"playerid"in e&&o(10,l=e.playerid),"lang"in e&&o(11,c=e.lang),"hasdefaultamount"in e&&o(12,u=e.hasdefaultamount),"clientstyling"in e&&o(13,h=e.clientstyling),"clientstylingurl"in e&&o(14,p=e.clientstylingurl),"translationurl"in e&&o(15,d=e.translationurl),"playercurrency"in e&&o(7,f=e.playercurrency),"shortcashierenabled"in e&&o(16,m=e.shortcashierenabled)},r.$$.update=()=>{if(2048&r.$$.dirty&&c&&(n=c,ge.set(n)),16385&r.$$.dirty&&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)})}if(8193&r.$$.dirty&&h&&i&&((n=document.createElement("style")).innerHTML=h,i.appendChild(n)),32768&r.$$.dirty&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Yo(e,t[e])})}).catch(e=>{console.log(e)}),69504&r.$$.dirty&&s&&l&&a&&f&&c&&m){var e=new URL(`${a}/v1/player/${l}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(m&&e.searchParams.append("isShortCashier",m),u)switch(f){case"USD":v=.4;break;case"CDF":v=1e3}var t={method:"POST",headers:{"X-SessionId":s,currency:f||"EUR",amount:v,cashierMode:"Default",IsShortCashier:m,accept:"application/json"}};fetch(e.href,t).then(e=>e.json()).then(e=>{o(1,b=!1),o(3,w=e.CashierUrl)},e=>{console.error(e)})}var n},[i,b,n,w,t,y,x,f,a,s,l,c,u,h,p,d,m,()=>x(),function(e){me[e?"unshift":"push"](()=>{i=e,o(0,i)})}]}customElements.get("player-deposit")||customElements.define("player-deposit",class extends Me{constructor(e){super();var t=document.createElement("style");t.textContent=".DepositWrapper{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.DepositTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.DepositTitleMobile{font-size:16px}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh}",this.shadowRoot.appendChild(t),Be(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ei,qo,T,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,shortcashierenabled:16},null),e&&(e.target&&ae(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","session","playerid","lang","hasdefaultamount","clientstyling","clientstylingurl","translationurl","playercurrency","shortcashierenabled"]}get endpoint(){return this.$$.ctx[8]}set endpoint(e){this.$$set({endpoint:e}),p()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),p()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$$set({playerid:e}),p()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),p()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),p()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),p()}get playercurrency(){return this.$$.ctx[7]}set playercurrency(e){this.$$set({playercurrency:e}),p()}get shortcashierenabled(){return this.$$.ctx[16]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),p()}});var ti="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LjljY2M0ZGU5MywgMjAyMi8wMy8xNC0xNDowNzoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIzLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMzQjhCMTgyRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMzQjhCMTgzRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzNCOEIxODBFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzNCOEIxODFFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7HvIqyAAAAEElEQVR42mL4//8/A0CAAQAI/AL+26JNFgAAAABJRU5ErkJggg==";const ni=_["document"];function ri(e,t,n){e=e.slice();return e[110]=t[n],e}function oi(e,t,n){e=e.slice();return e[113]=t[n],e}function ii(e,t,n){e=e.slice();return e[113]=t[n],e}function ai(e,t,n){e=e.slice();return e[110]=t[n],e}function si(e,t,n){e=e.slice();return e[113]=t[n],e}function li(e,t,n){e=e.slice();return e[113]=t[n],e}function ci(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,e=n[45]("login")+"",E=n[45]("register")+"";function C(e){return e[37]?di:pi}let B=C(n),M=B(n),$=!n[31]&&fi(n),T=1<n[41].length&&mi(n),H=n[34],A=[];for(let e=0;e<H.length;e+=1)A[e]=xi(ri(n,H,e));return{c(){r=le("header"),o=le("div"),i=le("div"),M.c(),a=ce(),s=le("nav"),$&&$.c(),l=ce(),c=le("div"),u=le("div"),h=le("div"),p=t(e),d=ce(),f=le("div"),m=t(E),g=ce(),T&&T.c(),y=ce(),b=le("nav"),v=le("ul");for(let e=0;e<A.length;e+=1)A[e].c();ue(i,"class","HeaderBranding"),ue(s,"class","HeaderMainNav"),ue(h,"class","Item ItemLogin"),ue(h,"tabindex","0"),ue(f,"class","Item ItemRegister"),ue(f,"tabindex","0"),ue(u,"class","HeaderItemsMenu"),ue(c,"class","HeaderTopActions"),ue(o,"class","HeaderContainer"),ue(v,"class","HeaderItemsMenuSecondary"),ue(b,"class","HeaderSecondaryNav"),ue(r,"class","HeaderWrapper")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),M.m(i,null),ie(o,a),ie(o,s),$&&$.m(s,null),ie(o,l),ie(o,c),ie(c,u),ie(u,h),ie(h,p),ie(u,d),ie(u,f),ie(f,m),ie(u,g),T&&T.m(u,null),ie(r,y),ie(r,b),ie(b,v);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(v,null);n[89](r),w||(x=[O(i,"click",n[81]),O(h,"click",n[82]),O(f,"click",n[83])],w=!0)},p(t,n){if(B===(B=C(t))&&M?M.p(t,n):(M.d(1),(M=B(t))&&(M.c(),M.m(i,null))),t[31]?$&&($.d(1),$=null):$?$.p(t,n):(($=fi(t)).c(),$.m(s,null)),16384&n[1]&&e!==(e=t[45]("login")+"")&&he(p,e),16384&n[1]&&E!==(E=t[45]("register")+"")&&he(m,E),1<t[41].length?T?T.p(t,n):((T=mi(t)).c(),T.m(u,null)):T&&(T.d(1),T=null),524300&n[1]){let e;for(H=t[34],e=0;e<H.length;e+=1){const i=ri(t,H,e);A[e]?A[e].p(i,n):(A[e]=xi(i),A[e].c(),A[e].m(v,null))}for(;e<A.length;e+=1)A[e].d(1);A.length=H.length}},d(e){e&&se(r),M.d(),$&&$.d(),T&&T.d(),L(A,e),n[89](null),w=!1,P(x)}}}function ui(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,E,C,B,M,$=n[45]("login")+"",T=n[45]("register")+"";function H(e){return e[37]?Ci:Ei}let A=H(n),S=A(n);return{c(){r=le("header"),o=le("div"),i=le("div"),a=e("svg"),s=e("defs"),l=e("style"),c=t(".a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n "),u=e("g"),h=e("rect"),p=e("rect"),d=e("rect"),f=ce(),m=le("div"),S.c(),g=ce(),y=le("div"),b=le("div"),v=le("div"),w=t($),x=ce(),E=le("div"),C=t(T),ue(h,"class","a"),ue(h,"width","18"),ue(h,"height","2"),ue(h,"transform","translate(14 13)"),ue(p,"class","a"),ue(p,"width","22"),ue(p,"height","2"),ue(p,"transform","translate(14 20)"),ue(d,"class","a"),ue(d,"width","22"),ue(d,"height","2"),ue(d,"transform","translate(14 27)"),ue(u,"transform","translate(-14 -13)"),ue(a,"xmlns","http://www.w3.org/2000/svg"),ue(a,"width","22"),ue(a,"height","16"),ue(a,"viewBox","0 0 22 16"),ue(i,"class","HeaderMobileMainNav"),ue(m,"class","HeaderBranding"),ue(v,"class","Item ItemLogin"),ue(E,"class","Item ItemRegister"),ue(b,"class","HeaderItemsMenu"),ue(y,"class","HeaderTopActions"),ue(o,"class","HeaderContainer"),ue(r,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(a,s),ie(s,l),ie(l,c),ie(a,u),ie(u,h),ie(u,p),ie(u,d),ie(o,f),ie(o,m),S.m(m,null),ie(o,g),ie(o,y),ie(y,b),ie(b,v),ie(v,w),ie(b,x),ie(b,E),ie(E,C),n[80](r),B||(M=[O(a,"click",n[76]),O(m,"click",n[77]),O(v,"click",n[78]),O(E,"click",n[79])],B=!0)},p(e,t){A===(A=H(e))&&S?S.p(e,t):(S.d(1),(S=A(e))&&(S.c(),S.m(m,null))),16384&t[1]&&$!==($=e[45]("login")+"")&&he(w,$),16384&t[1]&&T!==(T=e[45]("register")+"")&&he(C,T)},d(e){e&&se(r),S.d(),n[80](null),B=!1,P(M)}}}function hi(e){let n;function r(e){return e[39]?Mi:Bi}let o=r(e),i=o(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ae(e,n,t)},p(e,t){o===(o=r(e))&&i?i.p(e,t):(i.d(1),(i=o(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&se(n)}}}function pi(e){let n,t;return{c(){C((n=le("img")).src,t=ti)||ue(n,"src",t),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p:v,d(e){e&&se(n)}}}function di(e){let n,r;return{c(){C((n=le("img")).src,r=e[43])||ue(n,"src",r),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p(e,t){4096&t[1]&&!C(n.src,r=e[43])&&ue(n,"src",r)},d(e){e&&se(n)}}}function fi(n){let r,o,i;return{c(){F(r=le("casino-slider"),"class","HeaderItemsMenu"),F(r,"part","HeaderItemsMenu"),F(r,"identity",Vi),F(r,"isprimarymenu","true"),F(r,"actionevent",n[23]),F(r,"activeindex",n[32]),F(r,"location","headerMain"),F(r,"endpoint",n[2]),F(r,"lang",n[3]),F(r,"clientstyling",n[25]),F(r,"clientstylingurl",n[26])},m(e,t){ae(e,r,t),o||(i=S(n[49].call(null,r)),o=!0)},p(e,t){8388608&t[0]&&F(r,"actionevent",e[23]),2&t[1]&&F(r,"activeindex",e[32]),4&t[0]&&F(r,"endpoint",e[2]),8&t[0]&&F(r,"lang",e[3]),33554432&t[0]&&F(r,"clientstyling",e[25]),67108864&t[0]&&F(r,"clientstylingurl",e[26])},d(e){e&&se(r),o=!1,i()}}}function mi(e){let n;function r(e){return"true"!==e[8]?yi:gi}let o=r(e),i=o(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ae(e,n,t)},p(e,t){o===(o=r(e))&&i?i.p(e,t):(i.d(1),(i=o(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&se(n)}}}function gi(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v=n[38]&&bi(n);return{c(){r=le("div"),o=le("div"),i=le("span"),a=le("img"),l=ce(),c=le("span"),u=t(n[35]),h=ce(),p=le("span"),d=e("svg"),f=e("path"),g=ce(),v&&v.c(),C(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[53](n[35])}.svg`)||ue(a,"src",s),ue(i,"class","FlagIcon"),ue(c,"class","LanguageName"),ue(f,"id","arrow"),ue(f,"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"),ue(f,"transform","translate(-274.511 -441.088)"),ue(f,"fill","#d1d1d1"),ue(d,"xmlns","http://www.w3.org/2000/svg"),ue(d,"width","14"),ue(d,"height","6.835"),ue(d,"viewBox","0 0 14 6.835"),ue(p,"class",m="TriangleInactive "+(n[38]?"TriangleActive":"")),ue(o,"class","SelectedOption Item ItemLanguage"),ue(r,"class","LanguageDropdown")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(o,l),ie(o,c),ie(c,u),ie(o,h),ie(o,p),ie(p,d),ie(d,f),ie(r,g),v&&v.m(r,null),y||(b=O(o,"click",n[86]),y=!0)},p(e,t){1040&t[1]&&!C(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[53](e[35])}.svg`)&&ue(a,"src",s),16&t[1]&&he(u,e[35]),128&t[1]&&m!==(m="TriangleInactive "+(e[38]?"TriangleActive":""))&&ue(p,"class",m),e[38]?v?v.p(e,t):((v=bi(e)).c(),v.m(r,null)):v&&(v.d(1),v=null)},d(e){e&&se(r),v&&v.d(),y=!1,b()}}}function yi(n){let o,r,i,a=n[41],s=[];for(let e=0;e<a.length;e+=1)s[e]=wi(ii(n,a,e));return{c(){o=le("select");for(let e=0;e<s.length;e+=1)s[e].c();ue(o,"class","Item ItemLanguage NoFlag"),void 0===n[35]&&B(()=>n[84].call(o))},m(e,t){ae(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);j(o,n[35],!0),r||(i=[O(o,"change",n[84]),O(o,"change",n[85])],r=!0)},p(t,n){if(1024&n[1]){let e;for(a=t[41],e=0;e<a.length;e+=1){var r=ii(t,a,e);s[e]?s[e].p(r,n):(s[e]=wi(r),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}1040&n[1]&&j(o,t[35])},d(e){e&&se(o),L(s,e),r=!1,P(i)}}}function bi(t){let o,i=t[41],a=[];for(let e=0;e<i.length;e+=1)a[e]=vi(oi(t,i,e));return{c(){o=le("div");for(let e=0;e<a.length;e+=1)a[e].c();ue(o,"class","OptionList")},m(e,t){ae(e,o,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(o,null)},p(t,n){if(5243904&n[1]){let e;for(i=t[41],e=0;e<i.length;e+=1){var r=oi(t,i,e);a[e]?a[e].p(r,n):(a[e]=vi(r),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length}},d(e){e&&se(o),L(a,e)}}}function vi(n){let r,o,i,a,s,l,c,u,h,p,d=n[113]+"";function f(){return n[87](n[113])}return{c(){r=le("div"),o=le("span"),i=le("img"),s=ce(),l=le("span"),c=t(d),u=ce(),C(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[53](n[113])}.svg`)||ue(i,"src",a),ue(o,"class","FlagIcon"),ue(l,"class","LanguageName"),ue(r,"class","LanguageOption")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,s),ie(r,l),ie(l,c),ie(r,u),h||(p=O(r,"click",f),h=!0)},p(e,t){n=e,1024&t[1]&&!C(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[53](n[113])}.svg`)&&ue(i,"src",a),1024&t[1]&&d!==(d=n[113]+"")&&he(c,d)},d(e){e&&se(r),h=!1,p()}}}function wi(e){let n,r,o,i=e[113]+"";return{c(){n=le("option"),r=t(i),n.__value=o=e[113],n.value=n.__value},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){1024&t[1]&&i!==(i=e[113]+"")&&he(r,i),1024&t[1]&&o!==(o=e[113])&&(n.__value=o,n.value=n.__value)},d(e){e&&se(n)}}}function xi(n){let r,o,i,a,s,l,c,u=n[110].label+"";function h(){return n[88](n[110])}return{c(){r=le("li"),o=le("button"),i=t(u),a=ce(),ue(r,"class",s="ItemSecondary "+(-1<n[33]?.toString().indexOf("$")?n[33]?.split("$").pop()==n[110].id.split("$").pop()?"active":"":n[33]==n[110].id?"active":"")),ue(r,"part","ItemSecondary")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,a),l||(c=O(o,"click",h),l=!0)},p(e,t){n=e,8&t[1]&&u!==(u=n[110].label+"")&&he(i,u),12&t[1]&&s!==(s="ItemSecondary "+(-1<n[33]?.toString().indexOf("$")?n[33]?.split("$").pop()==n[110].id.split("$").pop()?"active":"":n[33]==n[110].id?"active":""))&&ue(r,"class",s)},d(e){e&&se(r),l=!1,c()}}}function Ei(e){let n,t;return{c(){C((n=le("img")).src,t=ti)||ue(n,"src",t),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p:v,d(e){e&&se(n)}}}function Ci(e){let n,r;return{c(){C((n=le("img")).src,r=e[43])||ue(n,"src",r),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p(e,t){4096&t[1]&&!C(n.src,r=e[43])&&ue(n,"src",r)},d(e){e&&se(n)}}}function Bi(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x,E,C,B,e=n[45]("deposit")+"";function M(e){return e[37]?Ti:$i}let $=M(n),T=$(n),H=!n[31]&&Hi(n),A=n[44]&&Ai(n),S=1<n[41].length&&Ii(n),_=n[34],I=[];for(let e=0;e<_.length;e+=1)I[e]=Ri(ai(n,_,e));return{c(){r=le("header"),o=le("div"),i=le("div"),T.c(),a=ce(),s=le("nav"),H&&H.c(),l=ce(),c=le("div"),u=le("div"),h=le("player-account-balance-modal"),p=ce(),d=le("div"),f=le("div"),m=t(e),g=ce(),A&&A.c(),y=ce(),(b=le("div")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429"><defs><style>.a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n </style></defs><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>',v=ce(),S&&S.c(),w=ce(),x=le("nav"),E=le("ul");for(let e=0;e<I.length;e+=1)I[e].c();ue(i,"class","HeaderBranding"),ue(s,"class","HeaderMainNav"),F(h,"session",n[0]),F(h,"userid",n[1]),F(h,"endpoint",n[2]),F(h,"lang",n[3]),F(h,"clientstyling",n[25]),F(h,"clientstylingurl",n[26]),F(h,"customlocaleidentifier",n[6]),F(h,"gmversion",n[7]),F(h,"displaybalanceoption",n[9]),F(h,"currencyseparator",n[27]),F(h,"currencydecimal",n[28]),F(h,"currencyprecision",n[29]),ue(f,"class","Item ItemDeposit"),ue(f,"part","Item ItemDeposit"),ue(b,"class","Item ItemAccount"),ue(b,"part","Item ItemAccount"),ue(u,"class","HeaderItemsMenu PrimaryMenu"),ue(c,"class","HeaderTopActions"),ue(o,"class","HeaderContainer"),ue(E,"class","HeaderItemsMenuSecondary"),ue(x,"class","HeaderSecondaryNav"),ue(r,"class","HeaderWrapper")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),T.m(i,null),ie(o,a),ie(o,s),H&&H.m(s,null),ie(o,l),ie(o,c),ie(c,u),ie(u,h),ie(u,p),ie(u,d),ie(d,f),ie(f,m),ie(d,g),A&&A.m(d,null),ie(u,y),ie(u,b),ie(u,v),S&&S.m(u,null),ie(r,w),ie(r,x),ie(x,E);for(let e=0;e<I.length;e+=1)I[e]&&I[e].m(E,null);n[75](r),C||(B=[O(i,"click",n[65]),O(f,"click",n[66]),O(b,"click",n[69])],C=!0)},p(t,n){if($===($=M(t))&&T?T.p(t,n):(T.d(1),(T=$(t))&&(T.c(),T.m(i,null))),t[31]?H&&(H.d(1),H=null):H?H.p(t,n):((H=Hi(t)).c(),H.m(s,null)),1&n[0]&&F(h,"session",t[0]),2&n[0]&&F(h,"userid",t[1]),4&n[0]&&F(h,"endpoint",t[2]),8&n[0]&&F(h,"lang",t[3]),33554432&n[0]&&F(h,"clientstyling",t[25]),67108864&n[0]&&F(h,"clientstylingurl",t[26]),64&n[0]&&F(h,"customlocaleidentifier",t[6]),128&n[0]&&F(h,"gmversion",t[7]),512&n[0]&&F(h,"displaybalanceoption",t[9]),134217728&n[0]&&F(h,"currencyseparator",t[27]),268435456&n[0]&&F(h,"currencydecimal",t[28]),536870912&n[0]&&F(h,"currencyprecision",t[29]),16384&n[1]&&e!==(e=t[45]("deposit")+"")&&he(m,e),t[44]?A?A.p(t,n):((A=Ai(t)).c(),A.m(d,null)):A&&(A.d(1),A=null),1<t[41].length?S?S.p(t,n):((S=Ii(t)).c(),S.m(u,null)):S&&(S.d(1),S=null),524300&n[1]){let e;for(_=t[34],e=0;e<_.length;e+=1){const i=ai(t,_,e);I[e]?I[e].p(i,n):(I[e]=Ri(i),I[e].c(),I[e].m(E,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=_.length}},d(e){e&&se(r),T.d(),H&&H.d(),A&&A.d(),S&&S.d(),L(I,e),n[75](null),C=!1,P(B)}}}function Mi(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v,w,x=n[45]("deposit")+"",E=!n[42]&&Di(n);function C(e){return e[37]?Ui:Ni}let B=C(n),M=B(n),$=n[44]&&ji(n);return{c(){r=le("header"),o=le("div"),i=le("div"),E&&E.c(),a=ce(),s=le("div"),M.c(),l=ce(),c=le("div"),u=le("div"),h=le("player-account-balance-modal"),p=ce(),d=le("div"),f=le("div"),m=t(x),g=ce(),$&&$.c(),y=ce(),(b=le("div")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429"><defs><style>.a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n </style></defs><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>',ue(i,"class","HeaderMobileMainNav"),ue(s,"class","HeaderBranding"),F(h,"session",n[0]),F(h,"userid",n[1]),F(h,"endpoint",n[2]),F(h,"lang",n[3]),F(h,"clientstyling",n[25]),F(h,"clientstylingurl",n[26]),F(h,"customlocaleidentifier",n[6]),F(h,"gmversion",n[7]),F(h,"displaybalanceoption",n[9]),F(h,"currencyseparator",n[27]),F(h,"currencydecimal",n[28]),F(h,"currencyprecision",n[29]),ue(f,"class","Item ItemDeposit"),ue(f,"part","Item ItemDeposit"),ue(b,"class","Item ItemAccount"),ue(b,"part","Item ItemAccount"),ue(u,"class","HeaderItemsMenu PrimaryMenu"),ue(u,"part","HeaderItemsMenu PrimaryMenu"),ue(c,"class","HeaderTopActions"),ue(c,"part","HeaderTopActions"),ue(o,"class","HeaderContainer"),ue(r,"class","HeaderWrapper HeaderMobileWrapper")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),E&&E.m(i,null),ie(o,a),ie(o,s),M.m(s,null),ie(o,l),ie(o,c),ie(c,u),ie(u,h),ie(u,p),ie(u,d),ie(d,f),ie(f,m),ie(d,g),$&&$.m(d,null),ie(u,y),ie(u,b),n[64](r),v||(w=[O(s,"click",n[59]),O(f,"click",n[60]),O(b,"click",n[63])],v=!0)},p(e,t){e[42]?E&&(E.d(1),E=null):E?E.p(e,t):((E=Di(e)).c(),E.m(i,null)),B===(B=C(e))&&M?M.p(e,t):(M.d(1),(M=B(e))&&(M.c(),M.m(s,null))),1&t[0]&&F(h,"session",e[0]),2&t[0]&&F(h,"userid",e[1]),4&t[0]&&F(h,"endpoint",e[2]),8&t[0]&&F(h,"lang",e[3]),33554432&t[0]&&F(h,"clientstyling",e[25]),67108864&t[0]&&F(h,"clientstylingurl",e[26]),64&t[0]&&F(h,"customlocaleidentifier",e[6]),128&t[0]&&F(h,"gmversion",e[7]),512&t[0]&&F(h,"displaybalanceoption",e[9]),134217728&t[0]&&F(h,"currencyseparator",e[27]),268435456&t[0]&&F(h,"currencydecimal",e[28]),536870912&t[0]&&F(h,"currencyprecision",e[29]),16384&t[1]&&x!==(x=e[45]("deposit")+"")&&he(m,x),e[44]?$?$.p(e,t):(($=ji(e)).c(),$.m(d,null)):$&&($.d(1),$=null)},d(e){e&&se(r),E&&E.d(),M.d(),$&&$.d(),n[64](null),v=!1,P(w)}}}function $i(e){let n,t;return{c(){C((n=le("img")).src,t=ti)||ue(n,"src",t),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p:v,d(e){e&&se(n)}}}function Ti(e){let n,r;return{c(){C((n=le("img")).src,r=e[43])||ue(n,"src",r),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p(e,t){4096&t[1]&&!C(n.src,r=e[43])&&ue(n,"src",r)},d(e){e&&se(n)}}}function Hi(n){let r,o,i;return{c(){F(r=le("casino-slider"),"class","HeaderItemsMenu"),F(r,"part","HeaderItemsMenu"),F(r,"identity",Vi),F(r,"isprimarymenu","true"),F(r,"actionevent",n[23]),F(r,"activeindex",n[32]),F(r,"endpoint",n[2]),F(r,"lang",n[3]),F(r,"location","headerMain"),F(r,"showsubgroups",n[24]),F(r,"clientstyling",n[25]),F(r,"clientstylingurl",n[26])},m(e,t){ae(e,r,t),o||(i=S(n[49].call(null,r)),o=!0)},p(e,t){8388608&t[0]&&F(r,"actionevent",e[23]),2&t[1]&&F(r,"activeindex",e[32]),4&t[0]&&F(r,"endpoint",e[2]),8&t[0]&&F(r,"lang",e[3]),16777216&t[0]&&F(r,"showsubgroups",e[24]),33554432&t[0]&&F(r,"clientstyling",e[25]),67108864&t[0]&&F(r,"clientstylingurl",e[26])},d(e){e&&se(r),o=!1,i()}}}function Ai(n){let r,o,i,a,s,l,c,u;function h(e){return"gmcore"===e[7]?_i:Si}let p=h(n),d=p(n);return{c(){r=le("div"),o=ce(),i=le("div"),a=le("div"),(s=le("div")).innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',l=ce(),d.c(),ue(r,"class","ShortCashierWindow"),ue(s,"class","ClosePopUpButtonShortCashier"),ue(a,"class","ShortCashierContainer"),ue(i,"class","ShortCashierContainerWrapper")},m(e,t){ae(e,r,t),ae(e,o,t),ae(e,i,t),ie(i,a),ie(a,s),ie(a,l),d.m(a,null),c||(u=[O(r,"click",n[67]),O(s,"click",n[68])],c=!0)},p(e,t){p===(p=h(e))&&d?d.p(e,t):(d.d(1),(d=p(e))&&(d.c(),d.m(a,null)))},d(e){e&&se(r),e&&se(o),e&&se(i),d.d(),c=!1,P(u)}}}function Si(e){let n,r,o,i,a,s,l,c,u;return{c(){F(n=le("user-deposit-withdrawal"),"endpoint",e[2]),F(n,"type","deposit"),F(n,"channel","Desktop"),F(n,"language",e[3]),F(n,"is-short-cashier",e[13]),F(n,"product-type",e[14]),F(n,"user-id",e[1]),F(n,"session",e[0]),F(n,"success-url",r="https://"+window.location.hostname+"/"+e[3]+e[15]),F(n,"cancel-url",o="https://"+window.location.hostname+"/"+e[3]+e[17]),F(n,"fail-url",i="https://"+window.location.hostname+"/"+e[3]+e[16]),F(n,"sports-url",a="https://"+window.location.hostname+"/"+e[3]+e[18]),F(n,"casino-url",s="https://"+window.location.hostname+"/"+e[3]+e[19]),F(n,"contact-url",l="https://"+window.location.hostname+"/"+e[3]+e[20]),F(n,"home-url",c="https://"+window.location.hostname+"/"+e[3]+e[21]),F(n,"deposit-url",u="https://"+window.location.hostname+"/"+e[3]+e[22])},m(e,t){ae(e,n,t)},p(e,t){4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"language",e[3]),8192&t[0]&&F(n,"is-short-cashier",e[13]),16384&t[0]&&F(n,"product-type",e[14]),2&t[0]&&F(n,"user-id",e[1]),1&t[0]&&F(n,"session",e[0]),32776&t[0]&&r!==(r="https://"+window.location.hostname+"/"+e[3]+e[15])&&F(n,"success-url",r),131080&t[0]&&o!==(o="https://"+window.location.hostname+"/"+e[3]+e[17])&&F(n,"cancel-url",o),65544&t[0]&&i!==(i="https://"+window.location.hostname+"/"+e[3]+e[16])&&F(n,"fail-url",i),262152&t[0]&&a!==(a="https://"+window.location.hostname+"/"+e[3]+e[18])&&F(n,"sports-url",a),524296&t[0]&&s!==(s="https://"+window.location.hostname+"/"+e[3]+e[19])&&F(n,"casino-url",s),1048584&t[0]&&l!==(l="https://"+window.location.hostname+"/"+e[3]+e[20])&&F(n,"contact-url",l),2097160&t[0]&&c!==(c="https://"+window.location.hostname+"/"+e[3]+e[21])&&F(n,"home-url",c),4194312&t[0]&&u!==(u="https://"+window.location.hostname+"/"+e[3]+e[22])&&F(n,"deposit-url",u)},d(e){e&&se(n)}}}function _i(e){let n;return{c(){F(n=le("player-deposit"),"endpoint",e[2]),F(n,"session",e[0]),F(n,"playerid",e[1]),F(n,"lang",e[3]),F(n,"hasdefaultamount",e[11]),F(n,"playercurrency",e[12]),F(n,"shortcashierenabled",e[13]),F(n,"clientstyling",e[25]),F(n,"clientstylingurl",e[26])},m(e,t){ae(e,n,t)},p(e,t){4&t[0]&&F(n,"endpoint",e[2]),1&t[0]&&F(n,"session",e[0]),2&t[0]&&F(n,"playerid",e[1]),8&t[0]&&F(n,"lang",e[3]),2048&t[0]&&F(n,"hasdefaultamount",e[11]),4096&t[0]&&F(n,"playercurrency",e[12]),8192&t[0]&&F(n,"shortcashierenabled",e[13]),33554432&t[0]&&F(n,"clientstyling",e[25]),67108864&t[0]&&F(n,"clientstylingurl",e[26])},d(e){e&&se(n)}}}function Ii(e){let n;function r(e){return"true"!==e[8]?Fi:Li}let o=r(e),i=o(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ae(e,n,t)},p(e,t){o===(o=r(e))&&i?i.p(e,t):(i.d(1),(i=o(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&se(n)}}}function Li(n){let r,o,i,a,s,l,c,u,h,p,d,f,m,g,y,b,v=n[38]&&Pi(n);return{c(){r=le("div"),o=le("div"),i=le("span"),a=le("img"),l=ce(),c=le("span"),u=t(n[35]),h=ce(),p=le("span"),d=e("svg"),f=e("path"),g=ce(),v&&v.c(),C(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[53](n[35])}.svg`)||ue(a,"src",s),ue(i,"class","FlagIcon"),ue(c,"class","LanguageName"),ue(f,"id","arrow"),ue(f,"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"),ue(f,"transform","translate(-274.511 -441.088)"),ue(f,"fill","#d1d1d1"),ue(d,"xmlns","http://www.w3.org/2000/svg"),ue(d,"width","14"),ue(d,"height","6.835"),ue(d,"viewBox","0 0 14 6.835"),ue(p,"class",m="TriangleInactive "+(n[38]?"TriangleActive":"")),ue(o,"class","SelectedOption Item ItemLanguage"),ue(r,"class","LanguageDropdown")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(o,l),ie(o,c),ie(c,u),ie(o,h),ie(o,p),ie(p,d),ie(d,f),ie(r,g),v&&v.m(r,null),y||(b=O(o,"click",n[72]),y=!0)},p(e,t){1040&t[1]&&!C(a.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[53](e[35])}.svg`)&&ue(a,"src",s),16&t[1]&&he(u,e[35]),128&t[1]&&m!==(m="TriangleInactive "+(e[38]?"TriangleActive":""))&&ue(p,"class",m),e[38]?v?v.p(e,t):((v=Pi(e)).c(),v.m(r,null)):v&&(v.d(1),v=null)},d(e){e&&se(r),v&&v.d(),y=!1,b()}}}function Fi(n){let o,r,i,a=n[41],s=[];for(let e=0;e<a.length;e+=1)s[e]=ki(li(n,a,e));return{c(){o=le("select");for(let e=0;e<s.length;e+=1)s[e].c();ue(o,"class","Item ItemLanguage NoFlag"),void 0===n[35]&&B(()=>n[70].call(o))},m(e,t){ae(e,o,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(o,null);j(o,n[35],!0),r||(i=[O(o,"change",n[70]),O(o,"change",n[71])],r=!0)},p(t,n){if(1024&n[1]){let e;for(a=t[41],e=0;e<a.length;e+=1){var r=li(t,a,e);s[e]?s[e].p(r,n):(s[e]=ki(r),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}1040&n[1]&&j(o,t[35])},d(e){e&&se(o),L(s,e),r=!1,P(i)}}}function Pi(t){let o,i=t[41],a=[];for(let e=0;e<i.length;e+=1)a[e]=Oi(si(t,i,e));return{c(){o=le("div");for(let e=0;e<a.length;e+=1)a[e].c();ue(o,"class","OptionList")},m(e,t){ae(e,o,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(o,null)},p(t,n){if(5243904&n[1]){let e;for(i=t[41],e=0;e<i.length;e+=1){var r=si(t,i,e);a[e]?a[e].p(r,n):(a[e]=Oi(r),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length}},d(e){e&&se(o),L(a,e)}}}function Oi(n){let r,o,i,a,s,l,c,u,h,p,d=n[113]+"";function f(){return n[73](n[113])}return{c(){r=le("div"),o=le("span"),i=le("img"),s=ce(),l=le("span"),c=t(d),u=ce(),C(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[53](n[113])}.svg`)||ue(i,"src",a),ue(o,"class","FlagIcon"),ue(l,"class","LanguageName"),ue(r,"class","LanguageOption")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,s),ie(r,l),ie(l,c),ie(r,u),h||(p=O(r,"click",f),h=!0)},p(e,t){n=e,1024&t[1]&&!C(i.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[53](n[113])}.svg`)&&ue(i,"src",a),1024&t[1]&&d!==(d=n[113]+"")&&he(c,d)},d(e){e&&se(r),h=!1,p()}}}function ki(e){let n,r,o,i=e[113]+"";return{c(){n=le("option"),r=t(i),n.__value=o=e[113],n.value=n.__value,n.selected=!0},m(e,t){ae(e,n,t),ie(n,r)},p(e,t){1024&t[1]&&i!==(i=e[113]+"")&&he(r,i),1024&t[1]&&o!==(o=e[113])&&(n.__value=o,n.value=n.__value)},d(e){e&&se(n)}}}function Ri(n){let r,o,i,a,s,l,c,u=n[110].label+"";function h(){return n[74](n[110])}return{c(){r=le("li"),o=le("button"),i=t(u),a=ce(),ue(r,"class",s="ItemSecondary "+(-1<n[33]?.toString().indexOf("$")?n[33]?.split("$").pop()==n[110].id.split("$").pop()?"active":"":n[33]==n[110].id?"active":"")),ue(r,"part","ItemSecondary")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(r,a),l||(c=O(o,"click",h),l=!0)},p(e,t){n=e,8&t[1]&&u!==(u=n[110].label+"")&&he(i,u),12&t[1]&&s!==(s="ItemSecondary "+(-1<n[33]?.toString().indexOf("$")?n[33]?.split("$").pop()==n[110].id.split("$").pop()?"active":"":n[33]==n[110].id?"active":""))&&ue(r,"class",s)},d(e){e&&se(r),l=!1,c()}}}function Di(n){let r,o,i,a,s,l,c,u,h,p;return{c(){r=e("svg"),o=e("defs"),i=e("style"),a=t(".a {\n fill: var(--emfe-w-color-white, #FFFFFF);\n }\n "),s=e("g"),l=e("rect"),c=e("rect"),u=e("rect"),ue(l,"class","a"),ue(l,"width","18"),ue(l,"height","2"),ue(l,"transform","translate(14 13)"),ue(c,"class","a"),ue(c,"width","22"),ue(c,"height","2"),ue(c,"transform","translate(14 20)"),ue(u,"class","a"),ue(u,"width","22"),ue(u,"height","2"),ue(u,"transform","translate(14 27)"),ue(s,"transform","translate(-14 -13)"),ue(r,"xmlns","http://www.w3.org/2000/svg"),ue(r,"width","22"),ue(r,"height","16"),ue(r,"viewBox","0 0 22 16")},m(e,t){ae(e,r,t),ie(r,o),ie(o,i),ie(i,a),ie(r,s),ie(s,l),ie(s,c),ie(s,u),h||(p=O(r,"click",n[58]),h=!0)},p:v,d(e){e&&se(r),h=!1,p()}}}function Ni(e){let n,t;return{c(){C((n=le("img")).src,t=ti)||ue(n,"src",t),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p:v,d(e){e&&se(n)}}}function Ui(e){let n,r;return{c(){C((n=le("img")).src,r=e[43])||ue(n,"src",r),ue(n,"alt","Logo")},m(e,t){ae(e,n,t)},p(e,t){4096&t[1]&&!C(n.src,r=e[43])&&ue(n,"src",r)},d(e){e&&se(n)}}}function ji(n){let r,o,i,a,s,l,c,u;function h(e){return"gmcore"===e[7]?zi:Gi}let p=h(n),d=p(n);return{c(){r=le("div"),o=ce(),i=le("div"),a=le("div"),(s=le("div")).innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',l=ce(),d.c(),ue(r,"class","ShortCashierWindow"),ue(s,"class","ClosePopUpButtonShortCashier"),ue(a,"class","ShortCashierContainerMobile"),ue(i,"class","ShortCashierContainerWrapperMobile")},m(e,t){ae(e,r,t),ae(e,o,t),ae(e,i,t),ie(i,a),ie(a,s),ie(a,l),d.m(a,null),c||(u=[O(r,"click",n[61]),O(s,"click",n[62])],c=!0)},p(e,t){p===(p=h(e))&&d?d.p(e,t):(d.d(1),(d=p(e))&&(d.c(),d.m(a,null)))},d(e){e&&se(r),e&&se(o),e&&se(i),d.d(),c=!1,P(u)}}}function Gi(e){let n,r,o,i,a,s,l,c,u;return{c(){F(n=le("user-deposit-withdrawal"),"endpoint",e[2]),F(n,"type","deposit"),F(n,"channel","Mobile"),F(n,"language",e[3]),F(n,"is-short-cashier",e[13]),F(n,"product-type",e[14]),F(n,"user-id",e[1]),F(n,"session",e[0]),F(n,"success-url",r="https://"+window.location.hostname+"/"+e[3]+e[15]),F(n,"cancel-url",o="https://"+window.location.hostname+"/"+e[3]+e[17]),F(n,"fail-url",i="https://"+window.location.hostname+"/"+e[3]+e[16]),F(n,"sports-url",a="https://"+window.location.hostname+"/"+e[3]+e[18]),F(n,"casino-url",s="https://"+window.location.hostname+"/"+e[3]+e[19]),F(n,"contact-url",l="https://"+window.location.hostname+"/"+e[3]+e[20]),F(n,"home-url",c="https://"+window.location.hostname+"/"+e[3]+e[21]),F(n,"deposit-url",u="https://"+window.location.hostname+"/"+e[3]+e[22])},m(e,t){ae(e,n,t)},p(e,t){4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"language",e[3]),8192&t[0]&&F(n,"is-short-cashier",e[13]),16384&t[0]&&F(n,"product-type",e[14]),2&t[0]&&F(n,"user-id",e[1]),1&t[0]&&F(n,"session",e[0]),32776&t[0]&&r!==(r="https://"+window.location.hostname+"/"+e[3]+e[15])&&F(n,"success-url",r),131080&t[0]&&o!==(o="https://"+window.location.hostname+"/"+e[3]+e[17])&&F(n,"cancel-url",o),65544&t[0]&&i!==(i="https://"+window.location.hostname+"/"+e[3]+e[16])&&F(n,"fail-url",i),262152&t[0]&&a!==(a="https://"+window.location.hostname+"/"+e[3]+e[18])&&F(n,"sports-url",a),524296&t[0]&&s!==(s="https://"+window.location.hostname+"/"+e[3]+e[19])&&F(n,"casino-url",s),1048584&t[0]&&l!==(l="https://"+window.location.hostname+"/"+e[3]+e[20])&&F(n,"contact-url",l),2097160&t[0]&&c!==(c="https://"+window.location.hostname+"/"+e[3]+e[21])&&F(n,"home-url",c),4194312&t[0]&&u!==(u="https://"+window.location.hostname+"/"+e[3]+e[22])&&F(n,"deposit-url",u)},d(e){e&&se(n)}}}function zi(e){let n;return{c(){F(n=le("player-deposit"),"endpoint",e[2]),F(n,"session",e[0]),F(n,"playerid",e[1]),F(n,"lang",e[3]),F(n,"hasdefaultamount",e[11]),F(n,"playercurrency",e[12]),F(n,"shortcashierenabled",e[13]),F(n,"clientstyling",e[25]),F(n,"clientstylingurl",e[26])},m(e,t){ae(e,n,t)},p(e,t){4&t[0]&&F(n,"endpoint",e[2]),1&t[0]&&F(n,"session",e[0]),2&t[0]&&F(n,"playerid",e[1]),8&t[0]&&F(n,"lang",e[3]),2048&t[0]&&F(n,"hasdefaultamount",e[11]),4096&t[0]&&F(n,"playercurrency",e[12]),8192&t[0]&&F(n,"shortcashierenabled",e[13]),33554432&t[0]&&F(n,"clientstyling",e[25]),67108864&t[0]&&F(n,"clientstylingurl",e[26])},d(e){e&&se(n)}}}function Wi(e){let n,r,o,i;function a(e){return e[40]?hi:e[39]?ui:ci}let s=a(e),l=s(e);return{c(){n=le("script"),r=ce(),l.c(),o=ce(),i=le("casino-hamburger-menu"),this.c=v,ue(n,"type","module"),C(n.src,"https://unpkg.com/@everymatrix/user-deposit-withdrawal")||ue(n,"src","https://unpkg.com/@everymatrix/user-deposit-withdrawal"),F(i,"menuitemsurl",e[36]),F(i,"activecategory",e[5]),F(i,"lang",e[3]),F(i,"countryflaghamburger",e[10]),F(i,"customlocaleidentifier",e[6]),F(i,"languageslist",e[4]),F(i,"clientstyling",e[25]),F(i,"clientstylingurl",e[26])},m(e,t){ie(ni.head,n),ae(e,r,t),l.m(e,t),ae(e,o,t),ae(e,i,t)},p(e,t){s===(s=a(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(o.parentNode,o))),32&t[1]&&F(i,"menuitemsurl",e[36]),32&t[0]&&F(i,"activecategory",e[5]),8&t[0]&&F(i,"lang",e[3]),1024&t[0]&&F(i,"countryflaghamburger",e[10]),64&t[0]&&F(i,"customlocaleidentifier",e[6]),16&t[0]&&F(i,"languageslist",e[4]),33554432&t[0]&&F(i,"clientstyling",e[25]),67108864&t[0]&&F(i,"clientstylingurl",e[26])},i:v,o:v,d(e){se(n),e&&se(r),l.d(e),e&&se(o),e&&se(i)}}}let Vi="HeaderMenu";function Xi(n,e,r){let t;ye(n,Kr,e=>r(45,t=e));let O,k,o,{session:i=""}=e,{userid:R=""}=e,{endpoint:D=""}=e,{cmsendpoint:a=""}=e,{cmsenv:s="stage"}=e,{lang:l="en"}=e,{languageslist:c="en, ro"}=e,{activecategory:u=""}=e,{translationurl:h=""}=e,{customlocaleidentifier:p=""}=e,{gmversion:N=""}=e,{countryflagheader:U="false"}=e,{displaybalanceoption:j="All"}=e,{countryflaghamburger:G="false"}=e,{hasdefaultamount:z=""}=e,{playercurrency:W=""}=e,{shortcashierenabled:d=""}=e,{producttype:V=""}=e,{successurl:X=""}=e,{failurl:Z=""}=e,{cancelurl:Y=""}=e,{sportsurl:K=""}=e,{casinourl:J=""}=e,{contacturl:Q=""}=e,{homeurl:q=""}=e,{depositurl:ee=""}=e,{actionevent:te=""}=e,{userroles:f=""}=e,{showsubgroups:ne="false"}=e,{clientstyling:m=""}=e,{clientstylingurl:g=""}=e,{currencyseparator:re=""}=e,{currencydecimal:oe=""}=e,{currencyprecision:ie=""}=e;var ae,se;({withLocale:ae,translations:se}={withLocale:"en",translations:{}}),ge.subscribe(e=>{null==e&&(br.set(se),ge.set(ae))}),Object.keys(eo).forEach(e=>{qr(e,eo[e])});let y,b,le,v=[],w=[],x="",E=!0,C=!1,B=!1,ce=!1,M=window.navigator.userAgent,$=!1,T=[],H=!1,ue="",A=!1;const S=e=>{switch(e){case"login":window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"HeaderController"});break;case"register":window.postMessage({type:"OpenLoginRegisterModal",transition:"Register"},window.location.href),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"HeaderController"});break;case"lobby":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"myaccount":window.postMessage({type:"PlayerAccountMenuActive",isMobile:Jr(M)},window.location.href);break;case"deposit":"true"===d?(r(44,A=!0),window.postMessage({type:"DisableScroll"},window.location.href)):"false"===d&&window.postMessage({type:"GoToDeposit"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"HeaderController"});break;case"language":window.postMessage({type:"LanguageChanged",selectedLanguage:x},window.location.href)}},_=()=>{r(42,H=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},he=e=>{if(e.data)switch(e.data.type){case"UserSessionID":e.data.userid,e.data.session,r(40,$=!0);break;case"CloseHamburgerMenu":window.postMessage({type:"EnableScroll"},window.location.href),e.data.showhamburger&&r(42,H=!1);break;case"LogoutSuccessfull":r(40,$=!1);break;case"LanguageChanged":pe(),fe(b);break;case"OpenShortCashier":S("deposit");break;case"CloseShortCashier":I();break;case"RequestHeaderHeight":window.postMessage({type:"HeaderHeight",headerHeight:o.clientHeight},window.location.href)}},I=e=>{r(44,A=!1),window.postMessage({type:"EnableScroll"},window.location.href),null!=e&&e.stopPropagation()},pe=()=>{b=new URL(`${a}/${x.toLowerCase()}/menu`),r(36,y=new URL(`${a}/${x.toLowerCase()}/hamburger-menu`)),le=new URL(`${a}/${x.toLowerCase()}/op-options/style`);var e=Qr(M);b.searchParams.append("env",s),b.searchParams.append("language",x.toLowerCase()),b.searchParams.append("userRoles",f),e&&("PC"===e?(y.searchParams.append("device","dk"),b.searchParams.append("device","dk")):(y.searchParams.append("device","mtWeb"),b.searchParams.append("device","mtWeb"))),y.searchParams.append("env",s),y.searchParams.append("language",x.toLowerCase()),y.searchParams.append("userRoles",f)},de=(t,e)=>{let n=e.find(e=>-1<t.indexOf("/sport")?-1<e.path.indexOf(t):!!e.path.includes(t)||void 0);return(n=n||e.find(e=>-1<e.path.split("/").indexOf(t.split("/")[1])))?n.id:-1},fe=e=>(r(31,E=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{v=e.desktop.primary,r(34,w=e.desktop.secondary),r(31,E=!1),t(e)},e=>{r(31,E=!1),console.error(e),n(e)})})),L=e=>{window.postMessage({type:"NavigateTo",itemId:e.id,item:e,path:e.path,externalLink:e.externalLink||!1,target:(null==(e=e.attrs)?void 0:e.target)||null},window.location.href)},F=e=>{r(35,x=e),r(38,B=!1),S("language")},P=()=>{r(38,B=!B)};return ve(async()=>(window.addEventListener("message",he,!1),Jr(M)&&r(39,ce=!0),()=>{window.removeEventListener("message",he)})),n.$$set=e=>{"session"in e&&r(0,i=e.session),"userid"in e&&r(1,R=e.userid),"endpoint"in e&&r(2,D=e.endpoint),"cmsendpoint"in e&&r(54,a=e.cmsendpoint),"cmsenv"in e&&r(55,s=e.cmsenv),"lang"in e&&r(3,l=e.lang),"languageslist"in e&&r(4,c=e.languageslist),"activecategory"in e&&r(5,u=e.activecategory),"translationurl"in e&&r(56,h=e.translationurl),"customlocaleidentifier"in e&&r(6,p=e.customlocaleidentifier),"gmversion"in e&&r(7,N=e.gmversion),"countryflagheader"in e&&r(8,U=e.countryflagheader),"displaybalanceoption"in e&&r(9,j=e.displaybalanceoption),"countryflaghamburger"in e&&r(10,G=e.countryflaghamburger),"hasdefaultamount"in e&&r(11,z=e.hasdefaultamount),"playercurrency"in e&&r(12,W=e.playercurrency),"shortcashierenabled"in e&&r(13,d=e.shortcashierenabled),"producttype"in e&&r(14,V=e.producttype),"successurl"in e&&r(15,X=e.successurl),"failurl"in e&&r(16,Z=e.failurl),"cancelurl"in e&&r(17,Y=e.cancelurl),"sportsurl"in e&&r(18,K=e.sportsurl),"casinourl"in e&&r(19,J=e.casinourl),"contacturl"in e&&r(20,Q=e.contacturl),"homeurl"in e&&r(21,q=e.homeurl),"depositurl"in e&&r(22,ee=e.depositurl),"actionevent"in e&&r(23,te=e.actionevent),"userroles"in e&&r(57,f=e.userroles),"showsubgroups"in e&&r(24,ne=e.showsubgroups),"clientstyling"in e&&r(25,m=e.clientstyling),"clientstylingurl"in e&&r(26,g=e.clientstylingurl),"currencyseparator"in e&&r(27,re=e.currencyseparator),"currencydecimal"in e&&r(28,oe=e.currencydecimal),"currencyprecision"in e&&r(29,ie=e.currencyprecision)},n.$$.update=()=>{if(32&n.$$.dirty[0]|1&n.$$.dirty[1]&&u&&!E&&(r(32,O=de(u,v)),r(33,k=de(u,w))),1&n.$$.dirty[0]&&i&&r(40,$=!0),8&n.$$.dirty[0]&&l&&(t=l,ge.set(t)),24&n.$$.dirty[0]|75497472&n.$$.dirty[1]&&a&&l&&c&&f&&(r(41,T=c.replace(/ /g,"").split(",")),r(41,T=T.map(e=>e.toUpperCase())),r(35,x=l.toUpperCase()),pe(),e=le,r(37,C=!1),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{0<e.logoUrl.length&&("null"!=e.logoUrl||"false"!=e.logoUrl)?(r(43,ue=e.logoUrl),r(37,C=!0)):r(37,C=!1),t(e)},e=>{r(37,C=!1),console.error(e),n(e)})}),setTimeout(()=>{fe(b)})),33554432&n.$$.dirty[1]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qr(e,t[e])})}).catch(e=>{console.log(e)}),1107296256&n.$$.dirty[0]&&m&&o&&((t=document.createElement("style")).innerHTML=m,o.appendChild(t)),1140850688&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},[i,R,D,l,c,u,p,N,U,j,G,z,W,d,V,X,Z,Y,K,J,Q,q,ee,te,ne,m,g,re,oe,ie,o,E,O,k,w,x,y,C,B,ce,$,T,H,ue,A,t,S,_,I,()=>{window.postMessage({type:"SliderData",identity:Vi,data:v},window.location.href)},L,F,P,e=>"EN"==(e=p?p.includes(e.toLowerCase())?p.slice(-2):e:e)?"US":e.toUpperCase(),a,s,h,f,()=>_(),()=>S("lobby"),()=>S("deposit"),e=>I(e),e=>I(e),()=>S("myaccount"),function(e){me[e?"unshift":"push"](()=>{o=e,r(30,o)})},()=>S("lobby"),()=>S("deposit"),e=>I(e),e=>I(e),()=>S("myaccount"),function(){x=be(this),r(35,x),r(41,T)},()=>S("language"),()=>P(),e=>F(e),e=>L(e),function(e){me[e?"unshift":"push"](()=>{o=e,r(30,o)})},()=>_(),()=>S("lobby"),()=>S("login"),()=>S("register"),function(e){me[e?"unshift":"push"](()=>{o=e,r(30,o)})},()=>S("lobby"),()=>S("login"),()=>S("register"),function(){x=be(this),r(35,x),r(41,T)},()=>S("language"),()=>P(),e=>F(e),e=>L(e),function(e){me[e?"unshift":"push"](()=>{o=e,r(30,o)})}]}class Zi extends Me{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{font-family:inherit}:host{font-family:inherit}@keyframes ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}button{font-family:inherit}.LanguageDropdown{margin-right:16px;position:relative;display:inline-block}.ClosePopUpButtonShortCashier{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier svg{position:absolute;top:10px;right:10px}.ShortCashierWindow{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapper{position:relative;animation:ModalBounce 0.5s forwards;z-index:17;right:60%}.ShortCashierContainer{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;width:360px;top:16px;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainer:before{content:\"\";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;right:110%;z-index:17}.ShortCashierContainerMobile{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;width:80vw;top:14px;left:50%;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:\"\";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.SelectedOption,.OptionList{border:1px solid var(--emfe-w-header-color-primary);padding:8px;cursor:pointer;width:76px;border-radius:4px}.SelectedOption{display:flex;align-items:center}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;z-index:1;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518));max-height:150px;overflow-y:auto}.LanguageOption{display:flex;align-items:center;padding:4px}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption:hover{background-color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:2px}.HeaderWrapper{background:var(--emfe-w-header-color-menu-bg, var(--emfe-w-color-background-secondary, #050518))}.HeaderContainer{max-width:1300px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderMobileMainNav{display:flex;align-items:center}.HeaderBranding{width:140px;margin-right:15px;cursor:pointer}.HeaderBranding img{width:100%}@media only screen and (max-width: 360px){.HeaderBranding{margin-right:0}}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518));border-top:1px solid var(--emfe-w-color-gray-300, #58586B)}.HeaderItemsMenu{gap:8px;display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;align-items:center}.HeaderItemsMenu .Item{gap:2px;padding:0 12px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;font-weight:600;border:solid 1px var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));height:44px;text-align:center;line-height:44px;margin-right:10px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.ItemLanguage{height:44px;width:74px;text-align:center;line-height:44px;background:transparent;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));border:none;cursor:pointer;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ItemLanguage option{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF))}.ItemLanguage.NoFlag{background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23FFFFFF' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-header-color-menu-bg, var(--emfe-w-color-background-secondary, #050518));background-position:calc(100% - 0.75rem) center;width:90px;margin-right:6px}.ItemAccount{cursor:pointer}.ItemAccount svg{width:20px;height:20px}.HeaderItemsMenuSecondary{display:flex;flex-direction:row;align-content:flex-start;align-items:center;height:60px;list-style:none;text-transform:uppercase;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary .ItemSecondary{width:auto;height:100%;display:flex;justify-content:center;padding:0 15px;font-weight:600;transition-duration:0.15s}.HeaderItemsMenuSecondary .ItemSecondary button{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;border:none;background:none;font-size:14px;font-weight:600;text-transform:uppercase;cursor:pointer}.HeaderItemsMenuSecondary .ItemSecondary button:hover{color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HeaderItemsMenuSecondary .ItemSecondary button:focus{color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HeaderItemsMenuSecondary .ItemSecondary button:visited{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF))}.HeaderItemsMenuSecondary .ItemSecondary button:focus-visible{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));outline:none}.HeaderItemsMenuSecondary .ItemSecondary.active{background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HeaderMobileWrapper .HeaderContainer{height:55px;padding:0 15px;gap:10px}@media only screen and (max-width: 360px){.HeaderMobileWrapper .HeaderContainer{padding:0 5px}}.HeaderMobileWrapper .HeaderBranding{width:110px;display:flex;align-items:center}.HeaderMobileWrapper .HeaderItemsMenu .Item{padding:0 10px;display:block;width:unset}.HeaderMobileWrapper .HeaderItemsMenu .ItemAccount{padding:0}.HeaderMobileWrapper .ItemRegister,.HeaderMobileWrapper .ItemDeposit,.HeaderMobileWrapper .ItemLogin{height:30px;line-height:30px;font-size:12px}.HeaderMobileWrapper .ItemLogin{margin-right:10px}",this.shadowRoot.appendChild(t),Be(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Xi,Wi,T,{session:0,userid:1,endpoint:2,cmsendpoint:54,cmsenv:55,lang:3,languageslist:4,activecategory:5,translationurl:56,customlocaleidentifier:6,gmversion:7,countryflagheader:8,displaybalanceoption:9,countryflaghamburger:10,hasdefaultamount:11,playercurrency:12,shortcashierenabled:13,producttype:14,successurl:15,failurl:16,cancelurl:17,sportsurl:18,casinourl:19,contacturl:20,homeurl:21,depositurl:22,actionevent:23,userroles:57,showsubgroups:24,clientstyling:25,clientstylingurl:26,currencyseparator:27,currencydecimal:28,currencyprecision:29},null,[-1,-1,-1,-1]),e&&(e.target&&ae(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["session","userid","endpoint","cmsendpoint","cmsenv","lang","languageslist","activecategory","translationurl","customlocaleidentifier","gmversion","countryflagheader","displaybalanceoption","countryflaghamburger","hasdefaultamount","playercurrency","shortcashierenabled","producttype","successurl","failurl","cancelurl","sportsurl","casinourl","contacturl","homeurl","depositurl","actionevent","userroles","showsubgroups","clientstyling","clientstylingurl","currencyseparator","currencydecimal","currencyprecision"]}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),p()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),p()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),p()}get cmsendpoint(){return this.$$.ctx[54]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),p()}get cmsenv(){return this.$$.ctx[55]}set cmsenv(e){this.$$set({cmsenv:e}),p()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),p()}get languageslist(){return this.$$.ctx[4]}set languageslist(e){this.$$set({languageslist:e}),p()}get activecategory(){return this.$$.ctx[5]}set activecategory(e){this.$$set({activecategory:e}),p()}get translationurl(){return this.$$.ctx[56]}set translationurl(e){this.$$set({translationurl:e}),p()}get customlocaleidentifier(){return this.$$.ctx[6]}set customlocaleidentifier(e){this.$$set({customlocaleidentifier:e}),p()}get gmversion(){return this.$$.ctx[7]}set gmversion(e){this.$$set({gmversion:e}),p()}get countryflagheader(){return this.$$.ctx[8]}set countryflagheader(e){this.$$set({countryflagheader:e}),p()}get displaybalanceoption(){return this.$$.ctx[9]}set displaybalanceoption(e){this.$$set({displaybalanceoption:e}),p()}get countryflaghamburger(){return this.$$.ctx[10]}set countryflaghamburger(e){this.$$set({countryflaghamburger:e}),p()}get hasdefaultamount(){return this.$$.ctx[11]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),p()}get playercurrency(){return this.$$.ctx[12]}set playercurrency(e){this.$$set({playercurrency:e}),p()}get shortcashierenabled(){return this.$$.ctx[13]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),p()}get producttype(){return this.$$.ctx[14]}set producttype(e){this.$$set({producttype:e}),p()}get successurl(){return this.$$.ctx[15]}set successurl(e){this.$$set({successurl:e}),p()}get failurl(){return this.$$.ctx[16]}set failurl(e){this.$$set({failurl:e}),p()}get cancelurl(){return this.$$.ctx[17]}set cancelurl(e){this.$$set({cancelurl:e}),p()}get sportsurl(){return this.$$.ctx[18]}set sportsurl(e){this.$$set({sportsurl:e}),p()}get casinourl(){return this.$$.ctx[19]}set casinourl(e){this.$$set({casinourl:e}),p()}get contacturl(){return this.$$.ctx[20]}set contacturl(e){this.$$set({contacturl:e}),p()}get homeurl(){return this.$$.ctx[21]}set homeurl(e){this.$$set({homeurl:e}),p()}get depositurl(){return this.$$.ctx[22]}set depositurl(e){this.$$set({depositurl:e}),p()}get actionevent(){return this.$$.ctx[23]}set actionevent(e){this.$$set({actionevent:e}),p()}get userroles(){return this.$$.ctx[57]}set userroles(e){this.$$set({userroles:e}),p()}get showsubgroups(){return this.$$.ctx[24]}set showsubgroups(e){this.$$set({showsubgroups:e}),p()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get currencyseparator(){return this.$$.ctx[27]}set currencyseparator(e){this.$$set({currencyseparator:e}),p()}get currencydecimal(){return this.$$.ctx[28]}set currencydecimal(e){this.$$set({currencydecimal:e}),p()}get currencyprecision(){return this.$$.ctx[29]}set currencyprecision(e){this.$$set({currencyprecision:e}),p()}}return customElements.get("casino-header-controller")||customElements.define("casino-header-controller",Zi),Zi});
|
4
4
|
//# sourceMappingURL=casino-header-controller.js.map
|